1 2005-11-15 Wim Taymans <wim@fluendo.com>
6 2005-11-15 Andy Wingo <wingo@pobox.com>
8 * gst/gstelement.c (gst_element_set_base_time): Add debugging.
10 * gst/gstpipeline.c (gst_pipeline_set_new_stream_time): Document
11 using GST_CLOCK_TIME_NONE to disable base time management.
12 (do_pipeline_seek, gst_pipeline_change_state): Don't reset stream
13 time if it was NONE before.
14 (gst_pipeline_change_state): Only munge the base time if
15 stream_time != GST_CLOCK_TIME_NONE.
17 * check/gst/gstpipeline.c (test_base_time): Punt around the
18 problem of the probe not being called, because that's not the
19 issue I'm looking at. Add a check that setting stream_time to NONE
20 disables base time management.
22 2005-11-15 Wim Taymans <wim@fluendo.com>
24 * gst/base/gstbasesink.c: (gst_base_sink_change_state):
25 segment_stop == -1 at startup.
27 * gst/base/gstbasetransform.c: (gst_base_transform_event),
28 (gst_base_transform_change_state):
29 Init segment values at start.
31 2005-11-15 Wim Taymans <wim@fluendo.com>
33 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
34 0 segment values are 0 in any format.
36 * gst/base/gstbasetransform.c: (gst_base_transform_event):
37 * gst/base/gstbasetransform.h:
38 Parse newsegment correctly in basetransform
40 * gst/elements/gstidentity.c: (gst_identity_transform_ip):
41 Sync to clock using updated segment values.
43 2005-11-15 Andy Wingo <wingo@pobox.com>
45 * check/gst/gstpipeline.c (test_base_time): Add check that the
46 base time and stream time are reset correctly.
48 2005-11-15 Wim Taymans <wim@fluendo.com>
50 * docs/design/part-TODO.txt:
53 2005-11-15 Andy Wingo <wingo@pobox.com>
55 * gst/elements/gstfakesrc.c (gst_fake_src_create): It's not an
56 error if the user selected "no clock" as the clocking method.
58 * check/gst/gstpipeline.c (test_base_time): New test for buffer
59 timestamps with live capture.
61 * gst/elements/gstfakesrc.c (gst_fake_src_create): If the datarate
62 is 0 but we are a live source, timestamp the buffers using the
65 2005-11-14 Stefan Kost <ensonic@users.sf.net>
67 * docs/gst/gstreamer-sections.txt:
74 2005-11-14 Wim Taymans <wim@fluendo.com>
77 add suppressions from Wim's Debian machine
79 2005-11-14 Thomas Vander Stichele <thomas at apestaart dot org>
82 add suppressions from Andy's AMD64 Ubuntu machine
84 2005-11-14 Andy Wingo <wingo@pobox.com>
86 * gst/gstpad.c (gst_pad_set_active): Change docs; parent's
87 STATE_LOCK not necessary. Fixes #311489.
89 * gst/gsterror.c (FILE_A_BUG): Be polite *and* helpful. Fixes
92 * gst/gstindex.c (gst_index_add_object): Note in the docs that
93 this function is not implemented.
95 2005-11-14 Julien MOUTTE <julien@moutte.net>
97 * gst/base/gstbasetransform.c:
98 (gst_base_transform_prepare_output_buf):
99 Ref the source pad caps while we need them.
102 2005-11-11 Wim Taymans <wim@fluendo.com>
104 * docs/gst/gstreamer-sections.txt:
105 Added some docs for GstCollectData.
107 * gst/base/gstadapter.c:
108 Some small code example fix.
110 * gst/base/gstcollectpads.c:
111 * gst/base/gstcollectpads.h:
114 2005-11-11 Thomas Vander Stichele <thomas at apestaart dot org>
116 * configure.ac: back to HEAD
118 === release 0.9.5 ===
120 2005-11-11 Thomas Vander Stichele <thomas at apestaart dot org>
123 releasing 0.9.5, "Bike Lunch Day"
125 2005-11-11 Wim Taymans <wim@fluendo.com>
127 * gst/gstbuffer.c: (_gst_buffer_copy):
130 * gst/gstcaps.c: (gst_caps_is_equal):
132 Make _is_equal fast in the trivial cases.
134 * gst/gstminiobject.c:
135 * gst/gstminiobject.h:
136 More docs. Spifify .h file.
141 2005-11-11 Wim Taymans <wim@fluendo.com>
143 * gst/base/gstbasetransform.c:
144 (gst_base_transform_prepare_output_buf),
145 (gst_base_transform_handle_buffer):
147 If we're processing a buffer and need to allocate an output
148 buffer, we cannot accept a format change. If we did get a
149 format change, we have to alloc a buffer ourselves of the
152 2005-11-11 Wim Taymans <wim@fluendo.com>
154 * gst/gstpad.c: (gst_pad_get_caps), (gst_pad_peer_get_caps):
155 While checking the flag for reentrancy in the gstcaps function
156 is nice to detect recursive invocations, it also makes it
157 impossible to call getcaps from multiple threads, which must be
158 possible. So, checking for recursive calls has to go.
160 2005-11-11 Michael Smith <msmith@fluendo.com>
162 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
163 Don't sync on buffers that fall partially outside our current
164 segment. Prevents an assertion failure/abort playing some files.
166 2005-11-10 Andy Wingo <wingo@pobox.com>
168 * check/gst/gstbin.c (test_message_state_changed_children): Style
171 * gst/gstbus.c (poll_destroy, poll_func, gst_bus_poll): Implement
172 gst_bus_poll with the signal watch. Ensures that poll and a signal
173 watch see the same messages.
175 * check/gst/gstbus.c (test_watch_with_poll): New test, checks that
176 a poll and a watch at the same time get the same messages.
178 2005-11-10 Thomas Vander Stichele <thomas at apestaart dot org>
180 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps):
181 * gst/gstcaps.c: (gst_caps_intersect):
182 Don't call gst_caps_do_simplify - it doesn't respect order of caps
185 2005-11-10 Wim Taymans <wim@fluendo.com>
187 * docs/design/part-TODO.txt:
190 2005-11-10 Wim Taymans <wim@fluendo.com>
192 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
193 * gst/base/gstbasesrc.c: (gst_base_src_wait),
194 (gst_base_src_do_sync), (gst_base_src_get_range):
195 Implement clock sync in base class.
197 2005-11-10 Thomas Vander Stichele <thomas at apestaart dot org>
199 patch by: Tim-Philipp Müller <tim at centricular dot net>
201 * gst/gststructure.c: (gst_structure_parse_field),
202 (gst_structure_from_string):
203 Forward-port a 0.8 patch to handle escaped spaces in structure string,
204 so that gst_parse_launch() can deal with spaces in filtered link
206 * check/gst/capslist.h:
207 * check/gst/gststructure.c: (GST_START_TEST):
208 add unit tests for this change
210 2005-11-10 Wim Taymans <wim@fluendo.com>
212 * docs/gst/gstreamer-sections.txt:
215 Fix docs, move some STATE macros to private.
217 2005-11-10 Wim Taymans <wim@fluendo.com>
219 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
220 Added check for bug #317341
224 Some more spiffifying.
226 * gst/gstghostpad.c: (gst_ghost_pad_do_link):
227 Call peer linkfunction if we are a source pad. Totally fixes
231 Update docs, source pads should call the peer linkfunction
232 so they can atomically perform the pad link.
234 2005-11-09 Wim Taymans <wim@fluendo.com>
238 Uber-spiffy-spiffify some more.
240 2005-11-09 Tim-Philipp Müller <tim at centricular dot net>
242 * gst/base/gstcollectpads.c: (gst_collectpads_add_pad):
243 * gst/elements/gstfilesink.c: (gst_file_sink_init):
244 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
245 * gst/gstghostpad.c: (gst_ghost_pad_set_internal),
246 (gst_ghost_pad_init), (gst_ghost_pad_new_notarget):
247 * gst/gstpad.c: (gst_pad_init):
248 Use GST_DEBUG_FUNCPTR() more extensively.
250 2005-11-09 Wim Taymans <wim@fluendo.com>
252 * gst/gstobject.c: (gst_object_class_init):
256 2005-11-09 Edward Hervey <edward@fluendo.com>
258 * gst/gsttypefindfactory.c:
261 2005-11-09 Edward Hervey <edward@fluendo.com>
263 * gst/base/gsttypefindhelper.c:
268 2005-11-09 Wim Taymans <wim@fluendo.com>
277 2005-11-09 Wim Taymans <wim@fluendo.com>
283 2005-11-09 Wim Taymans <wim@fluendo.com>
285 * docs/gst/gstreamer-sections.txt:
286 Moved the message async delivery private lock and cond
287 to the private section.
293 2005-11-09 Edward Hervey <edward@fluendo.com>
295 * docs/gst/gstreamer-sections.txt:
298 Document GstURIHandler
300 2005-11-09 Wim Taymans <wim@fluendo.com>
302 * gst/gstiterator.c: (gst_iterator_fold), (gst_iterator_foreach),
303 (gst_iterator_find_custom):
307 2005-11-09 Wim Taymans <wim@fluendo.com>
310 Document another field.
312 * gst/gststructure.c:
313 * gst/gststructure.h:
316 2005-11-09 Wim Taymans <wim@fluendo.com>
321 2005-11-09 Wim Taymans <wim@fluendo.com>
323 * docs/gst/gstreamer-sections.txt:
324 Added some new macros.
331 2005-11-09 Wim Taymans <wim@fluendo.com>
333 * docs/design/part-TODO.txt:
334 Some more items for the TODO
340 2005-11-09 Andy Wingo <wingo@pobox.com>
342 * gst/base/gstbasesink.c: Add the beginning of docs here -- have
343 to work on something else now tho...
345 * gst/base/gstadapter.c: More adapter docs.
347 * gst/elements/gstfilesink.c (gst_file_sink_start)
348 (gst_file_sink_stop): New functions, replace the state change
350 (gst_file_sink_class_init): Hook up the start and stop functions.
351 (gst_file_sink_base_init): Don't set the state change handler any
352 more. It was a bit ugly too, being set from here...
353 (gst_file_sink_get_property, gst_file_sink_set_property):
355 (gst_file_sink_set_location): More robust check that doesn't call
358 2005-11-08 Tim-Philipp Müller <tim at centricular dot net>
360 * gst/base/gstbasetransform.c: (gst_base_transform_event):
361 Hold STREAM_LOCK while pushing newsegment or tag events as well.
363 2005-11-08 Wim Taymans <wim@fluendo.com>
365 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
366 (gst_base_sink_do_sync), (gst_base_sink_handle_event),
367 (gst_base_sink_chain), (gst_base_sink_change_state):
368 * gst/base/gstbasesink.h:
369 * gst/base/gstbasesrc.h:
372 Avoid excessive typechecking in macros.
374 * gst/gstminiobject.c: (gst_mini_object_get_type),
375 (gst_mini_object_init), (gst_mini_object_new),
376 (gst_mini_object_free):
377 * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
378 (gst_object_finalize):
379 Remove cruft code, optimize alloc_trace.
381 2005-11-07 Thomas Vander Stichele <thomas at apestaart dot org>
383 * docs/faq/gst-uninstalled:
384 fix up PS1 for systems that try to reset it
386 2005-11-07 Wim Taymans <wim@fluendo.com>
388 * gst/base/gstbasesrc.c: (gst_base_src_init),
389 (gst_base_src_get_range):
390 Set the segment_end to -1 initially. Fixed typefind.
392 2005-11-07 Tim-Philipp Müller <tim at centricular dot net>
394 * gst/base/gstadapter.c:
395 Debug category should be 'adapter', not 'GstAdapter'.
397 * gst/base/gstcollectpads.c: (gst_collectpads_base_init),
398 (gst_collectpads_class_init), (gst_collectpads_init),
399 (gst_collectpads_peek), (gst_collectpads_pop),
400 (gst_collectpads_event), (gst_collectpads_chain):
401 Add debug category and some debugging output. Use boilerplate
402 macros. Remove some extraneous words from docs.
404 2005-11-05 Andy Wingo <wingo@pobox.com>
406 * gst/base/gstpushsrc.c: Shorten by 30% via use of boilerplate
409 2005-11-04 Stefan Kost <ensonic@users.sf.net>
411 * docs/gst/gstreamer-sections.txt:
414 * gst/gstminiobject.h:
419 2005-11-04 Wim Taymans <wim@fluendo.com>
421 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
422 Small update to stop at the configured segment_end
425 2005-11-04 Stefan Kost <ensonic@users.sf.net>
431 2005-11-04 Edward Hervey <edward@fluendo.com>
433 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
434 Check if we are doing a segment seek and have arrived at the
437 2005-11-04 Wim Taymans <wim@fluendo.com>
439 * gst/gstbus.c: (gst_bus_post), (gst_bus_set_sync_handler):
440 Don't leak a mutex unlock in case of an error.
445 2005-11-04 Wim Taymans <wim@fluendo.com>
447 * gst/gstbus.c: (gst_bus_class_init), (gst_bus_init),
449 Get the context to wake up only once.
451 2005-11-03 Wim Taymans <wim@fluendo.com>
453 * check/states/sinks.c: (GST_START_TEST):
454 Uncomment fixed check.
456 * docs/design/part-TODO.txt:
459 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
460 (gst_base_sink_handle_object), (gst_base_sink_do_sync),
461 (gst_base_sink_get_position):
462 If we are going to PLAYING, post the right pending state
463 when we post the intermediate paused message.
465 * gst/gstelement.c: (gst_element_continue_state),
466 (gst_element_set_state_func), (gst_element_change_state):
467 Don't post state changes that were between the same state
470 2005-11-03 Stefan Kost <ensonic@users.sf.net>
472 * docs/gst/gstreamer-sections.txt:
475 * gst/gstminiobject.h:
478 more docs and doc style fixes
480 2005-11-03 Stefan Kost <ensonic@users.sf.net>
482 * docs/gst/gstreamer-sections.txt:
484 * gst/gstminiobject.c:
487 2005-11-03 Andy Wingo <wingo@pobox.com>
489 * check/states/sinks.c (test_livesrc_sink): Add checks that the
490 state-changed messages actually have the right order and the right
493 2005-11-03 Wim Taymans <wim@fluendo.com>
495 * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
496 Added some more checks. Specifically the case where NO_PREROLL
497 elements are in the pipeline.
499 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
500 (gst_base_sink_handle_object), (gst_base_sink_do_sync),
501 (gst_base_sink_get_position):
502 Post READY->PAUSED state change messages too.
503 Fix bug where VOID was posted as pending state...
505 * gst/gstbin.c: (gst_bin_recalc_state):
506 use _element_continue_state() to continue the state change.
508 * gst/gstelement.c: (gst_element_continue_state),
509 (gst_element_commit_state), (gst_element_set_state_func),
510 (gst_element_change_state), (gst_element_change_state_func):
511 Lots of state change cleanups, assign the STATE_RETURN in
512 a new continue_state() function that also propagates the
513 last return value from a state change to the app.
514 Update some debug statements with proper category.
516 2005-11-03 Wim Taymans <wim@fluendo.com>
518 * docs/design/part-events.txt:
519 * docs/design/part-gstpipeline.txt:
520 * docs/design/part-messages.txt:
521 * docs/design/part-overview.txt:
522 * docs/design/part-seeking.txt:
523 * docs/design/part-states.txt:
524 * docs/design/part-trickmodes.txt:
525 * docs/manual/advanced-position.xml:
529 People think !! is ugly, this looks better.
531 * gst/gstpad.c: (gst_pad_set_blocked_async):
532 Remove !! since it's fixed elsewhere now.
534 2005-11-03 Tim-Philipp Müller <tim at centricular dot net>
536 * gst/gstminiobject.h:
538 Add !! to _FLAG_IS_SET macros to make the result boolean.
540 2005-11-03 Edward Hervey <edward@fluendo.com>
542 * gst/gstpad.c: (gst_pad_set_blocked_async):
543 comparing a flag and a gboolean rarely returns coherent results...
544 Added two characters (!!) to make that work correctly.
546 2005-11-03 Tim-Philipp Müller <tim at centricular dot net>
548 * gst/gstbus.c: (gst_bus_class_init):
551 * gst/gstqueue.c: (gst_queue_loop):
552 Don't assume a miniobject that isn't a buffer is an
553 event (it could be that there is a refcounting
554 problem somewhere and the pointer is stale and
555 refers to an already destroyed miniobject).
557 2005-11-03 Julien MOUTTE <julien@moutte.net>
559 * gst/gstpad.c: (gst_pad_alloc_buffer): Fix some typos.
561 2005-11-03 Tim-Philipp Müller <tim at centricular dot net>
563 * docs/manual/advanced-position.xml:
564 Update seek example and explanations to current 0.9 API.
566 * gst/elements/gsttypefindelement.c:
567 (gst_type_find_element_activate):
568 Remove FIXME comment now that the found caps
571 2005-11-03 Thomas Vander Stichele <thomas at apestaart dot org>
573 * gst/gstregistryxml.c: (load_feature):
574 Add another GST_STR_NULL instance
576 2005-11-02 Edward Hervey <edward@fluendo.com>
578 * gst/gstpad.c: (handle_pad_block):
579 Follow-up to Wim's patch, solves deadlock for blocked and flushing pads
581 2005-11-02 Wim Taymans <wim@fluendo.com>
586 * gst/gstelement.c: (gst_element_commit_state):
590 Mention that the returned element is reffed in the docs.
592 2005-11-02 Wim Taymans <wim@fluendo.com>
594 * gst/gstpad.c: (gst_pad_alloc_buffer), (handle_pad_block),
595 (gst_pad_push), (gst_pad_push_event):
596 Unlock blocked pads when they are flushed.
598 2005-11-02 Thomas Vander Stichele <thomas at apestaart dot org>
601 * docs/gst/gstreamer-sections.txt:
604 * gst/gstregistry.c: (gst_registry_scan_path_level):
605 fix for a nasty little missed situation where an installed plug-in
606 which was in the cache did not get overridden by an uninstalled one
607 which was earlier in the plugin path because the newly created plugin
608 for the uninstalled one (not in the registry) didn't get its
609 ->registered set to TRUE
611 2005-11-02 Tim-Philipp Müller <tim at centricular dot net>
613 * gst/base/gstcollectpads.c: (gst_collectpads_set_function),
614 (gst_collectpads_add_pad), (gst_collectpads_remove_pad),
615 (gst_collectpads_is_active), (gst_collectpads_collect),
616 (gst_collectpads_collect_range), (gst_collectpads_start),
617 (gst_collectpads_stop), (gst_collectpads_peek),
618 (gst_collectpads_pop), (gst_collectpads_available),
619 (gst_collectpads_read), (gst_collectpads_flush):
620 Guard public API with assertions.
623 Fix docs for gst_pad_set_link_function().
625 2005-11-02 Johan Dahlin <johan@gnome.org>
627 * gst/elements/gsttypefindelement.c (gst_type_find_element_activate):
628 Unref found_caps after we used it.
630 2005-11-02 Tim-Philipp Müller <tim at centricular dot net>
632 * gst/base/gstcollectpads.c: (gst_collectpads_peek):
633 Don't try to ref NULL.
635 2005-11-02 Thomas Vander Stichele <thomas at apestaart dot org>
637 * win32/common/config.h.in:
638 provide a GST_FUNCTION that just gives a string for now
640 2005-11-02 Thomas Vander Stichele <thomas at apestaart dot org>
642 * win32/common/gstenumtypes.c: (register_gst_object_flags),
643 (gst_object_flags_get_type), (register_gst_bin_flags),
644 (gst_bin_flags_get_type), (register_gst_buffer_flag),
645 (gst_buffer_flag_get_type), (register_gst_bus_flags),
646 (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
647 (gst_bus_sync_reply_get_type), (register_gst_clock_return),
648 (gst_clock_return_get_type), (register_gst_clock_entry_type),
649 (gst_clock_entry_type_get_type), (register_gst_clock_flags),
650 (gst_clock_flags_get_type), (register_gst_state),
651 (gst_state_get_type), (register_gst_state_change_return),
652 (gst_state_change_return_get_type), (register_gst_state_change),
653 (gst_state_change_get_type), (register_gst_element_flags),
654 (gst_element_flags_get_type), (register_gst_core_error),
655 (gst_core_error_get_type), (register_gst_library_error),
656 (gst_library_error_get_type), (register_gst_resource_error),
657 (gst_resource_error_get_type), (register_gst_stream_error),
658 (gst_stream_error_get_type), (register_gst_event_type),
659 (gst_event_type_get_type), (register_gst_seek_type),
660 (gst_seek_type_get_type), (register_gst_seek_flags),
661 (gst_seek_flags_get_type), (register_gst_format),
662 (gst_format_get_type), (register_gst_index_certainty),
663 (gst_index_certainty_get_type), (register_gst_index_entry_type),
664 (gst_index_entry_type_get_type),
665 (register_gst_index_lookup_method),
666 (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
667 (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
668 (gst_index_resolver_method_get_type), (register_gst_index_flags),
669 (gst_index_flags_get_type), (register_gst_debug_level),
670 (gst_debug_level_get_type), (register_gst_debug_color_flags),
671 (gst_debug_color_flags_get_type), (register_gst_iterator_result),
672 (gst_iterator_result_get_type), (register_gst_iterator_item),
673 (gst_iterator_item_get_type), (register_gst_message_type),
674 (gst_message_type_get_type), (register_gst_mini_object_flags),
675 (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
676 (gst_pad_link_return_get_type), (register_gst_flow_return),
677 (gst_flow_return_get_type), (register_gst_activate_mode),
678 (gst_activate_mode_get_type), (register_gst_pad_direction),
679 (gst_pad_direction_get_type), (register_gst_pad_flags),
680 (gst_pad_flags_get_type), (register_gst_pad_presence),
681 (gst_pad_presence_get_type), (register_gst_pad_template_flags),
682 (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
683 (gst_pipeline_flags_get_type), (register_gst_plugin_error),
684 (gst_plugin_error_get_type), (register_gst_plugin_flags),
685 (gst_plugin_flags_get_type), (register_gst_rank),
686 (gst_rank_get_type), (register_gst_query_type),
687 (gst_query_type_get_type), (register_gst_tag_merge_mode),
688 (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
689 (gst_tag_flag_get_type), (register_gst_task_state),
690 (gst_task_state_get_type), (register_gst_alloc_trace_flags),
691 (gst_alloc_trace_flags_get_type),
692 (register_gst_type_find_probability),
693 (gst_type_find_probability_get_type), (register_gst_uri_type),
694 (gst_uri_type_get_type), (register_gst_parse_error),
695 (gst_parse_error_get_type):
696 * win32/common/gstversion.h:
699 2005-11-01 Luca Ognibene <luogni@tin.it>
702 fix docs. popt is dead, long live GOption.
704 2005-10-31 Wim Taymans <wim@fluendo.com>
709 2005-10-31 Andy Wingo <wingo@pobox.com>
713 * gst/gstqueue.c (gst_queue_chain): Fix downstream leaky mode.
715 * gst/gstobject.c (gst_object_dispatch_properties_changed): No
716 need to serialize property notifications on GLib 2.8. GLib 2.6 has
717 the possibility of deadlocks here if code calling notify() or
718 set() has a lock that can be taken in another notify handler (ABBA
719 with class lock and e.g. python GIL state lock).
721 2005-10-28 Julien MOUTTE <julien@moutte.net>
723 * gst/gstbus.c: Doc updates.
725 2005-10-28 Wim Taymans <wim@fluendo.com>
727 * docs/design/part-TODO.txt:
729 * gst/gstsystemclock.c:
730 * gst/gstsystemclock.h:
733 2005-10-28 Edward Hervey <edward@fluendo.com>
735 * docs/gst/gstreamer-docs.sgml:
736 * docs/gst/gstreamer-sections.txt:
737 the GstURIType documentation page is private, it only defines GstURIType
738 which should be defined in the GstURIHandler page
740 2005-10-28 Thomas Vander Stichele <thomas at apestaart dot org>
742 * gst/gstbin.c: (gst_bin_class_init):
745 Documentation updates.
747 2005-10-28 Wim Taymans <wim@fluendo.com>
749 * docs/gst/gstreamer-sections.txt:
752 Documented the clocks.
754 2005-10-28 Stefan Kost <ensonic@users.sf.net>
756 * docs/gst/gstreamer-sections.txt:
757 move some macros to private sections
758 * gst/gstminiobject.c:
759 * gst/gstminiobject.h:
760 add descriptions provided by ds and some more
762 mark macro as to be removed
764 2005-10-28 Wim Taymans <wim@fluendo.com>
766 * docs/design/part-TODO.txt:
769 * gst/gstiterator.c: (gst_iterator_fold),
770 (gst_iterator_find_custom):
774 2005-10-28 Wim Taymans <wim@fluendo.com>
776 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
777 (gst_base_transform_init):
780 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_loop):
781 An EOS event marks the queue as completely filled.
783 2005-10-27 Wim Taymans <wim@fluendo.com>
785 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
786 (gst_base_sink_do_sync), (gst_base_sink_get_position):
789 * gst/base/gstbasetransform.c: (gst_base_transform_finalize),
790 (gst_base_transform_init), (gst_base_transform_buffer_alloc),
791 (gst_base_transform_event), (gst_base_transform_getrange),
792 (gst_base_transform_chain):
793 * gst/base/gstbasetransform.h:
795 Protect transform and concurrent buffer alloc with a new lock.
796 Try not to break ABI/API.
798 2005-10-27 Wim Taymans <wim@fluendo.com>
800 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
801 (gst_base_src_init), (gst_base_src_query),
802 (gst_base_src_default_newsegment),
803 (gst_base_src_configure_segment), (gst_base_src_do_seek),
804 (gst_base_src_send_event), (gst_base_src_event_handler),
805 (gst_base_src_pad_get_range), (gst_base_src_loop),
806 (gst_base_src_unlock), (gst_base_src_default_negotiate),
807 (gst_base_src_start), (gst_base_src_deactivate),
808 (gst_base_src_activate_push), (gst_base_src_change_state):
809 Move some stuff around and cleanup things.
811 2005-10-27 Tim-Philipp Müller <tim at centricular dot net>
813 * gst/base/gstbasesrc.c: (gst_base_src_query):
814 Add missing break statements.
816 2005-10-27 Wim Taymans <wim@fluendo.com>
818 * check/gst/gstbin.c: (GST_START_TEST):
819 An extra refcount is taken in basesrc.
821 * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
822 (gst_base_src_get_range), (gst_base_src_pad_get_range),
824 Small cleanups, check for flushing after being unlocked from the
825 LIVE_LOCK. take refcounts correctly (not yet everywhere).
826 Don't send out EOS when going to READY.
828 2005-10-27 Wim Taymans <wim@fluendo.com>
830 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
831 (gst_base_sink_get_position):
834 * gst/gstbin.c: (message_check), (bin_replace_message),
835 (bin_remove_messages), (is_eos), (gst_bin_add_func),
836 (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
837 (bin_query_duration_init), (bin_query_duration_fold),
838 (bin_query_duration_done), (bin_query_generic_fold),
840 * tools/gst-launch.c: (main):
843 2005-10-26 Stefan Kost <ensonic@users.sf.net>
845 * examples/controller/audio-example.c: (main):
846 * examples/queue/queue.c: (event_loop):
847 * gst/base/gstbasetransform.h:
848 * gst/gstelement.c: (gst_element_send_event):
850 * gst/gstpad.c: (gst_pad_send_event):
853 changing log priority in error situations
855 2005-10-25 Wim Taymans <wim@fluendo.com>
857 * gst/gstbin.c: (message_check), (bin_replace_message),
858 (bin_remove_messages), (is_eos), (gst_bin_add_func),
859 (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
860 (bin_query_duration_init), (bin_query_duration_fold),
861 (bin_query_duration_done), (bin_query_generic_fold),
863 Some doc and debug updates.
864 Cache previously requested query DURATION for speed. invalidate
865 cached duration if element posts a DURATION message.
867 2005-10-25 Wim Taymans <wim@fluendo.com>
869 * docs/design/part-TODO.txt:
872 * gst/gstbin.c: (message_check), (bin_replace_message),
873 (bin_remove_messages), (is_eos), (gst_bin_add_func),
874 (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
875 (bin_query_duration_init), (bin_query_duration_fold),
876 (bin_query_duration_done), (bin_query_generic_fold),
878 Handle SEGMENT_START/DONE messages correctly.
879 More evolved query algorithm that handles duration queries
882 * gst/gstelement.c: (gst_element_send_event), (gst_element_query),
883 (gst_element_get_state_func), (gst_element_abort_state),
884 (gst_element_commit_state), (gst_element_lost_state):
890 2005-10-25 Wim Taymans <wim@fluendo.com>
892 * gst/base/gstbasesink.c: (gst_base_sink_get_position):
893 Don't use invalid stream_time.
895 * gst/gstevent.c: (gst_event_new_newsegment):
896 stream_time in newsegment cannot be undefined.
898 2005-10-24 Wim Taymans <wim@fluendo.com>
903 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
905 Fix potential deadlock when QUEUE_LOCK is taken before STREAM_LOCK.
907 2005-10-24 Stefan Kost <ensonic@users.sf.net>
909 * docs/libs/tmpl/gstdparam.sgml:
910 * docs/libs/tmpl/gstdplinint.sgml:
911 * docs/libs/tmpl/gstdpman.sgml:
912 * docs/libs/tmpl/gstdpsmooth.sgml:
913 * docs/libs/tmpl/gstunitconvert.sgml:
916 2005-10-24 Thomas Vander Stichele <thomas at apestaart dot org>
921 === release 0.9.4 ===
923 2005-10-23 Thomas Vander Stichele <thomas at apestaart dot org>
926 releasing 0.9.4, "Tyrannosaurus Rex"
928 2005-10-23 Tim-Philipp Müller <tim at centricular dot net>
930 * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
931 (gst_file_sink_get_current_offset):
932 Use fseeko() and ftello() if available. When falling back on
933 lseek() to get the current offset, fflush() first to make sure
934 everything is up-to-date and we get the right offset.
936 2005-10-23 Thomas Vander Stichele <thomas at apestaart dot org>
938 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
939 * gst/base/gstbasesrc.c: (gst_base_src_loop):
940 * gst/gsterror.c: (_gst_stream_errors_init):
942 * gst/gstqueue.c: (gst_queue_loop):
944 remove prematurely added error category and clean up the instances
946 2005-10-21 Wim Taymans <wim@fluendo.com>
948 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
949 (gst_base_sink_get_position), (gst_base_sink_query),
950 (gst_base_sink_change_state):
951 Simply set the right flag when going to playing, that's all
952 we need to do instead of calling a function inside the object
953 lock (that could take the lock as well and deadlock)
955 2005-10-21 Wim Taymans <wim@fluendo.com>
957 * gst/base/gstbasesrc.c: (gst_base_src_do_seek),
959 Don't warn, the peer element knows what to do best when
960 the seek failed, it might try something else.
962 2005-10-21 Wim Taymans <wim@fluendo.com>
964 * gst/base/gstbasesrc.c: (gst_base_src_init),
965 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
968 2005-10-21 Wim Taymans <wim@fluendo.com>
970 * docs/design/part-segments.txt:
973 * gst/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
974 Correctly set caps, even on the subbufer.
976 2005-10-21 Wim Taymans <wim@fluendo.com>
978 * docs/gst/gstreamer-docs.sgml:
979 * docs/gst/gstreamer-sections.txt:
986 * gst/gsttask.c: (gst_task_finalize), (gst_task_func):
990 And 2% more doc coverage.
992 2005-10-21 Andy Wingo <wingo@pobox.com>
994 * gst/base/gstbasesrc.c (gst_base_src_query): Clean up percent
997 2005-10-20 Wim Taymans <wim@fluendo.com>
999 * gst/gsterror.c: (gst_error_get_message):
1002 * gst/gststructure.c:
1007 2005-10-20 Wim Taymans <wim@fluendo.com>
1012 Another 1% more coverage.
1014 2005-10-20 Wim Taymans <wim@fluendo.com>
1016 * docs/gst/gstreamer-sections.txt:
1017 * gst/gstelement.c: (gst_element_get_state_func),
1018 (gst_element_abort_state), (gst_element_commit_state),
1019 (gst_element_lost_state):
1021 * gst/gstquery.c: (gst_query_set_position),
1022 (gst_query_parse_position), (gst_query_set_duration),
1023 (gst_query_parse_duration), (gst_query_new_convert):
1025 Yay! 1% more docs coverage.
1027 2005-10-20 Wim Taymans <wim@fluendo.com>
1030 * gst/gstquery.c: (gst_query_set_position),
1031 (gst_query_parse_position), (gst_query_set_duration),
1032 (gst_query_parse_duration), (gst_query_new_convert):
1034 * gst/gstutils.c: (gst_element_query_convert):
1036 Docs and consistency fixes.
1038 2005-10-20 Wim Taymans <wim@fluendo.com>
1044 2005-10-20 Wim Taymans <wim@fluendo.com>
1046 * gst/gstbin.c: (message_check), (bin_replace_message),
1047 (bin_remove_messages), (is_eos), (gst_bin_add_func),
1048 (update_degree), (gst_bin_sort_iterator_next),
1049 (gst_bin_change_state_func), (gst_bin_dispose), (bin_bus_handler):
1050 Reworked the message handling a bit, cache the messages instead of
1051 only the senders. alows us to do more in the future.
1053 2005-10-20 Wim Taymans <wim@fluendo.com>
1055 * docs/design/part-TODO.txt:
1058 * gst/base/gstbasesink.c: (gst_base_sink_get_position),
1059 (gst_base_sink_query):
1060 Don't use clock time to report position when in EOS.
1062 2005-10-20 Tim-Philipp Müller <tim at centricular dot net>
1064 * tools/gst-inspect.c: (print_interfaces),
1065 (print_element_properties_info), (print_element_info):
1066 Fix interface output with gst-inspect -a; don't print
1067 newlines after double/float properties.
1069 2005-10-20 Wim Taymans <wim@fluendo.com>
1071 * gst/base/gstbasesink.c: (gst_base_sink_get_position),
1072 (gst_base_sink_query):
1073 Speed up current position calculation.
1075 * gst/base/gstbasesrc.c: (gst_base_src_query),
1076 (gst_base_src_default_newsegment):
1077 Correctly set stream position in newsegment.
1079 * gst/gstbin.c: (gst_bin_add_func), (add_to_queue),
1080 (update_degree), (gst_bin_sort_iterator_next),
1081 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free):
1082 * gst/gstmessage.c: (gst_message_new_custom):
1083 Clean up debugging info
1085 * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
1086 (gst_queue_loop), (gst_queue_handle_src_query):
1089 2005-10-19 Wim Taymans <wim@fluendo.com>
1091 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
1092 (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
1093 Fix query handling again.
1095 2005-10-19 Wim Taymans <wim@fluendo.com>
1097 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
1098 (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
1099 * gst/base/gstbasesrc.c: (gst_base_src_query):
1100 * gst/elements/gstfilesink.c: (gst_file_sink_query):
1101 * gst/elements/gsttypefindelement.c:
1102 (gst_type_find_handle_src_query), (find_element_get_length),
1103 (gst_type_find_element_activate):
1106 * gst/gstquery.c: (gst_query_new_position),
1107 (gst_query_set_position), (gst_query_parse_position),
1108 (gst_query_new_duration), (gst_query_set_duration),
1109 (gst_query_parse_duration), (gst_query_set_segment),
1110 (gst_query_parse_segment):
1112 Bundling query position/duration is not a good idea since duration
1113 does not change much and we don't want to recalculate it for every
1114 position query, so they are separated again..
1115 Base value in segment query is not needed.
1117 * gst/gstqueue.c: (gst_queue_handle_src_query):
1118 * gst/gstutils.c: (gst_element_query_position),
1119 (gst_element_query_duration), (gst_pad_query_position),
1120 (gst_pad_query_duration):
1122 Updates for query API change.
1123 Added some docs here and there.
1125 2005-10-19 Thomas Vander Stichele <thomas at apestaart dot org>
1127 * check/gst/gstbin.c: (GST_START_TEST):
1128 * check/gst/gstghostpad.c: (GST_START_TEST):
1129 * check/pipelines/cleanup.c: (GST_START_TEST):
1130 wait on thread to die so we can check refcount correctly
1132 2005-10-18 Wim Taymans <wim@fluendo.com>
1134 * check/pipelines/stress.c: (GST_START_TEST):
1135 Make check a little more time consuming.
1137 2005-10-18 Wim Taymans <wim@fluendo.com>
1139 * check/Makefile.am:
1140 * check/pipelines/stress.c: (GST_START_TEST),
1141 (simple_launch_lines_suite), (main):
1142 Small state change torture test.
1144 * docs/design/part-states.txt:
1145 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
1146 (gst_base_sink_handle_object), (gst_base_sink_event), (do_playing),
1147 (gst_base_sink_change_state):
1148 Never take state lock from streaming thread, clean up ugly
1149 hacks. Unfortunatly core does not yet support nice ways to
1152 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_recalc_state),
1154 Start state recalc if a STATE_DIRTY message is posted, but only
1155 on the toplevel bin.
1157 * gst/gstelement.c: (gst_element_sync_state_with_parent),
1158 (gst_element_get_state_func), (gst_element_abort_state),
1159 (gst_element_commit_state), (gst_element_lost_state),
1160 (gst_element_set_state_func), (gst_element_change_state):
1162 State variables are now protected with the LOCK, the state
1163 lock is only used to serialize _set_state().
1165 2005-10-18 Wim Taymans <wim@fluendo.com>
1167 * check/gst/gstbin.c: (GST_START_TEST):
1168 * check/gst/gstmessage.c: (GST_START_TEST):
1169 * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
1170 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_recalc_func),
1172 * gst/gstelement.c: (gst_element_abort_state),
1173 (gst_element_commit_state), (gst_element_lost_state):
1174 * gst/gstmessage.c: (gst_message_new_state_changed),
1175 (gst_message_new_state_dirty), (gst_message_new_segment_start),
1176 (gst_message_new_segment_done), (gst_message_new_duration),
1177 (gst_message_parse_state_changed),
1178 (gst_message_parse_segment_start),
1179 (gst_message_parse_segment_done), (gst_message_parse_duration):
1181 * tools/gst-launch.c: (event_loop):
1182 Seriously, this is better than a previous commit as we only need
1183 to notify the fact that an element changed state in a streaming
1184 thread, marking the state of the parents dirty, hence the
1185 STATE_DIRTY message instead of abusing a boolean in a STATE_CHANGE
1188 2005-10-18 Wim Taymans <wim@fluendo.com>
1190 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_get_state_func),
1191 (gst_bin_recalc_func):
1192 * gst/gstelement.c: (gst_element_set_clock),
1193 (gst_element_abort_state), (gst_element_lost_state):
1194 Cleanups, prepare for state change fixes.
1196 2005-10-18 Wim Taymans <wim@fluendo.com>
1199 * gst/gstelement.c: (gst_element_class_init),
1200 (gst_element_set_state), (gst_element_set_state_func):
1202 Pending ABI changes.
1203 GThreadPool in GstBinClass to monitor async state changes.
1204 state_cookie in GstElement to detect concurrent gst/set state.
1205 set_state is now virtual too in case a very complicated element
1206 has to be constructed.
1208 2005-10-18 Wim Taymans <wim@fluendo.com>
1210 * check/gst/gstbin.c: (GST_START_TEST):
1211 * check/gst/gstmessage.c: (GST_START_TEST):
1212 * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
1213 * gst/gstbin.c: (bin_bus_handler):
1214 * gst/gstelement.c: (gst_element_commit_state),
1215 (gst_element_lost_state):
1216 * gst/gstmessage.c: (gst_message_new_state_changed),
1217 (gst_message_new_segment_start), (gst_message_new_segment_done),
1218 (gst_message_new_duration), (gst_message_parse_state_changed),
1219 (gst_message_parse_segment_start),
1220 (gst_message_parse_segment_done), (gst_message_parse_duration):
1222 * tools/gst-launch.c: (event_loop):
1223 Make messages future proof.
1224 state-change gets a flag if it was a message comming from the
1226 segment-start/stop can also be specified in other formats.
1227 A message to notify an app that a pipeline changed playback
1229 Also fix a GstMessage leak in -launch
1231 2005-10-18 Andy Wingo <wingo@pobox.com>
1233 * gst/gstelement.c (gst_element_dispose): More helpful message.
1235 2005-10-18 Thomas Vander Stichele <thomas at apestaart dot org>
1237 * gst/gstregistry.c: (gst_registry_scan_path_level):
1238 unref a plug-in we get that was already initialized
1240 2005-10-18 Stefan Kost <ensonic@users.sf.net>
1242 * docs/gst/gstreamer-sections.txt:
1243 * docs/libs/gstreamer-libs-sections.txt:
1248 2005-10-17 Andy Wingo <wingo@pobox.com>
1250 * gst/base/gstcollectpads.c (gst_collectpads_chain): Slight
1253 * gst/Makefile.am (gstenumtypes.c): Threadsafe now.
1255 * gst/gstevent.c (gst_event_new, gst_event_finalize): LOG.
1257 * gst/gstelement.c (gst_element_get_state_func): s/INFO/DEBUG/.
1258 (gst_element_get_state_func): Better debug message.
1259 (gst_element_commit_state): s/INFO/DEBUG/.
1260 (gst_element_lost_state, gst_element_change_state):
1262 * gst/gstmessage.c (gst_message_init): s/INFO/LOG/.
1263 (gst_message_new_custom): s/INFO/LOG/.
1265 2005-10-17 Michael Smith <msmith@fluendo.com>
1267 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
1268 Check if end time is valid using end time, not start time.
1270 2005-10-17 Stefan Kost <ensonic@users.sf.net>
1272 * check/gst-libs/controller.c: (GST_START_TEST),
1273 (gst_controller_suite):
1274 * libs/gst/controller/gstcontroller.c:
1275 (gst_controlled_property_set_interpolation_mode):
1276 * libs/gst/controller/gstcontroller.h:
1277 * libs/gst/controller/gstinterpolation.c:
1278 * testsuite/controller/.cvsignore:
1279 * testsuite/controller/Makefile.am:
1280 * testsuite/controller/interpolator.c:
1281 merge controller testsuites
1283 remove mem-chunk from docs
1285 2005-10-17 Thomas Vander Stichele <thomas at apestaart dot org>
1287 * gst/gstmemchunk.c:
1288 * gst/gstmemchunk.h:
1289 * gst/gsttrashstack.c:
1290 * gst/gsttrashstack.h:
1291 out. get out. you're fired. to the Attic !
1293 2005-10-17 Thomas Vander Stichele <thomas at apestaart dot org>
1295 * gst/gstcaps.c: (gst_caps_intersect):
1296 fix signedness issues in a (hopefully) correct way
1297 * gst/gstelement.c: (gst_element_pads_activate):
1299 * gst/gstobject.c: (gst_object_set_parent):
1302 2005-10-17 Julien MOUTTE <julien@moutte.net>
1304 * gst/gstvalue.h: Fix prototypes.
1306 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
1308 * docs/gst/gstreamer-sections.txt:
1309 * gst/gst.c: (gst_version_string):
1311 * gst/gstversion.h.in:
1312 * win32/common/libgstreamer.def:
1313 add gst_version_string ()
1315 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
1319 * gst/gst.c: (init_post):
1320 * win32/common/config.h.in:
1322 * gst/gstcaps.c: (gst_caps_intersect):
1323 use gint64, the range could be bigger than a guint
1325 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
1328 document potential problem in 2038
1330 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
1332 * gst/gstcaps.c: (gst_caps_intersect):
1333 Fix guint j diving under 0
1335 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
1338 * win32/common/config.h:
1339 * win32/common/config.h.in:
1340 check for process.h, declares getpid() on Windows
1342 include process.h if we have it
1343 * gst/gstmemchunk.c: (populate), (gst_mem_chunk_new):
1344 * gst/gstmemchunk.h:
1345 fix signedness issues
1346 * win32/common/libgstreamer.def:
1349 2005-10-16 Julien MOUTTE <julien@moutte.net>
1351 * gst/gstcaps.c: (gst_caps_intersect): Fix a bad bug with a simple
1352 fix. Because of unsigned ints, caps intersection was going nuts and
1353 trying to access structures with G_MAXUINT index. That fixes
1354 videotestsrc ! ffmpegcolorspace ! fakesink
1355 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked): logs
1358 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
1361 use the gettext macro
1362 * gst/elements/gstelements.c:
1364 * gst/indexers/gstindexers.c:
1365 update for GST_PACKAGE_NAME, GST_PACKAGE_ORIGIN
1366 * win32/common/config.h:
1368 * win32/common/config.h.in:
1369 add the template to generate config.h
1370 * win32/common/gstenumtypes.c:
1371 * win32/common/gstversion.h:
1374 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
1376 * gst/gst.c: (gst_version):
1377 * gst/gstversion.h.in:
1380 2005-10-15 Tim-Philipp Müller <tim at centricular dot net>
1383 Oops, add missing closing bracket.
1385 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
1388 use common m4's for argument checking
1390 2005-10-15 Tim-Philipp Müller <tim at centricular dot net>
1392 * docs/gst/gstreamer-sections.txt:
1394 Add GST_EVENT_TYPE_NAME() macro.
1396 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
1399 * gst/gstpluginfeature.c:
1401 privatize more symbols
1403 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
1406 add srcdir, builddir includes to GST_ALL_CFLAGS, since
1407 everything that uses GStreamer API should have the includes
1409 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
1411 * docs/gst/gstreamer-sections.txt:
1412 * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
1414 give each value a _get_type, removes the DATA exports
1416 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
1420 remove _gst_registry_auto_load, not used anymore
1421 * gst/gstbin.c: (gst_bin_get_type):
1423 * gst/gstelement.c: (gst_element_get_type):
1425 * gst/gstobject.c: (gst_object_get_type):
1427 * gst/gstpad.c: (gst_pad_get_type):
1429 make _get_type functions similar, fixes data export from library
1431 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
1434 correctly make conditionals
1435 * gst/elements/Makefile.am:
1436 * gst/elements/gstelements.c:
1437 fix typo causing fdsrc not to build
1439 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
1441 * testsuite/Makefile.am:
1442 * testsuite/bytestream/.cvsignore:
1443 * testsuite/bytestream/Makefile.am:
1444 * testsuite/bytestream/filepadsink.c:
1445 * testsuite/bytestream/gstbstest.c:
1446 * testsuite/bytestream/test1.c:
1447 * testsuite/bytestream/testfile1:
1448 * testsuite/caps/normalisation.c:
1449 * testsuite/caps/random.c: (main):
1450 * testsuite/cleanup/.cvsignore:
1451 * testsuite/cleanup/Makefile.am:
1452 * testsuite/cleanup/cleanup1.c:
1453 * testsuite/cleanup/cleanup2.c:
1454 * testsuite/cleanup/cleanup3.c:
1455 * testsuite/cleanup/cleanup4.c:
1456 * testsuite/cleanup/cleanup5.c:
1457 * testsuite/controller/interpolator.c:
1458 * testsuite/debug/printf_extension.c: (main):
1459 * testsuite/elements/tee.c:
1460 * testsuite/negotiation/.cvsignore:
1461 * testsuite/negotiation/Makefile.am:
1462 * testsuite/negotiation/pad_link.c:
1463 * testsuite/pad/Makefile.am:
1464 * testsuite/pad/chainnopull.c:
1465 * testsuite/pad/getnopush.c:
1466 * testsuite/pad/link.c:
1467 * testsuite/refcounting/sched.c: (create_pipeline):
1468 * testsuite/registry/Makefile.am:
1469 * testsuite/registry/gst-print-formats.c:
1470 * testsuite/schedulers/.cvsignore:
1471 * testsuite/schedulers/142183-2.c:
1472 * testsuite/schedulers/142183.c:
1473 * testsuite/schedulers/143777-2.c:
1474 * testsuite/schedulers/143777.c:
1475 * testsuite/schedulers/147713.c:
1476 * testsuite/schedulers/147819.c:
1477 * testsuite/schedulers/147894-2.c:
1478 * testsuite/schedulers/147894.c:
1479 * testsuite/schedulers/Makefile.am:
1480 * testsuite/schedulers/group_link.c:
1481 * testsuite/schedulers/queue_link.c:
1482 * testsuite/schedulers/relink.c:
1483 * testsuite/schedulers/unlink.c:
1484 * testsuite/schedulers/unref.c:
1485 * testsuite/schedulers/useless_iteration.c:
1486 * testsuite/states/bin.c:
1487 clean out/remove some stuff from the testsuite directories
1489 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
1492 check for some headers
1493 * gst/elements/Makefile.am:
1494 * gst/elements/gstelements.c:
1495 don't compile fdsrc without sys/socket.h
1496 * gst/indexers/Makefile.am:
1497 * gst/indexers/gstindexers.c: (plugin_init):
1498 don't compile fileindex without mmap
1500 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
1507 * check/Makefile.am:
1508 * docs/gst/Makefile.am:
1509 * examples/helloworld/Makefile.am:
1511 * gst/base/Makefile.am:
1512 * gst/check/Makefile.am:
1513 * gst/elements/Makefile.am:
1514 * gst/indexers/Makefile.am:
1515 * gst/parse/Makefile.am:
1516 * libs/gst/controller/Makefile.am:
1517 * libs/gst/dataprotocol/Makefile.am:
1518 * examples/helloworld/helloworld.c: (event_loop):
1519 compile fixes, though it's not being compiled currently
1521 2005-10-14 Tim-Philipp Müller <tim at centricular dot net>
1523 * check/gst/gsttag.c: (test_date_tags), (gst_tag_suite):
1524 Add some simple tests for the new taglist date API.
1526 2005-10-14 Tim-Philipp Müller <tim at centricular dot net>
1528 * gst/elements/gstfakesink.c: (gst_fake_sink_render):
1529 * gst/elements/gstfakesrc.c: (gst_fake_src_create):
1530 Beautify 'last-message' output: print 'none' for buffer timestamps
1531 and durations if none is set; improve alignment with next messages.
1533 2005-10-14 Tim-Philipp Müller <tim at centricular dot net>
1535 * gst/gstpluginfeature.c: (gst_plugin_feature_check_version):
1536 * gst/gstpluginfeature.h:
1537 * gst/gstregistry.c: (gst_default_registry_check_feature_version):
1538 * gst/gstregistry.h:
1539 * docs/gst/gstreamer-sections.txt:
1540 Add new API to check plugin feature version requirements.
1542 * check/gst/gstplugin.c: (test_version_checks), (gst_plugin_suite):
1543 Some basic tests for the above.
1545 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
1547 * gst/gststructure.c: (gst_structure_to_string):
1548 guard against NULL printf - happens when for example
1549 a message structure with GstClock gets serialized
1551 2005-10-13 Tim-Philipp Müller <tim at centricular dot net>
1553 * gst/base/gstcollectpads.c: (gst_collectpads_event):
1554 Fix presumable copy'n'pasto.
1556 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
1558 * gst/elements/gstfakesrc.h:
1559 * gst/elements/gstfilesrc.c: (gst_file_src_create_read):
1560 * gst/elements/gsttypefindelement.c:
1562 * gst/elements/gstfilesink.c: (gst_file_sink_render):
1563 I wonder if this could actually write +2GB files before
1565 2005-10-13 Andy Wingo <wingo@pobox.com>
1567 * libs/gst/dataprotocol/dataprotocol.c (gst_dp_packet_from_caps):
1568 Fix Timmeke Waymans bug.
1569 (gst_dp_caps_from_packet): Make sure we pass a NUL-terminated
1570 string of the proper length to gst_caps_from_string. There's a
1571 potential for, before this fix, that this could cause someone
1572 connecting over the network to cause a segfault if the payload is
1575 2005-10-13 Stefan Kost <ensonic@users.sf.net>
1577 * docs/design/draft-push-pull.txt:
1578 * docs/design/part-overview.txt:
1579 * docs/random/TODO-pre-0.9:
1580 * docs/random/old/ChangeLog.gstreamer:
1581 * gst/base/gstpushsrc.c:
1585 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
1587 * gst/glib-compat.c: (gst_flags_get_first_value):
1588 * gst/glib-compat.h:
1589 * gst/gstvalue.c: (gst_value_deserialize_int_helper),
1590 (gst_value_compare_double), (gst_value_serialize_flags):
1591 GLib 2.6 g_flags_get_first_value has a bug that triggers an
1594 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
1596 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
1597 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
1599 * tools/gst-launch.c: (event_loop):
1600 print out clock nicely
1602 2005-10-13 Tim-Philipp Müller <tim at centricular dot net>
1604 * docs/gst/gstreamer-sections.txt:
1606 * gst/gsttaglist.c: (_gst_tag_initialize), (gst_tag_list_get_date),
1607 (gst_tag_list_get_date_index):
1608 Added gst_tag_list_get_date() and gst_tag_list_get_date_index().
1609 GST_TAG_DATE now has a tag type of GST_TYPE_DATE (#170777).
1611 2005-10-13 Julien MOUTTE <julien@moutte.net>
1613 * gst/base/gstcollectpads.c: (gst_collectpads_event),
1614 (gst_collectpads_chain):
1615 * gst/base/gstcollectpads.h: Handle newsegment and store informations
1618 2005-10-13 Stefan Kost <ensonic@users.sf.net>
1620 * docs/gst/gstreamer-sections.txt:
1623 * tools/gst-inspect.c: (main):
1624 * tools/gst-launch.c: (main):
1625 * tools/gst-run.c: (main):
1626 * tools/gst-xmlinspect.c: (main):
1627 fix GOption context leaks
1630 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
1634 * win32/common/config.h:
1636 * win32/vs6/grammar.dsp:
1637 * win32/vs6/libgstelements.dsp:
1638 * win32/vs6/libgstreamer.dsp:
1641 2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
1643 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
1644 * gst/base/gstbasesrc.c: (gst_base_src_query):
1645 fix more guint64<->gdouble conversions
1647 2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
1650 add win32-update target
1651 * win32/common/gstconfig.h:
1652 * win32/common/gstenumtypes.c:
1653 * win32/common/gstenumtypes.h:
1654 * win32/common/gstversion.h:
1655 add files that visual studio can't generate
1657 2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
1660 add a win32-update target
1663 2005-10-12 Wim Taymans <wim@fluendo.com>
1665 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
1666 (reset_degree), (gst_bin_dispose), (bin_bus_handler):
1667 * gst/gstelement.c: (gst_element_commit_state),
1668 (gst_element_set_state):
1669 Protect flags with proper lock.
1670 unref provided cached clock in dispose.
1672 2005-10-12 Stefan Kost <ensonic@users.sf.net>
1675 * gst/gstminiobject.h:
1677 * win32/gstenumtypes.c: (gst_mini_object_flags_get_type):
1678 removed unused flags from miniobject
1681 2005-10-12 Wim Taymans <wim@fluendo.com>
1683 * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
1684 (gst_file_sink_event), (gst_file_sink_render):
1685 Flush before seeking.
1687 2005-10-12 Andy Wingo <wingo@pobox.com>
1689 * gst/gst.c (gst_init_check): Ignore unknown options, as has
1690 always been the case.
1692 2005-10-12 Stefan Kost <ensonic@users.sf.net>
1694 * check/gst/gstbin.c: (GST_START_TEST):
1695 * docs/gst/gstreamer-sections.txt:
1696 * gst/base/gstbasesink.c: (gst_base_sink_init):
1697 * gst/base/gstbasesrc.c: (gst_base_src_init),
1698 (gst_base_src_get_range), (gst_base_src_check_get_range),
1699 (gst_base_src_start), (gst_base_src_stop):
1700 * gst/base/gstbasesrc.h:
1701 * gst/elements/gstfakesrc.c: (gst_fake_src_set_property):
1702 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
1703 (bin_element_is_sink), (reset_degree), (gst_bin_element_set_state),
1707 * gst/gstbus.c: (gst_bus_post), (gst_bus_set_flushing):
1709 * gst/gstelement.c: (gst_element_is_locked_state),
1710 (gst_element_set_locked_state), (gst_element_commit_state),
1711 (gst_element_set_state):
1713 * gst/gstindex.c: (gst_index_init):
1715 * gst/gstminiobject.h:
1716 * gst/gstobject.c: (gst_object_init), (gst_object_sink),
1717 (gst_object_set_parent):
1719 * gst/gstpad.c: (gst_pad_set_blocked_async), (gst_pad_is_blocked),
1720 (gst_pad_get_caps_unlocked), (gst_pad_set_caps):
1722 * gst/gstpadtemplate.h:
1723 * gst/gstpipeline.c: (gst_pipeline_provide_clock_func),
1724 (gst_pipeline_use_clock), (gst_pipeline_auto_clock):
1725 * gst/gstpipeline.h:
1726 * gst/indexers/gstfileindex.c: (gst_file_index_load),
1727 (gst_file_index_commit):
1728 * testsuite/bytestream/filepadsink.c: (gst_fp_sink_init):
1729 * testsuite/pad/link.c: (gst_test_src_init),
1730 (gst_test_filter_init), (gst_test_sink_init):
1731 * testsuite/states/locked.c: (main):
1732 renamed GST_FLAGS macros to GST_OBJECT_FLAGS
1733 moved bitshift from macro to enum definition
1735 2005-10-12 Wim Taymans <wim@fluendo.com>
1737 * gst/base/gstbasesink.c: (gst_base_sink_handle_buffer):
1738 * gst/elements/gstfilesink.c: (gst_file_sink_event),
1739 (gst_file_sink_render):
1740 Some more debugging info.
1742 2005-10-12 Wim Taymans <wim@fluendo.com>
1744 * docs/design/part-states.txt:
1745 * tools/gst-launch.c: (main):
1747 Revert non-intentional change.
1749 2005-10-12 Wim Taymans <wim@fluendo.com>
1751 * check/gst/gstbin.c: (GST_START_TEST):
1752 * check/gst/gstelement.c: (GST_START_TEST):
1753 * check/gst/gstevent.c: (GST_START_TEST), (test_event):
1754 * check/gst/gstghostpad.c: (GST_START_TEST):
1755 * check/gst/gstpipeline.c: (GST_START_TEST):
1756 * check/pipelines/simple_launch_lines.c: (run_pipeline):
1757 * check/states/sinks.c: (GST_START_TEST):
1758 * gst/elements/gsttypefindelement.c: (stop_typefinding):
1759 * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
1760 (gst_bin_remove_func), (gst_bin_get_state_func),
1761 (gst_bin_recalc_state), (gst_bin_change_state_func),
1763 * gst/gstelement.c: (gst_element_get_state_func),
1764 (gst_element_get_state), (gst_element_abort_state),
1765 (gst_element_commit_state), (gst_element_set_state),
1766 (gst_element_change_state), (gst_element_change_state_func):
1768 * gst/gstpipeline.c: (gst_pipeline_class_init), (do_pipeline_seek),
1769 (gst_pipeline_provide_clock_func):
1770 * gst/gstutils.c: (gst_element_link_pads_filtered):
1771 * tools/gst-launch.c: (main):
1772 * tools/gst-typefind.c: (main):
1773 Use GstClockTime in _get_state() instead of GTimeVal.
1774 Remove old code in gstutils.c
1776 2005-10-12 Andy Wingo <wingo@pobox.com>
1778 * gst/gstregistry.h (gst_registry_scan_paths): Not implemented, so
1781 * gst/gstpad.c (gst_pad_pause_task): Actually return FALSE if
1782 there is no task. Shouldn't affect any code, as nothing in our
1783 plugins checks this return value.
1784 (gst_pad_stop_task): Also take the stream lock if the pad has no
1787 2005-10-12 Wim Taymans <wim@fluendo.com>
1789 * gst/gstpad.c: (pre_activate), (post_activate),
1790 (gst_pad_activate_pull), (gst_pad_activate_push):
1791 Cleanup activation code. Reset old state if
1794 2005-10-12 Wim Taymans <wim@fluendo.com>
1796 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
1797 (gst_base_sink_change_state):
1798 No need to prerol after receiving EOS.
1800 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
1801 * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler):
1802 * gst/elements/gstidentity.c: (gst_identity_event):
1803 Print events more verbosely.
1805 2005-10-12 Wim Taymans <wim@fluendo.com>
1807 * check/Makefile.am:
1808 * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
1809 * check/states/sinks2.c:
1810 Moved sinks2 testcode in sinks check.
1812 * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
1813 (gst_bin_remove_func), (gst_bin_recalc_state),
1814 (gst_bin_change_state_func), (bin_bus_handler):
1815 Fix potential race condition when _get_state() iterated over an
1816 ASYNC element right before it posted a state completion.
1819 Do proper cast here.
1821 * gst/gstevent.c: (gst_event_new_newsegment),
1822 (gst_event_parse_newsegment):
1823 A playback rate of 0.0 is not allowed.
1825 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
1827 * win32/common/config.h:
1828 * win32/common/dirent.c: (_topendir), (_treaddir), (_tclosedir),
1829 (_trewinddir), (_ttelldir), (_tseekdir):
1830 * win32/common/dirent.h:
1831 * win32/common/gtchar.h:
1832 * win32/common/libgstbase.def:
1833 * win32/common/libgstreamer.def:
1834 * win32/vs6/grammar.dsp:
1835 * win32/vs6/gst_inspect.dsp:
1836 * win32/vs6/gst_launch.dsp:
1837 * win32/vs6/gstreamer.dsw:
1838 * win32/vs6/libgstbase.dsp:
1839 * win32/vs6/libgstelements.dsp:
1840 * win32/vs6/libgstreamer.dsp:
1841 Visual Studio 6 project files, and a new common directory.
1844 2005-10-11 Wim Taymans <wim@fluendo.com>
1846 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
1847 (gst_base_sink_do_sync), (gst_base_sink_query),
1848 (gst_base_sink_change_state):
1849 * gst/base/gstbasesink.h:
1850 Correctly parse newsegment info.
1852 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
1854 * gst/gst.c: (init_post):
1855 split plugin paths correctly
1857 2005-10-11 Wim Taymans <wim@fluendo.com>
1859 * check/gst/gstevent.c: (GST_START_TEST):
1860 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
1861 (gst_base_sink_change_state):
1862 * gst/base/gstbasesrc.c: (gst_base_src_default_newsegment):
1863 * gst/base/gstbasetransform.c: (gst_base_transform_event):
1864 * gst/elements/gstfilesink.c: (gst_file_sink_event):
1865 * gst/gstevent.c: (gst_event_new_newsegment),
1866 (gst_event_parse_newsegment):
1868 Added extra flag to newsegment for future API freeze.
1869 Updated check and base elements.
1871 2005-10-11 Julien MOUTTE <julien@moutte.net>
1873 * gst/base/gstcollectpads.c: (gst_collectpads_init),
1874 (gst_collectpads_add_pad), (gst_collectpads_pop),
1875 (gst_collectpads_event), (gst_collectpads_chain):
1876 * gst/base/gstcollectpads.h: Handle EOS correctly.
1878 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
1880 * tools/gst-launch.c: (main):
1881 more null protecting
1883 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
1885 * gst/gst-i18n-lib.h:
1886 check for ENABLE_NLS, not GETTEXT_PACKAGE
1887 * gst/gstregistry.c: (gst_registry_add_plugin),
1888 (gst_registry_scan_path_level),
1889 (_gst_registry_remove_cache_plugins):
1890 protect possibly NULL strings
1891 * gst/parse/types.h:
1892 config.h already included before
1893 * tools/gst-inspect.c: (main):
1894 sys/wait.h also doesn�t exist on mingw, so change the ifdef check
1895 check for ENABLE_NLS, not GETTEXT_PACKAGE
1896 * tools/gst-launch.c: (main):
1897 check for ENABLE_NLS, not GETTEXT_PACKAGE
1899 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
1902 if we don't have glib, fail before testing 2.8
1903 * gst/base/gstbasetransform.c: (gst_base_transform_change_state):
1904 fix a leak, should fix plugins-base testsuite
1906 2005-10-11 Andy Wingo <wingo@pobox.com>
1908 * gst/gstpad.c (pre_activate): Renamed from pre_activate_switch,
1909 take the mode we're going to as an arg. Go head and set the mode
1910 and flushing flags now, so that if the activate function starts a
1911 thread all the flags will be in the right state.
1912 (post_activate): Renamed also. Just handle making sure streaming
1913 finishes for the deactivation case, and setting the deactivated
1915 (gst_pad_set_active): Complain loudly if deactivation fails.
1916 (gst_pad_activate_pull): Adapt to pre/post_activate changes.
1917 (gst_pad_activate_push): Adapt to pre/post_activate changes,
1918 remove the terrible hack.
1920 2005-10-11 Wim Taymans <wim@fluendo.com>
1922 * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
1923 (is_eos), (gst_bin_add_func), (gst_bin_remove_func),
1924 (gst_bin_recalc_state), (gst_bin_change_state_func),
1925 (gst_bin_dispose), (bin_bus_handler):
1927 Prepare to make current EOS message queue more generic.
1930 * gst/gstevent.c: (gst_event_new_newsegment),
1931 (gst_event_parse_newsegment):
1933 Rename base to stream_time.
1938 2005-10-11 Wim Taymans <wim@fluendo.com>
1940 * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
1941 (gst_bin_add_func), (gst_bin_remove_func), (gst_bin_recalc_state),
1942 (gst_bin_change_state_func), (bin_bus_handler):
1944 Work on proper clock selection.
1946 2005-10-11 Edward Hervey <edward@fluendo.com>
1948 * libs/gst/controller/gstcontroller.c: (gst_controller_remove_properties_list):
1949 * libs/gst/controller/gstcontroller.h:
1950 Added GList* version of _remove_properties() in order to be able to wrap
1953 2005-10-11 Wim Taymans <wim@fluendo.com>
1955 * docs/design/part-states.txt:
1958 * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_recalc_state),
1959 (gst_bin_change_state_func), (bin_bus_handler):
1960 Doc updates. Don't distribute the same clock over and over again.
1966 * gst/gstpad.c: (gst_flow_get_name), (gst_flow_to_quark),
1967 (gst_pad_get_type), (gst_pad_push), (gst_pad_push_event),
1968 (gst_pad_send_event):
1970 Make probe emission threadsafe again.
1971 Register quarks and move _get_name() from utils.
1974 * gst/gstpipeline.c: (gst_pipeline_class_init),
1975 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
1976 Only redistribute the clock of it changed.
1978 * gst/gstsystemclock.h:
1983 Moved the _flow_get_name() to GstPad.
1985 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
1987 * check/gst-libs/gdp.c: (GST_START_TEST):
1988 * check/gst/gstcaps.c: (GST_START_TEST):
1989 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc),
1990 (gst_dp_dump_byte_array), (gst_dp_header_from_buffer),
1991 (gst_dp_packet_from_caps):
1992 fix more valgrind warnings before turning up the heat
1994 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
1996 * gst/parse/grammar.y:
1997 some cleanup before the hacking
1999 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
2001 * gst/base/gstbasesrc.c: (gst_base_src_query):
2003 * gst/gstutils.c: (gst_guint64_to_gdouble),
2004 (gst_gdouble_to_guint64), (gst_util_uint64_scale):
2006 externalize, basesrc uses it
2007 obviously the implementation needs testing
2009 2005-10-10 Wim Taymans <wim@fluendo.com>
2011 * tests/sched/Makefile.am:
2012 * tests/sched/sort.c: (make_pipeline1), (make_pipeline2),
2013 (make_pipeline3), (make_pipeline4), (print_elem), (main):
2015 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
2017 * gst/gstutils.c: (guint64_to_gdouble), (gst_util_uint64_scale):
2018 apparently converting from guint64 to double is not implemented
2021 2005-10-10 Wim Taymans <wim@fluendo.com>
2023 * check/Makefile.am:
2024 * check/generic/states.c: (GST_START_TEST):
2025 * check/gst/gstbin.c: (GST_START_TEST):
2026 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
2027 * check/states/sinks.c: (GST_START_TEST):
2028 * check/states/sinks2.c: (GST_START_TEST), (gst_object_suite),
2030 Check fixes, use API as stated in design docs, remove hacks.
2032 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
2033 (gst_base_sink_change_state):
2034 Catch stopping our task while we're shutting down.
2036 * gst/gstbin.c: (gst_bin_init), (gst_bin_add_func),
2037 (gst_bin_remove_func), (gst_bin_get_state_func),
2038 (gst_bin_recalc_state), (gst_bin_change_state_func),
2041 * gst/gstelement.c: (gst_element_init),
2042 (gst_element_get_state_func), (gst_element_abort_state),
2043 (gst_element_commit_state), (gst_element_lost_state),
2044 (gst_element_set_state), (gst_element_change_state),
2045 (gst_element_change_state_func):
2047 New state change algorithm (see #318116)
2049 * gst/gstpipeline.c: (gst_pipeline_class_init),
2050 (gst_pipeline_init), (gst_pipeline_set_property),
2051 (gst_pipeline_get_property), (do_pipeline_seek),
2052 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
2053 * gst/gstpipeline.h:
2054 Remove crude state change hacks.
2059 * tools/gst-launch.c: (main):
2060 Fixes for state change. Needs some more work to fully use the
2063 2005-10-10 Andy Wingo <wingo@pobox.com>
2065 * tests/Makefile.am (noinst_PROGRAMS): No more init.c.
2067 * gst/gst.c (G_OPTION_FLAG_NO_ARG): Apparently GLib 2.8 requires
2068 this flag, but it's not even in GLib 2.6. Odd. Hack around the
2071 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
2073 * gst/gstiterator.c: (gst_iterator_new):
2074 Fix my previous commit: GTypes passed to gst_iterator_new()
2075 can be fundamental types.
2077 2005-10-10 Wim Taymans <wim@fluendo.com>
2079 * gst/gstelement.c: (gst_element_iterate_pad_list),
2080 (gst_element_iterate_pads), (gst_element_iterate_src_pads),
2081 (gst_element_iterate_sink_pads):
2082 Use src/sink pads lists for the respective iterators instead
2085 2005-10-10 Andy Wingo <wingo@pobox.com>
2087 Merged in popt removal + GOption addition patch from Ronald, bug
2090 * docs/gst/gstreamer-sections.txt: Add STATE_(UN)LOCK_FULL, move
2091 GstElement macros around, remove popt-related symbols, add goption
2094 * configure.ac: Remove popt checks, require GLib 2.6 for GOption.
2096 * docs/gst/Makefile.am:
2097 * docs/libs/Makefile.am: No POPT_CFLAGS.
2099 * examples/manual/Makefile.am:
2100 * docs/manual/basics-init.xml: Doc updates with an example.
2102 * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
2103 (gst_init), (parse_one_option), (parse_goption_arg):
2104 * gst/gst.h: Removed gst_init_with_popt_table and friends. Took a
2105 bit of hand merging and debugging to get the GOption stuff working
2108 * tests/Makefile.am:
2109 * tools/Makefile.am:
2110 * tools/gst-inspect.c: (main):
2111 * tools/gst-launch.c: (main):
2112 * tools/gst-run.c: (main):
2113 * tools/gst-xmlinspect.c: (main): Thanks Ronald!
2115 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
2117 * gst/gstiterator.c: (gst_iterator_new):
2118 Add assertions to make sure passed GType is likely to really
2119 be a GType (as the compiler won't catch it if the size and
2120 GType arguments get mixed up, see #318447).
2122 2005-10-10 Josef Zlomek <josef dot zlomek at xeris dot cz>
2124 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
2126 * gst/gstbin.c: (gst_bin_iterate_sorted):
2127 Pass GType and size arguments to gst_iterator_new() in the right
2128 order (maybe we should make _new() take the GType as first argument
2129 just like _new_list()?) (#318447).
2132 2005-10-10 Wim Taymans <wim@fluendo.com>
2134 * gst/gstelement.c: (gst_element_finalize):
2135 And free the GStaticRecMutex too
2137 2005-10-10 Andy Wingo <wingo@pobox.com>
2139 * gst/gstelement.c (gst_element_init, gst_element_finalize):
2140 Allocate and free the mutex properly.
2142 * gst/gstelement.h (GST_STATE_UNLOCK_FULL, GST_STATE_LOCK_FULL):
2144 (GstElement): The state_lock is now recursive. Rebuild your
2145 plugins, suckers. Old macros adapted.
2147 * docs/gst/gstreamer-sections.txt: Doc updates.
2150 * gst/gstutils.c (g_static_rec_cond_timed_wait)
2151 (g_static_rec_cond_wait): Ported from state changes patch, while
2152 we wait on bug #317802 to be solved in a well-distributed GLib.
2154 * gst/gstelement.c (gst_element_change_state_func): Renamed from
2155 gst_element_change_state, variable name changes.
2156 (gst_element_change_state): Split out of gst_element_set_state in
2157 preparation for the state change merge. Doesn't pay attention to
2158 the 'transition' argument.
2159 (gst_element_set_state): Updates, hopefully purely cosmetic.
2160 (gst_element_sync_state_with_parent): MT-safety. Ported from the
2162 (gst_element_get_state_func): Renamed from get_state, cosmetic
2165 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
2167 * gst/elements/gstelements.c:
2168 * win32/GStreamer.vcproj:
2170 * win32/dirent.c: (_tseekdir):
2171 * win32/gst-inspect.vcproj:
2172 * win32/gst-launch.vcproj:
2173 * win32/gstconfig.h:
2174 * win32/gstelements.vcproj:
2175 * win32/gstenumtypes.c: (gst_object_flags_get_type):
2176 * win32/gstreamer.def:
2178 updates for the win32 build (patch from Sebastien Moutte)
2180 2005-10-10 Andy Wingo <wingo@pobox.com>
2182 * gst/gstbin.c (gst_bin_get_state_func): Renamed from
2183 gst_bin_get_state, cleaned up (but no logic changes).
2184 (bin_element_is_sink): Comment updates.
2185 (sink_iterator_filter): Remove needless cast.
2186 (gst_bin_iterate_sinks): Doc update.
2187 (gst_bin_change_state_func): Renamed from gst_bin_change_state,
2188 cleaned up (but no logic changes).
2190 * check/states/sinks.c (test_src_sink): Cleanups from the state
2192 (test_livesrc_sink): Sync on the state.
2194 * check/pipelines/simple_launch_lines.c (run_pipeline): Merge from
2195 the state change patch.
2197 * check/gst/gstghostpad.c (test_ghost_pads): Merge from the state
2200 * check/gst/gstbin.c: Merge in some style fixes and additional
2201 checks from Wim's state change patch.
2203 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
2205 * gst/base/gsttypefindhelper.c: (helper_find_peek),
2206 (gst_type_find_helper):
2207 Check whether we have the requested data already in our list of
2208 cached buffers before pulling a new buffer; also make the buffer
2209 list a GSList. Speeds up typefinding by ca. 5-10% altogether.
2211 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
2216 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
2217 don't use long long, it's not portable. Replacing with
2218 gint64 seems to work; let's hope no skeletons fall out of the closet.
2220 2005-10-10 Andy Wingo <wingo@pobox.com>
2222 * autogen.sh (CONFIGURE_DEF_OPT): No more --plugin-buiddir, yay
2224 2005-10-09 Stefan Kost <ensonic@users.sf.net>
2226 * docs/gst/gstreamer-sections.txt:
2231 * gst/gstmessage.c: (gst_message_parse_state_changed):
2234 more docs, fix compilation
2236 2005-10-09 Philippe Khalaf <burger@speedy.org>
2238 Fixed a few forgotten variables on previous commit
2240 2005-10-09 Tim-Philipp Müller <tim at centricular dot net>
2242 * gst/base/gsttypefindhelper.c: (helper_find_peek):
2243 Fix evil typefind crasher: getrange() might return a short
2244 buffer at the end of a file, but gst_type_find_peek() must
2245 either return the full data as requested or NULL, but
2246 never a short buffer.
2248 2005-10-09 Thomas Vander Stichele <thomas at apestaart dot org>
2250 * gst/gstmessage.c: (gst_message_new_state_changed),
2251 (gst_message_parse_state_changed):
2253 don't use "new", it's a C++ keyword
2255 2005-10-08 Wim Taymans <wim@fluendo.com>
2257 * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_query):
2258 * gst/gstelement.c: (gst_element_post_message):
2259 * gst/gstpipeline.c: (gst_pipeline_change_state):
2260 Small docs and debug updates.
2262 2005-10-08 Stefan Kost <ensonic@users.sf.net>
2264 * docs/gst/gstreamer-sections.txt:
2265 * gst/gstelementfactory.c:
2270 2005-10-08 Wim Taymans <wim@fluendo.com>
2272 * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_change_state),
2273 (gst_bin_dispose), (bin_bus_handler):
2274 Fix typos, add comments.
2275 Clear EOS list when going to PAUSED from any direction and do it
2276 in a threadsafe way.
2277 Get base time in a threadsafe way too.
2278 Fix confusing debug in the change_state function.
2279 Various other small cleanups.
2281 * gst/gstelement.c: (gst_element_post_message):
2282 Fix very verbose bus posting code.
2284 * gst/gstpipeline.c: (gst_pipeline_class_init),
2285 (gst_pipeline_set_property), (gst_pipeline_get_property),
2286 (gst_pipeline_change_state):
2287 Small ARG_ -> PROP_ cleanup
2289 2005-10-08 Wim Taymans <wim@fluendo.com>
2291 * gst/gstbin.c: (is_eos), (bin_bus_handler):
2292 Do a less CPU demanding EOS check because we can.
2294 2005-10-08 Wim Taymans <wim@fluendo.com>
2296 * libs/gst/dataprotocol/dataprotocol.c:
2297 (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
2298 (gst_dp_packet_from_event):
2299 * libs/gst/dataprotocol/dataprotocol.h:
2300 * libs/gst/dataprotocol/dp-private.h:
2301 It's about time we bump the version number.
2302 Since event types don't fit in the guint8 anymore describing
2303 the payload type, make payload type 16 bits wide.
2305 2005-10-08 Wim Taymans <wim@fluendo.com>
2307 * docs/design/part-TODO.txt:
2308 * docs/design/part-clocks.txt:
2309 * docs/design/part-events.txt:
2310 * docs/design/part-gstbin.txt:
2311 * docs/design/part-gstelement.txt:
2312 * docs/design/part-gstpipeline.txt:
2313 * docs/design/part-live-source.txt:
2314 * docs/design/part-messages.txt:
2315 * docs/design/part-overview.txt:
2316 * docs/design/part-states.txt:
2319 2005-10-08 Wim Taymans <wim@fluendo.com>
2323 Fix event quark registration.
2324 Add some space between events so we can insert them in the
2327 2005-10-08 Wim Taymans <wim@fluendo.com>
2329 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
2330 (gst_base_sink_handle_buffer):
2337 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
2338 (gst_queue_set_property), (gst_queue_get_property):
2340 Remove old unused properties.
2342 2005-10-08 Stefan Kost <ensonic@users.sf.net>
2343 * docs/gst/gstreamer-sections.txt:
2346 * gst/gstminiobject.c:
2347 * gst/gstminiobject.h:
2351 lots of new docs and doc fixes
2353 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
2355 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_load_file):
2357 * gst/gstregistry.c: (gst_registry_lookup_locked),
2358 (gst_registry_scan_path_level):
2359 * gst/gstregistryxml.c: (load_plugin):
2360 Only ever load one plugin for a given plugin basename.
2361 This ensures correct overriding of GST_PLUGIN_PATH over
2362 GST_PLUGIN_SYSTEM_PATH and of home dir plugins over
2363 system installed plugins.
2365 2005-10-08 Wim Taymans <wim@fluendo.com>
2367 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
2368 (gst_base_sink_do_sync), (gst_base_sink_handle_buffer):
2369 Prepare for doing QOS.
2371 2005-10-08 Wim Taymans <wim@fluendo.com>
2373 * check/gst/gstbin.c: (GST_START_TEST):
2374 * check/pipelines/cleanup.c: (GST_START_TEST):
2375 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
2376 Allow new clock message too.
2378 2005-10-08 Wim Taymans <wim@fluendo.com>
2380 * gst/gstmessage.c: (gst_message_new_error),
2381 (gst_message_new_warning), (gst_message_new_tag),
2382 (gst_message_new_state_changed), (gst_message_new_clock_provide),
2383 (gst_message_new_clock_lost), (gst_message_new_new_clock),
2384 (gst_message_new_segment_start), (gst_message_new_segment_done),
2385 (gst_message_parse_state_changed),
2386 (gst_message_parse_clock_provide), (gst_message_parse_clock_lost),
2387 (gst_message_parse_new_clock):
2389 Also carry the clock in question.
2391 2005-10-08 Wim Taymans <wim@fluendo.com>
2393 * gst/gstmessage.c: (gst_message_new_custom),
2394 (gst_message_new_eos), (gst_message_new_error),
2395 (gst_message_new_warning), (gst_message_new_tag),
2396 (gst_message_new_state_changed), (gst_message_new_clock_provide),
2397 (gst_message_new_new_clock), (gst_message_new_segment_start),
2398 (gst_message_new_segment_done), (gst_message_parse_state_changed),
2399 (gst_message_parse_clock_provide), (gst_message_parse_new_clock):
2402 Added clock related messages.
2404 * gst/gstpipeline.c: (gst_pipeline_change_state):
2405 Post message when the clock changed.
2407 * tools/gst-launch.c: (event_loop):
2410 2005-10-08 Tim-Philipp Müller <tim at centricular dot net>
2412 * tools/gst-inspect.c: (print_element_properties_info):
2413 Can't pass NULL strings to g_print() on windows.
2415 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
2418 * docs/gst/Makefile.am:
2419 * docs/gst/gstreamer-docs.sgml:
2420 * docs/gst/running.xml:
2421 * docs/version.entities.in:
2422 add a chapter on running GStreamer.
2423 document GST_DEBUG and GST_PLUGIN* env vars
2425 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
2430 remove PLUGINS_BUILDDIR stuff
2431 * gst/gst.c: (init_post):
2432 reorder parsing of GST_PLUGIN_PATH and GST_PLUGIN_SYSTEM_PATH
2434 remove, it was condescending and not needed
2436 2005-10-08 Wim Taymans <wim@fluendo.com>
2438 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
2439 (gst_base_sink_handle_object), (gst_base_sink_event),
2440 (gst_base_sink_wait), (gst_base_sink_handle_event),
2441 (gst_base_sink_change_state):
2442 * gst/base/gstbasesink.h:
2443 Repost EOS message while going to PLAYING if still EOS.
2444 Make sure that when receiving a FLUSH_START we don't attempt
2445 to sync on the clock anymore.
2447 2005-10-08 Wim Taymans <wim@fluendo.com>
2449 * tools/gst-launch.c: (event_loop):
2450 Better message printout.
2452 2005-10-08 Wim Taymans <wim@fluendo.com>
2454 * gst/gstbin.c: (gst_bin_child_proxy_get_child_by_index),
2455 (gst_bin_child_proxy_get_children_count):
2456 * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
2457 (gst_child_proxy_lookup), (gst_child_proxy_get_property),
2458 (gst_child_proxy_get_valist), (gst_child_proxy_set_property),
2459 (gst_child_proxy_set_valist):
2460 * gst/parse/grammar.y:
2461 Make ChildProxy threadsafe and fix mem leaks.
2463 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
2465 * gst/gst.c: (init_post):
2466 debug the GST_PLUGIN_ env vars
2468 2005-10-08 Wim Taymans <wim@fluendo.com>
2470 * check/gst/gstbin.c: (GST_START_TEST):
2471 * check/gst/gstmessage.c: (GST_START_TEST):
2472 * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
2473 * gst/gstelement.c: (gst_element_commit_state),
2474 (gst_element_lost_state):
2475 * gst/gstmessage.c: (gst_message_new_state_changed),
2476 (gst_message_parse_state_changed):
2478 * tools/gst-launch.c: (event_loop):
2479 Added extra field to STATE_CHANGE message with the pending
2480 state, which will be different from the new state soon.
2482 2005-10-08 Wim Taymans <wim@fluendo.com>
2484 * gst/gstbus.c: (gst_bus_pop):
2486 * gst/gstsystemclock.c: (gst_system_clock_async_thread):
2487 Small cleanups and doc updates.
2489 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
2491 * gst/gst.c: (init_pre):
2492 * gst/gstbin.c: (gst_bin_add_func):
2493 log distributing clocks and base time
2494 * gst/gstregistry.c: (gst_registry_add_plugin),
2495 (gst_registry_scan_path_level), (gst_registry_scan_path):
2496 clean up the debugging output a little
2497 * gst/gstutils.c: (gst_element_state_get_name):
2498 warn about a memleak (I've actually seen this be used, though
2499 it was probably a bug)
2501 2005-10-07 Wim Taymans <wim@fluendo.com>
2503 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
2504 (gst_base_src_init), (gst_base_src_default_newsegment),
2505 (gst_base_src_newsegment), (gst_base_src_do_seek),
2506 (gst_base_src_loop), (gst_base_src_start):
2507 * gst/base/gstbasesrc.h:
2508 Make the newsegment event customizable by subclasses.
2510 2005-10-07 Wim Taymans <wim@fluendo.com>
2512 * gst/gstevent.c: (gst_event_new_buffersize),
2513 (gst_event_parse_buffersize):
2515 New event for future idea.
2517 2005-10-07 Andy Wingo <wingo@pobox.com>
2519 * gst/gstelement.c (gst_element_post_message): Doc update.
2521 * docs/gst/gstreamer-sections.txt: Update.
2523 * gst/gstmessage.c (gst_message_new_application): Made into a
2524 function like honest API calls.
2525 (gst_message_new_element): New message type.
2527 * gst/gstmessage.h (enum): Add GST_MESSAGE_ELEMENT type.
2529 * check/elements/fakesrc.c (test_no_preroll): New check, checks
2530 that setting a live fakesrc to PAUSED returns NO_PREROLL both
2533 * gst/base/gstbasesrc.c (gst_base_src_change_state): Allow a
2534 NO_PREROLL from gst_element_change_state to fall through.
2536 2005-10-07 Wim Taymans <wim@fluendo.com>
2538 * gst/gstghostpad.c: (gst_ghost_pad_get_internal),
2539 (gst_ghost_pad_do_activate_push):
2540 Activating a ghostpad with no internal pad in push mode
2543 2005-10-07 Thomas Vander Stichele <thomas at apestaart dot org>
2546 there's no point in wrapping FLAG_SET/_UNSET in STMT macros.
2547 Fixes compilation on Windows.
2549 2005-10-07 Michael Smith <msmith@fluendo.com>
2551 * tools/gst-inspect.c:
2552 Print out feature and plugin count at the end when printing out
2555 2005-10-04 Michael Smith <msmith@fluendo.com>
2557 * gst/gsterror.c: (_gst_stream_errors_init):
2558 Add another error string used in a few existing plugins.
2561 * gst/gstpluginfeature.c: (gst_plugin_feature_load):
2562 * tools/gst-inspect.c: (print_element_info):
2563 When a feature disappears from a plugin (and the feature exists in
2564 the cached registry file), things went horribly wrong. This isn't a
2565 complete fix, we should actually be removing the 'missing' features
2566 from the features list when we load the actual plugin. That's not
2569 2005-10-04 Johan Dahlin <johan@gnome.org>
2571 * check/gst/gstiterator.c: (GST_START_TEST):
2572 * gst/gstbin.c: (gst_bin_iterate_elements),
2573 (gst_bin_iterate_recurse), (gst_bin_iterate_sorted):
2574 * gst/gstelement.c: (gst_element_iterate_pads):
2575 * gst/gstformat.c: (gst_format_iterate_definitions):
2576 * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
2577 (gst_iterator_new_list), (gst_iterator_filter):
2578 * gst/gstiterator.h:
2579 * gst/gstquery.c: (gst_query_type_iterate_definitions):
2580 Add a GType to GstIterator, update callsites and tests.
2582 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
2584 * gst/gstpad.c: (gst_pad_event_default_dispatch):
2585 give events a chance to be handled by event probes when the pad
2588 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
2590 * gst/gstevent.c: (gst_event_type_get_name),
2591 (gst_event_type_to_quark), (gst_event_finalize), (gst_event_new):
2593 add string representations for event types
2595 2005-10-06 Wim Taymans <wim@fluendo.com>
2597 * gst/elements/gstfilesink.c: (gst_file_sink_close_file):
2598 Don't use NULL pointers.
2600 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
2602 * gst/gst_private.h:
2606 * gst/gstpluginfeature.c:
2607 widen the debug category in output to fit the biggest one we have
2608 add a bus category and use it
2609 play with the colors
2610 fix up some categories
2612 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
2614 * gst/gstghostpad.c: (gst_ghost_pad_internal_do_activate_push):
2615 add push activation of sink ghost pads.
2616 Andye, please verify
2618 2005-10-05 Thomas Vander Stichele <thomas at apestaart dot org>
2620 * gst/gstutils.c: (gst_element_link_pads):
2621 fix a bug in the case where neither element has a pad
2622 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
2623 add a test for that case
2625 2005-10-05 Thomas Vander Stichele <thomas at apestaart dot org>
2627 * gst/gstpad.c: (gst_pad_push), (gst_pad_push_event):
2628 emit have-data before checking for peers. This allows
2629 for probe handlers to connect elements. This helps autopluggers.
2630 * check/gst/gstpad.c: (GST_START_TEST), (_probe_handler),
2632 add six checks, linked/unlinked with no/true/false probe
2634 2005-10-04 Wim Taymans <wim@fluendo.com>
2636 * gst/elements/gstfakesink.c: (gst_fake_sink_get_property),
2637 (gst_fake_sink_event), (gst_fake_sink_preroll),
2638 (gst_fake_sink_render), (gst_fake_sink_change_state):
2639 * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler),
2640 (gst_fake_src_get_property), (gst_fake_src_create),
2641 (gst_fake_src_stop):
2642 * gst/elements/gstidentity.c: (gst_identity_stop):
2643 Protect last_message with lock.
2645 2005-10-04 Edward Hervey <edward@fluendo.com>
2648 Added precision in the comments for GST_FORMAT_DEFAULT
2650 2005-10-04 Tim-Philipp Müller <tim at centricular dot net>
2652 * tools/gst-launch.c: (main):
2653 Don't try to run erroneous pipelines.
2655 2005-10-04 Julien MOUTTE <julien@moutte.net>
2657 * gst/gstbus.c: We don't need this header.
2659 2005-10-03 Thomas Vander Stichele <thomas at apestaart dot org>
2664 === release 0.9.3 ===
2666 2005-10-03 Thomas Vander Stichele <thomas at apestaart dot org>
2670 Releasing 0.9.3, "Unregistered"
2672 2005-10-03 Andy Wingo <wingo@pobox.com>
2674 * gst/gstpad.c (gst_pad_activate_push): There is a race condition
2675 whereby calling a pad's activatepush() function can start a thread
2676 that starts to push or pull before the pad gets the FLUSHING flag
2677 unset. Hack around it by holding the stream lock until the flag is
2678 set. Need to replace this with a proper solution. Together with
2679 the ghost pad fixes, this fixes mp3 playing/tagreading.
2681 * docs/design/part-gstghostpad.txt: Add a note about activation of
2682 proxy pads outside of ghost pads.
2684 * gst/gstghostpad.c: Implement the ghost pad activation design.
2686 2005-10-02 Andy Wingo <wingo@pobox.com>
2688 * gst/gstobject.h (GST_OBJECT_REFCOUNT_VALUE): Just use the int.
2689 It is volatile, after all.
2691 * docs/design/part-gstghostpad.txt: Flesh out activation with
2694 * gst/base/gstbasesrc.c (gst_base_src_init): Use
2697 2005-10-02 Tim-Philipp Müller <tim at centricular dot net>
2700 Fix (unused) AM_CONDITIONAL tests.
2702 2005-10-01 Alessandro Decina <alessandro at nnva dot org>
2704 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
2706 * gst/gstutils.c: (gst_pad_query_convert):
2707 Add assertion that makes sure src_val is >=0, just like
2708 gst_query_new_convert() has. (#315895)
2710 2005-09-30 Edward Hervey <edward@fluendo.com>
2712 * gst/elements/gsttee.c: (gst_tee_do_push), (gst_tee_handle_buffer):
2713 Let's not iterate pads we're not interested in, it avoids getting
2714 sky-high refcounts on sinkpad.
2716 2005-09-30 Wim Taymans <wim@fluendo.com>
2718 * gst/gstelement.c: (gst_element_set_state),
2719 (gst_element_change_state):
2720 Small tweak, element in ASYNC remains ASYNC.
2722 2005-09-30 Wim Taymans <wim@fluendo.com>
2724 * gst/base/gstbasesink.c: (gst_base_sink_change_state):
2725 Only error is an error.
2727 * gst/gstbin.c: (gst_bin_change_state):
2730 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_chain):
2731 Also call pad_block in pad alloc.
2733 * gst/gstutils.c: (gst_flow_get_name):
2736 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
2738 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
2739 (gst_base_src_get_range):
2740 Fix documentation typos. Add some more debug info.
2742 2005-09-29 David Schleef <ds@schleef.org>
2744 * gst/gstplugin.c: (gst_plugin_load_file): Make some error messages
2745 more end-user friendly.
2746 * tools/gst-inspect.c: (main): Check if command-line argument is
2747 a file and attempt to load that file as a plugin.
2749 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
2751 * check/gst/gstbin.c:
2752 * check/states/sinks.c:
2753 fix tests for the new warning
2754 * check/gst/gstpipeline.c:
2755 add a test for pipeline and bus interaction
2757 elements should be NULL if they get disposed; add a warning if not
2759 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
2762 for 2.6 refcounting, make debug log more correct by printing
2763 the actual refcounts at the time of swap (Wim)
2765 2005-09-29 Andy Wingo <wingo@pobox.com>
2767 * gst/gstbus.c (gst_bus_remove_signal_watch): New function,
2768 removes signal watches previously added via
2769 gst_bus_add_signal_watch.
2770 (gst_bus_add_signal_watch): Don't return the source id, just store
2771 it on the bus if there wasn't an id already.
2773 * gst/gstbus.h (GstBus): Add a couple new fields. API changes for
2774 add_signal_watch and remove_signal_watch.
2776 2005-09-29 Edward Hervey <edward@fluendo.com>
2778 * libs/gst/controller/gstcontroller.c: (gst_controller_new_list):
2779 Better if we actually iterate the list :)
2781 2005-09-29 Wim Taymans <wim@fluendo.com>
2783 * check/gst/gstbin.c: (GST_START_TEST):
2784 Change for new bus API.
2786 * check/gst/gstbus.c: (message_func_eos), (message_func_app),
2787 (send_messages), (GST_START_TEST), (gstbus_suite):
2788 Change for new bus signal API.
2790 * gst/gstbus.c: (gst_bus_class_init), (gst_bus_have_pending),
2791 (gst_bus_source_prepare), (gst_bus_source_check),
2792 (gst_bus_create_watch), (gst_bus_add_watch_full),
2793 (gst_bus_add_watch), (gst_bus_poll), (gst_bus_async_signal_func),
2794 (gst_bus_sync_signal_handler), (gst_bus_add_signal_watch):
2796 Remove support for multiple GSources operating on different
2797 message types as it is too complex and unneeded when using
2799 Added support for receiving signals from the bus.
2801 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
2803 * docs/libs/tmpl/gstdataprotocol.sgml:
2804 * docs/manual/advanced-dataaccess.xml:
2805 * gst/elements/gstcapsfilter.c:
2807 rename filter-caps to caps property
2809 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
2811 * gst/gstvalue.c: (gst_value_deserialize_fraction):
2812 More robust fraction string parsing.
2814 * docs/pwg/appendix-porting.xml:
2815 Mention gst_pad_use_explicit_caps() => gst_pad_use_fixed_caps()
2817 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
2819 * gst/gstcaps.c: (gst_caps_do_simplify):
2820 Thou shalt not free a structure and then continue using it
2821 in the next loop iteration.
2823 * check/gst/gstcaps.c: (check_fourcc_list), (test_simplify),
2825 Add test case for caps simplification.
2827 2005-09-29 Wim Taymans <wim@fluendo.com>
2829 * check/gst/gstbin.c: (GST_START_TEST):
2832 2005-09-29 Wim Taymans <wim@fluendo.com>
2834 * check/gst/gstbin.c: (GST_START_TEST):
2837 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
2838 (add_to_queue), (clear_queue), (reset_degree), (update_degree),
2839 (find_element), (gst_bin_sort_iterator_next),
2840 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
2841 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
2842 (gst_bin_change_state), (gst_bin_dispose):
2843 A bin does not have a bus, it gets the bus from the parent.
2845 * gst/gstelement.c: (gst_element_requires_clock),
2846 (gst_element_provides_clock), (gst_element_is_indexable),
2847 (gst_element_is_locked_state), (gst_element_change_state),
2848 (gst_element_set_bus_func):
2851 * gst/gstpipeline.c: (gst_pipeline_class_init),
2852 (gst_pipeline_init), (gst_pipeline_provide_clock_func):
2853 The pipeline provides a bus.
2855 2005-09-28 Johan Dahlin <johan@gnome.org>
2857 * gst/gstmessage.c (gst_message_parse_state_changed): Use
2858 gst_structure_get_enum instead of gst_structure_get_int
2860 * gst/gststructure.c (gst_structure_get_enum): Impl.
2862 * gst/gststructure.h (gst_structure_get_enum): Add
2864 * docs/gst/gstreamer-sections.txt: Ditto
2866 * gst/gstmessage.c (gst_message_new_state_changed): Use
2867 GST_TYPE_STATE instead of G_TYPE_INT, mainly for language bindings
2868 which does introspection.
2869 Reviewed by Christian Schaller
2871 2005-09-28 Stefan Kost <ensonic@users.sf.net>
2873 * gst/gstinfo.c: (gst_debug_log_default):
2874 don't do dummy g_strdup()s
2875 * libs/gst/controller/gstcontroller.c:
2876 (on_object_controlled_property_changed),
2877 (gst_controlled_property_new), (gst_controller_new_valist),
2878 (gst_controller_new_list),
2879 (gst_controller_remove_properties_valist), (gst_controller_set),
2880 (gst_controller_get), (gst_controller_sync_values),
2881 (gst_controller_get_value_array), (_gst_controller_class_init),
2882 (gst_controller_get_type):
2883 * libs/gst/controller/gstcontroller.h:
2884 * libs/gst/controller/gstinterpolation.c:
2885 (gst_controlled_property_find_timed_value_node):
2886 convert // to /**/ comments
2888 2005-09-28 Wim Taymans <wim@fluendo.com>
2890 * gst/gstbus.c: (marshal_VOID__MINIOBJECT), (gst_bus_class_init),
2891 (gst_bus_post), (poll_func), (gst_bus_async_signal_func),
2892 (gst_bus_sync_signal_handler):
2894 Added async-message and sync-message signals to the bus.
2895 Added helper BusFunc to emit signals for all posted messages.
2897 * gst/gstmessage.c: (gst_message_type_get_name),
2898 (gst_message_type_to_quark), (gst_message_get_type):
2900 Register quarks for message names.
2902 2005-09-28 Stefan Kost <ensonic@users.sf.net>
2904 * docs/libs/gstreamer-libs-sections.txt:
2905 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
2906 (gst_controller_new_list):
2907 * libs/gst/controller/gstcontroller.h:
2908 added another constructor for language bindings
2910 2005-09-28 Thomas Vander Stichele <thomas at apestaart dot org>
2912 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
2916 * gst/gstinfo.c: (_gst_debug_init):
2917 slightly more readable color for refcount debugging
2919 2005-09-28 Wim Taymans <wim@fluendo.com>
2921 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
2922 (add_to_queue), (clear_queue), (reset_degree), (update_degree),
2923 (find_element), (gst_bin_sort_iterator_next),
2924 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
2925 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
2926 (gst_bin_change_state), (gst_bin_dispose):
2927 Small doc fixes. get_clock -> provide_clock.
2929 * gst/gstelement.c: (gst_element_class_init),
2930 (gst_element_provides_clock), (gst_element_provide_clock),
2931 (gst_element_get_clock), (gst_element_commit_state),
2932 (gst_element_lost_state):
2934 Make get/set_clock() symetric. Add provide_clock vmethod since
2935 that is actually what this function does.
2937 * gst/gstpipeline.c: (gst_pipeline_class_init),
2938 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func),
2939 (gst_pipeline_get_clock):
2940 get_clock -> provide_clock.
2942 2005-09-28 Andy Wingo <wingo@pobox.com>
2944 * gst/base/gstbasesrc.c (gst_base_src_unlock): Comment a bit in
2945 lieu of real docs...
2947 * gst/elements/gstfdsrc.c: Cleaned up a bit.
2949 2005-09-28 Tim-Philipp Müller <tim at centricular dot net>
2951 * gst/elements/gstcapsfilter.c:
2952 * gst/elements/gstfakesink.c:
2953 * gst/elements/gstfakesrc.c:
2954 * gst/elements/gstfdsink.c:
2955 * gst/elements/gstfdsrc.c:
2956 * gst/elements/gstfilesink.c:
2957 * gst/elements/gstfilesrc.c:
2958 * gst/elements/gstidentity.c:
2959 * gst/elements/gsttee.c:
2960 * gst/elements/gsttypefindelement.c:
2961 Make element details static.
2963 2005-09-28 Wim Taymans <wim@fluendo.com>
2965 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
2966 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
2967 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
2968 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
2969 (gst_bin_change_state), (gst_bin_dispose):
2970 Some documentation updates.
2971 Clean up dispose handlers.
2973 * gst/gstobject.c: (gst_object_ref), (gst_object_unref):
2974 * gst/gstpad.c: (gst_pad_dispose):
2975 Clean up dispose handler.
2977 * gst/gstpipeline.c: (gst_pipeline_change_state):
2978 Removed spurious UNLOCK.
2980 2005-09-27 Stefan Kost <ensonic@users.sf.net>
2982 * docs/gst/gstreamer-sections.txt:
2983 * gst/base/gstbasesrc.h:
2988 * gst/gstpipeline.c:
2989 * gst/gstpipeline.h:
2992 added two new functions to the docs
2993 documents all undocumented GstXXXFlags
2994 completed some incomplete docs
2996 2005-09-27 Thomas Vander Stichele <thomas at apestaart dot org>
2998 * gst/gstbin.c: (gst_bin_dispose):
2999 * gst/gstelement.c: (gst_element_dispose):
3000 remove now useless and leaky resurrection code in dispose
3001 * gst/base/gstbasesrc.c: (gst_base_src_init):
3002 * gst/gstelementfactory.c: (gst_element_factory_create):
3003 * gst/gstobject.c: (gst_object_set_parent):
3006 2005-09-27 Wim Taymans <wim@fluendo.com>
3008 * docs/design/part-TODO.txt:
3011 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
3012 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
3013 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
3014 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
3015 (gst_bin_change_state):
3017 Remove element variable, we keep element info in the iterator now.
3019 2005-09-27 Andy Wingo <wingo@pobox.com>
3021 * libs/gst/dataprotocol/dataprotocol.c: Fix error-checking return
3024 2005-09-27 Wim Taymans <wim@fluendo.com>
3026 * check/gst/gstbin.c: (GST_START_TEST):
3027 Enable check that works now.
3029 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
3030 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
3031 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
3032 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
3033 (gst_bin_change_state):
3035 Redid the state change algorithm using a topological sort algo.
3036 Handles all cases correctly.
3037 Exposed iterator for state change order.
3040 Temp storage for state changes. Need to get rid of this soon.
3042 2005-09-27 Wim Taymans <wim@fluendo.com>
3044 * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_do_push):
3045 * gst/gstutils.c: (intersect_caps_func), (gst_pad_proxy_getcaps),
3046 (link_fold_func), (gst_pad_proxy_setcaps):
3047 Leak fixes, the fold functions need to unref the passed object and
3048 _get_parent_*() returns ref to parent.
3050 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
3052 * check/gst/gstbuffer.c: (test_make_writable):
3053 Plug leak in test case and fix 'make check-valgrind'
3055 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
3057 * gst/gstbuffer.c: (gst_subbuffer_init):
3058 Set READONLY flag on subbuffers, so that gst_buffer_make_writable()
3059 works correctly in all circumstances (we could have just copied
3060 the parent buffer's readonly flag, but conceptually it seems
3061 cleaner to mark all subbuffers as read-only). (based on patch
3062 by Alessandro Decina, #314710).
3064 * check/gst/gstbuffer.c: (create_read_only_buffer),
3065 (test_make_writable), (test_subbuffer_make_writable),
3067 Add some tests for gst_buffer_make_writable().
3069 2005-09-27 Wim Taymans <wim@fluendo.com>
3071 * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_change_state):
3072 use gst_object_has_ancestor().
3074 * gst/gstobject.c: (gst_object_has_ancestor):
3076 gst_object_has_ancestor() copied from gstbin.c as it is a
3079 * tests/instantiate/create.c: (create_all_elements):
3080 * tests/lat.c: (handoff_src), (handoff_sink):
3081 * tests/sched/runxml.c: (main):
3082 * tests/seeking/seeking1.c: (main):
3083 * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
3085 Fix compilation of some tests.
3087 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
3090 Remove comment. GST_TYPE_G_ERROR is here to stay,
3091 G_TYPE_ERROR has been WONTFIX'ed by the GLib folks
3094 2005-09-26 Wim Taymans <wim@fluendo.com>
3096 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
3097 Added check that shows error in state change order.
3099 2005-09-26 Wim Taymans <wim@fluendo.com>
3101 * gst/gstbin.c: (gst_bin_change_state):
3102 Make state change function use 3 queues again, we were
3103 adding elements in the wrong order.
3105 * gst/gstghostpad.c: (gst_ghost_pad_do_unlink):
3108 * gst/gstpad.c: (gst_pad_dispose):
3109 Added some debug info first.
3111 2005-09-26 Tim-Philipp Müller <tim at centricular dot net>
3113 * docs/design/draft-push-pull.txt:
3114 * docs/design/part-events.txt:
3115 * docs/design/part-overview.txt:
3116 * docs/design/part-scheduling.txt:
3117 Replace all _pull_region() with _pull_range()
3119 2005-09-26 Andy Wingo <wingo@pobox.com>
3121 * gst/gstvalue.c (_gst_value_initialize): Better fakeout.
3123 * check/gst-libs/controller.c: Update for controller api change.
3126 * tests/Makefile.am:
3127 * tests/memchunk: Remove memchunk benchmark stuff, this is taken
3128 over by GLib bug 118439.
3130 * gst/base/gstbasesink.c (gst_base_sink_wait): Factor out the wait
3131 routines to a function.
3133 * docs/libs/gstreamer-libs-sections.txt: I am a good person today.
3135 * libs/gst/controller/gsthelper.c:
3136 * libs/gst/controller/gstcontroller.h (gst_controller_sync_values)
3137 (gst_object_sync_values): Renamed from sink_values. Ugh.
3139 * libs/gst/controller/gsthelper.c: Update for __gst_controller_key.
3141 * libs/gst/controller/gstcontroller.c (__gst_controller_key):
3142 Renamed from controller_key, as it is exported.
3144 * gst/gstvalue.c (_gst_value_initialize): Fake out the compiler.
3146 2005-09-26 Thomas Vander Stichele <thomas at apestaart dot org>
3151 * gst/gstpadtemplate.h:
3154 * gst/gstqueryutils.c:
3155 * gst/gstqueryutils.h:
3156 remove queryutils headers after moving the two used functions
3157 to gstquery. also fixes build problem for gstsiddec
3159 2005-09-26 Michael Smith <msmith@fluendo.com>
3161 * tools/gst-launch.1.in:
3162 Correct documentation in manpage of debug syntax
3164 2005-09-26 Wim Taymans <wim@fluendo.com>
3166 * gst/base/gstbasesrc.c: (gst_base_src_get_range),
3167 (gst_base_src_is_seekable), (gst_base_src_change_state):
3168 Some more debugging info.
3170 2005-09-25 Stefan Kost <ensonic@users.sf.net>
3172 * docs/gst/gstreamer-sections.txt:
3173 * gst/base/gstbasetransform.h:
3177 2005-09-25 Stefan Kost <ensonic@users.sf.net>
3179 * docs/gst/.cvsignore:
3180 * docs/gst/tmpl/.cvsignore:
3181 * docs/gst/tmpl/gstpipeline.sgml:
3182 * docs/gst/tmpl/gstplugin.sgml:
3183 * gst/gstpipeline.c:
3186 inlined the last two docs files
3187 removed the tmpl directory from cvs (no more conflicts here!)
3189 2005-09-25 Stefan Kost <ensonic@users.sf.net>
3191 * docs/gst/gstreamer-sections.txt:
3192 * docs/gst/tmpl/.cvsignore:
3193 * docs/gst/tmpl/gstpad.sgml:
3194 * docs/gst/tmpl/gstpadtemplate.sgml:
3196 * gst/gstpad.c: (gst_pad_class_init), (gst_pad_dispose),
3197 (gst_pad_finalize), (gst_pad_set_pad_template):
3199 * gst/gstpadtemplate.c: (gst_pad_template_get_type),
3200 (gst_pad_template_class_init), (gst_pad_template_init),
3201 (gst_pad_template_dispose), (name_is_valid),
3202 (gst_static_pad_template_get), (gst_pad_template_new),
3203 (gst_static_pad_template_get_caps), (gst_pad_template_get_caps),
3204 (gst_pad_template_pad_created):
3205 * gst/gstpadtemplate.h:
3206 inlined two more docs
3207 factored gstpadtemplate out of gstpad
3209 2005-09-24 Tim-Philipp Müller <tim at centricular dot net>
3211 * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
3212 (test_children_state_change_order_semi_sink):
3213 Fix test case: we can't rely on a fixed state change order when
3214 going from READY => PAUSED because the sink might commit its
3215 new state first when the first buffer created by the source
3216 reaches the sink before the source has finished its change state.
3217 (Test case still fails at times, see #316856, comment 5 onwards)
3219 2005-09-24 Wim Taymans <wim@fluendo.com>
3221 * docs/design/part-events.txt:
3222 * docs/design/part-gstbus.txt:
3223 * docs/design/part-gstpipeline.txt:
3224 * docs/design/part-messages.txt:
3225 * docs/design/part-overview.txt:
3226 * docs/design/part-segments.txt:
3233 * gst/gstiterator.c:
3234 Various documentation updates.
3236 2005-09-24 Thomas Vander Stichele <thomas at apestaart dot org>
3239 Well, that's embarassing. Luckily we weren't using
3240 GST_CLOCK_DIFF anywhere.
3242 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
3244 * common/gtk-doc.mak:
3245 don't fail on building XML, FC4 slave shows a bunch of doc
3246 missing bits that I don't get
3248 * gst/gstpipeline.c:
3249 * gst/gststructure.c:
3252 2005-09-23 Tim-Philipp Müller <tim at centricular dot net>
3254 * docs/design/part-gstbin.txt:
3255 * docs/design/part-gstbus.txt:
3257 Add blurb about how the bus goes into flushing mode and
3258 drops all messages when its bin goes from READY into NULL
3261 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
3263 * docs/gst/gstreamer-sections.txt:
3264 * gst/gststructure.c: (gst_structure_get_clock_time):
3265 * gst/gststructure.h:
3266 add a method to get a GstClockTime out of a structure
3268 2005-09-23 Tim-Philipp Müller <tim at centricular dot net>
3270 * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
3271 (test_children_state_change_order_semi_sink), (gst_bin_suite):
3272 Added test to check state change order in bins (can still be made
3273 to fail here under heavy disk load; bails out with 'Push on pad
3274 fakesink:sink0, but it was not activated in push mode').
3276 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_change_state):
3277 Fix state change order when there is only a semi sink (#316856)
3279 * gst/gstbus.c: (gst_bus_class_init):
3280 Use _class_peek_parent(), not _class_ref(); fix docs to say
3281 'default main context' instead of 'mainloop' where that is
3284 * gst/gstelement.c: (gst_element_commit_state),
3285 (gst_element_set_state):
3286 Fix typos in debug messages
3288 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
3291 * gst/gstpad.c: (gst_pad_class_init), (gst_pad_chain):
3292 * gst/gstpluginfeature.c:
3295 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
3296 change an assert into an error until it gets fixed properly
3298 2005-09-23 Stefan Kost <ensonic@users.sf.net>
3300 * docs/gst/gstreamer-sections.txt:
3301 * docs/gst/tmpl/.cvsignore:
3302 * docs/gst/tmpl/gstelement.sgml:
3303 * docs/gst/tmpl/gstinfo.sgml:
3304 * docs/gst/tmpl/gstobject.sgml:
3309 * gst/gstobject.c: (gst_object_class_init):
3311 inlined 3 more biiiig doc files and added some missing docs on the fly
3313 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
3315 * check/gst/.cvsignore:
3316 * check/gst/gstplugin.c: (GST_START_TEST), (gst_plugin_suite):
3317 * gst/gstregistryxml.c: (load_plugin),
3318 (gst_registry_xml_save_plugin):
3319 put back source in registry. add checks for find_plugin.
3320 * testsuite/states/bin.c: (assert_state), (empty_bin),
3321 (test_adding_one_element), (main):
3322 * testsuite/states/locked.c: (main):
3323 some compile/run fixes
3325 2005-09-22 Thomas Vander Stichele <thomas at apestaart dot org>
3327 * check/gst/gstvalue.c: (GST_START_TEST):
3328 fix leaks in the test itself
3330 2005-09-22 Wim Taymans <wim@fluendo.com>
3332 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
3333 (gst_base_sink_send_event), (gst_base_sink_peer_query),
3334 (gst_base_sink_query):
3335 Prepare for more accurate position reporting and query
3338 * gst/gstelement.c: (gst_element_send_event),
3339 (gst_element_set_state):
3342 2005-09-22 Wim Taymans <wim@fluendo.com>
3344 * gst/gstquery.c: (gst_query_new_segment), (gst_query_set_segment),
3345 (gst_query_parse_segment):
3348 Add segment query for future use.
3350 2005-09-22 Wim Taymans <wim@fluendo.com>
3352 * gst/gstbin.c: (gst_bin_add_func):
3353 Some more debug info.
3355 * gst/gstelement.c: (gst_element_send_event):
3359 Don't know how flags got broken.
3364 2005-09-22 Tim-Philipp Müller <tim at centricular dot net>
3366 * check/gst/gstvalue.c: (test_date), (gst_value_suite):
3367 Add simplistic test suite for GST_TYPE_DATE serialisation and
3370 2005-09-22 Tim-Philipp Müller <tim at centricular dot net>
3372 * docs/gst/gstreamer-sections.txt:
3373 * gst/gststructure.c: (gst_structure_set_valist),
3374 (gst_structure_get_date):
3375 * gst/gststructure.h:
3376 * gst/gstvalue.c: (gst_value_set_date), (gst_value_get_date),
3377 (gst_date_copy), (gst_value_compare_date),
3378 (gst_value_serialize_date), (gst_value_deserialize_date),
3379 (gst_value_transform_date_string),
3380 (gst_value_transform_string_date), (_gst_value_initialize):
3382 Add GST_TYPE_DATE, a boxed type that wraps GDate, and the usual
3383 bunch of utility functions along with a hack that checks that
3384 developers don't accidentally use G_TYPE_DATE where GST_TYPE_DATE
3385 is required. Part of the grand scheme in #170777.
3387 2005-09-22 Andy Wingo <wingo@pobox.com>
3389 * gst/gstconfig.h.in: Psych out gtk-doc.
3391 * docs/gst/gstreamer-sections.txt: Add GST_HAVE_GLIB_2_8.
3393 * check/Makefile.am (check_PROGRAMS): Add gstplugin to the tests.
3395 * tools/gst-inspect.c (print_element_list): Plug some
3396 inconsequential leaks.
3398 * gst/gstregistry.c (gst_registry_get_default): Doc.
3400 * check/gst/gstplugin.c:
3401 * gst/gsttypefindfactory.c (gst_type_find_factory_call_function):
3402 * gst/gstelementfactory.c (gst_element_factory_create):
3403 * gst/gstindexfactory.c (gst_index_factory_create): Update for
3406 * gst/gstpluginfeature.c (gst_plugin_feature_list_free): Doc.
3407 (gst_plugin_feature_load): Doc, don't eat refs.
3409 * gst/gstplugin.c (gst_plugin_load): Doc, don't eat refs.
3410 (gst_plugin_list_free): Doc.
3411 (gst_plugin_load_file): Doc updates.
3413 * gst/gstbuffer.c (gst_buffer_get_caps): Like all our _get
3414 accessors returning refcounted objects, return a ref.
3416 * check/gst/gstbuffer.c (GST_START_TEST): Use refcount-idempotent
3417 accessor for caps. IDEMPOTENCE. Oh yes.
3419 2005-09-21 Francis Labonte <francis_labonte at hotmail dot com>
3421 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
3423 * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
3424 (_gst_debug_register_funcptr):
3425 Add mutex to serialise access to the hash table with
3426 the function pointer => function name string mapping;
3427 make that hash table static scope (#316809).
3429 * gst/registries/.cvsignore:
3430 Remove left-over file.
3432 2005-09-21 Tim-Philipp Müller <tim at centricular dot net>
3434 * docs/pwg/appendix-porting.xml:
3435 And something about newsegment events and caps-on-buffers to
3436 the porting guide (feel free to improve).
3438 2005-09-21 Andy Wingo <wingo@pobox.com>
3440 * check/gst/gstutils.c (test_buffer_probe_n_times): Add tests for
3441 data and event probes on the same pad.
3442 (test_buffer_probe_once): Test that removing probes from within
3443 the probe functions works.
3445 2005-09-21 Andy Wingo <wingo@pobox.com>
3447 * check/gst/gstutils.c: New file.
3448 (test_buffer_probe_n_times): A simple buffer probe test. More to
3451 * gst/gstutils.c (gst_pad_add_buffer_probe): Connect to
3452 have-data::buffer, not have-data.
3453 (gst_pad_add_event_probe): Likewise for have-data::event.
3454 (gst_pad_add_data_probe): More docs. The part about 'resolving the
3455 peer' isn't quite right yet though.
3456 (gst_pad_remove_buffer_probe, gst_pad_remove_event_probe)
3457 (gst_pad_remove_data_probe): Change to take the guint handler_id
3458 as their arg, not the function+data, which is more glib-like.
3460 * gst/gstpad.c (gst_pad_emit_have_data_signal): Add a detail to
3461 the signal emission to indicate if the data is a buffer or an
3463 (gst_pad_get_type): Initialize buffer and event quarks.
3464 (gst_pad_class_init): have-data is now a detailed signal, yes it
3467 2005-09-21 Tim-Philipp Müller <tim at centricular dot net>
3469 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
3470 * gst/gstutils.c: (gst_util_set_value_from_string),
3471 (gst_util_set_object_arg):
3472 Don't put functional code in g_return_if_fail() or
3473 g_return_val_if_fail() statements, otherwise things will
3474 break when G_DISABLE_CHECKS is defined during compilation.
3476 2005-09-21 Stefan Kost <ensonic@users.sf.net>
3478 * docs/gst/tmpl/.cvsignore:
3479 * docs/gst/tmpl/gstvalue.sgml:
3482 inlied another one and added some obvious docs
3484 2005-09-21 Wim Taymans <wim@fluendo.com>
3486 * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
3487 (gst_fdsrc_init), (gst_fdsrc_start), (gst_fdsrc_stop),
3488 (gst_fdsrc_unlock), (gst_fdsrc_set_property),
3489 (gst_fdsrc_get_property), (gst_fdsrc_create):
3490 * gst/elements/gstfdsrc.h:
3491 Properly implement fdsrc. Removed signal and timeout,
3492 better implemented somewhere else.
3494 2005-09-21 Stefan Kost <ensonic@users.sf.net>
3496 * docs/gst/tmpl/.cvsignore:
3497 * docs/gst/tmpl/gstimplementsinterface.sgml:
3498 * gst/gstinterface.c:
3501 2005-09-21 Stefan Kost <ensonic@users.sf.net>
3503 * docs/gst/gstreamer-sections.txt:
3504 * docs/gst/tmpl/.cvsignore:
3505 * docs/gst/tmpl/gstenumtypes.sgml:
3506 remove obsolete doc file
3508 2005-09-21 David Schleef <ds@schleef.org>
3510 * gst/gstelementfactory.c: (gst_element_factory_make): Drink a
3511 little beer, fix a little leak.
3513 2005-09-21 Stefan Kost <ensonic@users.sf.net>
3515 * docs/gst/gstreamer-docs.sgml:
3516 * docs/gst/gstreamer-sections.txt:
3517 * docs/gst/tmpl/.cvsignore:
3522 * gst/gstindex.c: (gst_index_class_init):
3524 * gst/gstindexfactory.c: (gst_index_factory_get_type),
3525 (gst_index_factory_class_init), (gst_index_factory_init),
3526 (gst_index_factory_finalize), (gst_index_factory_new),
3527 (gst_index_factory_destroy), (gst_index_factory_find),
3528 (gst_index_factory_create), (gst_index_factory_make):
3529 * gst/gstindexfactory.h:
3530 * gst/gstpluginfeature.c:
3531 * gst/gstpluginfeature.h:
3532 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
3533 more docs inlined, splitted gstindex.{c,h}
3535 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
3537 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
3540 2005-09-20 Tim-Philipp Müller <tim at centricular dot net>
3542 * gst/elements/gstfilesink.c: (gst_file_sink_init):
3543 Set sync to FALSE by default.
3545 2005-09-20 Wim Taymans <wim@fluendo.com>
3547 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
3548 (gst_base_sink_init):
3549 Make sync property settable from subclass.
3551 * gst/elements/gstfakesink.c: (gst_fake_sink_init),
3552 (gst_fake_sink_change_state):
3553 Set sync to FALSE by default.
3555 2005-09-20 Wim Taymans <wim@fluendo.com>
3557 * gst/gstbus.c: (poll_func), (poll_timeout), (gst_bus_poll):
3558 * tools/gst-launch.c: (main):
3559 The timeout handler should have lower priority than the source
3560 so we don't timeout before popping a message with 0 timeout.
3561 Dump error messages after failed state change.
3563 2005-09-20 Tim-Philipp Müller <tim at centricular dot net>
3565 * tools/gst-inspect.c: (print_element_properties_info):
3568 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
3570 * check/gst/gstevent.c:
3571 * gst/elements/gstfakesink.c:
3572 * gst/elements/gstfakesink.h:
3573 remove the sync property from fakesink.
3574 has the side effect of setting sync TRUE
3575 for fakesink, which is a change. Anyone who knows how
3576 to fix this nicely in a GObject-y way, feel free.
3578 2005-09-20 Stefan Kost <ensonic@users.sf.net>
3580 * docs/gst/gstreamer-docs.sgml:
3581 remove probe refsection
3583 2005-09-20 Stefan Kost <ensonic@users.sf.net>
3585 * check/Makefile.am:
3586 disable valgrinding the controller test again
3587 * docs/gst/gstreamer-sections.txt:
3588 update for api-changes
3590 2005-09-20 Wim Taymans <wim@fluendo.com>
3592 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
3593 (gst_base_sink_set_property), (gst_base_sink_get_property),
3594 (gst_base_sink_do_sync):
3595 * gst/base/gstbasesink.h:
3596 Added sync property to basesink to disable clock sync.
3598 2005-09-20 Andy Wingo <wingo@pobox.com>
3600 * gst/gstelementfactory.c (gst_element_factory_create): Avoid
3601 eating the caller's refcount.
3603 * gst/gstobject.h (GST_OBJECT_REFCOUNT)
3604 (GST_OBJECT_REFCOUNT_VALUE): Conditionally fondle the right
3607 * gst/gstconfig.h.in (GST_HAVE_GLIB_2_8):
3608 * configure.ac (GST_HAVE_GLIB_2_8_DEFINE): Make the availability
3609 of GLib 2.8 public, so we can know which refcount to check in
3612 * gst/gstobject.c: Use the GST_HAVE_GLIB_2_8 define.
3613 (gst_object_init): Only set the gst refcount if we're going ahead
3614 with the refcount hack.
3616 2005-09-20 Stefan Kost <ensonic@users.sf.net>
3618 * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
3619 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
3620 more leaks plumbed, added more debug-logging
3624 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
3627 remove include of gstmemchunk.h
3629 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
3631 * gst/gstclock.c: (_gst_clock_id_free):
3632 Commit from the Political Party For More Atomic CVS Commits,
3633 so that people don't waste too much of their day fishing
3634 out obvious leaks out of massive commits.
3635 Oh, and fix a pretty damn obvious leak in the memchunk
3638 2005-09-20 Stefan Kost <ensonic@users.sf.net>
3640 * check/Makefile.am:
3641 * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
3642 plug mem-leak, re-add to valgrindable tests
3644 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
3647 unbreak the build for those who have chronic arthritis
3648 and typing "make check" is just too taxing on the hands
3650 2005-09-20 Andy Wingo <wingo@pobox.com>
3652 * gst/gst.h: Re-add marshal to gst.h's include list -- if we
3653 really want it out, you should fix plugins at the same time.
3655 2005-09-19 Stefan Kost <ensonic@users.sf.net>
3658 * docs/gst/gstreamer-sections.txt:
3660 added missing symbols to api docs
3661 disable ref-count hack if we have glib >= 2.8
3663 2005-09-19 David Schleef <ds@schleef.org>
3665 * docs/gst/Makefile.am: Ignore a few more internal headers
3666 * docs/gst/gstreamer-docs.sgml: Remove old sections
3667 * docs/gst/gstreamer-sections.txt: Remove old sections
3668 * docs/gst/tmpl/gstobject.sgml: update
3669 * docs/gst/tmpl/gstplugin.sgml: update
3670 * docs/gst/tmpl/gstpluginfeature.sgml: update
3671 * docs/random/ds/0.9-suggested-changes: update.
3672 * gst/Makefile.am: remove memchunk and trashstack, since they're
3674 * gst/gst.c: (gst_deinit): rename gst_registry_deinit to _cleanup
3675 * gst/gst.h: don't include some headers
3676 * gst/gstchildproxy.c: add gstmarshal.h
3677 * gst/gstclock.c: Don't use memchunks
3678 * gst/gstminiobject.c: Add some docs
3679 * gst/gstobject.c: remove DESTROYED flag, since it's redundant
3680 * gst/gstobject.h: same
3681 * gst/gstplugin.c: include gstmacros.h
3682 * gst/gstplugin.h: don't include gstmacros.h, since it's private
3683 * gst/gstquery.c: don't use memchunks
3684 * gst/gstregistry.c: rename gst_registry_deinit()
3685 * gst/gstregistry.h: same
3687 2005-09-19 David Schleef <ds@schleef.org>
3689 * docs/libs/gstreamer-libs-docs.sgml: Remove docs for getbits
3690 * docs/libs/gstreamer-libs-sections.txt:
3691 * docs/libs/tmpl/gstgetbits.sgml:
3692 * docs/libs/tmpl/gstputbits.sgml:
3694 2005-09-19 Tim-Philipp Müller <tim at centricular dot net>
3696 * win32/gstenumtypes.c:
3697 * win32/gstenumtypes.h:
3700 2005-09-19 Wim Taymans <wim@fluendo.com>
3702 * gst/gstpipeline.c: (do_pipeline_seek), (gst_pipeline_send_event):
3703 Automatically PAUSE and RESUME a pipeline when a flushing seek
3706 2005-09-19 Andy Wingo <wingo@pobox.com>
3708 * gst/gstregistry.h: Spacing fixen.
3710 2005-09-19 Wim Taymans <wim@fluendo.com>
3712 * gst/base/gstbasesrc.c: (gst_base_src_change_state):
3713 Handle state change failure more correctly.
3715 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
3717 * check/Makefile.am:
3718 * check/pipelines/cleanup.c: (run_pipeline):
3719 * check/pipelines/simple_launch_lines.c: (run_pipeline),
3721 enable cleanup again after fixing the leak
3723 some more info on docs
3725 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
3727 * check/Makefile.am:
3728 re-enable tests now that leaks are plugged
3730 * check/gst/gstbin.c:
3731 * check/gst/gstpipeline.c:
3732 add some more tests while fixing leaks
3734 make sure binaries are uptodate when valgrinding/gdbing
3736 * gst/gstelementfactory.c:
3737 remove a ref too many, and add a FIXME for when we get
3738 round to disposing of classes
3740 fix the refcounting when loading a plugin from a file and
3741 the code pretends that the pointer is the same even though
3742 of course it can change
3743 * gst/gstpluginfeature.c:
3744 unref plugins marked cached (a bit confusing as a name)
3745 as the docs state should be done
3746 various doc additions to explain refcounting
3747 * gst/gstregistry.c:
3748 * gst/gstregistryxml.c:
3751 2005-09-19 Wim Taymans <wim@fluendo.com>
3753 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
3754 * check/gst/gstbus.c: (message_func_eos), (message_func_app),
3755 (send_messages), (GST_START_TEST), (gstbus_suite):
3756 * check/gst/gstpipeline.c: (GST_START_TEST):
3757 * check/pipelines/cleanup.c: (run_pipeline):
3758 * check/pipelines/simple_launch_lines.c: (run_pipeline),
3760 * gst/gstbus.c: (gst_bus_have_pending), (gst_bus_source_prepare),
3761 (gst_bus_source_check), (gst_bus_source_dispatch),
3762 (gst_bus_create_watch), (gst_bus_add_watch_full),
3763 (gst_bus_add_watch), (poll_func), (poll_timeout), (gst_bus_poll):
3765 * tools/gst-launch.c: (event_loop):
3766 * tools/gst-md5sum.c: (event_loop):
3767 GstBusHandler -> GstBusFunc, return value has the same meaning as
3768 any other GSource (FALSE == remove source).
3769 _add_watch() and _add_watch_full() now take a MessageType mask to
3770 only handle specific types of messages.
3771 _poll() returns the GstMessage instead of the message type to avoid
3773 _have_pending() takes a MessageType mask now too.
3774 Added testsuite for multiple bus watches.
3775 Fix testsuites and applications for new bus API.
3777 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
3779 * check/Makefile.am:
3780 mark a bunch of the tests as to fix until we fix them
3782 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
3785 use GST_PLUGIN settings for valgrind tests as well, so we're
3786 valgrinding the correct thing
3787 * gst/gst.c: (init_post):
3790 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
3792 * gst/gst.c: (init_post), (gst_deinit):
3793 * gst/gstelementfactory.c: (gst_element_factory_class_init),
3794 (gst_element_factory_finalize), (gst_element_factory_cleanup):
3795 * gst/gstindex.c: (gst_index_factory_class_init),
3796 (gst_index_factory_finalize):
3797 * gst/gstobject.c: (gst_object_dispose):
3798 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
3799 (gst_plugin_load_file), (gst_plugin_desc_free):
3800 * gst/gstpluginfeature.c: (gst_plugin_feature_class_init),
3801 (gst_plugin_feature_finalize):
3802 * gst/gstregistry.c: (gst_registry_class_init),
3803 (gst_registry_init), (gst_registry_finalize),
3804 (gst_registry_get_default), (gst_registry_deinit):
3805 * gst/gstregistry.h:
3806 * gst/gstregistryxml.c: (load_feature), (load_plugin):
3807 various cleanups and memleak plugging. make valgrind is happy now.
3809 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
3812 add a check-valgrind target
3814 2005-09-18 David Schleef <ds@schleef.org>
3816 * tools/gst-inspect.c: Revert the GOption code.
3818 2005-09-17 David Schleef <ds@schleef.org>
3820 * check/Makefile.am: Fix environment variables.
3821 * check/gst/gstplugin.c: Fix for API changes.
3822 * tools/gst-inspect.c: Fix for API changes.
3823 * tools/gst-xmlinspect.c: Fix for API changes.
3824 * gst/gstelementfactory.c:
3827 * gst/gstpluginfeature.c:
3828 * gst/gstpluginfeature.h:
3829 * gst/gstregistry.c:
3830 * gst/gstregistry.h:
3831 * gst/gstregistryxml.c:
3832 * gst/gsttypefind.c:
3833 * gst/gsttypefindfactory.c:
3834 * gst/indexers/gstfileindex.c:
3835 * gst/indexers/gstmemindex.c:
3836 * gst/schedulers/Makefile.am:
3837 Change registry to keep track of both plugins and features,
3838 removing the feature tracking from plugins themselves.
3840 2005-09-16 Thomas Vander Stichele <thomas at apestaart dot org>
3842 * check/Makefile.am:
3843 * tools/gst-register.1.in:
3846 2005-09-15 David Schleef <ds@schleef.org>
3848 * check/gst/gstplugin.c:
3849 * gst/gstelementfactory.c:
3851 * gst/gstpluginfeature.c:
3852 * gst/gstregistry.c:
3853 Getting tired of debugging. Disabled all the unreffing of
3854 plugins and features, which fixes the segfaults, but of
3855 course leaks like crazy. At least playbin works.
3857 2005-09-15 David Schleef <ds@schleef.org>
3859 * check/gst/gstplugin.c: (register_check_elements),
3860 (GST_START_TEST), (peek), (suggest), (gst_plugin_suite):
3862 * gst/elements/gsttypefindelement.c: Fix refcounting.
3863 * gst/gsttypefind.c:
3864 * gst/gsttypefindfactory.c:
3865 * gst/gsttypefindfactory.h:
3867 2005-09-15 David Schleef <ds@schleef.org>
3869 * gst/gstindex.c: get refcounting correct.
3870 * gst/gstregistry.c: Handle the case where a feature/plugin is
3873 2005-09-15 David Schleef <ds@schleef.org>
3875 * check/Makefile.am:
3876 * check/gst/gstplugin.c: Add test
3877 * gst/gstplugin.c: Fix problems noticed by testsuite
3879 * gst/gstregistry.c:
3880 * gst/gstregistry.h:
3882 2005-09-15 David Schleef <ds@schleef.org>
3884 * gst/gstplugin.c: Implement semi-decent recounting and locking
3885 in plugins and plugin features.
3887 * gst/gstpluginfeature.c:
3888 * gst/gstpluginfeature.h:
3889 * gst/gstregistry.c:
3891 2005-09-15 Michael Smith <msmith@fluendo.com>
3893 * gst/gstregistry.c: (gst_registry_get_feature_list):
3894 Implement this. Makes oggdemux work; decodebin still broken.
3896 2005-09-14 David Schleef <ds@schleef.org>
3898 * configure.ac: Add -no-undefined to GST_PLUGIN_LDFLAGS (bug
3900 * gst/base/Makefile.am: Add -no-undefined to LDFLAGS for libs
3901 * gst/check/Makefile.am:
3902 * libs/gst/controller/Makefile.am:
3903 * libs/gst/dataprotocol/Makefile.am:
3905 2005-09-14 David Schleef <ds@schleef.org>
3907 * configure.ac: Remove getbits library. Nothing uses it, and
3908 it should be in something like liboil if someone did want
3910 * libs/gst/Makefile.am:
3911 * libs/gst/getbits/Makefile.am:
3912 * libs/gst/getbits/gbtest.c:
3913 * libs/gst/getbits/getbits.c:
3914 * libs/gst/getbits/getbits.h:
3915 * libs/gst/getbits/gstgetbits_generic.c:
3916 * libs/gst/getbits/gstgetbits_i386.s:
3917 * libs/gst/getbits/gstgetbits_inl.h:
3919 2005-09-14 David Schleef <ds@schleef.org>
3921 * gst/Makefile.am: Dist glib-compat.h
3923 2005-09-14 David Schleef <ds@schleef.org>
3925 * configure.ac: Remove gst/registries, since it's no longer used.
3926 * gst/registries/Makefile.am:
3927 * gst/registries/gstlibxmlregistry.c:
3928 * gst/registries/gstlibxmlregistry.h:
3929 * gst/registries/gstxmlregistry.c:
3930 * gst/registries/gstxmlregistry.h:
3931 * gst/registries/registrytest.c:
3933 2005-09-14 David Schleef <ds@schleef.org>
3935 * gst/glib-compat.h:
3936 * gst/gstregistryxml.c:
3937 Convergence is near. Seriously.
3939 2005-09-14 David Schleef <ds@schleef.org>
3941 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
3942 * gst/glib-compat.h:
3943 Attempt #4 to appease the buildbots.
3945 2005-09-14 David Schleef <ds@schleef.org>
3947 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
3950 2005-09-14 David Schleef <ds@schleef.org>
3952 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
3955 2005-09-14 David Schleef <ds@schleef.org>
3957 * gst/Makefile.am: Oh yeah, libgstreamer.so needs to contain
3960 2005-09-14 David Schleef <ds@schleef.org>
3962 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
3963 * gst/glib-compat.h: Add some functions that are in newer versions
3964 of glib than we care to require.
3965 * gst/gstregistryxml.c: Use them.
3967 2005-09-14 David Schleef <ds@schleef.org>
3969 * po/POTFILES.in: remove gst-register.c
3971 2005-09-14 David Schleef <ds@schleef.org>
3973 * docs/gst/gstreamer-docs.sgml:
3974 * docs/gst/gstreamer-sections.txt:
3975 * docs/gst/gstreamer.types:
3976 * docs/gst/tmpl/gstelement.sgml:
3977 * docs/gst/tmpl/gstplugin.sgml:
3978 * docs/gst/tmpl/gstpluginfeature.sgml:
3979 Documentation updates for registry changes.
3981 2005-09-14 David Schleef <ds@schleef.org>
3983 * gst/gstregistryxml.c: Copy g_mkdir_with_parent() from glib,
3984 because we don't require glib-2.8.
3986 2005-09-14 David Schleef <ds@schleef.org>
3988 * gst/gstregistryxml.c: Added. Essentially moved out of the
3989 registries directory.
3991 2005-09-14 David Schleef <ds@schleef.org>
3993 * check/Makefile.am:
3994 * check/generic/states.c:
3998 * gst/gst_private.h:
3999 * gst/gstelementfactory.c:
4004 * gst/gstpluginfeature.c:
4005 * gst/gstpluginfeature.h:
4006 * gst/gstregistry.c:
4007 * gst/gstregistry.h:
4008 * gst/gstregistrypool.c: remove
4009 * gst/gstregistrypool.h: remove
4010 * gst/gsttypefind.c:
4011 * gst/gsttypefindfactory.c:
4013 * tools/Makefile.am:
4014 * tools/gst-compprep.c:
4015 * tools/gst-inspect.c:
4016 * tools/gst-register.c: remove
4017 * tools/gst-xmlinspect.c:
4018 Registry rewrite. Changes registry from being a file created
4019 by a tool into a simple cache file created automatically by
4020 libgstreamer. Removed gst-register (because it's no longer
4021 needed). Remove registry pools, because we only have one
4022 registry implementation (XML). Fix up other subsystems as
4025 2005-09-13 Michael Smith <msmith@fluendo.com>
4027 * gst/gstconfig.h.in:
4028 Don't Use windows linking attributes for MinGW. Fixes #316157
4030 2005-09-13 Thomas Vander Stichele <thomas at apestaart dot org>
4032 * gst/gstutils.c: (set_state_async_thread_func),
4033 (gst_element_set_state_async):
4034 Apparently people think it's better if this function doesn't
4035 try to set the state to whatever state was asked for on the first
4036 call to this function for any object. Seriously.
4038 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
4040 * check/gst/gstpipeline.c: (GST_START_TEST):
4041 * docs/gst/gstreamer-sections.txt:
4042 * gst/gstutils.c: (set_state_async_thread_func),
4043 (gst_element_set_state_async):
4045 add a "gst_element_set_state_async" method that
4046 sets the state and starts a thread to make sure the state
4047 change completes as best as it can
4049 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
4051 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
4052 codify design+behaviour in testsuite after discussion
4054 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
4056 * docs/gst/tmpl/gstelement.sgml:
4057 * docs/manual/appendix-quotes.xml:
4059 * gst/gstelement.c: (gst_element_set_state):
4062 2005-09-12 Jan Schmidt <thaytan@mad.scientist.com>
4064 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
4065 (gst_base_transform_prepare_output_buf),
4066 (gst_base_transform_handle_buffer):
4067 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip),
4068 (gst_capsfilter_prepare_buf):
4069 Remove the requirement for sub-classes to call the parent
4070 implementation of prepare_output_buffer with a wrapper function.
4073 * gst/gsttagsetter.h:
4076 2005-09-11 Stefan Kost <ensonic@users.sf.net>
4078 * docs/gst/gstreamer-sections.txt:
4081 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
4083 * docs/gst/gstreamer-sections.txt:
4084 * docs/gst/tmpl/gstelement.sgml:
4085 * docs/gst/tmpl/gstplugin.sgml:
4086 * gst/gstminiobject.c:
4088 docs now stop throwing warnings
4090 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
4092 * docs/gst/gstreamer-sections.txt:
4093 * docs/gst/gstreamer.types:
4094 * docs/gst/tmpl/gstpad.sgml:
4095 * docs/gst/tmpl/gsttypes.sgml:
4096 * gst/base/gstadapter.h:
4097 * gst/base/gstbasesink.h:
4098 * gst/base/gstbasesrc.h:
4108 * gst/gststructure.c:
4109 * gst/registries/gstlibxmlregistry.h:
4110 various documentation fixes
4112 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
4114 * docs/gst/gstreamer-sections.txt:
4115 * docs/gst/tmpl/gstvalue.sgml:
4116 rearrange gstvalue section
4117 * gst/gstutils.c: (gst_element_state_get_name):
4119 * gst/gstvalue.c: (_gst_value_initialize):
4123 2005-09-10 Jan Schmidt <thaytan@mad.scientist.com>
4125 * check/gst-libs/controller.c:
4127 * gst/base/gstbasetransform.c:
4128 (gst_base_transform_default_prepare_buf),
4129 (gst_base_transform_handle_buffer):
4130 * gst/base/gstbasetransform.h:
4131 Some more basetransform changes and fixes to enable sub-classes
4132 that modify buffer metadata only.
4133 * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
4134 (gst_capsfilter_init), (gst_capsfilter_transform_ip),
4135 (gst_capsfilter_prepare_buf):
4136 If the output pad has fixed allowed caps and input buffers
4137 don't have any, set the fixed caps on outgoing buffers.
4139 2005-09-09 Jan Schmidt <thaytan@mad.scientist.com>
4140 * check/elements/identity.c: (GST_START_TEST):
4141 Make the error a little clearer when the test fails because
4142 identity made a copy of the buffer.
4143 * docs/gst/gstreamer-sections.txt:
4144 New symbols in gstbasetransform.h
4145 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
4146 (gst_base_transform_init), (gst_base_transform_transform_size),
4147 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
4148 (gst_base_transform_default_prepare_buf),
4149 (gst_base_transform_get_unit_size),
4150 (gst_base_transform_buffer_alloc),
4151 (gst_base_transform_handle_buffer), (gst_base_transform_chain),
4152 (gst_base_transform_change_state),
4153 (gst_base_transform_set_passthrough),
4154 (gst_base_transform_set_in_place),
4155 (gst_base_transform_is_in_place):
4156 * gst/base/gstbasetransform.h:
4157 Change BaseTransform to separate in_place operate from same_caps
4158 output. in_place implies that the element can perform the transform
4159 on incoming buffers in-place, even if the caps on the output are
4161 Sub-class elements can now implement special buffer allocation
4162 methods for outgoing buffers if they wish to.
4163 Big documentation addition.
4164 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip):
4165 * gst/elements/gstelements.c:
4166 Changes for basetransform modifications.
4167 * gst/elements/Makefile.am:
4168 * gst/elements/gstfdsrc.c: (gst_fdsrc_init), (gst_fdsrc_create):
4169 Compile fix. Extra debug output.
4171 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
4173 * check/gst/gstpad.c: (GST_START_TEST), (name_is_valid),
4175 add tests for valid pad naming
4176 * gst/check/gstcheck.c: (gst_check_log_message_func),
4177 (gst_check_log_critical_func):
4179 remove printing of code, it is fragile when the code contains
4180 % and the line number is enough info
4181 * gst/check/gstcheck.h:
4182 * gst/gstpad.c: (gst_pad_template_new):
4185 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
4188 say what CHECK flags we use
4189 * docs/libs/gstreamer-libs.types:
4190 * libs/gst/controller/Makefile.am:
4191 * libs/gst/controller/gst-controller.c:
4192 * libs/gst/controller/gst-controller.h:
4193 * libs/gst/controller/gst-helper.c:
4194 * libs/gst/controller/gst-interpolation.c:
4195 * libs/gst/controller/gstcontroller.c:
4196 * libs/gst/controller/gsthelper.c:
4197 * libs/gst/controller/gstinterpolation.c:
4198 * tools/gst-inspect.c: (print_plugin_info):
4199 we don't use dashes in header names
4201 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
4203 * check/Makefile.am:
4204 * check/gst/.cvsignore:
4205 * check/gst/gstpipeline.c: (pop_messages), (GST_START_TEST),
4206 (gst_pipeline_suite), (main):
4207 adding a test for pipelines and state changes
4208 * gst/gstutils.c: (get_state_func):
4210 * gstreamer.spec.in:
4213 2005-09-08 Michael Smith <msmith@fluendo.com>
4215 * gst/elements/gstfilesrc.c: (gst_file_src_map_region),
4216 (gst_file_src_map_small_region), (gst_file_src_create_mmap),
4217 (gst_file_src_is_seekable), (gst_file_src_get_size),
4218 (gst_file_src_start):
4219 * gst/elements/gstfilesrc.h:
4220 Various fixes for unseekable, unmmapable, and non-normal files, so
4221 that fallback to read() rather than mmap() works.
4222 * gst/gstevent.c: (gst_event_new_newsegment):
4223 Allow newsegment events with segment_start == segment_end, as will
4224 correctly happen if you use filesrc on a zero-size file, for
4227 2005-09-07 Jan Schmidt <thaytan@mad.scientist.com>
4229 * gst/gstplugin.c: (gst_plugin_load_file):
4230 Call g_module_close when we don't load the module
4232 * gst/registries/gstlibxmlregistry.c:
4233 (gst_xml_registry_get_property):
4234 Port leak fix from 0.8
4236 2005-09-07 Stefan Kost <ensonic@users.sf.net>
4238 * docs/gst/gstreamer-docs.sgml:
4239 * docs/gst/tmpl/.cvsignore:
4240 * docs/gst/tmpl/gsttrace.sgml:
4241 * docs/gst/tmpl/gsttrashstack.sgml:
4250 * gst/gsttaginterface.c:
4251 * gst/gsttaginterface.h:
4254 * gst/gsttagsetter.c:
4255 * gst/gsttagsetter.h:
4258 * gst/gsttrashstack.c:
4259 renamed gsttag -> gsttaglist, gsttaginterface -> gsttagsetter
4260 inlined docs for gsttrace, gsttrashstack
4262 2005-09-07 Stefan Kost <ensonic@users.sf.net>
4265 * gst/elements/gstbufferstore.h:
4266 * gst/elements/gsttypefindelement.c:
4267 * gst/elements/gsttypefindelement.h:
4269 * gst/gsttypefind.c:
4270 * gst/gsttypefind.h:
4271 * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type),
4272 (gst_type_find_factory_class_init), (gst_type_find_factory_init),
4273 (gst_type_find_factory_dispose),
4274 (gst_type_find_factory_unload_thyself),
4275 (gst_type_find_load_plugin), (gst_type_find_factory_get_list),
4276 (gst_type_find_factory_get_caps),
4277 (gst_type_find_factory_get_extensions),
4278 (gst_type_find_factory_call_function):
4279 * gst/gsttypefindfactory.h:
4280 * gst/registries/gstlibxmlregistry.c:
4281 * gst/registries/gstxmlregistry.c:
4282 splitted gsttypefind into gsttypefind, gsttypefindfactory
4284 2005-09-07 Andy Wingo <wingo@pobox.com>
4286 * gst/base/gstbasesink.c (gst_base_sink_activate_pull): Fix a race
4287 condition whereby the pad's task function is entered before the
4288 pad_mode variable was set.
4290 2005-09-07 Jan Schmidt <thaytan@mad.scientist.com>
4292 * gst/gstpad.c: (gst_pad_alloc_buffer):
4293 Catch misbehaving pad_alloc functions that don't
4294 set up caps and do it for them.
4296 2005-09-07 Stefan Kost <ensonic@users.sf.net>
4298 * check/pipelines/simple_launch_lines.c: (run_pipeline):
4300 * docs/gst/tmpl/.cvsignore:
4301 * docs/gst/tmpl/gstmemchunk.sgml:
4302 * docs/gst/tmpl/gstparse.sgml:
4303 * docs/gst/tmpl/gsttaglist.sgml:
4304 * docs/gst/tmpl/gsttagsetter.sgml:
4305 * docs/gst/tmpl/gsttypefind.sgml:
4306 * docs/gst/tmpl/gsttypefindfactory.sgml:
4307 * gst/gstmemchunk.c:
4310 * gst/gsttaginterface.c:
4311 * gst/gsttypefind.c:
4312 * gst/gsttypefind.h:
4315 === release 0.9.2 ===
4317 2005-09-06 Thomas Vander Stichele <thomas at apestaart dot org>
4322 releasing 0.9.2, "South"
4324 2005-09-05 Andy Wingo <wingo@pobox.com>
4326 * gst/registries/gstxmlregistry.h:
4327 * gst/registries/gstxmlregistry.c: Um... resurrect...
4329 * gst/registries/gstxmlregistry.h:
4330 * gst/registries/gstxmlregistry.c: and update to newer API.
4331 Incidentally they should be a bit faster now that they don't have
4334 2005-09-05 Andy Wingo <wingo@pobox.com>
4336 * gst/registries/gstxmlregistry.h:
4337 * gst/registries/gstxmlregistry.c: Remove from CVS, they were
4338 replaced by the libxml registry a while back
4340 2005-09-03 Thomas Vander Stichele <thomas at apestaart dot org>
4342 * docs/gst/tmpl/gstplugin.sgml:
4343 * gst/elements/gstelements.c:
4345 * gst/gstplugin.c: (gst_plugin_register_func),
4346 (gst_plugin_desc_copy), (gst_plugin_desc_free),
4347 (gst_plugin_get_source):
4349 * gst/registries/gstlibxmlregistry.c: (load_plugin),
4350 (gst_xml_registry_save_plugin):
4351 * gst/registries/gstxmlregistry.c: (gst_xml_registry_parse_plugin),
4352 (gst_xml_registry_save_plugin):
4353 * tools/gst-inspect.c: (print_plugin_info):
4354 add a "source" plugin description field, to represent the source
4355 module this plugin is a part of. By default GST_PLUGIN_DEFINE
4356 will set it to PACKAGE, which is automake's idea of the name of
4359 2005-09-03 Thomas Vander Stichele <thomas at apestaart dot org>
4365 * docs/faq/Makefile.am:
4366 * docs/gst/tmpl/gstelement.sgml:
4367 * docs/gst/tmpl/gsttypes.sgml:
4368 * docs/htmlinstall.mak:
4369 * docs/manual/Makefile.am:
4370 * docs/pwg/Makefile.am:
4371 reorganize doc build a little
4372 split out docbook and gtk-doc stuff
4373 have two separate --enable's and enable them through autogen
4374 but disable by default in configure (to be similar to other
4376 * gstreamer.spec.in:
4377 clean up docs install
4397 2005-09-03 Tim-Philipp Müller <tim at centricular dot net>
4399 * gst/base/gstbasesink.c: (gst_base_sink_pad_buffer_alloc):
4402 * gst/elements/gstfakesink.c: (gst_fake_sink_init),
4403 (gst_fake_sink_change_state):
4404 Make state change function thread-safe.
4406 * gst/gstpad.c: (gst_pad_alloc_buffer):
4407 Set offset on generic buffer allocated by fallback.
4409 2005-09-03 Stefan Kost <ensonic@users.sf.net>
4411 * docs/gst/gstreamer-sections.txt:
4412 * docs/gst/tmpl/gstelement.sgml:
4414 * libs/gst/controller/gst-controller.c:
4415 (gst_controlled_property_set_interpolation_mode),
4416 (gst_controlled_property_new),
4417 (gst_controller_find_controlled_property):
4418 run the wingo-magic script against the docs
4420 2005-09-02 Stefan Kost <ensonic@users.sf.net>
4422 * docs/gst/gstreamer-docs.sgml:
4423 * docs/gst/gstreamer-sections.txt:
4424 * docs/gst/tmpl/.cvsignore:
4425 * docs/gst/tmpl/gstelementdetails.sgml:
4426 * docs/gst/tmpl/gstelementfactory.sgml:
4429 * gst/gstelementfactory.c:
4430 * gst/gstelementfactory.h:
4431 merged elementdetails docs into elementfactory docs
4434 2005-09-02 Andy Wingo <wingo@pobox.com>
4436 * gst/gstelement.h: Add magical pixie dust to make glib-mkenums
4437 consider this enum an enum and not a flags.
4439 2005-09-02 Stefan Kost <ensonic@users.sf.net>
4441 * docs/gst/gstreamer-docs.sgml:
4442 * docs/gst/tmpl/.cvsignore:
4443 * docs/gst/tmpl/gstghostpad.sgml:
4444 * docs/gst/tmpl/gstiterator.sgml:
4445 * docs/gst/tmpl/gstmacros.sgml:
4446 * docs/gst/tmpl/gstrealpad.sgml:
4447 * docs/gst/tmpl/gstregistry.sgml:
4448 * docs/gst/tmpl/gstregistrypool.sgml:
4449 * docs/gst/tmpl/gststructure.sgml:
4450 * docs/gst/tmpl/gstsystemclock.sgml:
4451 * docs/gst/tmpl/gsttrace.sgml:
4452 * gst/gstghostpad.c:
4454 * gst/gstmemchunk.c:
4455 * gst/gstmemchunk.h:
4457 * gst/gstregistry.c:
4458 * gst/gstregistrypool.c:
4459 * gst/gststructure.c:
4460 * gst/gstsystemclock.c:
4463 2005-09-02 Andy Wingo <wingo@pobox.com>
4465 * gst/gstelement.h (GstState): Renamed from GstElementState,
4466 changed to be a normal enum instead of flags.
4467 (GstStateChangeReturn): Renamed from GstElementStateReturn, names
4468 munged to be GST_STATE_CHANGE_*.
4469 (GST_STATE_CHANGE): Renamed from GST_STATE_TRANSITION, updated to
4470 work with the new state representation.
4471 (GstStateChange): New enumeration of possible state transitions.
4472 Replaces GST_STATE_FOO_TO_BAR with GST_STATE_CHANGE_FOO_TO_BAR.
4473 (GstElementClass::change_state): Pass the GstStateChange along as
4474 an argument. Helps language bindings, so they don't have to use
4475 tricky lock-needing macros like GST_STATE_CHANGE ().
4477 * scripts/update-states (file): New script. Run it on a file to
4478 update it for state naming and API changes. Updates files in
4481 * All files updated for the new API.
4483 2005-09-02 Thomas Vander Stichele <thomas at apestaart dot org>
4485 * gst/gsttrace.c: (gst_trace_flush), (gst_trace_text_flush):
4486 * gst/gstutils.c: (gst_util_set_value_from_string),
4487 (gst_util_set_object_arg):
4488 fix a bunch of unchecked return values
4489 * tools/gst-complete.c: (main):
4490 * gstreamer.spec.in:
4493 2005-09-01 Wim Taymans <wim@fluendo.com>
4495 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
4496 (gst_base_sink_event), (gst_base_sink_do_sync),
4497 (gst_base_sink_handle_event):
4498 * gst/base/gstbasesink.h:
4499 Handle newsegments more correctly.
4504 * gst/gstevent.c: (gst_event_new_newsegment):
4505 A newsegment cannot have a start_time of -1
4507 2005-09-01 Tim-Philipp Müller <tim at centricular dot net>
4509 * win32/gstenumtypes.c:
4510 * win32/gstenumtypes.h:
4513 2005-08-31 Stefan Kost <ensonic@users.sf.net>
4515 * libs/gst/controller/gst-controller.c:
4516 (gst_controlled_property_set_interpolation_mode),
4517 (gst_controlled_property_new):
4520 2005-08-31 Thomas Vander Stichele <thomas at apestaart dot org>
4522 * docs/faq/gst-uninstalled:
4527 * gst/gstutils.c: (gst_element_link_filtered):
4529 add gst_element_link_filtered
4531 2005-08-31 Stefan Kost <ensonic@users.sf.net>
4533 * docs/gst/gstreamer-docs.sgml:
4534 * docs/gst/gstreamer-sections.txt:
4535 * docs/gst/tmpl/.cvsignore:
4536 * docs/gst/tmpl/gsterror.sgml:
4537 * docs/gst/tmpl/gstfilter.sgml:
4538 * docs/gst/tmpl/gsturihandler.sgml:
4539 * docs/gst/tmpl/gsturitype.sgml:
4540 * docs/gst/tmpl/gstutils.sgml:
4541 * docs/gst/tmpl/gstxml.sgml:
4549 inlined more docs, fixed double id-ref
4551 2005-08-31 Wim Taymans <wim@fluendo.com>
4553 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
4554 (gst_base_transform_handle_buffer):
4555 Passthrough elements don't need the caps as they don't care.
4557 2005-08-31 Wim Taymans <wim@fluendo.com>
4559 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
4560 (gst_base_transform_handle_buffer), (gst_base_transform_chain):
4561 Don't leak refcounts on buffers.
4563 2005-08-31 Wim Taymans <wim@fluendo.com>
4565 * gst/base/gstbasetransform.c: (gst_base_transform_configure_caps),
4566 (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
4567 (gst_base_transform_chain), (gst_base_transform_change_state):
4568 * gst/base/gstbasetransform.h:
4569 Handle the case where we are not negotiated more gracefully.
4571 2005-08-31 Tim-Philipp Müller <tim at centricular dot net>
4573 * gst/elements/gstfilesrc.c: (gst_mmap_buffer_init),
4574 (gst_file_src_map_region):
4575 Set READONLY flag on mmap'ed buffers, otherwise
4576 gst_buffer_make_writable() won't work properly (#314708).
4578 2005-08-31 Wim Taymans <wim@fluendo.com>
4580 * gst/base/gstbasetransform.c: (gst_base_transform_handle_buffer):
4581 passthrough elements can even do inplace on non writable
4582 buffers (as they don't touch them).
4584 2005-08-31 Stefan Kost <ensonic@users.sf.net>
4586 * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
4587 (gst_test_mono_source_set_property),
4588 (gst_test_mono_source_class_init), (GST_START_TEST),
4589 (gst_controller_suite):
4590 more tests (hehe I have the most)
4592 describe popping messages whenusing mulltiple sources
4593 * libs/gst/controller/gst-controller.c:
4594 (gst_controlled_property_set_interpolation_mode),
4595 (gst_controlled_property_new):
4596 * libs/gst/controller/gst-controller.h:
4597 * libs/gst/controller/gst-interpolation.c:
4598 implement boolean properties
4600 2005-08-31 Wim Taymans <wim@fluendo.com>
4602 * gst/gstminiobject.c: (gst_mini_object_ref):
4603 Cannot assert that the refcount has to be positive
4604 since a disposed object can be resurrected.
4606 2005-08-31 Wim Taymans <wim@fluendo.com>
4608 * gst/gstpad.c: (gst_pad_init):
4609 Revert change, need to first fix badly behaving
4612 2005-08-30 Wim Taymans <wim@fluendo.com>
4614 * check/elements/fakesrc.c: (setup_fakesrc):
4615 * check/elements/identity.c: (setup_identity):
4616 Activate pads before using them.
4618 2005-08-30 Wim Taymans <wim@fluendo.com>
4620 * gst/base/gstadapter.c: (gst_adapter_flush):
4621 Flushing out 0 bytes is ok for this function.
4623 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
4624 no newsegment gives a warning and sets the start/stop to
4627 * gst/base/gstbasetransform.c: (gst_base_transform_change_state),
4628 (gst_base_transform_set_passthrough):
4631 * gst/gstminiobject.c: (gst_mini_object_ref):
4632 Check refcount here too.
4634 * gst/gstpad.c: (gst_pad_init):
4635 Pads are initially flushing and refusing data.
4637 * gst/gstutils.c: (gst_element_link_pads_filtered):
4638 When adding a capsfilter element make sure it has the
4639 same state as the parent bin.
4641 2005-08-30 Stefan Kost <ensonic@users.sf.net>
4643 * docs/gst/tmpl/.cvsignore:
4644 * docs/gst/tmpl/gstformat.sgml:
4645 * docs/gst/tmpl/gstversion.sgml:
4649 * gst/gstversion.h.in:
4650 more docs and two more inlined
4652 2005-08-30 Wim Taymans <wim@fluendo.com>
4654 * gst/elements/gstfilesink.c: (gst_file_sink_class_init):
4655 Don't sync to clock.
4657 2005-08-30 Stefan Kost <ensonic@users.sf.net>
4659 * docs/gst/gstreamer-sections.txt:
4660 ultral33t func10ns deserve to appear in the docs actually
4661 * docs/gst/tmpl/.cvsignore:
4662 * docs/gst/tmpl/gstcompat.sgml:
4663 * docs/gst/tmpl/gstconfig.sgml:
4664 * gst/check/gstcheck.c:
4666 * gst/gstconfig.h.in:
4669 2005-08-30 Stefan Kost <ensonic@users.sf.net>
4671 * docs/gst/tmpl/.cvsignore:
4672 * docs/gst/tmpl/gstquery.sgml:
4673 * docs/gst/tmpl/gstutils.sgml:
4676 inlined and extended docs
4678 2005-08-30 Stefan Kost <ensonic@users.sf.net>
4680 * check/gst-libs/controller.c: (GST_START_TEST),
4681 (gst_controller_suite):
4683 * docs/gst/tmpl/gstutils.sgml:
4684 * docs/libs/gstreamer-libs-sections.txt:
4685 * docs/libs/tmpl/gstdataprotocol.sgml:
4687 * examples/controller/audio-example.c: (main):
4688 controller example works now
4691 * tools/gst-inspect.c: (print_element_properties_info):
4692 show param spec flags
4694 2005-08-29 Andy Wingo <wingo@pobox.com>
4696 * gst/gstutils.c (gst_util_uint64_scale): New 3733t funct10n.
4698 2005-08-28 Andy Wingo <wingo@pobox.com>
4700 * gst/gstutils.h (GST_BOILERPLATE_FULL): Prototype instance_init
4701 as having two arguments instead of just one. Allows superclasses
4702 to access information on subclasses -- see the terrible for() loop
4703 in gtype.c:g_type_create_instance for the reason why. All callers
4706 2005-08-27 Stefan Kost <ensonic@users.sf.net>
4708 * docs/design/part-messages.txt:
4710 * docs/gst/tmpl/.cvsignore:
4711 * docs/gst/tmpl/gstcaps.sgml:
4712 * docs/gst/tmpl/gstclock.sgml:
4719 added descriptions for bus and message
4720 inline caps and clock docs
4722 2005-08-27 Stefan Kost <ensonic@users.sf.net>
4728 2005-08-27 Stefan Kost <ensonic@users.sf.net>
4730 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
4733 2005-08-26 Andy Wingo <wingo@pobox.com>
4735 * check/pipelines/simple_launch_lines.c (run_pipeline): Check
4736 element_set_state's return val.
4737 (test_2_elements): Add test that's been disabled for months.
4739 * gst/elements/gstfakesink.c: Cleanups. Add can-activate-push and
4740 can-activate-pull properties.
4742 * gst/elements/gstfakesrc.c: Cleanups. Add can-activate-push and
4743 can-activate-pull properties. Implement is_seekable so fakesrc can
4744 operate in pull mode.
4746 * gst/base/gstbasesink.c (GstBaseSink): Remove has-loop, has-chain
4748 (gst_base_sink_activate, gst_base_sink_activate_pull)
4749 (gst_base_sink_activate_push): Make activation mode choosing work.
4751 (gst_base_sink_chain, gst_base_sink_loop): Assert activation mode
4752 is right. Make pull mode work. Post an eos before pausing in pull
4754 (gst_base_sink_change_state): Pay attention to the core's
4755 change_state() return val.
4757 * gst/base/gstbasesrc.c (GstBaseSrc): Remove has-loop,
4758 has-getrange properties. Cleanups.
4760 * gst/base/gstbasesrc.h (GstBaseSrc): Remove has_loop,
4761 has_getrange and replace with can_activate_pull and
4764 * gst/base/gstbasesink.h (GstBaseSink): Rearrange fields, add
4765 locking comments. Remove has_loop, has_chain and replace with
4766 can_activate_pull and can_activate_push.
4768 2005-08-26 Jan Schmidt <thaytan@mad.scientist.com>
4771 * examples/Makefile.am:
4772 * examples/metadata/Makefile.am:
4773 * examples/metadata/read-metadata.c: (message_loop),
4774 (have_pad_handler), (make_pipeline), (print_tag), (main):
4775 Add metadata reading example that loops over a list of filenames,
4776 dumping any tags found.
4778 * gst/gstbus.c: (gst_bus_dispose):
4779 * gst/gstelement.c: (gst_element_dispose):
4780 Release a few potentially-held references in dispose.
4782 2005-08-26 Stefan Kost <ensonic@users.sf.net>
4784 * docs/gst/tmpl/gstminiobject.sgml:
4785 do *not* add tmpl/*.sgml files to CVS!
4787 2005-08-26 Stefan Kost <ensonic@users.sf.net>
4789 * libs/gst/bytestream/.cvsignore:
4790 * libs/gst/bytestream/Makefile.am:
4791 * libs/gst/bytestream/adapter.c:
4792 * libs/gst/bytestream/adapter.h:
4793 * libs/gst/bytestream/bytestream.c:
4794 * libs/gst/bytestream/bytestream.h:
4795 * libs/gst/bytestream/filepad.c:
4796 * libs/gst/bytestream/filepad.h:
4797 removing obsolete files
4799 2005-08-26 Stefan Kost <ensonic@users.sf.net>
4801 * docs/gst/gstreamer-docs.sgml:
4802 * docs/libs/gstreamer-libs-docs.sgml:
4803 disabed additional index entries again, as this makes docs-gen just
4804 slow and they aren't useful yet
4805 * docs/libs/gstreamer-libs-sections.txt:
4806 little -section.txt cleanup for libs
4808 2005-08-26 Thomas Vander Stichele <thomas at apestaart dot org>
4810 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
4811 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size),
4812 fix up some debugging
4813 (gst_base_transform_get_unit_size),
4814 (gst_base_transform_buffer_alloc), (gst_base_transform_event),
4815 (gst_base_transform_handle_buffer):
4816 * gst/base/gstbasetransform.h:
4817 handle and store timed NEWSEGMENT events so that subclasses that
4818 calculate time by counting samples have a segment_start time they
4819 need to add to their timestamps - see audioresample
4821 2005-08-26 Stefan Kost <ensonic@users.sf.net>
4824 removed ';' from the end of macro defs
4825 * docs/gst/gstreamer-docs.sgml:
4826 * docs/gst/gstreamer-sections.txt:
4827 * docs/gst/tmpl/.cvsignore:
4829 * gst/gstelement.c: (gst_element_class_init),
4830 (gst_element_set_state), (activate_pads),
4831 (gst_element_save_thyself):
4832 * gst/gstevent.c: (gst_event_new_newsegment):
4834 * gst/gstiterator.c:
4835 * gst/gstiterator.h:
4838 * gst/gstutils.c: (gst_pad_query_convert):
4840 fixed parameter name mismatches between source, header and docs
4841 added some more docs, resolved the last batch of unused elements in
4842 docs (now someone needs to doc them)
4844 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
4846 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_rebuild):
4847 * gst/registries/gstxmlregistry.c: (gst_xml_registry_rebuild):
4848 don't walk through the plugins backwards. Where is all this
4849 reversed logic coming from ?
4851 2005-08-25 Wim Taymans <wim@fluendo.com>
4853 * gst/base/gstbasetransform.c: (gst_base_transform_init),
4854 (gst_base_transform_transform_size),
4855 (gst_base_transform_configure_caps),
4856 (gst_base_transform_get_unit_size),
4857 (gst_base_transform_buffer_alloc),
4858 (gst_base_transform_change_state):
4859 * gst/base/gstbasetransform.h:
4860 Cache caps unit_size.
4861 Make sure we cannot negotiate up and downstream at the
4864 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
4866 * gst/gst.c: (init_pre), (init_post):
4867 register the installed plugin path after the env var
4868 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_save):
4869 * gst/registries/gstxmlregistry.c: (gst_xml_registry_save):
4870 don't reverse order of paths; conserve the order of GST_PLUGIN_PATH
4871 directories, so the tests can prefer uninstalled over installed
4873 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
4875 * gst/base/gstbasetransform.h:
4880 2005-08-25 Wim Taymans <wim@fluendo.com>
4882 * gst/gstbin.c: (bin_bus_handler):
4883 Be a bit more conservative about the posted message.
4885 * gst/gstbus.c: (gst_bus_post):
4886 Some cleanups, warn wrong return values.
4888 2005-08-25 Jan Schmidt <thaytan@mad.scientist.com>
4890 * check/gst/gstbin.c: (GST_START_TEST):
4891 * gst/gstbin.c: (bin_bus_handler):
4892 * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
4893 (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
4894 (gst_message_new_warning), (gst_message_new_tag),
4895 (gst_message_new_state_changed), (gst_message_new_segment_start),
4896 (gst_message_new_segment_done), (gst_message_new_custom):
4898 * tools/gst-launch.c: (event_loop):
4899 * tools/gst-md5sum.c: (event_loop):
4900 Revert unpopular change for GST_MESSAGE_SRC to GObject.
4902 2005-08-25 Wim Taymans <wim@fluendo.com>
4904 * check/generic/states.c: (GST_START_TEST):
4905 Cleanup can be done at the end.
4907 * gst/gsttask.c: (gst_task_get_type), (gst_task_finalize),
4908 (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
4909 (gst_task_get_state), (gst_task_start), (gst_task_pause):
4910 Oh boy.. Thanks for finding this, Thomas.
4912 2005-08-25 Stefan Kost <ensonic@users.sf.net>
4914 * docs/gst/gstreamer.types:
4917 2005-08-25 Stefan Kost <ensonic@users.sf.net>
4919 * docs/gst/gstreamer-docs.sgml:
4920 * docs/gst/gstreamer-sections.txt:
4921 * docs/gst/tmpl/.cvsignore:
4923 * gst/gstiterator.c:
4925 * gst/registries/gstxmlregistry.h:
4926 added missing classes and symbols (123 more to go)
4927 removed removed symbols from section file
4928 fixed many doc-comments
4930 2005-08-24 Wim Taymans <wim@fluendo.com>
4932 * check/generic/states.c: (GST_START_TEST):
4933 Make sure all tasks are stopped.
4935 * check/gst/gstbin.c: (GST_START_TEST):
4936 Unref after usage for proper valgrinding.
4938 * gst/gstpad.c: (gst_pad_finalize), (gst_pad_stop_task):
4939 Really wait for the task to stop before destroying the
4942 * gst/gstqueue.c: (gst_queue_sink_activate_push),
4943 (gst_queue_src_activate_push):
4944 Small cleanups. Don't stop the task when we did not start
4947 * gst/gsttask.c: (gst_task_get_type), (gst_task_init),
4948 (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
4949 (gst_task_get_state), (gst_task_start), (gst_task_pause),
4952 Protect the stream lock with the object lock.
4953 Disallow setting the stream lock when running.
4954 Add cleanup_all to wait for the threadpool to finish.
4955 Remove code to autoallocate a mutex if none was provided.
4956 Add _join() to wait for a task to stop.
4957 Protect the thread pool with a global lock.
4959 2005-08-24 Wim Taymans <wim@fluendo.com>
4961 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
4962 (gst_base_sink_get_times), (gst_base_sink_do_sync),
4963 (gst_base_sink_handle_buffer), (gst_base_sink_change_state):
4964 * gst/base/gstbasesink.h:
4965 Handle newsegment events correctly.
4966 Drop buffers out of the segment range.
4968 2005-08-22 Andy Wingo <wingo@pobox.com>
4970 * gst/gstutils.h (GST_BOILERPLATE_WITH_INTERFACE): New ghetto
4971 macro, implements an interface and gstimplementsinterface for a
4974 2005-08-24 Thomas Vander Stichele <thomas at apestaart dot org>
4976 * check/Makefile.am:
4977 * check/generic/states.c: (GST_START_TEST), (states_suite), (main):
4978 add a test that does a bunch of state changes on elements
4979 needs some fixing for valgrind
4980 * check/states/sinks.c: (gst_object_suite):
4983 add prototype for gst_caps_is_equal_fixed
4985 * gst/gstregistrypool.c:
4988 2005-08-24 Andy Wingo <wingo@pobox.com>
4990 * gst/gstquery.c (gst_query_new_convert): Spew if we try to
4991 convert a negative value. Doesn't make much sense. Mostly this is
4992 here to force callers to ensure -1 maps to -1.
4994 2005-08-24 Jan Schmidt <thaytan@mad.scientist.com>
4996 * docs/pwg/advanced-types.xml:
4997 Well done to Michael for catching my deliberate introduction
4998 of this spelling mistake.
4999 * gst/gstbin.c: (gst_bin_remove_func), (bin_bus_handler):
5001 Add GST_ELEMENT_UNPARENTING to prevent races so that we can
5002 unlink pads before removing the element from the bin.
5004 2005-08-24 Andy Wingo <wingo@pobox.com>
5006 * gst/gst.c (parse_debug_list): Accept e.g. GST_DEBUG=4 to mean
5007 the same thing as GST_DEBUG=*:4.
5008 (parse_debug_level, parse_debug_category): New helper parsers.
5010 2005-08-24 Thomas Vander Stichele <thomas at apestaart dot org>
5012 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
5013 (gst_base_transform_transform_size), (gst_base_transform_getcaps),
5014 (gst_base_transform_setcaps), (gst_base_transform_get_unit_size),
5015 (gst_base_transform_buffer_alloc),
5016 (gst_base_transform_handle_buffer):
5017 use gboolean return values and pointers to size so we can use the
5018 full GST_BUFFER_SIZE range (guint) for buffer sizes
5019 use GstPadDirection for transform_caps
5020 * gst/base/gstbasetransform.h:
5021 rename get_size to get_unit_size since that's what it is
5022 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_caps):
5023 use GstPadDirection for transform_caps
5024 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
5026 cleanup and debugging
5028 2005-08-24 Stefan Kost <ensonic@users.sf.net>
5030 * gst/gstelement.c: (gst_element_class_init),
5031 (gst_element_set_state), (activate_pads),
5032 (gst_element_save_thyself):
5033 * tools/gst-compprep.c: (main):
5034 * tools/gst-inspect.c: (print_element_properties_info):
5035 * tools/gst-xmlinspect.c: (print_element_properties):
5036 Fixed long standing mem-leak
5038 2005-08-24 Jan Schmidt <thaytan@mad.scientist.com>
5040 * check/gst/gstbin.c: (GST_START_TEST):
5041 * gst/gstbin.c: (bin_bus_handler):
5042 * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
5043 (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
5044 (gst_message_new_warning), (gst_message_new_tag),
5045 (gst_message_new_state_changed), (gst_message_new_segment_start),
5046 (gst_message_new_segment_done), (gst_message_new_custom):
5048 * tools/gst-launch.c: (event_loop):
5049 * tools/gst-md5sum.c: (event_loop):
5050 Change GST_MESSAGE_SRC to be a GObject rather than a GstObject, so
5051 that applications can sensibly post custom messages with references
5052 to their own objects.
5054 2005-08-24 Andy Wingo <wingo@pobox.com>
5056 * gst/gstpad.c (gst_pad_fixate_caps): Check if the caps is fixed
5059 2005-08-24 Wim Taymans <wim@fluendo.com>
5061 * gst/base/gstbasetransform.c: (gst_base_transform_init),
5062 (gst_base_transform_transform_caps),
5063 (gst_base_transform_transform_size),
5064 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
5065 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
5066 (gst_base_transform_handle_buffer):
5067 * gst/base/gstbasetransform.h:
5068 Many fixes and new features added by Thomas. Can now also do
5069 transforms with variable sizes and a custom fixate_caps function.
5071 2005-08-24 Wim Taymans <wim@fluendo.com>
5073 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
5077 Cast to ClockTime before formatting to time.
5082 2005-08-24 Stefan Kost <ensonic@users.sf.net>
5084 * check/gst-libs/controller.c: (GST_START_TEST),
5085 (gst_controller_suite):
5086 * docs/gst/tmpl/gstcaps.sgml:
5087 * docs/gst/tmpl/gstghostpad.sgml:
5088 * docs/gst/tmpl/gstquery.sgml:
5089 * docs/gst/tmpl/gstutils.sgml:
5090 * libs/gst/controller/gst-helper.c: (gst_object_set_controller),
5091 (gst_object_sink_values), (gst_object_get_value_arrays),
5092 (gst_object_get_value_array):
5093 gracefully handle helper method calls to objects that are not beeing
5094 controlled, added test case for that
5096 2005-08-23 Wim Taymans <wim@fluendo.com>
5098 * gst/gstevent.c: (_gst_event_copy), (gst_event_new_custom),
5099 (gst_event_new_newsegment), (gst_event_parse_newsegment),
5100 (gst_event_new_tag), (gst_event_parse_tag), (gst_event_new_qos),
5101 (gst_event_parse_qos), (gst_event_new_seek),
5102 (gst_event_parse_seek):
5104 Some more debugging output and doc cleanups.
5106 * gst/gstqueue.c: (gst_queue_handle_sink_event):
5107 Fix possible deadlock.
5109 2005-08-23 Stefan Kost <ensonic@users.sf.net>
5111 * docs/gst/gstreamer-docs.sgml:
5112 * docs/gst/gstreamer-sections.txt:
5113 * docs/gst/gstreamer.types:
5114 * docs/gst/tmpl/.cvsignore:
5119 added 100 symbols from gstreamer-unused.txt to the right sections
5120 fixed more broken comments
5121 added GstBus to docs
5123 2005-08-23 Stefan Kost <ensonic@users.sf.net>
5125 * docs/gst/gstreamer-sections.txt:
5126 * docs/gst/tmpl/.cvsignore:
5127 * docs/gst/tmpl/gstbin.sgml:
5128 * docs/gst/tmpl/gstbuffer.sgml:
5129 * gst/base/gstbasesrc.c:
5130 * gst/gstbin.c: (gst_bin_get_type), (gst_bin_class_init):
5133 * tools/gst-launch.1.in:
5134 inlined more doc comments, added missing comments and fixed comments
5137 2005-08-23 Thomas Vander Stichele <thomas at apestaart dot org>
5139 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
5143 * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_alloc_buffer):
5145 * gst/gststructure.c: (gst_caps_structure_fixate_field_boolean):
5146 * gst/gststructure.h:
5147 add a fixate function for booleans; add a FIXME that these func
5148 names should probably be gst_structure_fixate_*
5150 2005-08-23 Stefan Kost <ensonic@users.sf.net>
5152 * docs/gst/gstreamer-docs.sgml:
5153 * docs/gst/gstreamer-sections.txt:
5155 * gst/gstbin.c: (gst_bin_get_type),
5156 (gst_bin_child_proxy_get_child_by_index),
5157 (gst_bin_child_proxy_get_children_count),
5158 (gst_bin_child_proxy_init):
5159 * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
5160 (gst_child_proxy_get_child_by_index),
5161 (gst_child_proxy_get_children_count), (gst_child_proxy_lookup),
5162 (gst_child_proxy_get_property), (gst_child_proxy_get_valist),
5163 (gst_child_proxy_get), (gst_child_proxy_set_property),
5164 (gst_child_proxy_set_valist), (gst_child_proxy_set),
5165 (gst_child_proxy_child_added), (gst_child_proxy_child_removed),
5166 (gst_child_proxy_base_init), (gst_child_proxy_get_type):
5167 * gst/gstchildproxy.h:
5168 * gst/parse/grammar.y:
5169 * tools/gst-inspect.c: (print_interfaces),
5170 (print_element_properties_info), (print_element_info):
5171 ported gstchildproxy over from 0.8
5172 ported gst-inspect fixes and enhancements over from 0.8
5174 2005-08-22 Wim Taymans <wim@fluendo.com>
5176 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
5177 (gst_base_transform_handle_buffer):
5178 Also call the transform function if we have ANY caps.
5180 * gst/gstpipeline.c: (gst_pipeline_set_new_stream_time):
5183 2005-08-22 Jan Schmidt <thaytan@mad.scientist.com>
5185 * gst/base/gstbasesrc.c: (gst_base_src_event_handler)
5186 Don't pretend to handle seek events if the source is not seekable
5188 2005-08-22 Jan Schmidt <thaytan@mad.scientist.com>
5190 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
5191 Remove extra parameter to debug output
5193 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
5194 (gst_base_src_do_seek), (gst_base_src_activate_push):
5195 Fix seek event handling.
5197 * gst/gstpipeline.c: (gst_pipeline_change_state):
5198 * gst/gstqueue.c: (gst_queue_handle_sink_event),
5199 (gst_queue_src_activate_push):
5200 Don't start the src pad task on FLUSH_STOP if the pad
5204 2005-08-22 Wim Taymans <wim@fluendo.com>
5206 * check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
5207 Added check for gst_static_caps_get() refcounting.
5209 2005-08-22 Wim Taymans <wim@fluendo.com>
5211 * gst/gstcaps.c: (gst_static_caps_get), (gst_caps_to_string):
5212 Make _static_caps_get() refcounting sane.
5214 * gst/gstelement.c: (gst_element_set_state):
5215 Add g_return_val_if_fail() to protect against segfaults.
5217 2005-08-22 Stefan Kost <ensonic@users.sf.net>
5219 * docs/gst/tmpl/gstevent.sgml:
5222 inlined remaining docs, added missing doc comments
5224 2005-08-22 Thomas Vander Stichele <thomas at apestaart dot org>
5226 * check/gst/gstbin.c: (GST_START_TEST):
5227 since we don't know when preroll is done, use refcount range
5229 * gst/check/gstcheck.h:
5230 add macro for checking refcount range
5232 2005-08-21 Thomas Vander Stichele <thomas at apestaart dot org>
5234 * check/Makefile.am:
5235 clean up environment for when registry gets built versus
5236 when actual tests are run; valgrind seems to not report
5237 leaks if GST_PLUGIN_PATH is set to some specific values
5238 * check/gst/gstbin.c: (GST_START_TEST):
5239 add more refcounting checks; maybe this exposes a
5242 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
5243 * gst/check/gstcheck.h:
5244 * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_get_state),
5245 (gst_bin_change_state):
5246 * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_chain):
5247 add/fix debugging/whitespace
5249 2005-08-21 Jan Schmidt <thaytan@mad.scientist.com>
5251 * check/gst/gstevent.c: (event_probe), (test_event),
5253 Er, don't call gst_bin_watch_for_state_change you idiot.
5255 2005-08-21 Jan Schmidt <thaytan@mad.scientist.com>
5257 * check/Makefile.am:
5258 Use CHECK_CFLAGS and CHECK_LIBS
5259 * check/gst/gstevent.c: (event_probe), (test_event),
5262 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
5263 (gst_base_src_start), (gst_base_src_stop),
5264 (gst_base_src_activate_push), (gst_base_src_activate_pull),
5265 (gst_base_src_change_state):
5266 Sprinkle gst_base_src_stop liberally around error paths to fix
5267 problems reusing a source after failed state changes.
5268 * gst/base/gsttypefindhelper.c: (helper_find_peek),
5269 (helper_find_suggest), (gst_type_find_helper):
5270 Extra debug output. Don't segfault on GST_PAD_GETRANGEFUNC = NULL
5272 * docs/gst/tmpl/gstevent.sgml:
5273 Migrate part of the docs from the SGML file. Wait for ensonic to
5274 tell me how I did it wrong ;)
5275 * tools/gst-typefind.c: (main):
5276 Extra robustness to state changes between files.
5278 2005-08-21 Thomas Vander Stichele <thomas at apestaart dot org>
5280 * check/Makefile.am:
5281 don't valgrind the controller test - it's leaking - Stefan, HELP
5282 * gst/check/gstcheck.c: (gst_check_message_error),
5283 (gst_check_chain_func), (gst_check_setup_element),
5284 (gst_check_teardown_element), (gst_check_setup_src_pad),
5285 (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
5286 (gst_check_teardown_sink_pad):
5287 * gst/check/gstcheck.h:
5288 add a bunch of methods to set up elements, and src and sink pads
5289 * check/elements/fakesrc.c: (setup_fakesrc), (cleanup_fakesrc):
5290 * check/elements/identity.c: (setup_identity), (cleanup_identity),
5295 whitespace/doc fixes
5297 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
5300 make GST_ELEMENT_ERROR not do GST_ERROR_OBJECT - these errors should
5301 be handled by the application and not always printed as well
5303 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
5305 * check/Makefile.am:
5307 * gst/check/gstcheck.c: (gst_check_message_error):
5308 * gst/check/gstcheck.h:
5309 add a fail_unless_equals_int
5310 add fail_unless for error messages
5312 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
5314 * check/Makefile.am:
5316 * common/Makefile.am:
5319 factor out some of the common stuff so we can use it
5321 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
5323 * check/Makefile.am:
5324 * check/gst/gstiterator.c: (GST_START_TEST):
5325 * check/gst/gstsystemclock.c: (GST_START_TEST),
5326 (gst_systemclock_suite):
5327 * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
5331 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
5333 * check/elements/.cvsignore:
5334 * check/elements/gstfakesrc.c:
5335 rename to name of element
5336 * check/elements/identity.c: (chain_func), (event_func),
5337 (setup_identity), (cleanup_identity), (GST_START_TEST),
5338 (identity_suite), (main):
5339 add a test for identity
5340 * check/Makefile.am:
5341 * pkgconfig/Makefile.am:
5342 * pkgconfig/gstreamer-check.pc.in:
5343 * pkgconfig/gstreamer-check-uninstalled.pc.in:
5347 move the check stuff to a library that gets installed
5348 * check/gst-libs/controller.c: (GST_START_TEST):
5349 * check/gst-libs/gdp.c:
5350 * check/gst/gst.c: (GST_START_TEST):
5351 * check/gst/gstbin.c:
5352 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
5353 * check/gst/gstbus.c:
5354 * check/gst/gstcaps.c: (GST_START_TEST):
5355 * check/gst/gstelement.c:
5356 * check/gst/gstghostpad.c:
5357 * check/gst/gstiterator.c:
5358 * check/gst/gstmessage.c:
5359 * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST):
5360 * check/gst/gstobject.c:
5361 * check/gst/gstpad.c: (GST_START_TEST):
5362 * check/gst/gststructure.c: (GST_START_TEST):
5363 * check/gst/gstsystemclock.c: (GST_START_TEST),
5364 (gst_systemclock_suite):
5365 * check/gst/gsttag.c: (gst_tag_suite):
5366 * check/gst/gstvalue.c:
5367 * check/pipelines/cleanup.c:
5368 * check/pipelines/simple_launch_lines.c:
5369 * check/states/sinks.c:
5370 change include statement
5372 * docs/gst/gstreamer-sections.txt:
5373 * docs/gst/tmpl/gstpad.sgml:
5374 document more pad stuff
5375 * gst/gstminiobject.c: (gst_mini_object_ref),
5376 (gst_mini_object_unref):
5379 2005-08-19 Stefan Kost <ensonic@users.sf.net>
5381 * docs/gst/tmpl/gst.sgml:
5383 eliminate another tmpl file, fix spelling in the long-description
5385 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
5387 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
5388 (test_event), (timediff), (gstevents_suite):
5389 Should fix build on 64-bit arch's
5391 2005-08-18 Andy Wingo <wingo@pobox.com>
5393 Make sure that when a pipeline goes to PLAYING, that data has
5394 actually hit the sink.
5396 * check/states/sinks.c (test_sink): A sink that doesn't get any
5397 data shouldn't return SUCCESS for going to either PLAYING or
5398 PAUSED. Test also the return values on the way back down.
5400 * gst/gstelement.c (gst_element_set_state): When changing the
5401 state of an element currently changing state asynchronously, go to
5402 lost-state after commiting the pending state. Makes future calls
5403 to get_state continue to return ASYNC.
5405 * gst/base/gstbasesink.c (gst_base_sink_change_state): Return
5406 ASYNC when going to PLAYING if we still don't have preroll, as can
5407 happen with live sources.
5409 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
5411 * docs/pwg/advanced-types.xml:
5412 Hack long paragraph into 2 chunks as a workaround for buggy
5413 jadetex version in sid and breezy that loops infinitely and
5416 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
5418 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
5419 (test_event), (timediff), (gstevents_suite):
5420 Provide more error margin in clock measurements to allow for
5421 g_get_current_time inaccuracies.
5423 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
5425 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
5426 (test_event), (timediff), (gstevents_suite):
5427 Fix error message output so I might be able to tell why the
5428 test works here but fails on the build farm.
5430 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
5432 * check/Makefile.am:
5433 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
5434 (test_event), (timediff), (gstevents_suite), (main):
5437 * docs/design/part-seeking.txt:
5440 * docs/gst/tmpl/gstevent.sgml:
5441 * docs/gst/tmpl/gstfakesrc.sgml:
5444 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
5445 Treat a buffer-without-newsegment the same as a receiving
5446 a newsegment not in time format, and disable syncing to the clock
5449 * gst/gstbus.c: (gst_bus_set_sync_handler):
5450 Assert if anyone tries to replace the existing sync_handler for bus,
5451 as only the owner should be setting it.
5454 Have a fixed set of custom event enums with events identified by
5455 their structure name (as in 0.8), rather than a free-for-all
5456 allowing collisions between enum values from different plugins.
5458 * gst/gstpad.c: (gst_pad_class_init):
5461 * gst/gstqueue.c: (gst_queue_handle_sink_event):
5462 Handle out-of-band downstream events from the sending thread.
5464 2005-08-17 Andy Wingo <wingo@pobox.com>
5466 * gst/gstpipeline.c (gst_pipeline_change_state): Interpret
5467 play-timeout==0 to mean no timeout at all. In that case, don't
5468 bother with a get_state or a warning, just return directly, even
5471 * gst/base/gstbasetransform.c: Debug changes.
5474 * gst/gstutils.c (gst_bin_watch_for_state_change): Add function to
5475 ensure bins post state change messages. A bit of a hack but I can't
5476 think of a way to avoid it.
5478 * check/gst/gstbin.c (test_watch_for_state_change): Added test.
5480 2005-08-16 Andy Wingo <wingo@pobox.com>
5482 * gst/base/gstadapter.h:
5483 * gst/base/gstadapter.c (gst_adapter_take): New function, like
5484 peek() but you own the data. Not terribly efficient atm.
5486 2005-08-16 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5488 * gst/gstutils.c: (gst_element_found_tags_for_pad), (push_and_ref),
5489 (gst_element_found_tags):
5491 Add two utility functions for tag handling.
5493 2005-08-16 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5495 * docs/manual/advanced-dataaccess.xml:
5496 * docs/manual/basics-helloworld.xml:
5497 Fix docs to use _bin_add() before _link(), which fixes the examples
5498 with recent core versions (reported by Madhan Raj M
5499 <raj_madan@rediffmail.com>, #313199).
5501 2005-08-16 Wim Taymans <wim@fluendo.com>
5503 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
5504 Added subtract checks.
5506 * docs/design/part-events.txt:
5507 Some more docs about newsegment
5509 * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
5512 * gst/gstcaps.c: (gst_caps_to_string):
5513 Add comments, cleanups.
5515 * gst/gstelement.c: (gst_element_save_thyself):
5518 * gst/gstvalue.c: (gst_value_collect_int_range),
5519 (gst_string_unwrap), (gst_value_union_int_int_range),
5520 (gst_value_union_int_range_int_range),
5521 (gst_value_intersect_int_int_range),
5522 (gst_value_intersect_int_range_int_range),
5523 (gst_value_intersect_double_double_range),
5524 (gst_value_intersect_double_range_double_range),
5525 (gst_value_intersect_list), (gst_value_subtract_int_int_range),
5526 (gst_value_subtract_int_range_int),
5527 (gst_value_subtract_double_range_double),
5528 (gst_value_subtract_double_range_double_range),
5529 (gst_value_subtract_from_list), (gst_value_subtract_list),
5530 (gst_value_can_compare), (gst_value_compare_fraction):
5531 Cleanups, add comments, remove unneeded asserts.
5533 2005-08-15 Thomas Vander Stichele <thomas at apestaart dot org>
5535 * tools/gst-launch.c: (event_loop):
5536 don't convert NULL structures to strings
5538 2005-08-15 Stefan Kost <ensonic@users.sf.net>
5540 * docs/gst/gstreamer-sections.txt:
5541 made some defines private
5542 * docs/gst/tmpl/gstconfig.sgml:
5543 * docs/gst/tmpl/gstqueue.sgml:
5544 * docs/gst/tmpl/gsttaglist.sgml:
5545 * docs/gst/tmpl/gsttypes.sgml:
5546 * docs/gst/tmpl/gstutils.sgml:
5547 * docs/pwg/appendix-porting.xml:
5548 * gst/base/gstbasesink.h:
5549 * gst/base/gstbasesrc.c:
5550 * gst/base/gstbasesrc.h:
5551 * gst/elements/gstfakesink.c: (gst_fake_sink_class_init):
5552 * gst/elements/gstfakesrc.c: (gst_fake_src_class_init):
5553 * gst/gstelement.c: (gst_element_class_init):
5554 * gst/gstpad.c: (gst_pad_class_init):
5555 * gst/gstqueue.c: (gst_queue_class_init):
5556 * gst/gstxml.c: (gst_xml_class_init):
5557 documented all undocumented signal inline
5558 * libs/gst/controller/gst-controller.h:
5561 2005-08-15 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5563 * docs/pwg/appendix-porting.xml:
5564 Document _set_link_function -> _set_setcaps_function.
5566 2005-08-15 Thomas Vander Stichele <thomas at apestaart dot org>
5568 * check/Makefile.am:
5569 add a .check target for running the check
5570 * check/gst-libs/controller.c: (GST_START_TEST):
5572 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
5573 complete checks for gstbuffer; would be nice if I could get the
5574 gcov stuff to work so I can see if I actually completed gstbuffer.c
5576 add ASSERT_BUFFER_REFCOUNT
5578 2005-08-13 Tim-Philipp Müller <tim at centricular dot net>
5580 * docs/gst/gstreamer-sections.txt:
5581 * gst/gsttag.c: (_gst_tag_initialize), (gst_tag_register):
5583 Add GST_TAG_LANGUAGE_CODE as we have in 0.8, and don't
5584 spew out a warning if a tag that is already registered
5585 is re-registered, unless it is re-registered with a
5586 different type (#308438).
5588 2005-08-12 Tim-Philipp Müller <tim at centricular dot net>
5590 * docs/pwg/appendix-porting.xml:
5591 * docs/pwg/building-state.xml:
5592 Add some paragraphs about state changes in 0.9 to the PWG
5593 and the porting guide, in particular about the new meaning
5594 of GST_STATE_PAUSED and how to write state change functions
5595 with concurrent access by multiple threads in mind.
5597 2005-08-11 Stefan Kost <ensonic@users.sf.net>
5599 * docs/gst/gstreamer-docs.sgml:
5600 * docs/libs/gstreamer-libs-docs.sgml:
5601 added deprecation and since indexes
5602 * libs/gst/controller/gst-controller.c:
5603 * libs/gst/controller/gst-helper.c:
5607 2005-08-11 Wim Taymans <wim@fluendo.com>
5609 * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked),
5610 (gst_proxy_pad_set_target), (gst_proxy_pad_get_target),
5611 (gst_proxy_pad_dispose), (gst_ghost_pad_do_activate_push),
5612 (gst_ghost_pad_do_link), (gst_ghost_pad_set_internal),
5613 (gst_ghost_pad_new_notarget), (gst_ghost_pad_get_target),
5614 (gst_ghost_pad_set_target):
5615 Actually implement (re)setting the target on a ghostpad
5616 as described in the docs.
5618 2005-08-10 Tim-Philipp Müller <tim at centricular dot net>
5620 * gst/gst.c: (gst_init_check_with_popt_table), (init_pre):
5621 Check whether GST_DEBUG_NO_COLOR environment variable is
5622 set and disable coloured debug output if that is the case.
5624 2005-08-10 Tim-Philipp Müller <tim at centricular dot net>
5626 * gst/base/gsttypefindhelper.c: (helper_find_peek),
5627 (gst_type_find_helper):
5628 The memory returned by gst_type_find_peek() needs to
5629 stay valid until the end of a typefind function, and
5630 typefind functions may keep results from different
5631 offsets around, so we can't just unref the buffer from
5632 the previous _peek(), but have to save all buffers
5633 returned by _peek() until typefinding is done and only
5636 2005-08-09 Tim-Philipp Müller <tim at centricular dot net>
5638 * docs/gst/gstreamer-sections.txt:
5640 New macros: GST_ROUND_UP_2() through GST_ROUND_UP_64().
5642 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5644 * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
5645 Fix a pretty good memleak.
5647 2005-08-08 Tim-Philipp Müller <tim at centricular dot net>
5649 * gst/gstiterator.h:
5650 Fix wrong include and 'make distcheck'.
5652 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5654 * gst/gstbin.c: (bin_bus_handler):
5655 Use gst_element_post_message() instead.
5657 2005-08-08 Tim-Philipp Müller <tim at centricular dot net>
5659 * gst/base/gstadapter.h:
5660 * gst/base/gstbasesink.h:
5661 * gst/base/gstbasesrc.h:
5662 * gst/base/gstbasetransform.h:
5663 * gst/base/gstcollectpads.h:
5664 * gst/base/gstpushsrc.h:
5665 * gst/gstiterator.h:
5666 Add padding to our base elements' class and instance structs and
5667 to GstIterator (you will need to rebuild all plugins and apps!)
5669 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5671 * gst/gstbin.c: (bin_bus_handler):
5672 Make default message forwarding from child->bus to bin->bus
5673 threadsafe and make it not emit warnings if the parent has no bus.
5675 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5677 * gst/gstelement.c: (activate_pads):
5678 On paused->ready, set pad->caps to NULL, as is the documented
5679 behaviour in this state change. Fixes playback of series of
5680 media files when visualization is enabled in Totem.
5682 2005-08-07 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5684 * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
5685 Allow NULL as filter-caps (which means "any").
5687 2005-08-05 Stefan Kost <ensonic@users.sf.net>
5689 * docs/libs/gstreamer-libs-sections.txt:
5690 * libs/gst/controller/gst-controller.c:
5691 * libs/gst/controller/gst-controller.h:
5692 * libs/gst/controller/gst-helper.c:
5693 adding more entries to the docs and fix small doc-bugs
5695 2005-08-05 Stefan Kost <ensonic@users.sf.net>
5697 * docs/gst/gstreamer-docs.sgml:
5698 * docs/gst/gstreamer-sections.txt:
5699 * docs/gst/gstreamer.types:
5700 * docs/gst/tmpl/gstbasesink.sgml:
5701 * docs/gst/tmpl/gstbasesrc.sgml:
5702 * docs/gst/tmpl/gstbasetransform.sgml:
5703 * docs/gst/tmpl/gstfakesrc.sgml:
5704 * gst/base/gstcollectpads.c:
5705 * gst/base/gstcollectpads.h:
5706 * libs/gst/controller/gst-controller.c:
5707 * libs/gst/controller/gst-controller.h:
5708 * libs/gst/controller/gst-helper.c:
5709 * libs/gst/controller/gst-interpolation.c:
5710 * libs/gst/controller/lib.c:
5711 added long/short desc for controller docs
5712 added collectpads base class docs
5713 added correct includes to base-class docs
5715 2005-08-05 Stefan Kost <ensonic@users.sf.net>
5717 * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
5718 (gst_test_mono_source_set_property),
5719 (gst_test_mono_source_class_init), (GST_START_TEST),
5720 (gst_controller_suite):
5721 * docs/gst/gstreamer-docs.sgml:
5722 * docs/gst/gstreamer-sections.txt:
5723 * docs/gst/gstreamer.types:
5724 * docs/libs/gstreamer-libs-docs.sgml:
5725 * docs/libs/gstreamer-libs-sections.txt:
5726 * gst/base/gstadapter.c:
5727 * libs/gst/controller/gst-controller.c:
5728 (gst_controlled_property_new), (gst_controlled_property_free),
5729 (gst_controller_new_valist),
5730 (gst_controller_remove_properties_valist),
5731 (gst_controller_sink_values), (_gst_controller_finalize):
5732 * libs/gst/controller/gst-controller.h:
5733 * libs/gst/controller/gst-helper.c:
5734 (gst_object_control_properties), (gst_object_uncontrol_properties),
5735 (gst_object_get_controller), (gst_object_set_controller),
5736 (gst_object_sink_values), (gst_object_get_value_arrays),
5737 (gst_object_get_value_array):
5738 more tests (and fixes) for the controller
5739 more docs for the controller
5740 integrated companies docs for the adapter
5742 2005-08-05 Thomas Vander Stichele <thomas at apestaart dot org>
5744 * check/elements/gstfakesrc.c: (setup_fakesrc), (cleanup_fakesrc),
5745 (GST_START_TEST), (fakesrc_suite):
5746 add tests for sizetype
5748 2005-08-04 Andy Wingo <wingo@pobox.com>
5750 * gst/elements/gstcapsfilter.c: Reimplement using basetransform,
5751 fixes buffer_alloc proxying among other things.
5753 * gst/base/gstbasetransform.c:
5754 * gst/base/gstbasetransform.h:
5755 Revert patch to gstbasetransform from 7-28 removing
5758 * gst/base/gstbasetransform.h (GstBaseTransformClass.get_size):
5759 * gst/base/gstbasetransform.c (gst_base_transform_get_size):
5760 Semantics changed, should return not the size of the output buffer
5761 but the byte size of a buffer with a given caps.
5763 * gst/base/gstbasetransform.c (gst_base_transform_getcaps): Better
5765 (gst_base_transform_configure_caps): Don't set out_size here: (in,
5766 out) are not the pad caps until setcaps finishes.
5767 (gst_base_transform_buffer_alloc): Proxy the buffer_alloc for the
5768 not-in-place case as well. Deal with changing from in-place to
5769 not-in-place within calling pad_alloc_buffer. Still a bit
5770 concerned about the overhead here...
5772 2005-08-03 Andy Wingo <wingo@pobox.com>
5774 * gst/base/gstbasetransform.c (gst_base_transform_setcaps): Not
5775 fixating is an error.
5777 2005-08-04 Edward Hervey <edward@fluendo.com>
5779 * gst/base/gstadapter.h:
5780 Added gst_adapter_get_type() to the header
5782 2005-08-03 Stefan Kost <ensonic@users.sf.net>
5784 * check/Makefile.am:
5785 * check/gst-libs/controller.c:
5786 * libs/gst/controller/gst-controller.c:
5787 (gst_controller_new_valist):
5788 added check test suite for the controller
5789 * gst/base/gstpushsrc.c:
5792 2005-08-03 Stefan Kost <ensonic@users.sf.net>
5794 * docs/gst/Makefile.am:
5795 * docs/gst/gstreamer-docs.sgml:
5796 * docs/gst/gstreamer-sections.txt:
5797 * docs/gst/gstreamer.types:
5798 * docs/gst/tmpl/gstfakesrc.sgml:
5800 * gst/base/gstbasesink.c:
5801 * gst/base/gstbasesink.h:
5802 * gst/base/gstbasesrc.c:
5803 * gst/base/gstbasesrc.h:
5804 * gst/base/gstbasetransform.c:
5805 * gst/base/gstpushsrc.c:
5806 * gst/base/gstpushsrc.h:
5807 add short/long description docs to base classes
5808 add pushsrc to the docs
5809 remove consolidated doc fragments
5811 2005-08-03 Stefan Kost <ensonic@users.sf.net>
5814 * docs/libs/Makefile.am:
5815 * docs/libs/gstreamer-libs-docs.sgml:
5816 * docs/libs/gstreamer-libs-sections.txt:
5817 * docs/libs/gstreamer-libs.types:
5818 * examples/Makefile.am:
5819 * examples/controller/.cvsignore:
5820 * examples/controller/Makefile.am:
5821 * examples/controller/audio-example.c: (main):
5822 * libs/gst/Makefile.am:
5823 * libs/gst/controller/.cvsignore:
5824 * libs/gst/controller/Makefile.am:
5825 * libs/gst/controller/gst-controller.c:
5826 (on_object_controlled_property_changed), (gst_timed_value_compare),
5827 (gst_timed_value_find),
5828 (gst_controlled_property_set_interpolation_mode),
5829 (gst_controlled_property_new), (gst_controlled_property_free),
5830 (gst_controller_find_controlled_property),
5831 (gst_controller_new_valist), (gst_controller_new),
5832 (gst_controller_remove_properties_valist),
5833 (gst_controller_remove_properties), (gst_controller_set),
5834 (gst_controller_set_from_list), (gst_controller_unset),
5835 (gst_controller_get), (gst_controller_get_all),
5836 (gst_controller_sink_values), (gst_controller_get_value_arrays),
5837 (gst_controller_get_value_array),
5838 (gst_controller_set_interpolation_mode),
5839 (_gst_controller_finalize), (_gst_controller_init),
5840 (_gst_controller_class_init), (gst_controller_get_type):
5841 * libs/gst/controller/gst-controller.h:
5842 * libs/gst/controller/gst-helper.c: (g_object_control_properties),
5843 (g_object_uncontrol_properties), (g_object_get_controller),
5844 (g_object_set_controller), (g_object_sink_values),
5845 (g_object_get_value_arrays), (g_object_get_value_array):
5846 * libs/gst/controller/gst-interpolation.c:
5847 (gst_controlled_property_find_timed_value_node),
5848 (interpolate_none_get), (interpolate_trigger_get),
5849 (interpolate_trigger_get_value_array):
5850 * libs/gst/controller/lib.c: (gst_controller_init):
5851 * pkgconfig/Makefile.am:
5852 * pkgconfig/gstreamer-control-uninstalled.pc.in:
5853 * pkgconfig/gstreamer-control.pc.in:
5854 * testsuite/Makefile.am:
5855 * testsuite/controller/.cvsignore:
5856 * testsuite/controller/Makefile.am:
5857 * testsuite/controller/interpolator.c: (main):
5858 added controller code
5859 removed dparam pc files
5861 2005-08-01 Jan Schmidt <thaytan@mad.scientist.com>
5862 * gst/base/gstcollectpads.c: (gst_collectpads_finalize),
5863 (gst_collectpads_stop):
5864 Broadcast the condition when shutting down, to make sure we wake all
5865 threads up. Shut down pads on finalize, for safety.
5867 2005-08-01 Jan Schmidt <thaytan@mad.scientist.com>
5868 * gst/base/gstbasetransform.c: (gst_base_transform_init),
5869 (gst_base_transform_handle_buffer),
5870 (gst_base_transform_change_state):
5871 Handle PAUSED->READY->PAUSED transition after negotiation
5873 * gst/gstmessage.c: (gst_message_init):
5874 Extra piece of debug for new messages.
5876 2005-08-01 Stefan Kost <ensonic@users.sf.net>
5879 * docs/gst/tmpl/gstbasesrc.sgml:
5880 * docs/gst/tmpl/gstelement.sgml:
5881 * docs/gst/tmpl/gstevent.sgml:
5882 * docs/gst/tmpl/gstfakesrc.sgml:
5883 * docs/gst/tmpl/gstformat.sgml:
5884 * docs/gst/tmpl/gstghostpad.sgml:
5885 * docs/gst/tmpl/gstpad.sgml:
5886 * docs/gst/tmpl/gstquery.sgml:
5887 * docs/gst/tmpl/gststructure.sgml:
5888 * docs/gst/tmpl/gsttaglist.sgml:
5889 * docs/gst/tmpl/gstvalue.sgml:
5890 * docs/libs/gstreamer-libs-docs.sgml:
5891 * docs/libs/gstreamer-libs-sections.txt:
5892 * docs/libs/gstreamer-libs.types:
5893 * libs/gst/Makefile.am:
5894 * libs/gst/control/.cvsignore:
5895 * libs/gst/control/Makefile.am:
5896 * libs/gst/control/control.c:
5897 * libs/gst/control/control.h:
5898 * libs/gst/control/dparam.c:
5899 * libs/gst/control/dparam.h:
5900 * libs/gst/control/dparam_smooth.c:
5901 * libs/gst/control/dparam_smooth.h:
5902 * libs/gst/control/dparamcommon.h:
5903 * libs/gst/control/dparammanager.c:
5904 * libs/gst/control/dparammanager.h:
5905 * libs/gst/control/dplinearinterp.c:
5906 * libs/gst/control/dplinearinterp.h:
5907 * libs/gst/control/unitconvert.c:
5908 * libs/gst/control/unitconvert.h:
5909 * testsuite/Makefile.am:
5910 * testsuite/dynparams/.cvsignore:
5911 * testsuite/dynparams/Makefile.am:
5912 * testsuite/dynparams/dparamstest.c:
5913 * tools/Makefile.am:
5914 * tools/gst-inspect.c: (print_element_info), (main):
5915 * tools/gst-xmlinspect.c: (print_element_info), (main):
5916 deactivate and remove dparams (libgstcontrol)
5918 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
5920 * gst/elements/gsttypefindelement.c:
5921 (gst_type_find_element_have_type), (gst_type_find_element_init),
5922 (stop_typefinding), (gst_type_find_element_handle_event),
5923 (gst_type_find_element_chain), (gst_type_find_element_getrange):
5924 * gst/elements/gsttypefindelement.h:
5925 Set caps on all outgoing buffers, not just the first one.
5927 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
5929 * gst/elements/gsttypefindelement.c:
5930 (gst_type_find_element_have_type),
5931 (gst_type_find_element_check_set_buffer_caps),
5932 (gst_type_find_element_init), (stop_typefinding),
5933 (gst_type_find_element_handle_event),
5934 (gst_type_find_element_chain), (gst_type_find_element_getrange):
5935 * gst/elements/gsttypefindelement.h:
5936 Set caps on first outgoing buffer when we've found the type.
5938 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
5940 * docs/gst/gstreamer-docs.sgml:
5941 * docs/gst/gstreamer-sections.txt:
5942 * docs/gst/tmpl/gstscheduler.sgml:
5943 * docs/gst/tmpl/gstschedulerfactory.sgml:
5944 Remove some old cruft from docs.
5946 2005-07-31 Tim-Philipp Müller <tim at centricular dot net>
5949 Fix inline docs for GstPadLinkReturn.
5951 * gst/gststructure.c: (gst_structure_has_name):
5952 * gst/gststructure.h:
5953 * docs/gst/gstreamer-sections.txt:
5954 New API: gst_structure_has_name().
5956 2005-07-30 Tim-Philipp Müller <tim at centricular dot net>
5959 Use AC_SYS_LARGEFILE, which will set _FILE_OFFSET_BITS=64
5960 and _LARGEFILE_SOURCE in config.h as required. Do not
5961 export those flags in our .pc files any longer (#142209).
5963 Remove unused GST_DISABLE_OMEGA_COTHREADS stuff.
5965 * gst/elements/gstfilesink.c: (gst_file_sink_class_init),
5966 (gst_file_sink_do_seek), (gst_file_sink_event),
5967 (gst_file_sink_get_current_offset), (gst_file_sink_render):
5968 Redo seek/tell calls with large file support in mind; add some
5969 debugging messages; add log message that tells us when large
5970 file support is unavailable or not enabled for some reason.
5972 * gst/elements/gstfilesrc.c: (gst_file_src_class_init):
5973 Add log message that tells us when large file support
5974 is unavailable or not enabled for some reason.
5976 2005-07-29 Wim Taymans <wim@fluendo.com>
5978 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
5979 Added test for removing an element with ghostpad from a bin.
5980 Fixed test as current implementation does the right thing.
5982 * gst/gstghostpad.c: (gst_proxy_pad_class_init),
5983 (gst_proxy_pad_do_query_type), (gst_proxy_pad_do_event),
5984 (gst_proxy_pad_do_query), (gst_proxy_pad_do_internal_link),
5985 (gst_proxy_pad_do_bufferalloc), (gst_proxy_pad_do_activate),
5986 (gst_proxy_pad_do_activatepull), (gst_proxy_pad_do_activatepush),
5987 (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
5988 (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
5989 (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
5990 (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target),
5991 (gst_proxy_pad_get_target), (gst_proxy_pad_init),
5992 (gst_proxy_pad_dispose), (gst_proxy_pad_finalize),
5993 (gst_ghost_pad_class_init), (gst_ghost_pad_do_activate_push),
5994 (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
5995 (gst_ghost_pad_set_internal), (gst_ghost_pad_dispose),
5996 (gst_ghost_pad_new_notarget), (gst_ghost_pad_new),
5997 (gst_ghost_pad_get_target), (gst_ghost_pad_set_target):
5998 * gst/gstghostpad.h:
5999 Clean up ghostpads, remove properties for internal stuff.
6002 Prepare for switching targets, not all use cases work yet.
6004 2005-07-29 Wim Taymans <wim@fluendo.com>
6006 * docs/design/part-gstghostpad.txt:
6009 * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
6010 (gst_bin_remove_func):
6011 Unlinking pads while holding the bin LOCK is not a good
6014 * gst/gstpad.c: (gst_pad_class_init),
6015 (gst_pad_link_check_hierarchy), (gst_pad_get_caps_unlocked),
6016 (gst_pad_accept_caps), (gst_pad_set_caps), (gst_pad_send_event):
6017 No prob setting template after creating the pad.
6019 2005-07-29 Jan Schmidt <thaytan@mad.scientist.com>
6021 * gst/gstbus.c: (gst_bus_set_flushing), (gst_bus_pop),
6022 (gst_bus_peek), (gst_bus_source_dispatch),
6023 (gst_bus_add_watch_full), (poll_handler), (poll_timeout),
6024 (poll_destroy), (poll_destroy_timeout), (gst_bus_poll):
6025 gst_bus_poll may be called from other threads. Handle
6026 this nicely by not making poll_data disappear off the
6027 stack once gst_bus_poll returns.
6028 gst_bus_peek now increments the refcount on the returned
6031 2005-07-29 Wim Taymans <wim@fluendo.com>
6033 * docs/design/part-gstghostpad.txt:
6034 Overview of current GhostPad datastructures and use
6035 cases for changing the target.
6037 2005-07-28 Wim Taymans <wim@fluendo.com>
6039 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
6040 Added checks for hierarchy consistency whan adding linked
6043 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
6044 Added check to test element scheduling without bin/pipeline.
6046 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
6047 First add elements to bin, then link.
6049 * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
6050 (gst_bin_remove_func):
6051 Unlink pads from elements added/removed from bin to maintain
6052 hierarchy consistency.
6054 2005-07-28 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
6056 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
6057 (gst_base_transform_handle_buffer):
6058 * gst/base/gstbasetransform.h:
6059 Remove broken delay_configure (fixes renegotiation of software
6060 scaling pipelines); remove some leftover printf()s.
6062 2005-07-28 Wim Taymans <wim@fluendo.com>
6064 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
6065 Added some more tests for wrong hierarchy
6067 * docs/design/part-overview.txt:
6070 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_dispose):
6073 * gst/gstelement.c: (gst_element_remove_pad), (gst_element_seek),
6074 (gst_element_dispose):
6077 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
6078 (gst_pad_link_check_hierarchy), (gst_pad_link_prepare),
6079 (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
6080 (gst_pad_set_caps), (gst_pad_send_event):
6081 Check for correct hierarchy when linking pads. Moving to
6082 strict requirement for ghostpads when linking elements in
6086 Clean ups. Added WRONG_HIERARCHY return value.
6088 2005-07-28 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
6090 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
6091 Better debug if no transform is possible.
6093 2005-07-27 Wim Taymans <wim@fluendo.com>
6095 * docs/random/wtay/network-transp:
6098 2005-07-27 Wim Taymans <wim@fluendo.com>
6100 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
6101 (gst_dp_event_from_packet):
6102 Fix serialization of seek events.
6104 2005-07-27 Wim Taymans <wim@fluendo.com>
6106 * check/gst-libs/gdp.c: (GST_START_TEST):
6107 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
6108 Fix compilation and fix event serialization.
6110 2005-07-27 Wim Taymans <wim@fluendo.com>
6113 * docs/design/part-TODO.txt:
6114 * docs/design/part-events.txt:
6117 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
6118 (gst_base_sink_event), (gst_base_sink_do_sync),
6119 (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
6120 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
6121 (gst_base_src_do_seek), (gst_base_src_event_handler),
6122 (gst_base_src_loop):
6123 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
6124 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
6125 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
6126 (gst_base_transform_event), (gst_base_transform_handle_buffer),
6127 (gst_base_transform_set_passthrough),
6128 (gst_base_transform_is_passthrough):
6129 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
6130 * gst/elements/gstfilesink.c: (gst_file_sink_event):
6136 * gst/gstelement.c: (gst_element_seek):
6138 Update gst_element_seek.
6140 * gst/gstevent.c: (gst_event_finalize), (_gst_event_copy),
6141 (gst_event_new), (gst_event_new_custom), (gst_event_get_structure),
6142 (gst_event_new_flush_start), (gst_event_new_flush_stop),
6143 (gst_event_new_eos), (gst_event_new_newsegment),
6144 (gst_event_parse_newsegment), (gst_event_new_tag),
6145 (gst_event_parse_tag), (gst_event_new_filler), (gst_event_new_qos),
6146 (gst_event_parse_qos), (gst_event_new_seek),
6147 (gst_event_parse_seek), (gst_event_new_navigation):
6149 Make GstEvent use GstStructure. Add parsing code, make sure the
6150 API is sufficiently generic.
6151 Mark possible directions of events and serialization.
6153 * gst/gstmessage.c: (gst_message_init), (gst_message_finalize),
6154 (_gst_message_copy), (gst_message_new_segment_start),
6155 (gst_message_new_segment_done), (gst_message_new_custom),
6156 (gst_message_parse_segment_start),
6157 (gst_message_parse_segment_done):
6160 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
6161 (gst_pad_set_caps), (gst_pad_send_event):
6162 Update for new events.
6163 Catch events sent in wrong directions.
6165 * gst/gstqueue.c: (gst_queue_link_src),
6166 (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
6167 (gst_queue_handle_src_query):
6172 Remove event code from this file.
6174 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
6175 (gst_dp_event_from_packet):
6178 2005-07-27 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
6180 * gst/base/gstbasetransform.c: (gst_base_transform_getcaps),
6181 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
6182 (gst_base_transform_get_size), (gst_base_transform_handle_buffer):
6183 Make debugging actually useful.
6185 2005-07-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
6187 * gst/gstpad.c: (fixate_value), (gst_pad_default_fixate),
6188 (gst_pad_fixate_caps):
6189 Implement default fixation once again, so that gst_pad_fixate()
6190 actually does anything at all. This probably needs to be some
6191 sort of a last resort, and use profile-based fixation first, but
6192 since that doesn't exist yet, this is the best we have. Fixes
6193 visualization in Totem.
6195 2005-07-22 Wim Taymans <wim@fluendo.com>
6197 * docs/design/part-events.txt:
6200 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
6201 (gst_base_sink_do_sync), (gst_base_sink_activate_push),
6202 (gst_base_sink_activate_pull):
6205 * gst/elements/gstfakesrc.c: (gst_fake_src_class_init),
6206 (gst_fake_src_create):
6207 Fix handoff marshall.
6209 * gst/elements/gstidentity.c: (gst_identity_class_init),
6210 (gst_identity_transform_ip):
6211 We're a real inplace element.
6213 * gst/gstbus.c: (gst_bus_post):
6214 Added some comments.
6216 * tests/lat.c: (fakesrc), (fakesink), (simple), (queue), (main):
6217 * tests/muxing/case1.c: (main):
6218 * tests/sched/dynamic-pipeline.c: (main):
6219 * tests/sched/interrupt1.c: (main):
6220 * tests/sched/interrupt2.c: (main):
6221 * tests/sched/interrupt3.c: (main):
6222 * tests/sched/runxml.c: (main):
6223 * tests/sched/sched-stress.c: (main):
6224 * tests/seeking/seeking1.c: (event_received), (main):
6225 * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
6227 * tests/threadstate/threadstate3.c: (main):
6228 * tests/threadstate/threadstate4.c: (main):
6229 * tests/threadstate/threadstate5.c: (main):
6232 2005-07-21 Wim Taymans <wim@fluendo.com>
6234 * docs/design/part-seeking.txt:
6235 Some small additions.
6237 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
6238 (gst_base_sink_get_times), (gst_base_sink_do_sync),
6239 (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
6240 * gst/base/gstbasesink.h:
6241 discont values are gint64, handle the math correctly.
6243 * gst/base/gstbasesrc.c: (gst_base_src_loop):
6244 Make the basesrc report error if the source pad is not linked.
6246 * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
6247 (gst_queue_loop), (gst_queue_handle_src_query),
6248 (gst_queue_src_activate_push):
6249 Make queue collect data even if the srcpad is not linked.
6250 Start pushing out data as soon as it is linked.
6252 * gst/gstutils.c: (gst_element_unlink), (gst_flow_get_name):
6254 Added gst_flow_get_name() to ease error reporting.
6256 2005-07-20 Wim Taymans <wim@fluendo.com>
6258 * gst/gstmessage.c: (gst_message_new_segment_start),
6259 (gst_message_new_segment_done), (gst_message_parse_segment_start),
6260 (gst_message_parse_segment_done):
6262 Added a bunch of messages for advanced seeking.
6264 * gst/parse/grammar.y:
6265 * libs/gst/control/dparammanager.c: (gst_dpman_set_parent),
6266 (gst_dpman_state_changed):
6267 Fix some new-pad -> pad-added signals
6269 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
6271 * docs/manual/appendix-porting.xml:
6272 * docs/pwg/appendix-porting.xml:
6273 Document new-pad/state-change signal renames and the FixedList
6276 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
6278 * docs/manual/advanced-autoplugging.xml:
6279 * docs/manual/basics-helloworld.xml:
6280 * docs/manual/basics-pads.xml:
6281 * docs/random/ds/0.9-suggested-changes:
6282 * gst/gstelement.c: (gst_element_class_init), (gst_element_seek):
6287 * gst/gststructure.c: (gst_structure_value_get_generic_type),
6288 (gst_structure_parse_array), (gst_structure_parse_value):
6289 * gst/gstvalue.c: (gst_type_is_fixed),
6290 (gst_value_list_prepend_value), (gst_value_list_append_value),
6291 (gst_value_list_get_size), (gst_value_list_get_value),
6292 (gst_value_transform_array_string), (gst_value_serialize_array),
6293 (gst_value_deserialize_array), (gst_value_intersect_array),
6294 (gst_value_is_fixed), (_gst_value_initialize):
6296 GstElement::new-pad -> pad-added, GstElement::state-change ->
6297 state-changed, GstValueFixedList -> GstValueArray, add format and
6298 flags as their own arguments in gst_element_seek() (should improve
6299 "bindeability"), remove function generators since they don't work
6300 under a whole bunch of compilers (they were deprecated already
6303 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
6305 * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
6306 (_gst_debug_register_funcptr):
6308 Fix illegal cast on some platforms (#309253).
6310 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
6312 * gst/gstmessage.c: (gst_message_new_custom):
6314 Add _new_custom, make _new_application a macro to _new_custom.
6316 2005-07-20 Wim Taymans <wim@fluendo.com>
6318 * gst/base/gstbasesrc.c: (gst_base_src_init),
6319 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
6320 * gst/base/gstbasesrc.h:
6321 Add a gboolean to decide when to push out a discont.
6323 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
6324 (gst_queue_loop), (gst_queue_handle_src_query),
6325 (gst_queue_sink_activate_push), (gst_queue_src_activate_push),
6326 (gst_queue_set_property), (gst_queue_get_property):
6329 * tests/threadstate/threadstate1.c: (main):
6330 Make a thread test compile and run... very silly..
6333 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
6335 * docs/manual/appendix-porting.xml:
6336 Mention removal of libgstgconf-0.9.la and existence of gconf
6339 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
6341 * docs/pwg/advanced-clock.xml:
6342 * docs/pwg/appendix-porting.xml:
6343 * docs/pwg/intro-preface.xml:
6344 * docs/pwg/other-base.xml:
6345 * docs/pwg/other-manager.xml:
6346 * docs/pwg/other-nton.xml:
6347 * docs/pwg/other-ntoone.xml:
6348 * docs/pwg/other-oneton.xml:
6350 Document base classes, update sections of n-to-1 and 1-to-n (muxer,
6351 demuxer), remove n-to-n (was never written), fix some code examples
6352 and links and update the porting section to include all this.
6354 2005-07-19 Wim Taymans <wim@fluendo.com>
6356 * gst/gstqueue.c: (gst_queue_init), (gst_queue_handle_sink_event),
6357 (gst_queue_chain), (gst_queue_loop), (gst_queue_handle_src_event),
6358 (gst_queue_handle_src_query), (gst_queue_sink_activate_push),
6359 (gst_queue_src_activate_push), (gst_queue_change_state),
6360 (gst_queue_get_property):
6362 Propagate GstFlowReturn more intelligently upstream and output
6363 an ERROR/EOS when streaming stopped due to fatal error.
6365 2005-07-19 Wim Taymans <wim@fluendo.com>
6367 * tools/gst-launch.c: (check_intr), (event_loop), (main):
6368 Don't block forever for the state change to complete, the
6369 pipeline already did with a sensible timeout.
6371 2005-07-19 Wim Taymans <wim@fluendo.com>
6373 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
6374 Make sure we never call the create function is we
6377 2005-07-19 Andy Wingo <wingo@pobox.com>
6379 * gst/parse/parse.l: Attempt to solve bug #172815.
6381 2005-07-19 Wim Taymans <wim@fluendo.com>
6383 * docs/design/part-clocks.txt:
6384 * docs/design/part-events.txt:
6385 * gst/base/gstbasesrc.c: (gst_base_src_do_seek):
6387 Only update the seeking values when we are not
6390 2005-07-19 Jan Schmidt <thaytan@mad.scientist.com>
6392 * gst/base/gstbasesrc.c: (gst_base_src_loop):
6393 Oops, ignore the result of gst_pad_push_event here.
6395 2005-07-19 Jan Schmidt <thaytan@mad.scientist.com>
6397 * gst/base/gstbasesrc.c: (gst_base_src_loop),
6398 (gst_base_src_activate_push):
6399 Send discont event from the loop function, as pads
6400 aren't activated yet in the activate_push handler.
6402 * gst/gstbin.c: (bin_bus_handler):
6403 Don't leak element name.
6405 2005-07-18 Andy Wingo <wingo@pobox.com>
6407 * configure.ac: Use AS_LIBTOOL_TAGS.
6409 2005-07-18 Wim Taymans <wim@fluendo.com>
6411 * docs/gst/gstreamer.types:
6412 Remove deleted types.
6414 2005-07-18 Wim Taymans <wim@fluendo.com>
6416 * check/elements/gstfakesrc.c: (GST_START_TEST):
6419 * gst/gst.c: (gst_init_get_popt_table), (init_pre), (init_post),
6420 (init_popt_callback):
6422 * gst/gst_private.h:
6423 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_add_func),
6424 (gst_bin_remove_func), (gst_bin_get_state), (gst_bin_change_state):
6427 * gst/gstconfig.h.in:
6428 * gst/gstelement.c: (gst_element_class_init),
6429 (gst_element_set_base_time), (gst_element_get_base_time),
6430 (iterator_fold_with_resync), (gst_element_change_state),
6431 (gst_element_dispose), (gst_element_get_bus):
6433 * gst/gstelementfactory.h:
6434 * gst/gsterror.c: (_gst_core_errors_init):
6437 * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
6439 * gst/gstinfo.c: (_gst_debug_init):
6440 * gst/gstmessage.c: (_gst_message_copy):
6442 * gst/gstminiobject.h:
6445 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
6446 (gst_pad_set_caps), (gst_pad_start_task), (gst_pad_stop_task):
6449 * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
6450 (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
6451 (gst_pipeline_get_last_stream_time):
6452 * gst/gstpipeline.h:
6453 * gst/gstpluginfeature.h:
6455 * gst/gstscheduler.c:
6456 * gst/gstscheduler.h:
6457 * gst/gststructure.h:
6458 * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
6459 (gst_task_finalize), (gst_task_func), (gst_task_create),
6460 (gst_task_set_lock), (gst_task_get_state), (gst_task_start),
6461 (gst_task_stop), (gst_task_pause):
6463 * gst/gsttypefind.h:
6465 * gst/registries/gstlibxmlregistry.c: (load_feature),
6466 (gst_xml_registry_load), (gst_xml_registry_save_feature):
6467 * gst/registries/gstxmlregistry.c:
6468 (gst_xml_registry_start_element), (gst_xml_registry_save_feature):
6469 * gst/schedulers/threadscheduler.c:
6470 * libs/gst/control/dparammanager.h:
6471 * tools/gst-inspect.c: (print_element_list),
6472 (print_plugin_features), (print_element_features):
6473 * tools/gst-xmlinspect.c: (print_element_list),
6474 (print_plugin_info), (main):
6475 Removed plugable schedulers.
6476 Removed Scheduler/Manager from elements.
6477 Removed gsttypes.h, rearranged includes.
6478 Removed dependency pad<->element, element<>pipeline, and
6479 various others, fix includes.
6480 implement gst_pad_get_parent() with gst_object_get_parent()
6481 Make GstTask sefcontained.
6482 Fix _get_state() on GstBin, it did not return ASYNC with a 0
6484 Fix endless loop in iterator_fold_with_resync.
6487 2005-07-18 Wim Taymans <wim@fluendo.com>
6493 2005-07-18 Wim Taymans <wim@fluendo.com>
6498 2005-07-18 Wim Taymans <wim@fluendo.com>
6504 2005-07-18 Wim Taymans <wim@fluendo.com>
6506 * docs/design/part-dynamic.txt:
6507 * docs/design/part-events.txt:
6508 * docs/design/part-seeking.txt:
6509 Some more docs in the works.
6511 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
6512 (gst_base_transform_getcaps), (gst_base_transform_configure_caps),
6513 (gst_base_transform_setcaps), (gst_base_transform_get_size),
6514 (gst_base_transform_buffer_alloc), (gst_base_transform_event),
6515 (gst_base_transform_handle_buffer),
6516 (gst_base_transform_sink_activate_push),
6517 (gst_base_transform_src_activate_pull),
6518 (gst_base_transform_set_passthrough),
6519 (gst_base_transform_is_passthrough):
6522 * gst/gstbus.c: (gst_bus_source_dispatch), (gst_bus_poll):
6525 * gst/gstevent.c: (gst_event_finalize):
6528 * gst/gstutils.c: (gst_element_unlink),
6529 (gst_pad_get_parent_element), (gst_pad_proxy_getcaps),
6530 (gst_pad_proxy_setcaps):
6532 Add _get_parent_element() to get a pads parent as an element.
6534 2005-07-18 Wim Taymans <wim@fluendo.com>
6536 * check/gst/gstbin.c: (GST_START_TEST):
6539 2005-07-18 Wim Taymans <wim@fluendo.com>
6541 * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
6542 (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
6543 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
6544 (gst_base_sink_event), (gst_base_sink_do_sync),
6545 (gst_base_sink_chain), (gst_base_sink_loop),
6546 (gst_base_sink_deactivate), (gst_base_sink_activate_push),
6547 (gst_base_sink_activate_pull), (gst_base_sink_change_state):
6549 Fix logic for returning ASYNC when not prerolled.
6551 2005-07-18 Wim Taymans <wim@fluendo.com>
6553 * gst/gstqueue.c: (gst_queue_handle_sink_event):
6554 Fix nasty refcount bug.
6556 2005-07-16 Philippe Khalaf <burger@speedy.org>
6558 * gst/elements/gstfdsrc.c:
6559 * gst/elements/gstfdsrc.h:
6560 * gst/elements/gstelements.c:
6561 * gst/elements/Makefile.am:
6562 Ported fdsrc to 0.9.
6564 2005-07-16 Wim Taymans <wim@fluendo.com>
6566 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
6567 (gst_base_sink_do_sync):
6570 2005-07-16 Wim Taymans <wim@fluendo.com>
6572 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
6573 (gst_base_sink_event), (gst_base_sink_get_times),
6574 (gst_base_sink_do_sync), (gst_base_sink_change_state):
6575 * gst/base/gstbasesink.h:
6576 Store and use discont values when syncing buffers as described
6579 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
6580 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start),
6581 (gst_base_src_activate_push):
6582 Push discont event when starting.
6584 * gst/elements/gstidentity.c: (gst_identity_transform):
6587 * gst/gstbin.c: (gst_bin_change_state):
6588 Small cleanups in base_time distribution.
6590 * gst/gstelement.c: (gst_element_set_base_time),
6591 (gst_element_get_base_time), (gst_element_change_state):
6593 Added methods for the base_time of the element.
6596 * gst/gstpipeline.c: (gst_pipeline_send_event),
6597 (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
6598 (gst_pipeline_get_last_stream_time):
6599 * gst/gstpipeline.h:
6601 Handle seeking as described in design doc, remove stream_time
6603 Cleanups clock and stream_time selection code. Added accessors
6604 for the stream_time.
6607 2005-07-16 Andy Wingo <wingo@pobox.com>
6609 * gst/gsterror.c (_gst_core_errors_init): Use the magic word
6612 2005-07-16 Wim Taymans <wim@fluendo.com>
6614 * check/gst/gstbin.c: (GST_START_TEST):
6615 Make elements silent as the deep_notify refs the
6616 parent, which might make the test fail.
6618 * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
6619 Don't hold the lock for too long.
6621 2005-07-16 Tim-Philipp Müller <tim at centricular dot net>
6623 * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
6624 Don't unref the caps we passed to gst_caps_make_writable() after
6625 passing them. gst_caps_make_writable() will do that for us.
6627 2005-07-15 Andy Wingo <wingo@pobox.com>
6629 * gst/gstcaps.h (gst_caps_is_simple): Removed deprecated macro
6632 * gst/elements/gstidentity.c (marshal_VOID__MINIOBJECT): Write our
6633 own marshalling function for the handoff signal. Properly type the
6634 buffer as a buffer. Fixes some warnings. Should do a more general
6636 (gst_identity_class_init): Plug into the right marshaller.
6638 2005-07-15 Wim Taymans <wim@fluendo.com>
6640 * docs/design/part-TODO.txt:
6641 * docs/design/part-clocks.txt:
6642 * docs/design/part-element-sink.txt:
6643 * docs/design/part-events.txt:
6644 * docs/design/part-gstpipeline.txt:
6645 Updated docs, mostly DISCONT related.
6647 2005-07-15 Tim-Philipp Müller <tim at centricular dot net>
6649 * docs/pwg/building-pads.xml:
6650 s/GST_PAD_LINK_REFUSED/FALSE/ in gst_my_filter_setcaps()
6652 2005-07-15 Andy Wingo <wingo@pobox.com>
6654 * tools/gst-typefind.c: Update, add copyright block.
6656 * gst/base/gstbasesrc.c (gst_base_src_default_negotiate):
6657 Normalize and truncate caps before fixation.
6660 * gst/gstcaps.c (gst_caps_truncate): New function, destructively
6661 discards all but the first structure from its argument.
6663 2005-07-15 Wim Taymans <wim@fluendo.com>
6665 * gst/base/gstbasetransform.c: (gst_base_transform_init),
6666 (gst_base_transform_transform_caps), (gst_base_transform_getcaps),
6667 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
6668 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
6669 (gst_base_transform_handle_buffer), (gst_base_transform_getrange),
6670 (gst_base_transform_chain), (gst_base_transform_change_state),
6671 (gst_base_transform_set_passthrough),
6672 (gst_base_transform_is_passthrough):
6673 * gst/base/gstbasetransform.h:
6674 Make passthrough work using the bufferpools.
6675 Changed API a bit, subclasses have to write into a buffer
6676 provided by the base class.
6677 More debug info in nego functions.
6679 * gst/elements/gstidentity.c: (gst_identity_init),
6680 (gst_identity_transform):
6681 Port to new base class.
6683 2005-07-15 Wim Taymans <wim@fluendo.com>
6685 * gst/gstmessage.c: (gst_message_new_state_changed):
6686 * tools/gst-launch.c: (event_loop), (main):
6687 Totally dump messages in -launch with the -m option.
6688 Fix message name for State messages,
6690 2005-07-14 Wim Taymans <wim@fluendo.com>
6692 * gst/base/gstbasesrc.c: (gst_base_src_loop):
6693 Post error messages on errors.
6695 2005-07-14 Wim Taymans <wim@fluendo.com>
6697 * gst/gstcaps.c: (gst_caps_do_simplify):
6701 Define error for stream stopped.
6703 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
6704 (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange):
6705 Do proper return values.
6707 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
6708 (gst_pad_set_caps), (gst_pad_chain), (gst_pad_push),
6709 (gst_pad_get_range):
6710 Better return values.
6713 Reorganise return values, add macro to check for fatal errors.
6715 * gst/gstqueue.c: (gst_queue_chain):
6716 Return proper GstFlowReturn values,
6718 2005-07-14 Thomas Vander Stichele <thomas at apestaart dot org>
6720 * docs/gst/gstreamer-sections.txt:
6721 * docs/gst/gstreamer.types:
6722 * docs/gst/tmpl/gst.sgml:
6723 * docs/gst/tmpl/gstbasesink.sgml:
6724 * docs/gst/tmpl/gstbasesrc.sgml:
6725 * docs/gst/tmpl/gstbasetransform.sgml:
6726 * docs/gst/tmpl/gstbin.sgml:
6727 * docs/gst/tmpl/gstbuffer.sgml:
6728 * docs/gst/tmpl/gstcaps.sgml:
6729 * docs/gst/tmpl/gstclock.sgml:
6730 * docs/gst/tmpl/gstcompat.sgml:
6731 * docs/gst/tmpl/gstconfig.sgml:
6732 * docs/gst/tmpl/gstelement.sgml:
6733 * docs/gst/tmpl/gstelementdetails.sgml:
6734 * docs/gst/tmpl/gstelementfactory.sgml:
6735 * docs/gst/tmpl/gstenumtypes.sgml:
6736 * docs/gst/tmpl/gsterror.sgml:
6737 * docs/gst/tmpl/gstevent.sgml:
6738 * docs/gst/tmpl/gstfakesink.sgml:
6739 * docs/gst/tmpl/gstfakesrc.sgml:
6740 * docs/gst/tmpl/gstfilesink.sgml:
6741 * docs/gst/tmpl/gstfilesrc.sgml:
6742 * docs/gst/tmpl/gstfilter.sgml:
6743 * docs/gst/tmpl/gstformat.sgml:
6744 * docs/gst/tmpl/gstghostpad.sgml:
6745 * docs/gst/tmpl/gstimplementsinterface.sgml:
6746 * docs/gst/tmpl/gstindex.sgml:
6747 * docs/gst/tmpl/gstindexfactory.sgml:
6748 * docs/gst/tmpl/gstinfo.sgml:
6749 * docs/gst/tmpl/gstiterator.sgml:
6750 * docs/gst/tmpl/gstmacros.sgml:
6751 * docs/gst/tmpl/gstmemchunk.sgml:
6752 * docs/gst/tmpl/gstminiobject.sgml:
6753 * docs/gst/tmpl/gstobject.sgml:
6754 * docs/gst/tmpl/gstpad.sgml:
6755 * docs/gst/tmpl/gstpadtemplate.sgml:
6756 * docs/gst/tmpl/gstparse.sgml:
6757 * docs/gst/tmpl/gstpipeline.sgml:
6758 * docs/gst/tmpl/gstplugin.sgml:
6759 * docs/gst/tmpl/gstpluginfeature.sgml:
6760 * docs/gst/tmpl/gstquery.sgml:
6761 * docs/gst/tmpl/gstqueue.sgml:
6762 * docs/gst/tmpl/gstregistry.sgml:
6763 * docs/gst/tmpl/gstregistrypool.sgml:
6764 * docs/gst/tmpl/gstscheduler.sgml:
6765 * docs/gst/tmpl/gstschedulerfactory.sgml:
6766 * docs/gst/tmpl/gststructure.sgml:
6767 * docs/gst/tmpl/gstsystemclock.sgml:
6768 * docs/gst/tmpl/gsttaglist.sgml:
6769 * docs/gst/tmpl/gsttagsetter.sgml:
6770 * docs/gst/tmpl/gsttrace.sgml:
6771 * docs/gst/tmpl/gsttrashstack.sgml:
6772 * docs/gst/tmpl/gsttypefind.sgml:
6773 * docs/gst/tmpl/gsttypefindfactory.sgml:
6774 * docs/gst/tmpl/gsttypes.sgml:
6775 * docs/gst/tmpl/gsturihandler.sgml:
6776 * docs/gst/tmpl/gsturitype.sgml:
6777 * docs/gst/tmpl/gstutils.sgml:
6778 * docs/gst/tmpl/gstvalue.sgml:
6779 * docs/gst/tmpl/gstversion.sgml:
6780 * docs/gst/tmpl/gstxml.sgml:
6781 * docs/libs/tmpl/gstcontrol.sgml:
6782 * docs/libs/tmpl/gstdataprotocol.sgml:
6783 * docs/libs/tmpl/gstdparam.sgml:
6784 * docs/libs/tmpl/gstdplinint.sgml:
6785 * docs/libs/tmpl/gstdpman.sgml:
6786 * docs/libs/tmpl/gstdpsmooth.sgml:
6787 * docs/libs/tmpl/gstgetbits.sgml:
6788 * docs/libs/tmpl/gstunitconvert.sgml:
6789 * gst/base/gstpushsrc.c: (gst_push_src_get_type),
6790 (gst_push_src_base_init), (gst_push_src_class_init),
6791 (gst_push_src_init), (gst_push_src_create):
6792 * gst/base/gstpushsrc.h:
6793 * gst/elements/gstelements.c:
6794 * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type),
6795 (gst_fake_sink_base_init), (gst_fake_sink_class_init),
6796 (gst_fake_sink_init), (gst_fake_sink_set_property),
6797 (gst_fake_sink_get_property), (gst_fake_sink_get_times),
6798 (gst_fake_sink_event), (gst_fake_sink_preroll),
6799 (gst_fake_sink_render), (gst_fake_sink_change_state):
6800 * gst/elements/gstfakesink.h:
6801 * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
6802 (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
6803 (gst_fake_src_base_init), (gst_fake_src_class_init),
6804 (gst_fake_src_init), (gst_fake_src_event_handler),
6805 (gst_fake_src_alloc_parent), (gst_fake_src_set_property),
6806 (gst_fake_src_get_property), (gst_fake_src_prepare_buffer),
6807 (gst_fake_src_alloc_buffer), (gst_fake_src_get_size),
6808 (gst_fake_src_create_buffer), (gst_fake_src_create),
6809 (gst_fake_src_start), (gst_fake_src_stop):
6810 * gst/elements/gstfakesrc.h:
6811 * gst/elements/gstfilesink.c: (_do_init),
6812 (gst_file_sink_base_init), (gst_file_sink_class_init),
6813 (gst_file_sink_init), (gst_file_sink_dispose),
6814 (gst_file_sink_set_location), (gst_file_sink_set_property),
6815 (gst_file_sink_get_property), (gst_file_sink_open_file),
6816 (gst_file_sink_close_file), (gst_file_sink_query),
6817 (gst_file_sink_event), (gst_file_sink_render),
6818 (gst_file_sink_change_state), (gst_file_sink_uri_get_type),
6819 (gst_file_sink_uri_get_protocols), (gst_file_sink_uri_get_uri),
6820 (gst_file_sink_uri_set_uri), (gst_file_sink_uri_handler_init):
6821 * gst/elements/gstfilesink.h:
6822 * gst/elements/gstfilesrc.c: (_do_init), (gst_file_src_base_init),
6823 (gst_file_src_class_init), (gst_file_src_init),
6824 (gst_file_src_finalize), (gst_file_src_set_location),
6825 (gst_file_src_set_property), (gst_file_src_get_property),
6826 (gst_file_src_map_region), (gst_file_src_map_small_region),
6827 (gst_file_src_create_mmap), (gst_file_src_create_read),
6828 (gst_file_src_create), (gst_file_src_is_seekable),
6829 (gst_file_src_get_size), (gst_file_src_start), (gst_file_src_stop),
6830 (gst_file_src_uri_get_type), (gst_file_src_uri_get_protocols),
6831 (gst_file_src_uri_get_uri), (gst_file_src_uri_set_uri),
6832 (gst_file_src_uri_handler_init):
6833 * gst/elements/gstfilesrc.h:
6834 more autistic cleanliness in functions/names/defines
6836 2005-07-13 Andy Wingo <wingo@pobox.com>
6838 * gst/base/gstbasesrc.c (gst_base_src_start): Post an error if the
6839 source couldn't negotiate.
6841 * gst/parse/grammar.y: Revert 1.54->1.55, so we now do filtered
6845 * gst/gstutils.c (gst_element_link_pads_filtered): New old
6846 function. I am channeling Hades. Put your boots on suckers!!!
6848 2005-07-13 Thomas Vander Stichele <thomas at apestaart dot org>
6850 * testsuite/caps/Makefile.am:
6851 * testsuite/caps/value_compare.c:
6852 * testsuite/caps/value_intersect.c:
6853 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
6854 move two testsuite apps over to the check dir
6856 2005-07-12 Wim Taymans <wim@fluendo.com>
6858 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
6859 Added more debug info in the negotiate process.
6862 Prepare for segment playback.
6864 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps):
6870 * tools/gst-launch.c: (main):
6871 NULL pipeline on errors.
6873 2005-07-12 Andy Wingo <wingo@pobox.com>
6875 * gst/gstbuffer.c (_gst_buffer_copy): Copy the buffer whether or
6876 not it comes from a malloc region. Make sure our copy gets freed.
6878 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
6880 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
6881 * check/gst/gstmessage.c: (GST_START_TEST):
6882 * check/gst/gststructure.c: (GST_START_TEST),
6883 (gst_structure_suite), (main):
6885 * gst/gstelement.c: (gst_element_message_full):
6886 clean up GError and debug string now that they get copied
6887 * gst/gstmessage.c: (gst_message_new_error),
6888 (gst_message_new_warning), (gst_message_parse_error),
6889 (gst_message_parse_warning):
6890 use GST_TYPE_G_ERROR for structure_new, and take copies of
6891 arguments, so that we don't mess up refcounting
6893 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
6895 * check/Makefile.am:
6896 add per-test valgrind targets
6897 * check/gst-libs/gdp.c: (GST_START_TEST),
6898 (gst_data_protocol_suite), (main):
6901 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
6903 * check/Makefile.am:
6904 instate more valgrindable tests
6905 * check/elements/gstfakesrc.c: (chain_func), (event_func),
6906 (GST_START_TEST), (fakesrc_suite):
6907 * check/gst/gstpad.c: (GST_START_TEST):
6908 * check/gst/gststructure.c: (GST_START_TEST):
6910 * docs/gst/tmpl/gstminiobject.sgml:
6911 * gst/gstpad.c: (gst_pad_finalize):
6912 fix the static mutex leak
6914 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
6916 * check/Makefile.am:
6917 add two more tests for valgrinding
6918 * check/gst/gstvalue.c: (GST_START_TEST):
6919 test refcount of deserialized buffer, found a leak
6920 * docs/gst/gstreamer-docs.sgml:
6921 * docs/gst/gstreamer-sections.txt:
6922 * docs/gst/gstreamer.types:
6923 * docs/gst/tmpl/gstminiobject.sgml:
6924 add miniobject to docs
6925 * gst/gstminiobject.c:
6927 * gst/gstvalue.c: (gst_value_deserialize_buffer),
6928 (gst_string_unwrap):
6929 fix a hard-to-find invalid write for one of the tests
6930 fix a leak for deserialized buffers
6932 2005-07-11 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
6934 * docs/pwg/advanced-events.xml:
6935 * docs/pwg/advanced-request.xml:
6936 * docs/pwg/advanced-scheduling.xml:
6937 * docs/pwg/appendix-porting.xml:
6938 * docs/pwg/building-boiler.xml:
6939 * docs/pwg/intro-preface.xml:
6940 * docs/pwg/other-ntoone.xml:
6941 Rewrite scheduling-chapter for scheduling model in 0.9. Add lots
6942 of example code and explanation for pad activation, loop() and
6943 getrange() functions and a bit more. Remove old comments pointing
6945 * examples/pwg/Makefile.am:
6946 Add loop/getrange examples.
6948 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
6951 check for valgrind binary + some fixes
6953 valgrind suppressions for the tests
6954 * check/Makefile.am:
6955 add a valgrind: target that valgrinds the unit tests
6956 * check/gst/gst.c: (GST_START_TEST), (gst_suite):
6957 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
6958 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
6959 * check/gst/gstghostpad.c:
6961 * check/gst/gstdata.c:
6963 * check/gst/gstminiobject.c: (GST_START_TEST), (thread_ref),
6964 (thread_unref), (gst_mini_object_suite), (main):
6966 * gst/gst.c: (gst_deinit):
6968 add a method to clean up.
6969 * gst/gstsystemclock.c: (gst_system_clock_dispose),
6970 (gst_system_clock_obtain):
6971 allow for disposing the system clock.
6972 * tools/gst-launch.c: (main):
6975 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
6977 * docs/gst/tmpl/gstbasesrc.sgml:
6978 * docs/gst/tmpl/gstfakesrc.sgml:
6979 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
6980 (gst_base_src_init), (gst_base_src_set_property),
6981 (gst_base_src_get_property), (gst_base_src_get_range),
6982 (gst_base_src_start):
6983 * gst/base/gstbasesrc.h:
6984 add num-buffers property
6985 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
6986 (gst_fakesrc_init), (gst_fakesrc_set_property),
6987 (gst_fakesrc_get_property), (gst_fakesrc_create),
6988 (gst_fakesrc_start):
6989 remove num-buffers property
6991 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
6993 * docs/gst/gstreamer-sections.txt:
6994 * docs/gst/tmpl/gstbasesink.sgml:
6995 * docs/gst/tmpl/gstbasesrc.sgml:
6996 * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
6997 (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
6998 (gst_base_sink_finalize), (gst_base_sink_set_clock),
6999 (gst_base_sink_set_property), (gst_base_sink_get_property),
7000 (gst_base_sink_handle_object), (gst_base_sink_event),
7001 (gst_base_sink_do_sync), (gst_base_sink_handle_event),
7002 (gst_base_sink_handle_buffer), (gst_base_sink_chain),
7003 (gst_base_sink_loop), (gst_base_sink_deactivate),
7004 (gst_base_sink_activate_push), (gst_base_sink_activate_pull),
7005 (gst_base_sink_change_state):
7006 * gst/base/gstbasesink.h:
7007 * gst/base/gstbasesrc.h:
7008 * gst/elements/gstfakesink.c: (gst_fakesink_get_times):
7009 * gst/elements/gstfilesink.c: (gst_filesink_class_init),
7010 (gst_filesink_init):
7011 more macro splitting
7013 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
7015 * gst/gstelement.c: (gst_element_get_bus):
7017 * tools/gst-launch.c: (check_intr), (event_loop):
7020 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
7022 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
7025 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
7027 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
7028 (gst_base_src_finalize):
7029 add finalize method and clean up properly
7030 * gst/gstpipeline.c: (gst_pipeline_dispose):
7033 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
7035 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST),
7037 add more things to check
7038 * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
7042 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
7044 * check/elements/gstfakesrc.c: (chain_func), (event_func),
7045 (GST_START_TEST), (fakesrc_suite):
7046 * check/gst-libs/gdp.c: (GST_START_TEST):
7047 * check/gst/gst.c: (GST_START_TEST):
7048 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
7049 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
7050 * check/gst/gstbus.c: (GST_START_TEST):
7051 * check/gst/gstcaps.c: (GST_START_TEST):
7052 * check/gst/gstdata.c: (GST_START_TEST):
7053 * check/gst/gstelement.c: (GST_START_TEST):
7054 * check/gst/gstghostpad.c: (GST_START_TEST):
7055 * check/gst/gstiterator.c: (GST_START_TEST):
7056 * check/gst/gstmessage.c: (GST_START_TEST):
7057 * check/gst/gstobject.c: (GST_START_TEST):
7058 * check/gst/gstpad.c: (GST_START_TEST):
7059 * check/gst/gststructure.c: (GST_START_TEST):
7060 * check/gst/gstsystemclock.c: (GST_START_TEST),
7061 (gst_systemclock_suite):
7062 * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
7063 * check/gst/gstvalue.c: (GST_START_TEST):
7064 * check/pipelines/cleanup.c: (GST_START_TEST):
7065 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
7066 * check/states/sinks.c: (GST_START_TEST):
7067 * check/gstcheck.c: (gst_check_init):
7069 add debugging category
7070 use GST_START_TEST now, so we add a debug line
7072 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
7074 * check/gst/gstbin.c: (START_TEST), (gst_bin_suite):
7075 add test for state change message on a bin
7076 * check/gst/gstelement.c: (START_TEST), (gst_element_suite):
7078 * gst/gstbin.c: (gst_bin_init):
7079 * gst/gstbus.c: (gst_bus_init), (gst_bus_post):
7080 * gst/gstelement.c: (gst_element_post_message),
7081 (gst_element_set_state):
7082 * gst/gstelementfactory.c: (gst_element_factory_create):
7083 * gst/gstmessage.c: (gst_message_new):
7084 * gst/gstscheduler.c:
7085 various debugging additions and cleanups
7087 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
7089 * check/Makefile.am:
7090 * check/gst/gstelement.c: (START_TEST), (gst_element_suite),
7092 adding tests for elements
7093 * gst/gstelement.c: (gst_element_dispose):
7095 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
7097 * gst/registries/gstlibxmlregistry.c: (load_feature):
7098 plug more leaks. A simple gst_init() now is leakfree, yay.
7100 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
7102 * gst/registries/gstlibxmlregistry.c: (read_string), (load_paths),
7103 (gst_xml_registry_load):
7104 plug another memleak
7106 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
7109 use GST_SET_ERROR_CFLAGS
7111 change to ERROR_CFLAGS
7113 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
7116 make GST_ERROR_CFLAGS overridable and re-enable Werror
7118 add a note about error CFLAGS
7119 * docs/gst/tmpl/gstfakesrc.sgml:
7120 * gst/elements/gstfakesrc.c:
7121 comment out some unused code
7122 * gst/gst.c: (split_and_iterate):
7123 * gst/registries/gstlibxmlregistry.c: (load_pad_template),
7127 2005-07-07 Thomas Vander Stichele <thomas at apestaart dot org>
7129 * common/Makefile.am:
7130 * common/gtk-doc.mak:
7131 * docs/gst/Makefile.am:
7132 factor out gtk-doc.mak
7134 2005-07-07 Wim Taymans <wim@fluendo.com>
7136 * gst/schedulers/threadscheduler.c: (gst_thread_scheduler_func),
7137 (gst_thread_scheduler_dispose):
7138 Unlock the STREAM_LOCK completely.
7140 2005-07-07 Thomas Vander Stichele <thomas at apestaart dot org>
7142 * check/Makefile.am:
7143 * check/elements/.cvsignore:
7144 * check/elements/gstfakesrc.c: (chain_func), (event_func),
7145 (START_TEST), (fakesrc_suite), (main):
7146 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
7147 (gst_fakesrc_set_property), (gst_fakesrc_get_property),
7148 (gst_fakesrc_create), (gst_fakesrc_start):
7149 * gst/elements/gstfakesrc.h:
7150 adding a first element test
7152 2005-07-07 Andy Wingo <wingo@pobox.com>
7154 * gst/gstbus.c (gst_bus_have_pending): Remove intensely irritating
7157 2005-07-07 Wim Taymans <wim@fluendo.com>
7163 2005-07-07 Wim Taymans <wim@fluendo.com>
7165 * gst/base/gstbasesrc.c: (gst_base_src_get_range),
7166 (gst_base_src_default_negotiate), (gst_base_src_negotiate):
7167 Allow subclasses to implement their own negotiation.
7169 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
7171 * docs/design/part-gstbin.txt:
7172 * docs/design/part-gstpipeline.txt:
7173 Update design notes to reflect the movement of
7174 responsibility for bus handling from GstPipeline to
7177 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
7180 Remove unnecessary queue2/3/4 examples.
7182 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
7184 * examples/Makefile.am:
7185 * examples/helloworld/helloworld.c: (event_loop), (main):
7186 * examples/queue/queue.c: (event_loop), (main):
7187 * examples/queue2/queue2.c: (main):
7188 Update a couple of the examples to work again.
7190 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
7191 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_event):
7192 Spelling corrections and extra debug.
7194 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init), (is_eos),
7195 (gst_bin_add_func), (bin_element_is_sink), (gst_bin_get_state),
7196 (gst_bin_change_state), (gst_bin_dispose), (bin_bus_handler):
7198 * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
7199 (gst_pipeline_change_state):
7200 * gst/gstpipeline.h:
7201 Move the bus handler for children to the GstBin, and create a
7202 separate bus for receiving messages from children to the one the
7203 bus sends 'upwards' on.
7205 2005-07-06 Wim Taymans <wim@fluendo.com>
7208 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
7209 (gst_base_sink_handle_object), (gst_base_sink_loop),
7210 (gst_base_sink_change_state):
7211 * gst/base/gstbasesink.h:
7212 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
7213 (gst_base_src_init), (gst_base_src_setcaps),
7214 (gst_base_src_getcaps), (gst_base_src_loop),
7215 (gst_base_src_default_negotiate), (gst_base_src_negotiate),
7216 (gst_base_src_start), (gst_base_src_change_state):
7217 * gst/base/gstbasesrc.h:
7218 Make basesrc negotiate.
7219 Handle the case where preroll fails in basesink.
7222 2005-07-06 Wim Taymans <wim@fluendo.com>
7224 * gst/gstpad.c: (gst_pad_fixate_caps), (gst_pad_accept_caps):
7225 Implement the fixate function.
7226 Clean up acceptcaps.
7228 2005-07-06 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7230 * docs/pwg/building-filterfactory.xml:
7232 Remove never-written filter-factory chapter; I'll add the various
7233 base classes to part 4 ("other element types") later on.
7235 2005-07-06 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7237 * docs/pwg/advanced-negotiation.xml:
7238 * docs/pwg/building-boiler.xml:
7239 * docs/pwg/building-pads.xml:
7241 * examples/pwg/Makefile.am:
7242 Add a chapter on caps negotiation, simplify the original code
7243 samples a bit w.r.t. caps negotiation, add link to the advanced
7244 section. Add a bunch of examples showing different use cases of
7245 different types of caps negotiation. Upstream renegotiation isn't
7246 fully documented yet since nobody knows how that works.
7248 2005-07-06 Thomas Vander Stichele <thomas at apestaart dot org>
7250 * check/gst/gstpad.c:
7252 * gst/gstpad.c: (gst_pad_get_internal_links_default):
7253 if pad has no parent, return NULL as list of internal links
7255 2005-07-05 Andy Wingo <wingo@pobox.com>
7257 * gst/elements/gstfilesrc.c:
7258 * gst/elements/gstfakesrc.c:
7259 * gst/base/gstpushsrc.c:
7260 * gst/base/gstbasesrc.h:
7261 * gst/base/gstbasesrc.c: s/BASESRC/BASE_SRC/g.
7263 2005-07-05 Stefan Kost <ensonic@users.sf.net>
7266 better report generation target (lcov needs a patch)
7268 2005-07-05 Andy Wingo <wingo@pobox.com>
7270 * gst/elements, testsuite: Null if we got it...
7272 2005-07-05 Wim Taymans <wim@fluendo.com>
7275 * libs/gst/dataprotocol/Makefile.am:
7276 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_validate_packet):
7277 * libs/gst/dataprotocol/dataprotocol.h:
7278 * pkgconfig/Makefile.am:
7279 * pkgconfig/gstreamer-dataprotocol-uninstalled.pc.in:
7280 * pkgconfig/gstreamer-dataprotocol.pc.in:
7281 Ported dataprotol to 0.9.
7282 Added pkgconfig files.
7284 2005-07-05 Andy Wingo <wingo@pobox.com>
7286 * gst/base/gstbasetransform.c (gst_base_transform_setcaps):
7287 Default to returning TRUE for the case when tranform_caps returns
7288 a fixed caps, like for identity or volume.
7290 * check/gst/gstbus.c (pound_bus_with_messages):
7291 * check/gst/gstmessage.c (START_TEST):
7292 * check/pipelines/simple_launch_lines.c (got_handoff): Application
7295 * gst/base/gstbasetransform.c (gst_base_transform_setcaps): More
7296 logic weaks here: always run transform_caps, trying passthrough
7297 operation only if the original caps intersects with the transform.
7299 * gst/gstpad.c (gst_pad_link_check_compatible_unlocked): Debug
7300 source and sink caps.
7302 * gst/base/gstbasetransform.c (gst_base_transform_getcaps):
7303 Intersect the peer caps with the pad template before going into
7305 (gst_base_transform_transform_caps): More debugging.
7307 * gst/gstmessage.h (gst_message_new_application): Take a GstObject
7310 2005-07-04 Edward Hervey <edward@fluendo.com>
7314 (gst_pad_add_*_probe): now returns the signal id for better wrapping
7317 2005-07-04 Andy Wingo <wingo@pobox.com>
7319 * check/gst/gstpad.c: Only set explicit caps on pads.
7321 2005-07-01 Andy Wingo <wingo@pobox.com>
7323 * tests/network-clock.scm: Commentary update.
7325 * gst/elements/gstidentity.c (PROP_DUPLICATE): Gone daddy gone.
7326 Didn't really make sense, not implementable with basetransform,
7328 (gst_identity_transform): Unref inbuf via make_writable. Feeble
7329 attempt at implementing the sync property, needs an unlock method.
7331 * gst/base/gstbasetransform.c (gst_base_transform_transform_caps):
7332 New func, by default returns the same caps (the identity
7334 (gst_base_transform_getcaps): Uses transform_caps to return
7336 (gst_base_transform_setcaps): Complicated logic to get caps on
7337 both pads, even if they are different, and to call set_caps once
7338 for every time both pads get their caps set.
7339 (gst_base_transform_handle_buffer): Give the ref to the transform
7340 function. Allows in-place modification of the buffer.
7342 * gst/base/gstbasetransform.h (transform_caps): New class method.
7343 Given caps on one side, what can I do on the other.
7344 (set_caps): Take two caps, one for each side of the element.
7347 * gst/gstpad.c (gst_pad_fixate_caps): Change prototype to modify
7348 caps in place. This is safe because we can check the mutability of
7349 the caps, and a good idea because fixate functions are just called
7350 as a matter of last resort. (Not actually implemented.)
7351 (gst_pad_set_caps): If the caps we're setting is actually the same
7352 as the existing pad caps, just update the pointer without calling
7353 setcaps. Assert that caps is either NULL or fixed, as per the
7356 * gst/gstghostpad.c: Update for fixate changes.
7358 2005-07-02 Andy Wingo <wingo@pobox.com>
7361 * gst/gstcaps.h (gst_static_caps_get): Not const return, having
7362 two refcounts makes it immutable, which is enough. Doc more.
7364 2005-07-02 Jan Schmidt <thaytan@mad.scientist.com>
7366 * gst/gstpad.c: (gst_pad_emit_have_data_signal):
7367 Put the mini_object into GValue as a mini_object,
7368 not a gpointer, since that's how we declared
7371 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7373 * examples/pwg/Makefile.am:
7376 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7378 * docs/pwg/building-testapp.xml:
7380 * examples/pwg/Makefile.am:
7383 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7386 * examples/Makefile.am:
7387 * examples/pwg/Makefile.am:
7388 * examples/pwg/extract.pl:
7389 Enable building the PWG examples.
7390 * docs/pwg/advanced-interfaces.xml:
7391 Add URI interface stub.
7392 * docs/pwg/advanced-types.xml:
7393 * docs/pwg/other-autoplugger.xml:
7394 * docs/pwg/appendix-porting.xml:
7396 Add porting guide (mostly stubs), remove autoplugging (see ADM).
7397 * docs/pwg/building-boiler.xml:
7398 * docs/pwg/building-chainfn.xml:
7399 * docs/pwg/building-pads.xml:
7400 * docs/pwg/building-props.xml:
7401 * docs/pwg/building-state.xml:
7402 * docs/pwg/building-testapp.xml:
7403 Update the building-*.xml parts for 0.9 changes. All examples
7404 code blocks compile in examples/pwg/*.
7406 2005-06-30 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7408 * docs/manual/advanced-autoplugging.xml:
7409 * docs/manual/appendix-checklist.xml:
7410 * docs/manual/appendix-integration.xml:
7411 * docs/manual/highlevel-components.xml:
7412 Fix playbin/decodebin examples, update docs a bit, mention bus
7413 instead of signals in various places, mention kmplayer and
7414 kaffeine since they have a working GStreamer backend in the KDE
7417 2005-06-30 Wim Taymans <wim@fluendo.com>
7420 * docs/design/draft-ghostpads.txt:
7421 * docs/design/draft-push-pull.txt:
7422 * docs/design/draft-query.txt:
7423 * docs/design/part-TODO.txt:
7424 * docs/design/part-query.txt:
7425 Added CHANGES-0.9 doc, updated status of other docs.
7430 2005-06-30 Wim Taymans <wim@fluendo.com>
7432 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
7433 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
7434 (gst_base_sink_change_state):
7435 * gst/base/gstbasesink.h:
7436 Some tweaks, only EOS and a buffer complete a preroll.
7438 2005-06-30 Andy Wingo <wingo@pobox.com>
7440 * gst/gstghostpad.c (gst_ghost_pad_do_activate_push): Proxy
7441 activate_push down to the internal pad as well.
7443 2005-06-30 Torsten Schoenfeld <kaffeetisch@gmx.de>
7445 Reviewed by: Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7447 * gst/gsttaginterface.c:
7448 Some documentation fixes (#307394 and #307397).
7450 2005-06-30 Antoine Tremblay <hexa00@gmail.com>
7452 Reviewed by: Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7454 * gst/gstvalue.c: (gst_value_intersect_list):
7455 Fix memleak (#309125).
7457 2005-06-30 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7459 * docs/manual/advanced-dataaccess.xml:
7460 Fix fakesrc example to compile; doesn't work, bug somewhere...?
7461 * docs/manual/basics-pads.xml:
7462 Add reference for filtered caps to above chapter.
7464 2005-06-30 Wim Taymans <wim@fluendo.com>
7466 * gst/gstbin.c: (clear_queue), (remove_all_from_queue),
7467 (gst_bin_change_state):
7469 Lame attempt at making the state change function a bit
7472 2005-06-30 Wim Taymans <wim@fluendo.com>
7474 * docs/design/part-clocks.txt:
7475 * docs/design/part-element-sink.txt:
7476 * docs/design/part-events.txt:
7477 * docs/design/part-preroll.txt:
7478 * docs/design/part-states.txt:
7479 Some more tweeks and additions to the docs.
7481 2005-06-30 Wim Taymans <wim@fluendo.com>
7483 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
7484 (default_have_data), (gst_pad_class_init), (gst_pad_init),
7485 (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
7486 (gst_pad_check_pull_range), (gst_pad_get_range),
7487 (gst_pad_pull_range), (gst_pad_push_event), (gst_pad_send_event):
7489 * gst/gstutils.c: (gst_atomic_int_set), (gst_pad_add_data_probe),
7490 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
7491 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
7492 (gst_pad_remove_buffer_probe):
7493 Removed atomic operations, use existing LOCK.
7494 Move exception handling out of main code path.
7496 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7498 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
7499 (silly_return_true_function), (gst_pad_class_init),
7500 (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
7501 (gst_pad_get_range), (gst_pad_pull_range), (gst_pad_push_event),
7502 (gst_pad_send_event):
7503 Fix accumulator, add default value by using _emitv() instead
7504 of _emit() for signal emission.
7506 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7508 * docs/manual/advanced-dataaccess.xml:
7509 * examples/manual/Makefile.am:
7511 * gst/gstpad.c: (_gst_do_pass_data_accumulator):
7514 2005-06-29 Tim-Philipp Müller <tim at centricular dot net>
7516 * gst/elements/gstfilesink.c: (gst_filesink_render):
7517 Simplify code so that we don't have to handle short
7518 writes and return GST_FLOW_ERROR if an error occured.
7520 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7522 * docs/gst/gstreamer-docs.sgml:
7525 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7527 * docs/gst/gstreamer-sections.txt:
7528 * docs/gst/tmpl/gstpad.sgml:
7529 * docs/gst/tmpl/gstprobe.sgml:
7531 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
7532 (gst_pad_class_init), (gst_pad_init), (gst_pad_chain),
7533 (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
7534 (gst_pad_push_event), (gst_pad_send_event):
7536 * gst/gstutils.c: (gst_pad_add_data_probe),
7537 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
7538 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
7539 (gst_pad_remove_buffer_probe):
7541 Remove old probes, add new g-signal-based probes and some utility
7544 2005-06-29 Edward Hervey <edward@fluendo.com>
7546 * gst/gstelementfactory.c:
7549 Moved gst_element_factory_can_[sink|src]_caps() to gstutils and added
7550 the definition to the header file.
7552 2005-06-29 Andy Wingo <wingo@pobox.com>
7554 * docs/gst/Makefile.am (scan-build.stamp): Totally only check
7555 plugins from the source directory.
7557 2005-06-29 Wim Taymans <wim@fluendo.com>
7559 * docs/gst/tmpl/gstbuffer.sgml:
7560 * docs/gst/tmpl/gstclock.sgml:
7561 Some fixings for blantently wrong text.
7563 2005-06-29 Thomas Vander Stichele <thomas at apestaart dot org>
7565 * check/Makefile.am:
7566 * gst/gst.c: (add_path_func), (init_pre):
7567 * gst/gstregistry.c: (gst_registry_add_path):
7568 add A GST_PLUGIN_PATH_ONLY env var; if it is set, it will
7569 only scan the GST_PLUGIN_PATH locations, and not add
7572 2005-06-29 Thomas Vander Stichele <thomas at apestaart dot org>
7574 * docs/gst/gstreamer-sections.txt:
7575 * docs/gst/tmpl/gstbasesrc.sgml:
7582 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7584 * docs/manual/advanced-autoplugging.xml:
7585 Fix autoplugging example.
7587 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7589 * docs/manual/advanced-autoplugging.xml:
7590 * docs/manual/mime-world.fig:
7591 Try to get autoplugging working, fix type detection. Fix text
7592 in hello-world image.
7594 2005-06-29 Wim Taymans <wim@fluendo.com>
7596 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
7597 (gst_base_sink_change_state):
7601 map SIGNAL and BROADCAST to the right function.
7604 Remove redundant braces.
7606 * gst/gstpad.c: (gst_pad_set_caps):
7607 Don't call setcaps function when reseting caps to NULL.
7609 * gst/gstsystemclock.c: (gst_system_clock_dispose),
7610 (gst_system_clock_async_thread), (gst_system_clock_id_wait_async),
7611 (gst_system_clock_id_unschedule):
7612 Use BROADCAST as this is what we do.
7614 2005-06-29 Wim Taymans <wim@fluendo.com>
7616 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
7617 We are actually prerolling before commiting the state
7620 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7622 * docs/manual/advanced-clocks.xml:
7623 * docs/manual/advanced-interfaces.xml:
7624 * docs/manual/advanced-metadata.xml:
7625 * docs/manual/advanced-position.xml:
7626 * docs/manual/advanced-schedulers.xml:
7627 * docs/manual/advanced-threads.xml:
7628 * docs/manual/appendix-porting.xml:
7629 * docs/manual/basics-bins.xml:
7630 * docs/manual/basics-bus.xml:
7631 * docs/manual/basics-elements.xml:
7632 * docs/manual/basics-helloworld.xml:
7633 * docs/manual/basics-pads.xml:
7634 * docs/manual/highlevel-components.xml:
7635 * docs/manual/manual.xml:
7636 * docs/manual/thread.fig:
7637 Update (until threads/scheduling) Application Development Manual;
7638 remove GstThread, add GstBus, add simple porting checklist, add
7639 documentation for tag writing, clocks, make all examples until this
7640 part compile and run.
7641 * examples/manual/Makefile.am:
7642 Update from changes to Application Development Manual; add bus
7643 example, remove thread example.
7645 2005-06-28 Wim Taymans <wim@fluendo.com>
7647 * gst/gstbus.c: (gst_bus_post), (gst_bus_have_pending),
7648 (gst_bus_set_flushing), (gst_bus_pop), (gst_bus_peek),
7649 (gst_bus_source_dispatch):
7650 Add debugging messages.
7651 Make internal methods static.
7652 Handle the case where the bus is flushed in the handler.
7654 * gst/gstelement.c: (gst_element_get_bus):
7655 Fix refcount in _get_bus();
7657 * gst/gstpipeline.c: (gst_pipeline_change_state),
7658 (gst_pipeline_get_clock_func):
7659 Clock refcounting fixes.
7660 Handle the case where preroll timed out more gracefully.
7662 * gst/gstsystemclock.c: (gst_system_clock_dispose):
7663 Clean up the internal thread in dispose. This is needed
7664 for subclasses that actually get disposed.
7666 * gst/schedulers/threadscheduler.c:
7667 (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
7668 (gst_thread_scheduler_dispose):
7669 Free thread pool in dispose.
7671 2005-06-28 Andy Wingo <wingo@pobox.com>
7673 * tests/network-clock-utils.scm (debug, print-event): New utils.
7675 * tests/network-clock.scm (*debug*, *with-graph*): New parameters.
7676 (*packet-loss*): Unified loss probability.
7677 (network-time): Report out-of-band events.
7679 * tests/plot-data: Add support for out-of-band events. Hack it
7680 into this script instead of passing it down the pipe; should fix
7683 2005-06-28 Wim Taymans <wim@fluendo.com>
7685 * docs/gst/gstreamer.types:
7686 * docs/gst/tmpl/gstbasesrc.sgml:
7687 * docs/gst/tmpl/gstpad.sgml:
7690 2005-06-28 Wim Taymans <wim@fluendo.com>
7692 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
7693 (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_acceptcaps),
7694 (gst_proxy_pad_do_fixatecaps):
7695 Correctly proxy the check_pull_range function.
7697 2005-06-28 Andy Wingo <wingo@pobox.com>
7699 * tests/network-clock.scm: Removed need for slib.
7701 2005-06-28 Wim Taymans <wim@fluendo.com>
7703 * gst/base/gstbasesink.c: (gst_basesink_set_pad_functions),
7704 (gst_basesink_preroll_queue_flush):
7705 * gst/base/gstbasesrc.c: (gst_basesrc_set_dataflow_funcs):
7706 * gst/elements/gsttee.c: (gst_tee_update_pad_functions):
7707 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
7708 (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
7709 (gst_proxy_pad_set_property):
7712 * gst/gstqueue.c: (gst_queue_init):
7713 The deprecated pad loop function is removed now.
7715 2005-06-28 Andy Wingo <wingo@pobox.com>
7717 * tests/network-clock.scm (*timeout*, *send-loss*, *recv-loss*):
7718 New parameters, simulate network packet loss.
7720 * tests/network-clock-utils.scm: Initialize the RNG.
7722 2005-06-28 Wim Taymans <wim@fluendo.com>
7724 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_flush),
7725 (gst_basesink_event), (gst_basesink_deactivate):
7726 Flushing the preroll queue always needs to unlock the waiters.
7728 2005-06-28 Edward Hervey <edward@fluendo.com>
7730 * gst/gstpipeline.c: (gst_pipeline_send_event):
7731 Wheen a seek was successful on a pipeline, set the stream_time to the
7732 seek offset in order to have a synchronized stream_time.
7734 2005-06-28 Wim Taymans <wim@fluendo.com>
7736 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
7737 (gst_proxy_pad_do_getrange), (gst_proxy_pad_do_checkgetrange),
7738 (gst_proxy_pad_do_getcaps), (gst_proxy_pad_do_acceptcaps),
7739 (gst_proxy_pad_do_fixatecaps):
7740 Call wrapper function instead of just calling the function
7741 pointers. This takes care of any locking and whatmore.
7743 2005-06-28 Wim Taymans <wim@fluendo.com>
7745 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push),
7746 (gst_pad_pull_range):
7748 CONNECTED -> LINKED.
7750 2005-06-28 Andy Wingo <wingo@pobox.com>
7752 * *.c: Don't cast to GST_OBJECT when reffing or unreffing. Large
7753 source-munging commit!!!
7755 * gst/gstobject.c (gst_object_unref, gst_object_ref)
7756 (gst_object_sink): Take gpointer arguments, not GstObject --
7757 avoids casts. Like GLib.
7759 * gst/gstghostpad.c (gst_proxy_pad_do_activate): Don't proxy
7762 2005-06-27 Andy Wingo <wingo@pobox.com>
7764 * gst/base/gsttypefindhelper.c (gst_type_find_helper): Unref any
7767 * gst/gsttrace.c (gst_alloc_trace_list_sorted): New helper,
7768 returns a sorted copy of the trace list.
7769 (gst_alloc_trace_print_live): New API, only prints traces with
7770 live objects. Sort the list.
7771 (gst_alloc_trace_print_all): Sort the list.
7772 (gst_alloc_trace_print): Align columns.
7774 * gst/elements/gstttypefindelement.c:
7775 * gst/elements/gsttee.c:
7776 * gst/base/gstbasesrc.c:
7777 * gst/base/gstbasesink.c:
7778 * gst/base/gstbasetransform.c:
7779 * gst/gstqueue.c: Adapt for pad activation changes.
7781 * gst/gstpipeline.c (gst_pipeline_init): Unref after parenting
7783 (gst_pipeline_dispose): Drop ref on sched.
7785 * gst/gstpad.c (gst_pad_init): Set the default activate func.
7786 (gst_pad_activate_default): Push mode by default.
7787 (pre_activate_switch, post_activate_switch): New stubs, things to
7788 do before and after switching activation modes on pads.
7789 (gst_pad_set_active): Take a boolean and not a mode, dispatch to
7790 the pad's activate function to choose which mode to activate.
7791 Shortcut on deactivation and call the right function directly.
7792 (gst_pad_activate_pull): New API, (de)activates a pad in pull
7794 (gst_pad_activate_push): New API, same for push mode.
7795 (gst_pad_set_activate_function)
7796 (gst_pad_set_activatepull_function)
7797 (gst_pad_set_activatepush_function): Setters for new API.
7799 * gst/gstminiobject.c (gst_mini_object_new, gst_mini_object_free):
7800 Trace all miniobjects.
7801 (gst_mini_object_make_writable): Unref the arg if we copy, like
7802 gst_caps_make_writable.
7804 * gst/gstmessage.c (_gst_message_initialize): No trace init.
7806 * gst/gstghostpad.c (gst_proxy_pad_do_activate)
7807 (gst_proxy_pad_do_activatepull, gst_proxy_pad_do_activatepush):
7808 Adapt for new pad API.
7810 * gst/gstevent.c (_gst_event_initialize): Don't initialize trace.
7813 * gst/gstelement.c (gst_element_iterate_src_pads)
7814 (gst_element_iterate_sink_pads): New API functions.
7816 * gst/gstelement.c (iterator_fold_with_resync): New utility,
7817 should fold into gstiterator.c in some form.
7818 (gst_element_pads_activate): Simplified via use of fold and
7819 delegation of decisions to gstpad->activate.
7821 * gst/gstbus.c (gst_bus_source_finalize): Set the bus to NULL,
7824 * gst/gstbuffer.c (_gst_buffer_initialize): Ref the buffer type
7825 class once in init, like gstmessage. Didn't run into this issue
7826 but it seems correct. Don't initialize a trace, gstminiobject does
7829 * check/pipelines/simple_launch_lines.c (test_stop_from_app): New
7830 test, runs fakesrc ! fakesink, stopping on ::handoff via a message
7832 (assert_live_count): New util function, uses alloc traces to check
7835 * check/gst/gstghostpad.c (test_ghost_pads): More refcount checks.
7836 To be modified when unlink drops the internal pad.
7838 2005-06-27 Wim Taymans <wim@fluendo.com>
7840 * gst/gstbin.c: (gst_bin_get_state), (gst_bin_iterate_state_order),
7841 (gst_bin_change_state):
7842 Cleanup the get_state() function a little, make sure it
7843 iterates the same set of elements.
7844 Added stub iterate_state_order().
7846 2005-06-27 Thomas Vander Stichele <thomas at apestaart dot org>
7848 * docs/gst/gstreamer-docs.sgml:
7849 * docs/gst/gstreamer-sections.txt:
7850 * docs/gst/gstreamer.types:
7851 * docs/gst/tmpl/gstbasesink.sgml:
7852 * docs/gst/tmpl/gstbasesrc.sgml:
7853 * docs/gst/tmpl/gstbasetransform.sgml:
7854 * docs/gst/tmpl/gstelement.sgml:
7855 * docs/gst/tmpl/gstiterator.sgml:
7856 * gst/base/gstbasesrc.c:
7857 * gst/base/gstbasesrc.h:
7858 * gst/base/gstbasetransform.h:
7860 * gst/gstiterator.h:
7861 adding basetransform and iterator docs
7863 2005-06-27 Andy Wingo <wingo@pobox.com>
7865 * docs/design/part-activation.txt: Notes on how activation should
7866 work -- not quite implemented yet.
7868 2005-06-25 Wim Taymans <wim@fluendo.com>
7870 * gst/gstghostpad.c: (gst_proxy_pad_do_chain):
7871 At least get the chain function correct, needs more
7874 2005-06-25 Wim Taymans <wim@fluendo.com>
7876 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
7877 (gst_basesink_handle_object), (gst_basesink_event),
7878 (gst_basesink_do_sync), (gst_basesink_handle_event),
7879 (gst_basesink_change_state):
7881 Right, two problems here: ghostpads don't take locks and
7882 glib _rec_mutex_lock_full() with depth==0 still locks.
7883 Catch illegal locking and g_warn them.
7885 2005-06-25 Wim Taymans <wim@fluendo.com>
7887 * check/states/sinks.c: (START_TEST), (gst_object_suite):
7888 Have to check for completion now...
7890 2005-06-25 Wim Taymans <wim@fluendo.com>
7892 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
7893 (gst_basesink_handle_object), (gst_basesink_event),
7894 (gst_basesink_do_sync), (gst_basesink_handle_event),
7895 (gst_basesink_change_state):
7897 Unlock STREAM_LOCK whatever the recursion was.
7899 2005-06-25 Wim Taymans <wim@fluendo.com>
7901 * gst/base/gstbasesink.c: (gst_basesink_set_property),
7902 (gst_basesink_preroll_queue_empty),
7903 (gst_basesink_preroll_queue_flush), (gst_basesink_handle_object),
7904 (gst_basesink_event), (gst_basesink_do_sync),
7905 (gst_basesink_handle_event), (gst_basesink_handle_buffer),
7906 (gst_basesink_chain), (gst_basesink_loop), (gst_basesink_activate),
7907 (gst_basesink_change_state):
7908 Reworked the base sink, handle event and buffer serialisation
7909 correctly and removed possible deadlock.
7910 Handle EOS correctly.
7912 2005-06-25 Wim Taymans <wim@fluendo.com>
7914 * gst/gstpipeline.c: (is_eos), (pipeline_bus_handler),
7915 (gst_pipeline_change_state):
7916 * tools/gst-launch.c: (check_intr), (event_loop), (main):
7917 Allow elements to post EOS in the state change function.
7918 Fix up -launch, make it exit the poll loop when the
7919 pipeline actually changed state.
7920 Fix up warning parsing in -launch.
7922 2005-06-25 Wim Taymans <wim@fluendo.com>
7924 * gst/elements/gsttee.c: (gst_tee_chain), (gst_tee_loop),
7925 (gst_tee_sink_activate):
7926 Core takes STREAM_LOCK for us now.
7928 2005-06-25 Wim Taymans <wim@fluendo.com>
7930 * gst/gstelement.c: (gst_element_get_state_func),
7931 (gst_element_set_state):
7933 * gst/gstmessage.c: (gst_message_parse_error),
7934 (gst_message_parse_warning):
7935 Keep track of current target state while performing a state
7936 change so that subclasses can do something interesting.
7937 Fix parsing of warning/error messages when GError is NULL.
7939 2005-06-24 Thomas Vander Stichele <thomas at apestaart dot org>
7941 * docs/gst/Makefile.am:
7942 * docs/gst/gstreamer-docs.sgml:
7943 * docs/gst/gstreamer-sections.txt:
7944 * docs/gst/gstreamer.types:
7945 * docs/gst/tmpl/gstbasesink.sgml:
7946 * docs/gst/tmpl/gstbasesrc.sgml:
7947 * docs/gst/tmpl/gstbin.sgml:
7948 * docs/gst/tmpl/gstcompat.sgml:
7949 * docs/gst/tmpl/gstfakesink.sgml:
7950 * docs/gst/tmpl/gstfakesrc.sgml:
7951 * docs/gst/tmpl/gstfilesink.sgml:
7952 * docs/gst/tmpl/gstfilesrc.sgml:
7953 * docs/gst/tmpl/gstindex.sgml:
7954 * docs/manual/appendix-quotes.xml:
7955 * gst/base/gstbasesrc.h:
7956 * gst/elements/gstfakesrc.h:
7958 start pulling in base classes and elements in our docs
7960 2005-06-24 Stefan Kost <ensonic@users.sf.net>
7962 * docs/gst/Makefile.am:
7963 * docs/libs/Makefile.am:
7964 fixed make distcheck with gtk-doc 1.3
7966 2005-06-23 Wim Taymans <wim@fluendo.com>
7968 * gst/gstelement.c: (gst_element_get_state_func),
7969 (gst_element_set_state), (gst_element_change_state):
7970 When the state did not change, also report NO_PREROLL
7973 2005-06-23 Wim Taymans <wim@fluendo.com>
7975 * gst/gstpad.c: (gst_pad_event_default):
7976 * gst/gstqueue.c: (gst_queue_loop):
7977 No unsafe task pausing please.
7979 2005-06-23 Wim Taymans <wim@fluendo.com>
7981 * gst/schedulers/threadscheduler.c:
7982 (gst_thread_scheduler_task_start),
7983 (gst_thread_scheduler_task_pause), (gst_thread_scheduler_func):
7984 Ref the task before pushing it on the threadpool. This
7985 makes sure that we have a ref when the threadfunction is
7988 2005-06-23 Andy Wingo <wingo@pobox.com>
7990 * gst/base/gstbasesrc.c (gst_basesrc_get_range): Check if the
7991 offset is greater than the file's size.
7993 * gst/gstobject.h (GST_CLASS_LOCK, GST_CLASS_TRYLOCK)
7994 (GST_CLASS_UNLOCK, GST_CLASS_GET_LOCK, GstObjectClass)
7995 * gst/gstobject.c (gst_object_class_init): Make the class lock
7996 recursive. Wim won't let me drop deep_notify. Decodebin works
7999 * gst/gstghostpad.c (on_int_notify): Catches notify::caps on the
8000 internal pad, and hacks accordingly. Doesn't do it on the target
8001 pad because we change its caps. Probably catches all cases of
8003 (gst_ghost_pad_set_property): Connect to notify::caps as
8006 * tests/network-clock.scm (plot-simulation): Pipe data to the
8007 elite python skript.
8009 * tests/network-clock-utils.scm (define-parameter): New macro,
8010 defines a parameter that can be set via the command line.
8011 (set-parameter!, parse-parameter-arguments): Command line args
8014 * tests/plot-data: Simple matplotlib-based plotter, takes input on
8017 2005-06-23 Jan Schmidt <thaytan@mad.scientist.com>
8019 * gst/elements/gsttypefindelement.c:
8020 (gst_type_find_element_handle_event):
8021 Don't restart typefinding on a discont.
8022 * gst/gstelement.c: (gst_element_set_state):
8024 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_send_event):
8025 Allow changing mode of an active pad.
8027 * gst/registries/gstlibxmlregistry.c: (load_feature):
8028 Don't cast a static pad template to a normal pad template.
8030 2005-06-23 Thomas Vander Stichele <thomas at apestaart dot org>
8032 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
8033 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
8034 remove gst_strtoll completely, since it didn't actually do
8035 anything more than what g_ascii_strtoull already does.
8036 check for range errors when deserializing
8037 do a cast for the unsigned cases; but further fixing needs
8038 a decision on what the interpretation of "(int)" and
8039 deserialization should be for values that fall outside the
8040 type's boundaries (ie, refuse, or interpret as casting)
8042 2005-06-23 Wim Taymans <wim@fluendo.com>
8044 * check/Makefile.am:
8045 * check/states/sinks.c: (START_TEST), (gst_object_suite), (main):
8046 * docs/design/part-live-source.txt:
8047 * docs/design/part-states.txt:
8048 * gst/base/gstbasesrc.c: (gst_basesrc_init),
8049 (gst_basesrc_set_live), (gst_basesrc_is_live),
8050 (gst_basesrc_get_range), (gst_basesrc_activate),
8051 (gst_basesrc_change_state):
8052 * gst/base/gstbasesrc.h:
8053 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
8054 (gst_fakesrc_set_property), (gst_fakesrc_get_property):
8055 * gst/gstbin.c: (gst_bin_get_state), (gst_bin_change_state):
8056 * gst/gstelement.c: (gst_element_get_state_func),
8057 (gst_element_set_state):
8060 * tools/gst-launch.c: (event_loop), (main):
8061 Added support for live sources and other elements that
8063 Updated design docs, added live-source design doc.
8064 Implemented live source functionality in basesrc
8065 Fix error condition in _bin_get_state()
8066 Implement live source handling in -launch.
8067 Added check for live sources.
8068 Fixed case in GstBin where elements were changed state
8072 2005-06-23 Andy Wingo <wingo@pobox.com>
8074 * check/gst/gstpad.c (test_get_allowed_caps, test_refcount): Fix
8077 * gst/gstpad.c (gst_pad_set_caps): Remove needless refs,
8078 gst_caps_replace takes care of this for us.
8080 * gst/gstghostpad.c (gst_proxy_pad_do_setcaps): Call the full
8081 gst_pad_set_caps on the target, not just its setcaps() function.
8083 * tests/network-clock.scm:
8084 * tests/network-clock-utils.scm: A network clock simulator.
8085 Something of an algorithmic testbed before doing something in C.
8087 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
8089 * check/Makefile.am:
8090 * check/gst/capslist.h:
8091 copy over from 0.8, and add two with bitmasks specified with
8093 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
8094 add test to parse everything from capslist.h
8095 * check/gst/gststructure.c: (START_TEST), (gst_value_suite),
8097 add test for structure deserialization
8098 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
8099 add tests for deserialization of strings to int types
8100 * gst/gststructure.c: (gst_structure_nth_field_name):
8101 * gst/gststructure.h:
8102 add a way to get the name of a field referenced by index
8103 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
8104 instead of checking if the resulting long long lies between
8105 min and max, we check if the long long would fit into
8106 a number of bytes for the final type.
8107 This fixes cases where a string represents 2^32 - 1, which
8108 when cast to int would be the (valid) -1, but is bigger than
8111 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
8113 * gst/parse/grammar.y:
8114 add a log line for type deserialization
8116 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
8118 * check/gst/gstvalue.c: (START_TEST):
8119 * gst/gstvalue.c: (gst_value_deserialize):
8120 return long long, not int, so gint64 deserialization actually
8121 works. Is there any flag that makes the compiler check this ?
8124 2005-06-22 Wim Taymans <wim@fluendo.com>
8127 Added convenience macros for setting buffers in GValue.
8129 2005-06-21 Thomas Vander Stichele <thomas at apestaart dot org>
8131 * check/gst/.cvsignore:
8132 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
8133 add a test deserializing int64, and comment part out because
8136 2005-06-21 Thomas Vander Stichele <thomas at apestaart dot org>
8138 * check/Makefile.am:
8139 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite), (main):
8140 * testsuite/Makefile.am:
8141 * testsuite/caps/Makefile.am:
8142 * testsuite/caps/value_serialize.c:
8143 * testsuite/test_gst_init.c:
8144 move a value_serialize test over
8146 2005-06-20 Wim Taymans <wim@fluendo.com>
8151 * gst/gstvalue.c: (gst_value_compare_buffer),
8152 (gst_value_serialize_buffer), (gst_value_deserialize_buffer),
8153 (gst_value_compare_flags), (gst_value_serialize_flags),
8154 (gst_value_deserialize_flags), (_gst_value_initialize):
8155 Fix serialisation of buffers, they are not boxed types anymore
8157 2005-06-20 Wim Taymans <wim@fluendo.com>
8159 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
8160 Testcase to show error in buffer-on-caps serialisation.
8162 2005-06-20 Andy Wingo <wingo@pobox.com>
8164 * docs/random/wingo/porting-plugins-to-0.9: A pitiful document I
8165 will be adding to later.
8167 * gst/gstsystemclock.c (gst_system_clock_init): Unlock the clock
8168 if its socks fill with rocks.
8169 (gst_system_clock_obtain): Set the name on object construction.
8170 Avoid double-checked locking.
8172 2005-06-20 Tim-Philipp Müller <tim at centricular dot net>
8174 * gst/gsturi.c: (gst_element_make_from_uri):
8175 Fix potential endless loop.
8177 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
8179 * check/Makefile.am:
8181 * check/gst/gsttag.c: (check_tags), (START_TEST), (gst_tag_suite),
8183 move over from testsuite dir and clean up
8186 * testsuite/Makefile.am:
8187 * testsuite/tags/.cvsignore:
8188 * testsuite/tags/Makefile.am:
8189 * testsuite/tags/merge.c:
8190 remove testsuite/tags
8192 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
8194 * docs/gst/gstreamer-sections.txt:
8195 * docs/gst/tmpl/gstenumtypes.sgml:
8196 * win32/gstenumtypes.c:
8197 clean up documentation build a little
8199 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
8202 add macros for checking refcounts on objects and caps
8203 * check/gst/gstpad.c: (START_TEST), (gst_pad_suite):
8204 add some more unit tests
8205 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
8206 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_allowed_caps):
8207 fix leaked refcounts (I hope :)) so unittest works
8211 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
8213 * configure.ac: back to HEAD
8215 === release 0.9.1 ===
8217 2005-06-17 Thomas Vander Stichele <thomas at apestaart dot org>
8223 2005-06-17 Andy Wingo <wingo@pobox.com>
8225 * gst/base/gstbasesink.c (gst_basesink_chain): Remove bogus
8226 assert; it's always possible that the pad gets deactivated in
8227 between the checks in gstpad.c and the implementation. Rely on
8228 finish_preroll() to return a FLUSHING or similar instead of on the
8231 * gst/base/gstbasesink.c (gst_basesink_event): Only wait for the
8232 clock and post an EOS message if we come out of finish_preroll in
8235 2005-06-16 David Schleef <ds@schleef.org>
8237 * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
8238 (gst_capsfilter_set_property): Allow NULL as possible value
8239 for filter_caps property, indicating GST_CAPS_ANY.
8241 2005-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
8243 * gst/elements/gstfakesrc.c: (gst_fakesrc_create):
8245 * gst/schedulers/Makefile.am:
8247 * gstreamer.spec.in:
8250 2005-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
8252 * gstreamer.spec.in:
8255 2005-06-08 Andy Wingo <wingo@pobox.com>
8257 * gst/gstutils.c: RPAD fixes all around.
8258 (gst_element_link_pads): Refcounting fixes.
8260 * tools/gst-inspect.c:
8261 * tools/gst-xmlinspect.c:
8263 * gst/base/gsttypefindhelper.c:
8264 * gst/base/gstbasesink.c:
8265 * gst/gstqueue.c: RPAD fixes.
8267 * gst/gstghostpad.h:
8268 * gst/gstghostpad.c: New ghost pad implementation as full proxy
8269 pads. The tricky thing is they provide both source and sink
8270 interfaces, since they proxy the internal pad for the external
8271 pad, and vice versa. Implement with lower-level ProxyPad objects,
8272 with the interior proxy pad as a child of the exterior ghost pad.
8273 Should write a doc on this.
8275 * gst/gstpad.h: s/RPAD/PAD/, s/RealPad/Pad/.
8276 (gst_pad_set_name, gst_pad_set_parent): Macros removed, use
8279 * gst/gstpad.c: Big changes. No more stub base GstPad, now all
8280 pads are real pads. No ghost pads in this file. Not documenting
8281 the myriad s/RPAD/PAD/ and REALIZE fixes.
8282 (gst_pad_class_init): Add properties for "direction" and
8283 "template". Both are construct-only, so they can't change during
8284 the life of the pad. Fixes properly deriving from GstPad.
8285 (gst_pad_custom_new, gst_pad_custom_new_from_template): Gone. For
8286 derived objects, just set properties when creating the objects via
8288 (gst_pad_get_parent): Implement as a function, return NULL if the
8289 parent is not an element.
8290 (gst_pad_get_real_parent, gst_pad_add_ghost_pad)
8291 (gst_pad_remove_ghost_pad, gst_pad_realize): Removed.
8293 * gst/gstobject.c (gst_object_class_init): Make name a construct
8294 property. Don't set it in the object init.
8296 * gst/gstelement.c (gst_element_add_pad): Don't allow adding pads
8297 with UNKNOWN direction.
8298 (gst_element_add_ghost_pad): Remove non-orthogonal API. Replace
8299 with gst_element_add_pad (e, gst_ghost_pad_new (name, pad)).
8300 (gst_element_remove_pad): Remove ghost-pad special cases.
8301 (gst_element_pads_activate): Remove rpad cruft.
8303 * gst/gstbin.c (gst_bin_change_state): Use gst_pad_get_parent to
8304 catch the pad's-parent-not-an-element case.
8306 * gst/gst.h: Include gstghostpad.h.
8308 * gst/gst.c (init_post): No more real, ghost pads.
8310 * gst/Makefile.am: Add gstghostpad.[ch].
8312 * check/Makefile.am:
8313 * check/gst/gstbin.c:
8314 * check/gst/gstghostpad.c (test_ghost_pads): Check that linking
8315 into a bin creates ghost pads, and that the refcounts are right.
8316 Partly moved from gstbin.c.
8318 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
8320 * check/gst-libs/.cvsignore:
8321 * check/gst/.cvsignore:
8322 * check/pipelines/.cvsignore:
8324 * check/pipelines/cleanup.c: (setup_pipeline), (run_pipeline),
8325 (START_TEST), (cleanup_suite), (main):
8326 add some tests related to cleanup after running pipelines
8328 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
8330 * check/gst/gstbuffer.c: (START_TEST), (gst_test_suite), (main):
8331 add a testsuite for GstBuffer
8333 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
8335 * gst/gstminiobject.h:
8336 add defines for accessing the refcount
8338 2005-06-03 Stefan Kost <ensonic@users.sf.net>
8340 * Makefile.am: added support for html unit test coverage reports
8342 2005-06-03 Jan Schmidt <thaytan@mad.scientist.com>
8344 * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
8345 Free existing caps if the capsfilter changes. Add a FIXME about
8346 setting those caps on the pads.
8348 * gst/gstutils.c: (gst_element_get_compatible_pad), (ghost_up):
8349 Before adding a ghost pad to a parent bin, check that there isn't
8350 already one for the element on the bin. Prevents infinite recursion
8351 when using decodebin in parse pipelines. Andy says he'll rewrite the
8352 way this works anyway, so ignore the hack.
8354 2005-06-02 Andy Wingo <wingo@pobox.com>
8356 * gst/elements/gsttypefindelement.c (do_pull_typefind): Query the
8357 file size, pass it on to the type find helper.
8359 * gst/base/gstbasesrc.c (gst_basesrc_do_seek): Set the
8360 segment_start and segment_end properly according to the seek
8361 method. Segment_end is still a bit flaky because offset can be
8362 negative for CUR and END cases, but it takes -1 as an "unset"
8365 2005-06-02 Wim Taymans <wim@fluendo.com>
8367 * gst/base/gstbasesink.c: (gst_basesink_pad_buffer_alloc),
8368 (gst_base_sink_buffer_alloc), (gst_basesink_preroll_queue_push),
8369 (gst_basesink_activate):
8370 * gst/base/gstbasesink.h:
8371 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
8372 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
8373 (gst_pad_query), (gst_pad_start_task):
8375 * gst/gstqueue.c: (gst_queue_bufferalloc),
8376 (gst_queue_handle_sink_event), (gst_queue_chain):
8377 Bufferalloc: return GstFlowReturn to more accuratly report
8378 why allocation failed.
8380 2005-06-02 Wim Taymans <wim@fluendo.com>
8382 * gst/gstpipeline.c: (gst_pipeline_send_event):
8383 Take snapshot of state without blocking.
8385 2005-06-02 Wim Taymans <wim@fluendo.com>
8387 * docs/design/part-TODO.txt:
8388 * docs/design/part-caps.txt:
8389 * docs/design/part-clocks.txt:
8390 * docs/design/part-negotiation.txt:
8391 * docs/design/part-preroll.txt:
8394 2005-05-30 Wim Taymans <wim@fluendo.com>
8396 * gst/elements/gstidentity.c: (gst_identity_event),
8397 (gst_identity_transform), (gst_identity_get_property):
8398 Protect last_message property as it is accessed from
8401 2005-05-30 Wim Taymans <wim@fluendo.com>
8403 * gst/gstelement.c: (gst_element_init),
8404 (gst_element_pads_activate), (gst_element_change_state):
8405 Slicker pad activation code.
8407 2005-05-30 Wim Taymans <wim@fluendo.com>
8411 * gst/gstelementfactory.h:
8413 Move elementfactory methods to separate .h file.
8415 2005-05-30 Wim Taymans <wim@fluendo.com>
8417 * docs/design/part-overview.txt:
8418 * gst/gstsystemclock.h:
8419 Small typo fixes, doc updates.
8421 2005-05-30 Wim Taymans <wim@fluendo.com>
8423 * gst/gst.c: (gst_init_get_popt_table), (init_post),
8424 (init_popt_callback):
8425 Remove cpu-opt flag.
8427 2005-05-30 Wim Taymans <wim@fluendo.com>
8429 * gst/gstbuffer.c: (gst_subbuffer_finalize),
8430 (gst_buffer_create_sub), (gst_buffer_is_span_fast):
8432 Avoid typechecking in places where not needed.
8433 Added accessor for malloc_data.
8435 2005-05-30 Wim Taymans <wim@fluendo.com>
8437 * gst/gstpad.c: (gst_real_pad_init), (gst_pad_set_active),
8438 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_accept_caps),
8439 (gst_pad_configure_sink), (gst_pad_configure_src),
8440 (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_send_event),
8441 (gst_pad_start_task):
8442 Propagate errors from _set_caps() in configure_src/sink
8443 functions instead of returning TRUE.
8444 FLUSH events can travel up and downstream
8447 2005-05-30 Wim Taymans <wim@fluendo.com>
8449 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
8450 (gst_basesink_activate):
8451 Handle EOS in preroll.
8453 2005-05-30 Wim Taymans <wim@fluendo.com>
8455 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
8456 (gst_queue_loop), (gst_queue_handle_src_event):
8457 Remove old pieces of code
8458 Flushing the queue in an upstream event is a very bad idea.
8460 2005-05-26 Andy Wingo <wingo@pobox.com>
8462 * gst/gstminiobject.c (gst_value_mini_object_collect): Use
8463 gst_value_set_mini_object so as to add a ref on the object (which
8464 will be removed when the value is unset).
8466 * gst/elements/gstfakesink.c (gst_fakesink_class_init): Fix signal
8467 arg type in ::handoff.
8469 * gst/gstelement.c (gst_element_change_state): Also deactivate
8470 pads in READY->NULL, just in case the element didn't make it to
8471 PAUSED. Wingo tested, Wim approved.
8473 2005-05-26 Wim Taymans <wim@fluendo.com>
8475 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
8476 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
8477 (gst_pad_query), (gst_pad_send_event), (gst_pad_start_task):
8478 A flushing pad cannot be used to alloc_buffer from.
8480 2005-05-26 Wim Taymans <wim@fluendo.com>
8482 * gst/gstbus.c: (gst_bus_init), (gst_bus_dispose), (gst_bus_post),
8483 (gst_bus_pop), (gst_bus_source_prepare), (gst_bus_source_check),
8484 (gst_bus_source_dispatch), (gst_bus_source_finalize),
8485 (gst_bus_create_watch), (gst_bus_add_watch_full):
8487 Implement a real GSource and use g_main_context_wakeup() to
8488 signal new messages instead of the socketpair.
8490 2005-05-25 Wim Taymans <wim@fluendo.com>
8492 * gst/gstbin.c: (bin_element_is_sink), (has_ancestor),
8493 (bin_element_is_semi_sink), (append_child), (gst_bin_change_state):
8494 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
8495 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
8496 (gst_pad_send_event), (gst_pad_start_task):
8497 * gst/gstqueue.c: (gst_queue_init), (gst_queue_locked_flush),
8498 (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
8499 (gst_queue_sink_activate), (gst_queue_src_activate),
8500 (gst_queue_change_state):
8502 Fix state changes for non sinks. We now change sinks, then elements
8503 with unconnected srcpads, then the rest.
8504 More efficient queue unlocking in flush and state changes.
8505 Set the pad activate mode even if it does not have an activate
8508 2005-05-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8510 * gst/base/gstbasesrc.c: (gst_basesrc_activate):
8511 Don't go in pull mode for non-seekable sources.
8512 * gst/elements/gsttypefindelement.h:
8513 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
8514 (gst_type_find_element_dispose), (gst_type_find_handle_src_query),
8515 (free_entry), (stop_typefinding),
8516 (gst_type_find_element_handle_event), (find_peek),
8517 (gst_type_find_element_chain), (do_pull_typefind),
8518 (gst_type_find_element_change_state):
8519 Allow typefinding (w/o seeking) in push-mode, simplified version
8521 * gst/gstutils.c: (gst_buffer_join):
8523 gst_buffer_join() from 0.8.
8525 2005-05-25 Wim Taymans <wim@fluendo.com>
8527 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
8528 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
8529 (gst_pad_send_event), (gst_pad_start_task):
8530 Disable attempt at mode switching until it is figured out.
8532 2005-05-25 Wim Taymans <wim@fluendo.com>
8534 * gst/base/gstadapter.c: (gst_adapter_peek), (gst_adapter_flush):
8535 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
8536 (gst_basesink_finish_preroll), (gst_basesink_chain),
8537 (gst_basesink_loop), (gst_basesink_activate),
8538 (gst_basesink_change_state):
8539 * gst/base/gstbasesrc.c: (gst_basesrc_do_seek),
8540 (gst_basesrc_get_range), (gst_basesrc_loop),
8541 (gst_basesrc_activate):
8542 * gst/elements/gsttee.c: (gst_tee_sink_activate):
8543 * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
8544 (gst_real_pad_init), (gst_real_pad_set_property),
8545 (gst_real_pad_get_property), (gst_pad_set_active),
8546 (gst_pad_is_active), (gst_pad_get_query_types), (gst_pad_unlink),
8547 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_real_parent),
8548 (gst_real_pad_get_caps_unlocked), (gst_pad_peer_get_caps),
8549 (gst_pad_accept_caps), (gst_pad_get_peer), (gst_pad_realize),
8550 (gst_pad_event_default_dispatch), (gst_pad_event_default),
8551 (gst_pad_dispatcher), (gst_pad_query), (gst_real_pad_dispose),
8552 (gst_pad_save_thyself), (handle_pad_block), (gst_pad_chain),
8553 (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
8554 (gst_pad_send_event), (gst_pad_start_task), (gst_pad_pause_task),
8555 (gst_pad_stop_task):
8557 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
8558 (gst_queue_loop), (gst_queue_src_activate):
8559 * gst/gsttask.c: (gst_task_init), (gst_task_set_lock),
8560 (gst_task_get_state):
8562 * gst/schedulers/threadscheduler.c:
8563 (gst_thread_scheduler_task_start), (gst_thread_scheduler_func):
8564 Implement gst_pad_pause/start/stop_task(), take STREAM lock
8566 Remove ACTIVE pad flag, use FLUSHING everywhere
8567 Added _pad_chain(), _pad_get_range() to call chain/getrange
8569 Add locks around IS_FLUSHING when reading.
8570 Take STREAM lock in chain(), get_range() functions so plugins
8571 don't need to take it anymore.
8575 2005-05-25 Wim Taymans <wim@fluendo.com>
8577 * tools/gst-launch.c: (event_loop):
8578 Unref message after using its contents instead of
8581 2005-05-24 Wim Taymans <wim@fluendo.com>
8583 * docs/design/draft-ghostpads.txt:
8584 * docs/design/draft-push-pull.txt:
8585 * docs/design/draft-query.txt:
8586 * docs/design/part-overview.txt:
8587 Docs updates, added general overview doc.
8589 2005-05-21 David Schleef <ds@schleef.org>
8591 * docs/gst/tmpl/old/GstBin.sgml:
8592 * docs/gst/tmpl/old/GstBuffer.sgml:
8593 * docs/gst/tmpl/old/GstCaps.sgml:
8594 * docs/gst/tmpl/old/GstClock.sgml:
8595 * docs/gst/tmpl/old/GstCompat.sgml:
8596 * docs/gst/tmpl/old/GstData.sgml:
8597 * docs/gst/tmpl/old/GstElement.sgml:
8598 * docs/gst/tmpl/old/GstEvent.sgml:
8599 * docs/gst/tmpl/old/GstIndex.sgml:
8600 * docs/gst/tmpl/old/GstStructure.sgml:
8601 * docs/gst/tmpl/old/GstTag.sgml:
8602 * docs/gst/tmpl/old/cothreads.sgml:
8603 * docs/gst/tmpl/old/cothreads_compat.sgml:
8604 * docs/gst/tmpl/old/gettext.sgml:
8605 * docs/gst/tmpl/old/gobject2gtk.sgml:
8606 * docs/gst/tmpl/old/grammar.tab.sgml:
8607 * docs/gst/tmpl/old/gst-i18n-app.sgml:
8608 * docs/gst/tmpl/old/gst-i18n-lib.sgml:
8609 * docs/gst/tmpl/old/gst_private.sgml:
8610 * docs/gst/tmpl/old/gstaggregator.sgml:
8611 * docs/gst/tmpl/old/gstarch.sgml:
8612 * docs/gst/tmpl/old/gstatomic_impl.sgml:
8613 * docs/gst/tmpl/old/gstbufferstore.sgml:
8614 * docs/gst/tmpl/old/gstdata_private.sgml:
8615 * docs/gst/tmpl/old/gstdisksink.sgml:
8616 * docs/gst/tmpl/old/gstdisksrc.sgml:
8617 * docs/gst/tmpl/old/gstelementfactory.sgml:
8618 * docs/gst/tmpl/old/gstextratypes.sgml:
8619 * docs/gst/tmpl/old/gstfakesink.sgml:
8620 * docs/gst/tmpl/old/gstfakesrc.sgml:
8621 * docs/gst/tmpl/old/gstfdsink.sgml:
8622 * docs/gst/tmpl/old/gstfdsrc.sgml:
8623 * docs/gst/tmpl/old/gstfilesink.sgml:
8624 * docs/gst/tmpl/old/gstfilesrc.sgml:
8625 * docs/gst/tmpl/old/gsthttpsrc.sgml:
8626 * docs/gst/tmpl/old/gstidentity.sgml:
8627 * docs/gst/tmpl/old/gstindexfactory.sgml:
8628 * docs/gst/tmpl/old/gstmarshal.sgml:
8629 * docs/gst/tmpl/old/gstmd5sink.sgml:
8630 * docs/gst/tmpl/old/gstmultidisksrc.sgml:
8631 * docs/gst/tmpl/old/gstmultifilesrc.sgml:
8632 * docs/gst/tmpl/old/gstpadtemplate.sgml:
8633 * docs/gst/tmpl/old/gstpipefilter.sgml:
8634 * docs/gst/tmpl/old/gstschedulerfactory.sgml:
8635 * docs/gst/tmpl/old/gstsearchfuncs.sgml:
8636 * docs/gst/tmpl/old/gstshaper.sgml:
8637 * docs/gst/tmpl/old/gstspider.sgml:
8638 * docs/gst/tmpl/old/gstspideridentity.sgml:
8639 * docs/gst/tmpl/old/gststatistics.sgml:
8640 * docs/gst/tmpl/old/gsttee.sgml:
8641 * docs/gst/tmpl/old/gsttimecache.sgml:
8642 * docs/gst/tmpl/old/gsttypefindfactory.sgml:
8643 * docs/gst/tmpl/old/gstxmlregistry.sgml:
8644 * docs/gst/tmpl/old/gthread-cothreads.sgml:
8645 * docs/gst/tmpl/old/types.sgml:
8646 I didn't intend to add these or check them in.
8648 2005-05-19 David Schleef <ds@schleef.org>
8650 * configure.ac: Use -no-common everywhere. In a sane world, it
8651 would be the default in libtool, because without it, you can't
8652 build DLLs on Windows.
8653 * docs/gst/gstreamer-docs.sgml: Remove GstCpu, GstData, GstThread
8654 * docs/gst/gstreamer-sections.txt:
8655 * docs/gst/tmpl/gstcpu.sgml:
8656 * docs/gst/tmpl/gstdata.sgml:
8657 * docs/gst/tmpl/gstthread.sgml:
8659 2005-05-19 David Schleef <ds@schleef.org>
8661 * gst/gstminiobject.c: (gst_value_set_mini_object),
8662 (gst_value_take_mini_object), (gst_value_get_mini_object):
8663 * gst/gstminiobject.h: Add GValue set/get functions.
8665 2005-05-19 Wim Taymans <wim@fluendo.com>
8667 * gst/gstbuffer.c: (gst_buffer_init), (gst_subbuffer_get_type),
8668 (gst_subbuffer_class_init), (gst_subbuffer_finalize),
8669 (gst_subbuffer_init), (gst_buffer_is_span_fast):
8671 * gst/gstbus.c: (gst_bus_post):
8672 * gst/gstelement.c: (gst_element_get_random_pad):
8673 * gst/gstmessage.c: (gst_message_init), (gst_message_finalize):
8674 Make subbufer unref the parent in finalize.
8675 some more debugging info.
8678 2005-05-19 Wim Taymans <wim@fluendo.com>
8680 * gst/base/gstbasesink.c: (gst_basesink_class_init),
8681 (gst_basesink_init), (gst_basesink_finalize),
8682 (gst_basesink_activate), (gst_basesink_change_state):
8683 Don't free preroll queue too early.
8685 2005-05-19 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8689 Hi, I'm outdated. Please shoot me.
8691 2005-05-19 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8693 * gst/gstpipeline.c: (gst_pipeline_send_event):
8694 Do not access variables after they have been deleted.
8696 2005-05-19 Wim Taymans <wim@fluendo.com>
8698 * tools/gst-inspect.c: (print_plugin_features):
8699 A plugin feature does unfortunatly not use the
8702 2005-05-18 Wim Taymans <wim@fluendo.com>
8704 * gst/gstbuffer.c: (gst_buffer_is_span_fast), (gst_buffer_span):
8705 Port _span() functions to new subbuffers.
8707 2005-05-18 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8709 * gst/gstbin.c: (gst_bin_add_func):
8710 Fix clock settery in bins when adding kids after the clock has
8713 2005-05-18 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8715 * gst/elements/gstidentity.c: (gst_identity_class_init):
8716 Workaround until signals support GstMiniObject.
8718 2005-05-18 Jan Schmidt <thaytan@mad.scientist.com>
8721 Oops, fix a typo GST_TYPE_BUFFER -> GST_TYPE_SUBBUFFER.
8723 2005-05-18 Wim Taymans <wim@fluendo.com>
8725 * gst/base/Makefile.am:
8726 * gst/base/gstadapter.c: (gst_adapter_base_init),
8727 (gst_adapter_class_init), (gst_adapter_init),
8728 (gst_adapter_dispose), (gst_adapter_finalize), (gst_adapter_new),
8729 (gst_adapter_clear), (gst_adapter_push), (gst_adapter_peek),
8730 (gst_adapter_flush), (gst_adapter_available),
8731 (gst_adapter_available_fast):
8732 * gst/base/gstadapter.h:
8733 Ported and added adapter to the base classes.
8735 2005-05-17 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
8739 Make sure the class is reffed/unreffed once before threads can be
8740 used. Fixes #304551.
8742 2005-05-17 Wim Taymans <wim@fluendo.com>
8744 * gst/base/gstbasesink.c: (gst_basesink_finish_preroll),
8745 (gst_basesink_chain_unlocked), (gst_basesink_activate):
8746 * gst/gstminiobject.c: (gst_mini_object_get_type),
8747 (gst_mini_object_free):
8748 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query),
8749 (gst_pad_push), (gst_pad_push_event):
8750 * gst/gstqueue.c: (gst_queue_change_state):
8751 Don't queue buffers in basesink when we are flushing.
8752 Unref buffer when flushing in basesink.
8753 Flush queue when going to READY
8754 Unref buffer when _push() returns an error.
8755 Don't free MiniObject instance when refcount is incremented
8756 in _finalize() so that we can recover objects.
8758 2005-05-17 Thomas Vander Stichele <thomas at apestaart dot org>
8760 * docs/manual/advanced-schedulers.xml:
8761 * docs/manual/appendix-checklist.xml:
8762 * docs/pwg/advanced-clock.xml:
8763 * docs/pwg/advanced-interfaces.xml:
8764 * docs/pwg/advanced-request.xml:
8765 * docs/pwg/advanced-types.xml:
8766 * docs/pwg/intro-preface.xml:
8767 * examples/plugins/example.c: (gst_example_get_type),
8768 (gst_example_class_init), (gst_example_chain),
8769 (gst_example_set_property), (gst_example_get_property),
8770 (gst_example_change_state), (plugin_init):
8771 * examples/plugins/example.h:
8774 2005-05-17 Wim Taymans <wim@fluendo.com>
8776 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps),
8777 (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_push):
8778 * gst/gstqueue.c: (gst_queue_change_state):
8779 Clear queue when going to READY.
8780 Remove IN_SETCAPS flag too.
8782 2005-05-17 Tim-Philipp Müller <tim at centricular dot net>
8784 * gst/base/gstbasesrc.c: (gst_basesrc_change_state):
8785 Remove implicit cast from gboolean to GstElementStateReturn;
8786 make sure we still return failure in paused => ready case if
8787 the parent class fails to change state and our own stop
8790 2005-05-17 Wim Taymans <wim@fluendo.com>
8792 * tools/gst-launch.c: (event_loop):
8793 Message was unreffed too soon.
8795 2005-05-16 Andy Wingo <wingo@pobox.com>
8797 * gst/gstbin.c (sink_iterator_filter): Err... um...
8799 * check/gst/gstbin.c (test_ghost_pads): New test for the
8800 ghosting-if-elements-not-in-same-bin behavior.
8802 2005-05-16 David Schleef <ds@schleef.org>
8804 * gst/gstminiobject.c: Use g_atomic_int_get() instead of
8805 accessing refcount directly.
8807 2005-05-15 David Schleef <ds@schleef.org>
8809 * check/Makefile.am: remove GstData checks
8810 * check/gst-libs/gdp.c: (START_TEST): fix for API changes
8811 * gst/Makefile.am: add miniobject, remove data
8812 * gst/gst.h: add miniobject, remove data
8813 * gst/gstdata.c: remove
8814 * gst/gstdata.h: remove
8815 * gst/gstdata_private.h: remove
8816 * gst/gsttypes.h: remove GstEvent and GstMessage
8817 * gst/gstelement.c: (gst_element_post_message): fix for API changes
8818 * gst/gstmarshal.list: change BOXED -> OBJECT
8820 Implement GstMiniObject.
8821 * gst/gstminiobject.c:
8822 * gst/gstminiobject.h:
8824 Modify to be subclasses of GstMiniObject.
8825 * gst/gstbuffer.c: (_gst_buffer_initialize), (gst_buffer_get_type),
8826 (gst_buffer_class_init), (gst_buffer_finalize), (_gst_buffer_copy),
8827 (gst_buffer_init), (gst_buffer_new), (gst_buffer_new_and_alloc),
8828 (gst_subbuffer_get_type), (gst_subbuffer_init),
8829 (gst_buffer_create_sub), (gst_buffer_is_span_fast),
8832 * gst/gstevent.c: (_gst_event_initialize), (gst_event_get_type),
8833 (gst_event_class_init), (gst_event_init), (gst_event_finalize),
8834 (_gst_event_copy), (gst_event_new):
8836 * gst/gstmessage.c: (_gst_message_initialize),
8837 (gst_message_get_type), (gst_message_class_init),
8838 (gst_message_init), (gst_message_finalize), (_gst_message_copy),
8839 (gst_message_new), (gst_message_new_error),
8840 (gst_message_new_warning), (gst_message_new_tag),
8841 (gst_message_new_state_changed), (gst_message_new_application):
8843 * gst/gstprobe.c: (gst_probe_perform),
8844 (gst_probe_dispatcher_dispatch):
8846 * gst/gstquery.c: (_gst_query_initialize), (gst_query_get_type),
8847 (gst_query_class_init), (gst_query_finalize), (gst_query_init),
8848 (_gst_query_copy), (gst_query_new):
8850 Update elements for GstData -> GstMiniObject changes
8852 * gst/gstqueue.c: (gst_queue_finalize), (gst_queue_locked_flush),
8853 (gst_queue_chain), (gst_queue_loop):
8854 * gst/elements/gstbufferstore.c:
8855 (gst_buffer_store_add_buffer_func),
8856 (gst_buffer_store_cleared_func), (gst_buffer_store_get_buffer):
8857 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
8858 (gst_fakesink_render):
8859 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
8860 * gst/elements/gstfilesrc.c: (gst_mmap_buffer_get_type),
8861 (gst_mmap_buffer_class_init), (gst_mmap_buffer_init),
8862 (gst_mmap_buffer_finalize), (gst_filesrc_map_region),
8863 (gst_filesrc_create_read):
8864 * gst/elements/gstidentity.c: (gst_identity_class_init):
8865 * gst/elements/gsttypefindelement.c:
8866 (gst_type_find_element_src_event), (free_entry_buffers),
8867 (gst_type_find_element_handle_event):
8868 * libs/gst/dataprotocol/dataprotocol.c:
8869 (gst_dp_header_from_buffer):
8870 * libs/gst/dataprotocol/dataprotocol.h:
8871 * libs/gst/dataprotocol/dp-private.h:
8873 2005-05-15 David Schleef <ds@schleef.org>
8875 * gst/elements/gstelements.c: Don't include headers that were
8878 2005-05-15 David Schleef <ds@schleef.org>
8880 * gst/elements/Makefile.am: Remove some elements that don't
8881 need to be in the core (or even exist at all).
8882 * gst/elements/gstaggregator.c:
8883 * gst/elements/gstaggregator.h:
8884 * gst/elements/gstmd5sink.c:
8885 * gst/elements/gstmd5sink.h:
8886 * gst/elements/gstmultifilesrc.c:
8887 * gst/elements/gstmultifilesrc.h:
8888 * gst/elements/gstpipefilter.c:
8889 * gst/elements/gstpipefilter.h:
8890 * gst/elements/gstshaper.c:
8891 * gst/elements/gstshaper.h:
8892 * gst/elements/gststatistics.c:
8893 * gst/elements/gststatistics.h:
8894 * po/POTFILES.in: Remove above files.
8896 2005-05-14 Andy Wingo <wingo@pobox.com>
8898 * gst/gstbin.c (gst_bin_iterate_sinks): Use sink_iterator_filter
8899 so as to get the refs right.
8900 (sink_iterator_filter): New function, wraps bin_element_is_sink,
8901 unreffing objects that don't pass the filter.
8903 * gst/gstpipeline.c (gst_pipeline_init): Drop ref on bus after
8904 gst_element_set_bus.
8905 (gst_pipeline_dispose): Set the bus on the pipeline to NULL. In
8906 normal cases, this will destroy the bus.
8908 * gst/gstutils.c (prepare_link_maybe_ghosting): Drop ref on root
8911 * gst/gstbin.c (gst_bin_change_state): Fix state changes if a bin
8914 2005-05-13 Andy Wingo <wingo@pobox.com>
8916 * gst/gstutils.c (gst_element_link_pads): Instead of calling
8917 gst_pad_link, call pad_link_maybe_ghosting,
8918 (pad_link_maybe_ghosting): Links pads, making sure that the
8919 elements being linked are in the same bin.
8920 (find_common_root, object_has_ancestor, ghost_up, remove_pad):
8921 Helpers for pad_link_maybe_ghosting.
8923 2005-05-13 Tim-Philipp Müller <tim at centricular dot net>
8926 Require GLib >= 2.4.0 (for the g_atomic_* funcs)
8928 2005-05-13 Tim-Philipp Müller <tim at centricular dot net>
8930 * docs/design/part-element-source.txt:
8933 2005-05-12 Wim Taymans <wim@fluendo.com>
8935 * gst/base/gstbasesink.c: (gst_basesink_init),
8936 (gst_basesink_activate):
8937 * gst/base/gstbasesrc.c: (gst_basesrc_unlock),
8938 (gst_basesrc_is_seekable):
8939 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
8940 (bin_element_is_sink), (gst_bin_change_state):
8941 * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
8943 Identify sinks by their flag to avoid overly complicated
8945 Do state changes even for elements not reachable from the
8947 BaseSink is a sink now :)
8948 Some more debugging info in the basesrc.
8951 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8953 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_query):
8954 Implement _query on a bin, similar to _send_event.
8956 2005-05-12 Tim-Philipp Müller <tim at centricular dot net>
8958 * gst/base/gstbasesrc.c: (gst_basesrc_do_seek):
8959 Discont event offset format should be GST_FORMAT_BYTES,
8960 not GST_FORMAT_TIME.
8962 2005-05-12 Wim Taymans <wim@fluendo.com>
8964 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_get_state):
8965 Same fix as Ronald's but without the signal.
8967 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8969 * gst/gstutils.c: (gst_element_query_position):
8970 No, an element is not a pad.
8972 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8974 * gst/gstbin.c: (gst_bin_add_func), (cb_parent_unset),
8975 (gst_bin_get_state):
8976 If a child is removed from a bin while we remove the child from
8977 the bin and while we're retrieving its state, signal this to the
8978 get_state function so we abort the wait (instead of waiting for
8979 a timeout) and can immediately re-iterate over all other elements.
8981 2005-05-12 Wim Taymans <wim@fluendo.com>
8983 * gst/base/Makefile.am:
8984 * gst/base/gstbasesrc.c: (gst_basesrc_is_seekable),
8985 (gst_basesrc_start):
8986 * gst/base/gstbasesrc.h:
8987 * gst/base/gstpushsrc.c: (gst_pushsrc_get_type),
8988 (gst_pushsrc_base_init), (gst_pushsrc_class_init),
8989 (gst_pushsrc_init), (gst_pushsrc_create):
8990 * gst/base/gstpushsrc.h:
8991 Added is_seekable to BaseSrc
8992 Added simple PushSrc.
8994 2005-05-11 Wim Taymans <wim@fluendo.com>
8996 * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
8997 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
8998 (gst_element_link_pads), (gst_element_query_position),
8999 (gst_element_query_convert), (intersect_caps_func),
9000 (gst_pad_query_position), (gst_pad_query_convert):
9001 Fix refcounting in utils function.
9002 No point in trying to activate a pad when it's added, it could
9003 be added from the state change function and then we deadlock, the
9004 element has to decide what to do.
9006 2005-05-10 Andy Wingo <wingo@pobox.com>
9008 * gst/elements/gstfakesink.c (gst_fakesink_render): Er, emit with
9009 *all* the arguments.
9011 * gst/base/gstbasetransform.c (gst_base_transform_event): Grab the
9012 stream lock if it's a FLUSH_DONE; normal flushes don't get the
9013 lock (according to the docs -- if this is wrong change the docs).
9015 * gst/gstpipeline.c (gst_pipeline_change_state): Set the bus to
9016 flush messages in the NULL state.
9018 * gst/gstbus.c (gst_bus_post): If a bus is flushing, unref the
9019 message immediately and return.
9020 (gst_bus_set_flushing): New function. If a bus is flushing, it
9021 flushes out any queued messages and immediately unrefs new
9022 messages. This is so when an element goes to NULL, all of the
9023 unhandled messages coming from it can be freed, and their
9024 references to the element dropped. In other words: message source
9025 ref considered harmful :P
9027 * gst/gstbin.c (gst_bin_change_state): Unref peer element when
9028 we're finished with it.
9030 * gst/gstmessage.c (gst_message_new_state_changed):
9032 2005-05-10 Wim Taymans <wim@fluendo.com>
9034 * gst/gstvalue.c: (gst_value_compare_flags),
9035 (gst_value_serialize_flags), (gst_value_deserialize_flags),
9036 (_gst_value_initialize):
9037 Added flags serialize/deserialize/compare code.
9039 2005-05-09 Andy Wingo <wingo@pobox.com>
9041 * gst/base/gstbasetransform.c (gst_base_transform_proxy_getcaps):
9042 Intersect the peer's caps with our caps.
9044 2005-05-09 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
9046 * gst/base/gsttypefindhelper.c: (helper_find_peek):
9047 * gst/elements/gsttypefindelement.c: (find_peek):
9048 Handle negative offsets better. Fixes decodebin.
9050 2005-05-09 Wim Taymans <wim@fluendo.com>
9052 * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps),
9053 (gst_base_transform_event):
9054 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query):
9055 Implement accept_caps.
9056 Fix silly lock/unlock mismatch in base class.
9058 2005-05-09 Wim Taymans <wim@fluendo.com>
9060 * docs/design/draft-push-pull.txt:
9061 * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_query):
9062 * gst/elements/gstfilesink.c: (gst_filesink_init),
9063 (gst_filesink_query):
9064 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
9065 (gst_type_find_handle_src_query), (find_element_get_length):
9066 * gst/gstelement.c: (gst_element_seek), (gst_element_query):
9070 * gst/gstpad.c: (gst_real_pad_init), (gst_pad_get_query_types),
9071 (gst_real_pad_get_caps_unlocked),
9072 (gst_pad_get_internal_links_default), (gst_pad_get_internal_links),
9073 (gst_pad_event_default_dispatch), (gst_pad_event_default),
9074 (gst_pad_dispatcher), (gst_pad_query), (gst_pad_query_default),
9075 (gst_real_pad_dispose), (gst_real_pad_finalize),
9076 (gst_pad_load_and_link), (gst_pad_save_thyself),
9077 (gst_ghost_pad_save_thyself), (handle_pad_block), (gst_pad_push),
9078 (gst_pad_check_pull_range), (gst_pad_pull_range),
9079 (gst_pad_template_get_type), (gst_pad_template_class_init),
9080 (gst_pad_template_init), (gst_pad_template_dispose),
9081 (name_is_valid), (gst_static_pad_template_get),
9082 (gst_pad_template_new), (gst_static_pad_template_get_caps),
9083 (gst_pad_template_get_caps), (gst_pad_set_element_private),
9084 (gst_pad_get_element_private), (gst_pad_start_task),
9085 (gst_pad_pause_task), (gst_pad_stop_task),
9086 (gst_ghost_pad_get_type), (gst_ghost_pad_class_init),
9087 (gst_ghost_pad_init), (gst_ghost_pad_dispose),
9088 (gst_ghost_pad_set_property), (gst_ghost_pad_get_property),
9089 (gst_ghost_pad_new):
9091 * gst/gstquery.c: (_gst_query_initialize), (gst_query_new),
9092 (gst_query_new_position), (gst_query_set_position),
9093 (gst_query_parse_position), (gst_query_new_convert),
9094 (gst_query_set_convert), (gst_query_parse_convert):
9096 * gst/gstqueryutils.c:
9097 * gst/gstqueryutils.h:
9098 * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
9099 (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
9100 (gst_queue_handle_src_query):
9101 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
9102 (gst_element_query_position), (gst_element_query_convert),
9103 (intersect_caps_func), (gst_pad_query_position),
9104 (gst_pad_query_convert):
9106 * tools/gst-inspect.c: (print_pad_info):
9107 * tools/gst-xmlinspect.c: (print_element_info):
9108 Remove old query functions. Ported old code.
9109 Added position/convert helper functions to gstutils.
9110 Reordered gstpad.c code, grouping relevant things.
9111 Remove gst_message_new(), always need to speficy a specific
9115 2005-05-09 Andy Wingo <wingo@pobox.com>
9117 * gst/gstiterator.h: Add some includes.
9119 * gst/gstqueryutils.h: Include more headers.
9122 * gst/gstpad.c (gst_pad_query_position): New routine, replaces
9123 some uses of gst_pad_query.
9125 * gst/gstqueryutils.c: Build fixes. Make parse functions ignore
9126 NULL out parameters.
9127 (gst_query_new_position): New proc, allocates a new position
9130 * gst/Makefile.am (libgstreamer_@GST_MAJORMINOR@_la_SOURCES): Add
9131 gstqueryutils.c to the build.
9133 * gst/gststructure.c (gst_structure_set_valist): Implement with
9134 the generic G_VALUE_COLLECT.
9136 2005-05-08 Edward Hervey <bilboed@bilboed.com>
9138 * gst/Makefile.am: (gst_headers):
9139 Added gstqueryutils.h to the list of headers to install, that was
9140 a 'nachty' move wingo :)
9142 2005-05-06 Andy Wingo <wingo@pobox.com>
9145 * gst/gstquery.c (_gst_query_initialize): Extend GstQuery from
9146 GstData, init a memchunk.
9147 (standard_definitions): Add a few query types, deprecate a few.
9148 (gst_query_get_type): New proc.
9149 (_gst_query_copy, _gst_query_free, gst_query_new): GstData
9151 (gst_query_new_application, gst_query_get_structure): New public
9154 * docs/design/draft-query.txt: Removed LINKS from the query types,
9155 because all the rest can be dispatched to other pads -- seemed
9156 ugly to have a query that couldn't be dispatched. internal_links
9157 is fine as a pad method.
9159 * gst/gstpad.h: Add query2 as a pad method, add the new functions
9160 in gstpad.c, but maintain binary compatibility for the moment.
9161 Will fix before 0.9 is out.
9163 * gst/gstqueryutils.c:
9164 * gst/gstqueryutils.h: New files, implement 3 methods for each
9165 query type: parse_query, parse_response, and set. Probably need an
9168 * gst/gst.h: Add gstquery.h and gstqueryutils.h to the list.
9170 * gst/elements/gstfilesink.c (gst_filesink_query2):
9171 * gst/base/gstbasesrc.c (gst_basesrc_query2): Replace old query,
9172 query_types, and formats methods.
9174 * gst/gstpad.c (gst_pad_query2, gst_pad_query2_default)
9175 (gst_pad_set_query2_function): New functions.
9176 (gst_real_pad_init): Set query2_default as the default query2
9177 function. Basically just dispatches to internally linked pads.
9181 * gst/gstdata_private.h (_GST_DATA_INIT): Set data->refcount to 1
9182 without using the atomic operations. Only one thread can possibly
9183 be accessing the data at this point. Changed so as to avoid
9184 gst_atomic operations.
9186 2005-05-06 Wim Taymans <wim@fluendo.com>
9188 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push):
9189 Also set caps if we use the fallback buffer alloc.
9191 2005-05-06 Tim-Philipp Müller <tim at centricular dot net>
9193 * docs/gst/Makefile.am:
9194 * docs/gst/gstreamer-docs.sgml:
9195 * docs/gst/gstreamer-sections.txt:
9196 * docs/gst/tmpl/gstatomic.sgml:
9197 * docs/gst/tmpl/gstmemchunk.sgml:
9198 * testsuite/elements/struct_i386.h:
9199 * win32/GStreamer.vcproj:
9201 Purge GstAtomic stuff from docs and win32 makefiles as well
9203 2005-05-06 Wim Taymans <wim@fluendo.com>
9205 * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps):
9206 * gst/elements/gstcapsfilter.c: (gst_capsfilter_getcaps):
9207 * gst/gstpad.c: (gst_pad_peer_get_caps):
9208 * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
9209 (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
9210 (gst_queue_src_activate), (gst_queue_change_state):
9212 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
9213 (intersect_caps_func):
9214 Fix gst_pad_peer_get_caps(), make it return NULL if no peer.
9215 Always take QUEUE_LOCK after STREAM_LOCK or we might deadlock.
9216 Some fixes for the peer_get_caps() change.
9218 2005-05-06 Wim Taymans <wim@fluendo.com>
9220 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
9221 (gst_basesink_handle_buffer), (gst_basesink_chain_unlocked),
9222 (gst_basesink_activate):
9223 Actually do something with error codes returned from the push
9226 2005-05-06 Wim Taymans <wim@fluendo.com>
9228 * docs/design/part-element-sink.txt:
9229 * docs/design/part-element-source.txt:
9230 * gst/base/gstbasesink.c: (gst_basesink_class_init),
9231 (gst_basesink_event), (gst_basesink_activate):
9232 * gst/base/gstbasesink.h:
9233 * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_unlock),
9234 (gst_basesrc_activate):
9235 * gst/base/gstbasesrc.h:
9236 * gst/gstelement.c: (gst_element_pads_activate):
9237 Some more documentation.
9238 Fixed scheduling decision in _pads_activate().
9240 2005-05-05 Andy Wingo <wingo@pobox.com>
9242 * check/pipelines/simple_launch_lines.c (test_2_elements): "Fix"
9245 2005-05-05 Wim Taymans <wim@fluendo.com>
9247 * gst/base/Makefile.am:
9248 * gst/base/gstbasesink.h:
9249 * gst/base/gstbasesrc.c: (gst_basesrc_init),
9250 (gst_basesrc_set_dataflow_funcs), (gst_basesrc_query):
9251 * gst/base/gstcollectpads.c: (gst_collectpads_get_type),
9252 (gst_collectpads_class_init), (gst_collectpads_init),
9253 (gst_collectpads_finalize), (gst_collectpads_new),
9254 (gst_collectpads_set_function), (gst_collectpads_add_pad),
9255 (find_pad), (gst_collectpads_remove_pad),
9256 (gst_collectpads_is_active), (gst_collectpads_collect),
9257 (gst_collectpads_collect_range), (gst_collectpads_start),
9258 (gst_collectpads_stop), (gst_collectpads_peek),
9259 (gst_collectpads_pop), (gst_collectpads_available),
9260 (gst_collectpads_read), (gst_collectpads_flush),
9261 (gst_collectpads_chain):
9262 * gst/base/gstcollectpads.h:
9263 * gst/elements/Makefile.am:
9264 * gst/elements/gstelements.c:
9265 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
9266 (gst_fakesink_get_times), (gst_fakesink_event),
9267 (gst_fakesink_preroll), (gst_fakesink_render):
9268 * gst/elements/gstfilesink.c: (gst_filesink_class_init),
9269 (gst_filesink_init), (gst_filesink_set_location),
9270 (gst_filesink_open_file), (gst_filesink_close_file),
9271 (gst_filesink_pad_query), (gst_filesink_event),
9272 (gst_filesink_render), (gst_filesink_change_state):
9273 * gst/elements/gstfilesink.h:
9274 Added object to help in making collect pad based elements.
9276 Make event function in sink baseclass return gboolean.
9278 2005-05-05 Wim Taymans <wim@fluendo.com>
9280 * gst/gstbin.c: (gst_bin_send_event), (compare_name),
9281 (gst_bin_get_by_name):
9283 * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_class_init),
9284 (gst_clock_finalize):
9285 * gst/gstdata.c: (gst_data_replace):
9287 * gst/gstelement.c: (gst_element_request_pad),
9288 (gst_element_pads_activate):
9289 * gst/gstobject.c: (gst_object_init), (gst_object_ref),
9291 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
9292 (gst_pad_set_checkgetrange_function),
9293 (gst_pad_link_check_compatible_unlocked), (gst_pad_set_caps),
9294 (gst_pad_check_pull_range), (gst_pad_pull_range),
9295 (gst_static_pad_template_get_caps), (gst_pad_start_task),
9296 (gst_pad_pause_task), (gst_pad_stop_task):
9297 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
9298 (gst_element_request_pad), (gst_pad_proxy_getcaps):
9299 Fix name lookup in GstBin.
9300 Added _data_replace() function and _buffer_replace()
9301 Use finalize method to clean up clock.
9302 Fix refcounting on request pads.
9303 Fix pad schedule mode error.
9304 Some more object refcounting debug info,
9307 2005-05-04 Andy Wingo <wingo@pobox.com>
9309 * check/Makefile.am:
9310 * docs/gst/tmpl/gstatomic.sgml:
9311 * docs/gst/tmpl/gstplugin.sgml:
9312 * gst/base/gstbasesink.c: (gst_basesink_activate):
9313 * gst/base/gstbasesrc.c: (gst_basesrc_class_init),
9314 (gst_basesrc_init), (gst_basesrc_set_dataflow_funcs),
9315 (gst_basesrc_query), (gst_basesrc_set_property),
9316 (gst_basesrc_get_property), (gst_basesrc_check_get_range),
9317 (gst_basesrc_activate):
9318 * gst/base/gstbasesrc.h:
9319 * gst/base/gstbasetransform.c: (gst_base_transform_sink_activate),
9320 (gst_base_transform_src_activate):
9321 * gst/elements/gstelements.c:
9322 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
9323 (gst_fakesrc_set_property), (gst_fakesrc_get_property):
9324 * gst/elements/gsttee.c: (gst_tee_sink_activate):
9325 * gst/elements/gsttypefindelement.c: (find_element_get_length),
9326 (gst_type_find_element_checkgetrange),
9327 (gst_type_find_element_activate):
9328 * gst/gstbin.c: (gst_bin_save_thyself), (gst_bin_restore_thyself):
9329 * gst/gstcaps.c: (gst_caps_do_simplify), (gst_caps_save_thyself),
9330 (gst_caps_load_thyself):
9331 * gst/gstelement.c: (gst_element_pads_activate),
9332 (gst_element_save_thyself), (gst_element_restore_thyself):
9333 * gst/gstpad.c: (gst_pad_load_and_link), (gst_pad_save_thyself),
9334 (gst_ghost_pad_save_thyself), (gst_pad_check_pull_range):
9336 * gst/gstxml.c: (gst_xml_write), (gst_xml_parse_doc),
9337 (gst_xml_parse_file), (gst_xml_parse_memory),
9338 (gst_xml_get_element), (gst_xml_make_element):
9339 * gst/indexers/gstfileindex.c: (gst_file_index_load),
9340 (_file_index_id_save_xml), (gst_file_index_commit):
9341 * gst/registries/gstlibxmlregistry.c: (read_string), (read_uint),
9342 (read_enum), (load_pad_template), (load_feature), (load_plugin),
9344 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_caps),
9345 (gst_dp_packet_from_event), (gst_dp_caps_from_packet):
9346 * tools/gst-complete.c: (main):
9347 * tools/gst-compprep.c: (main):
9348 * tools/gst-inspect.c: (print_element_properties_info):
9349 * tools/gst-launch.c: (xmllaunch_parse_cmdline):
9350 * tools/gst-xmlinspect.c: (print_element_properties):
9353 2005-05-03 Thomas Vander Stichele <thomas at apestaart dot org>
9355 * gst/gstplugin.c: (gst_plugin_check_module),
9356 (gst_plugin_check_file), (gst_plugin_load_file):
9357 apply patch from #172526 to make register work on MacOSX
9359 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
9361 * docs/gst/tmpl/gstconfig.sgml:
9362 * gst/gstconfig.h.in:
9363 move documentation for some symbols. Add doc for GST_PTR_FORMAT
9364 * testsuite/debug/printf_extension.c: (main):
9365 Do not use GST_PTR_FORMAT on pointers to types with
9366 sizeof < sizeof(gpointer). Fixes test on 64-bit
9367 * testsuite/elements/property.h:
9368 use correct printf format
9370 2005-05-02 Wim Taymans <wim@fluendo.com>
9372 * docs/design/draft-push-pull.txt:
9373 * docs/design/draft-query.txt:
9374 * gst/base/gstbasesrc.c: (gst_basesrc_get_range_unlocked),
9375 (gst_basesrc_start):
9376 Added draft for new query API.
9377 Added draft for better selecting scheduling methods.
9378 Make basesrc ignore length if the subclass does not support
9381 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
9384 possible fixes for automake-1.5 - _LIBADD is reserved
9386 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
9388 * docs/faq/Makefile.am:
9389 * docs/manual/Makefile.am:
9391 * docs/pwg/Makefile.am:
9393 possible fixes for automake-1.5
9395 2005-04-28 Wim Taymans <wim@fluendo.com>
9397 * gst/base/gstbasesink.c: (gst_basesink_base_init),
9398 (gst_basesink_pad_getcaps), (gst_basesink_init),
9399 (gst_basesink_do_sync):
9400 * gst/gstclock.c: (gst_clock_entry_new):
9401 * gst/gstevent.c: (gst_event_discont_get_value):
9402 * gst/gstpipeline.c: (pipeline_bus_handler),
9403 (gst_pipeline_change_state):
9404 * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
9405 Better debugging of clocking info.
9406 Allow NULL values when getting discont values.
9408 2005-04-27 Wim Taymans <wim@fluendo.com>
9410 * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
9411 * check/gst/gstpad.c: (gst_pad_suite):
9412 Increase timeout for checks.
9414 2005-04-27 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
9416 * check/Makefile.am:
9417 fix the broken rule for cleanup. Apparently this rule is
9418 only needed on FC2, so maybe this warrants further autotool
9421 2005-04-26 Wim Taymans <wim@fluendo.com>
9423 * gst/gsttrashstack.h:
9424 Ooohh. a nasty one! After having a failed pop() from the stack,
9425 it's possible that the stack is empty. In that case, don't
9426 follow the NULL pointer.
9428 2005-04-25 Wim Taymans <wim@fluendo.com>
9430 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
9431 (gst_pad_set_checkgetrange_function),
9432 (gst_pad_link_check_compatible_unlocked), (gst_pad_link_prepare),
9433 (gst_pad_check_pull_range), (gst_pad_pull_range),
9434 (gst_static_pad_template_get_caps), (gst_pad_start_task),
9435 (gst_pad_pause_task), (gst_pad_stop_task):
9436 * gst/gstplugin.c: (gst_plugin_load):
9438 Remove gst_library_load as it does more harm than good with
9439 the new g_module flags.
9440 Revert bogus caps template check in pad linking, pad caps
9441 are important when linking not the template, which is more
9442 general than the current caps.
9444 2005-04-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
9446 * gst/autoplug/.cvsignore:
9447 * gst/autoplug/Makefile.am:
9448 * gst/autoplug/gstsearchfuncs.c:
9449 * gst/autoplug/gstsearchfuncs.h:
9450 * gst/autoplug/gstspider.c:
9451 * gst/autoplug/gstspider.h:
9452 * gst/autoplug/gstspideridentity.c:
9453 * gst/autoplug/gstspideridentity.h:
9454 * gst/autoplug/spidertest.c:
9457 2005-04-25 Wim Taymans <wim@fluendo.com>
9459 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
9460 (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
9461 (gst_pad_pull_range), (gst_static_pad_template_get_caps),
9462 (gst_pad_start_task), (gst_pad_pause_task), (gst_pad_stop_task):
9464 Added stubs for unimplemented functions.
9466 2005-04-24 David Schleef <ds@schleef.org>
9468 * gst/gstpad.h: Disable some unimplemented functions. Wim,
9471 2005-04-24 David Schleef <ds@schleef.org>
9473 Convert everything from GstAtomicInt to g_atomic_int_*, and
9478 * gst/gstatomic_impl.h:
9486 * gst/gstdata_private.h:
9493 * gst/gststructure.c:
9494 * gst/gststructure.h:
9495 * gst/gstutils.c: Add gst_atomic_int_set() compaitibility function.
9498 2005-04-24 David Schleef <ds@schleef.org>
9500 * check/gst/gstpad.c: (START_TEST): Oh yeah, it's always nice to
9501 make the regressions tests work. Remove some code that is no
9503 * gst/gstpad.c: (gst_pad_link_check_templates_compatible_unlocked):
9504 Disable warning for pads without templates.
9506 2005-04-24 David Schleef <ds@schleef.org>
9508 * gst/gstpad.c: Remove handling of filtered caps. Fix/merge
9509 functions that handle filtered links.
9510 * gst/gstpad.h: Remove 'appfilter' field and prototypes of
9512 * gst/gstutils.c: Fix/remove utility functions that handle
9515 * gst/gstvalue.c: Add serialization/deserialization of caps
9516 * gst/parse/grammar.y: Ignore filtered caps when linking. This
9517 requires fixing so that the filter caps notation creates
9518 a capsfilter element and sets the filter_caps property. I
9519 think everyone probably wants to keep the shorthand notation.
9520 * docs/gst/tmpl/gstelement.sgml: updates for API changes.
9521 * docs/gst/tmpl/gstpad.sgml:
9523 * gst/elements/gstelements.c: Register capsfilter element.
9524 * gst/Makefile.am: fix spacing
9525 * docs/random/ds/0.9-suggested-changes: random
9527 2005-04-23 David Schleef <ds@schleef.org>
9529 * gst/elements/Makefile.am:
9530 * gst/elements/gstcapsfilter.c: New element that acts like an
9531 identity, but filters caps. Will eventually replace filtered
9532 caps in pad linking.
9533 * gst/gstutils.c: (gst_element_create_all_pads): New function
9534 to create all the ALWAYS pads that are registered with an
9535 element class. This functionality should eventually be
9536 merged in with GstElement initialization.
9538 * testsuite/trigger/README: part of trigger test code that should
9539 have been checked in a long time ago.
9541 2005-04-23 David Schleef <ds@schleef.org>
9543 * gst/Makefile.am: Remove as-libtool stuff. It's likely not
9544 needed with new versions of libtool (nobody will confirm this),
9545 and hard to carry around.
9546 * gst/autoplug/Makefile.am:
9547 * gst/base/Makefile.am:
9548 * gst/elements/Makefile.am:
9549 * gst/indexers/Makefile.am:
9550 * gst/schedulers/Makefile.am:
9551 * libs/gst/bytestream/Makefile.am:
9552 * libs/gst/control/Makefile.am:
9553 * libs/gst/dataprotocol/Makefile.am:
9554 * libs/gst/getbits/Makefile.am:
9556 2005-04-21 Wim Taymans <wim@fluendo.com>
9558 * docs/design/draft-push-pull.txt:
9559 * docs/design/part-MT-refcounting.txt:
9560 * docs/design/part-TODO.txt:
9561 * docs/design/part-caps.txt:
9562 * docs/design/part-events.txt:
9563 * docs/design/part-gstbus.txt:
9564 * docs/design/part-gstpipeline.txt:
9565 * docs/design/part-messages.txt:
9566 * docs/design/part-push-pull.txt:
9567 * docs/design/part-query.txt:
9570 2005-04-21 Wim Taymans <wim@fluendo.com>
9572 * gst/gstmessage.c: (_gst_message_copy), (_gst_message_free),
9573 (gst_message_new), (gst_message_new_error),
9574 (gst_message_new_warning), (gst_message_new_tag),
9575 (gst_message_new_state_changed), (gst_message_new_application),
9576 (gst_message_get_structure):
9578 * gst/gststructure.c: (gst_structure_set_parent_refcount),
9579 (gst_structure_copy_conditional):
9580 Use parent refcount in GstMessage to ensure GstStructure
9582 Cleaned up headers a bit.
9585 2005-04-20 Wim Taymans <wim@fluendo.com>
9587 * gst/base/gstbasesink.c: (gst_basesink_base_init),
9588 (gst_basesink_pad_getcaps), (gst_basesink_init),
9589 (gst_basesink_chain_unlocked):
9590 * gst/base/gsttypefindhelper.c: (helper_find_suggest),
9591 (gst_type_find_helper):
9592 * gst/elements/gsttypefindelement.c:
9593 (gst_type_find_element_have_type), (gst_type_find_element_init),
9594 (stop_typefinding), (gst_type_find_element_handle_event),
9595 (find_suggest), (gst_type_find_element_chain),
9596 (gst_type_find_element_checkgetrange),
9597 (gst_type_find_element_getrange), (do_typefind),
9598 (gst_type_find_element_activate):
9599 * gst/gstbuffer.c: (_gst_buffer_sub_free),
9600 (gst_buffer_default_free), (gst_buffer_default_copy),
9601 (gst_buffer_set_caps):
9602 * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref),
9604 * gst/gstmessage.c: (gst_message_new),
9605 (gst_message_new_state_changed):
9606 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
9607 (gst_pad_set_checkgetrange_function),
9608 (gst_pad_link_prepare_filtered), (gst_pad_relink_filtered),
9609 (gst_pad_set_caps), (gst_pad_check_pull_range),
9610 (gst_pad_pull_range), (gst_static_pad_template_get_caps):
9612 * gst/gsttypefind.c: (gst_type_find_register):
9613 Make gst_caps_replace() work like other _replace() functions.
9614 Use _caps_replace() where possible.
9615 Make sure _message_new() initialises its field.
9616 Add gst_static_pad_template_get_caps()
9619 2005-04-18 Andy Wingo <wingo@pobox.com>
9621 * gst/gstelement.c (gst_element_pads_activate): Check pull_range
9622 on the peer, not the pad. I think that was a typo. Pass an extra
9623 arg to see if random access is possible. Activate the pads as
9624 PULL_RANGE if possible.
9626 * gst/elements/gstfakesrc.c: s/ARG_/PROP_/.
9628 * gst/base/gstbasesrc.c (gst_basesrc_set_property)
9629 (gst_basesrc_get_property): BLOCKSIZE is a ULONG. Rename ARG_...
9632 2005-04-14 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
9634 * docs/faq/using.xml:
9635 Add note on gstreamer-properties (#154996).
9637 2005-04-13 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
9639 * docs/random/bbb/optional-properties:
9640 Some analysis on optional properties.
9642 2005-04-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
9644 * docs/gst/tmpl/gstelementfactory.sgml:
9646 * gst/gstelementfactory.c: (gst_element_factory_init),
9647 (gst_element_factory_cleanup), (gst_element_register),
9648 (__gst_element_factory_add_static_pad_template),
9649 (gst_element_factory_get_static_pad_templates),
9650 (gst_element_factory_can_src_caps),
9651 (gst_element_factory_can_sink_caps):
9652 * gst/registries/Makefile.am:
9653 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_get_type),
9654 (gst_xml_registry_class_init), (gst_xml_registry_init),
9655 (gst_xml_registry_new), (gst_xml_registry_set_property),
9656 (gst_xml_registry_get_property), (get_time), (make_dir),
9657 (gst_xml_registry_get_perms_func),
9658 (plugin_times_older_than_recurse), (plugin_times_older_than),
9659 (gst_xml_registry_open_func), (gst_xml_registry_load_func),
9660 (gst_xml_registry_save_func), (gst_xml_registry_close_func),
9661 (add_to_char_array), (read_string), (read_uint), (read_enum),
9662 (load_pad_template), (load_feature), (load_plugin), (load_paths),
9663 (gst_xml_registry_load), (gst_xml_registry_load_plugin),
9664 (gst_xml_registry_save_caps), (gst_xml_registry_save_pad_template),
9665 (gst_xml_registry_save_feature), (gst_xml_registry_save_plugin),
9666 (gst_xml_registry_save), (gst_xml_registry_rebuild_recurse),
9667 (gst_xml_registry_rebuild):
9668 * gst/registries/gstlibxmlregistry.h:
9669 * tools/gst-compprep.c: (main):
9670 * tools/gst-inspect.c: (print_pad_templates_info):
9671 * tools/gst-xmlinspect.c: (print_element_info):
9672 Use libxml2 for registry parsing, use staticpadtemplates in
9673 elementfactories. Makes gst_init() +/- 10x faster.
9675 2005-04-12 Wim Taymans <wim@fluendo.com>
9677 * gst/base/Makefile.am:
9678 * gst/base/gstbasesink.c: (gst_basesink_base_init),
9679 (gst_basesink_pad_getcaps), (gst_basesink_init),
9680 (gst_basesink_event), (gst_basesink_change_state):
9681 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
9682 (gst_basesrc_init), (gst_basesrc_query),
9683 (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
9684 (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
9685 (gst_basesrc_check_get_range), (gst_basesrc_loop),
9686 (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
9687 (gst_basesrc_stop), (gst_basesrc_activate),
9688 (gst_basesrc_change_state):
9689 * gst/base/gsttypefindhelper.c: (helper_find_peek),
9690 (helper_find_suggest), (gst_type_find_helper):
9691 * gst/base/gsttypefindhelper.h:
9692 * gst/elements/Makefile.am:
9693 * gst/elements/gstelements.c:
9694 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
9695 (gst_fakesink_get_times), (gst_fakesink_event),
9696 (gst_fakesink_preroll), (gst_fakesink_render):
9697 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
9698 (gst_fakesrc_init), (gst_fakesrc_event_handler),
9699 (gst_fakesrc_get_property), (gst_fakesrc_create),
9700 (gst_fakesrc_start), (gst_fakesrc_stop):
9701 * gst/elements/gstfakesrc.h:
9702 * gst/elements/gstfilesrc.c: (gst_filesrc_class_init),
9703 (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
9704 (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
9705 (gst_filesrc_create_read), (gst_filesrc_create),
9706 (gst_filesrc_is_seekable), (gst_filesrc_get_size),
9707 (gst_filesrc_start):
9708 * gst/elements/gsttypefindelement.c:
9709 (gst_type_find_element_have_type), (gst_type_find_element_init),
9710 (start_typefinding), (stop_typefinding), (push_buffer_store),
9711 (gst_type_find_element_handle_event),
9712 (gst_type_find_element_chain),
9713 (gst_type_find_element_checkgetrange),
9714 (gst_type_find_element_getrange), (do_typefind),
9715 (gst_type_find_element_activate),
9716 (gst_type_find_element_change_state):
9717 * gst/elements/gsttypefindelement.h:
9718 * gst/gstpipeline.c: (pipeline_bus_handler):
9719 Added typefind helper.
9720 Small preroll fix in the base sink.
9721 Disable typefind code in basesrc.
9722 Crude port of typefindelement.
9726 2005-04-11 Wim Taymans <wim@fluendo.com>
9728 * check/gst/gstbus.c: (gstbus_suite):
9729 * check/gst/gstdata.c: (thread_ref), (gst_data_suite):
9731 Fix up the timeout so that the test does not fail.
9733 2005-04-06 Wim Taymans <wim@fluendo.com>
9736 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
9737 (gst_basesrc_init), (gst_basesrc_get_formats), (gst_basesrc_query),
9738 (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
9739 (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
9740 (gst_basesrc_check_get_range), (gst_basesrc_loop),
9741 (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
9742 (gst_basesrc_stop), (gst_basesrc_activate),
9743 (gst_basesrc_change_state), (basesrc_find_peek),
9744 (basesrc_find_suggest), (gst_basesrc_type_find):
9745 * gst/base/gstbasesrc.h:
9746 * gst/elements/gstfilesrc.c: (gst_filesrc_base_init),
9747 (gst_filesrc_class_init), (gst_filesrc_init),
9748 (gst_filesrc_finalize), (gst_filesrc_set_location),
9749 (gst_filesrc_set_property), (gst_filesrc_get_property),
9750 (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
9751 (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
9752 (gst_filesrc_create_read), (gst_filesrc_create),
9753 (gst_filesrc_get_size), (gst_filesrc_start), (gst_filesrc_stop):
9754 * gst/elements/gstfilesrc.h:
9755 * gst/gstelement.c: (gst_element_get_state_func),
9756 (gst_element_lost_state), (gst_element_pads_activate):
9757 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
9758 (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
9759 (gst_pad_pull_range):
9761 More work on the generic source base class, implement seeking,
9763 Make filesrc extend the base source class.
9764 Added gst_pad_set_checkgetrange_function to GstPad.
9766 2005-04-06 Andy Wingo <wingo@pobox.com>
9768 * pkgconfig/gstreamer-base.pc.in:
9769 * pkgconfig/gstreamer-base-uninstalled.pc.in: New files.
9771 * pkgconfig/Makefile.am:
9772 * configure.ac (AC_OUTPUT): Add gstreamer-base pkgconfig files.
9774 2005-04-04 Wim Taymans <wim@fluendo.com>
9776 * gst/base/Makefile.am:
9778 * gst/base/gstbasesink.c: (gst_basesink_base_init),
9779 (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
9780 (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
9781 (gst_basesink_do_sync), (gst_basesink_chain_unlocked):
9782 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
9783 (gst_basesrc_base_init), (gst_basesrc_class_init),
9784 (gst_basesrc_init), (gst_basesrc_get_formats),
9785 (gst_basesrc_get_query_types), (gst_basesrc_query),
9786 (gst_basesrc_get_event_mask), (gst_basesrc_event_handler),
9787 (gst_basesrc_set_property), (gst_basesrc_get_property),
9788 (gst_basesrc_get_range_unlocked), (gst_basesrc_get_range),
9789 (gst_basesrc_loop), (gst_basesrc_activate),
9790 (gst_basesrc_change_state):
9791 * gst/base/gstbasesrc.h:
9792 * gst/elements/gstfakesrc.c: (gst_fakesrc_base_init),
9793 (gst_fakesrc_class_init), (gst_fakesrc_init),
9794 (gst_fakesrc_event_handler), (gst_fakesrc_set_property),
9795 (gst_fakesrc_get_property), (gst_fakesrc_create):
9796 * gst/elements/gstfakesrc.h:
9797 * gst/elements/gstfilesrc.c: (gst_filesrc_getrange),
9798 (gst_filesrc_open_file), (gst_filesrc_loop),
9799 (gst_filesrc_activate), (filesrc_find_peek),
9800 (gst_filesrc_type_find):
9801 Made base source class, make fakesrc extend it.
9802 Add comments to basesink class.
9803 Some filesrc cleanup.
9805 2005-03-31 David Schleef <ds@schleef.org>
9807 * gst/gstplugin.c: (gst_plugin_check_file), (gst_plugin_load_file):
9808 Switch to using G_MODULE_BIND_LOCAL, which means plugins are now
9809 expected to link against libgstreamer.
9810 * gst/base/Makefile.am: link against libgstreamer
9811 * gst/elements/Makefile.am: same
9813 2005-03-31 Andy Wingo <wingo@pobox.com>
9815 * tests/instantiate/Makefile.am:
9816 * tests/instantiate/caps.c: Add test to test speed of caps copy
9819 * tests/memchunk/gmemchunktest.c (main): Use alloc only on the
9820 GMemChunk to be fair.
9822 * gst/gsttrashstack.h: Remove warning about using the fallback
9823 trash stack implementation, it's still faster than malloc.
9825 2005-03-30 Andy Wingo <wingo@pobox.com>
9827 * tests/complexity.c: Add a copyright.
9829 2005-03-31 Wim Taymans <wim@fluendo.com>
9831 * gst/base/gstbasetransform.c: (gst_base_transform_base_init),
9832 (gst_base_transform_class_init), (gst_base_transform_init),
9833 (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
9834 (gst_base_transform_get_property),
9835 (gst_base_transform_sink_activate),
9836 (gst_base_transform_src_activate),
9837 (gst_base_transform_change_state):
9838 * gst/base/gstbasetransform.h:
9839 * gst/elements/gstidentity.c: (gst_identity_class_init),
9840 (gst_identity_event), (gst_identity_check_perfect),
9841 (gst_identity_transform), (gst_identity_start),
9842 (gst_identity_stop):
9843 Added start/stop methods to transform base class so subclasses
9844 don't need to deal with state changes even.
9846 2005-03-31 Wim Taymans <wim@fluendo.com>
9848 * gst/gstevent.c: (gst_event_new_discontinuous_valist),
9849 (gst_event_new_discontinuous), (gst_event_discont_get_value):
9851 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
9852 (gst_pad_pull_range):
9853 Added rate to the discont event to prepare for variable speed
9854 and reverse playback.
9856 2005-03-29 David Schleef <ds@schleef.org>
9859 * testsuite/trigger/Makefile.am:
9860 * testsuite/trigger/trigger.c: A little example program to show
9861 how trigger-based elements can work.
9863 2005-03-29 Wim Taymans <wim@fluendo.com>
9865 * gst/base/Makefile.am:
9867 * gst/base/gstbasesink.c: (gst_basesink_get_type),
9868 (gst_basesink_base_init), (gst_basesink_class_init),
9869 (gst_basesink_pad_getcaps), (gst_basesink_init),
9870 (gst_basesink_activate), (gst_basesink_change_state):
9871 * gst/base/gstbasesink.h:
9872 * gst/base/gstbasetransform.c: (gst_base_transform_get_type),
9873 (gst_base_transform_base_init), (gst_base_transform_finalize),
9874 (gst_base_transform_class_init), (gst_base_transform_init),
9875 (gst_base_transform_proxy_getcaps), (gst_base_transform_setcaps),
9876 (gst_base_transform_event), (gst_base_transform_getrange),
9877 (gst_base_transform_chain), (gst_base_transform_handle_buffer),
9878 (gst_base_transform_set_property),
9879 (gst_base_transform_get_property),
9880 (gst_base_transform_sink_activate),
9881 (gst_base_transform_src_activate),
9882 (gst_base_transform_change_state):
9883 * gst/base/gstbasetransform.h:
9884 * gst/elements/gstidentity.c: (gst_identity_finalize),
9885 (gst_identity_class_init), (gst_identity_init),
9886 (gst_identity_event), (gst_identity_check_perfect),
9887 (gst_identity_transform), (gst_identity_set_property),
9888 (gst_identity_get_property), (gst_identity_change_state):
9889 * gst/elements/gstidentity.h:
9890 * gst/gstelement.c: (gst_element_get_state_func),
9891 (gst_element_lost_state), (gst_element_pads_activate):
9892 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
9893 (gst_pad_check_pull_range), (gst_pad_pull_range):
9895 Simplify pad activation.
9896 Added function to check if pull_range can be performed.
9897 Error out when pulling inactive or flushing pads.
9898 Removed const from refcounted types as it does not make sense.
9899 Simplify pad templates in basesink
9900 Added base class for simple 1-to-1 transforms.
9901 Make identity subclass the base transform.
9903 2005-03-29 Andy Wingo <wingo@pobox.com>
9905 * docs/libs/gstreamer-libs-overrides.txt:
9906 * docs/gst/gstreamer-overrides.txt: Add these files to CVS. Now I
9907 really don't understand what's going on, but like whatever. I want
9910 * docs/gst/Makefile.am:
9911 * docs/libs/Makefile.am: Dist the overrides files.
9913 * check/Makefile.am (clean-local): Remove .libs directories.
9915 * gst/elements/Makefile.am (EXTRA_DIST): Add all the attic
9916 elements to EXTRA_DIST, so po/ files are happy.
9918 * po/POTFILES.in: Er, remove it here.
9920 * po/POTFILES: Remove gstspider.c.
9922 * configure.ac (AC_OUTPUT): Add missing testsuite makefiles.
9924 * docs/libs/gstreamer-libs-docs.sgml:
9925 * docs/libs/gstreamer-libs-sections.txt: Remove the section on
9928 * tests/complexity.c (main): Set the length of the preroll queue
9929 on the sinks to prevent a lockup.
9931 * libs/gst/dataprotocol/Makefile.am:
9932 * libs/gst/dataprotocol/dataprotocol-test.c: Remove test, it's
9933 the same as the one in check/gst-libs/gdp.c.
9935 * po/, docs/gst/: Commit automatic changes to docs and po files.
9937 * gst/elements/Makefile.am (libgstelements_la_LDFLAGS): Link to
9938 the versioned libgstbase.
9940 * check/Makefile.am: Depend on an unversioned gst-register, seems
9941 to make autoconf happier.
9943 * gst/base/Makefile.am: Make libgstbase a versioned lib.
9945 2005-03-28 Wim Taymans <wim@fluendo.com>
9948 * docs/design/part-gstelement.txt:
9949 * docs/design/part-negotiation.txt:
9950 * docs/design/part-preroll.txt:
9951 * docs/design/part-scheduling.txt:
9952 * docs/design/part-states.txt:
9954 * gst/base/Makefile.am:
9956 * gst/base/gstbasesink.c: (gst_basesink_get_template),
9957 (gst_basesink_base_init), (gst_basesink_class_init),
9958 (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
9959 (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
9960 (gst_basesink_set_pad_functions),
9961 (gst_basesink_set_all_pad_functions), (gst_basesink_set_clock),
9962 (gst_basesink_set_property), (gst_basesink_get_property),
9963 (gst_base_sink_get_template), (gst_base_sink_get_caps),
9964 (gst_base_sink_set_caps), (gst_base_sink_buffer_alloc),
9965 (gst_basesink_preroll_queue_push),
9966 (gst_basesink_preroll_queue_empty),
9967 (gst_basesink_preroll_queue_flush), (gst_basesink_finish_preroll),
9968 (gst_basesink_event), (gst_basesink_get_times),
9969 (gst_basesink_do_sync), (gst_basesink_handle_buffer),
9970 (gst_basesink_chain_unlocked), (gst_basesink_chain),
9971 (gst_basesink_loop), (gst_basesink_activate),
9972 (gst_basesink_change_state):
9973 * gst/base/gstbasesink.h:
9974 * gst/elements/Makefile.am:
9975 * gst/elements/gstfakesink.c: (gst_fakesink_base_init),
9976 (gst_fakesink_class_init), (gst_fakesink_init),
9977 (gst_fakesink_set_property), (gst_fakesink_get_property),
9978 (gst_fakesink_get_times), (gst_fakesink_event),
9979 (gst_fakesink_preroll), (gst_fakesink_render),
9980 (gst_fakesink_change_state):
9981 * gst/elements/gstfakesink.h:
9982 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
9983 (gst_bin_get_state), (gst_bin_change_state), (gst_bin_send_event):
9984 * gst/gstelement.c: (gst_element_add_pad),
9985 (gst_element_get_state_func), (gst_element_abort_state),
9986 (gst_element_commit_state), (gst_element_lost_state),
9987 (gst_element_set_state), (gst_element_pads_activate):
9988 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_event_default):
9989 * gst/gstpipeline.c: (gst_pipeline_send_event),
9990 (gst_pipeline_change_state):
9991 Added state change code.
9993 Added sink base class, make fakesink extend the base class.
9994 Small cleanups in GstPipeline.
9996 2005-03-26 David Schleef <ds@schleef.org>
9998 * gst/Makefile.am: remove gstcpu.[ch]. The gst_cpu functionality
9999 is broken and should be implemented in a different library.
10000 * gst/gst.c: (init_post): don't call _gst_cpu_initialize()
10001 * gst/gst.h: remove gstcpu.h
10002 * gst/gstcpu.c: remove
10003 * gst/gstcpu.h: remove
10004 * gst/Makefile.am.future: Remove this file. It's ancient.
10006 2005-03-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
10008 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
10009 (gst_bin_send_event):
10010 Add default event/set_manager handlers. The set_manager handler
10011 takes care that the manager is distributed over kids that were
10012 already in the bin before the manager was set. The event handler
10013 is a utility virtual function that sends the event over all sinks,
10014 so that gst_element_send_event (bin, event); has the expected
10016 * gst/gstpad.c: (gst_pad_event_default):
10017 Re-install default event handling for discontinuities, so that
10018 seeking works without requiring hacks in applications or extra
10020 * gst/gstpipeline.c: (gst_pipeline_class_init),
10021 (gst_pipeline_send_event):
10022 Half hack, half utility: set a pipeline to PAUSED for seek events,
10023 since that is the only way we can guarantee a/v sync. Means that
10024 you can do gst_element_seek (pipeline, method, pos); on a pipeline
10025 and it "just works".
10027 2005-03-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
10029 * gst/gstpipeline.c: (gst_pipeline_use_clock):
10030 Lock/unlock mismatch.
10032 2005-03-25 Thomas Vander Stichele <thomas at apestaart dot org>
10034 * docs/faq/gst-uninstalled:
10035 add gst-plugins-base
10036 * docs/gst/Makefile.am:
10037 don't error out until docs are fixed
10038 * docs/gst/gstreamer.types:
10041 2005-03-22 Wim Taymans <wim@fluendo.com>
10043 * check/Makefile.am:
10044 * check/gst/gstmessage.c: (START_TEST), (gst_data_suite), (main):
10045 * gst/gststructure.c: (gst_structure_set_valist),
10046 (gst_structure_copy_conditional):
10047 Activated more tests.
10048 Added message test.
10049 Added G_TYPE_POINTER to GstStructure.
10052 2005-03-22 Wim Taymans <wim@fluendo.com>
10054 * docs/design/part-TODO.txt:
10055 * docs/design/part-events.txt:
10056 * docs/design/part-gstbin.txt:
10057 * docs/design/part-gstbus.txt:
10058 * docs/design/part-gstpipeline.txt:
10059 * docs/design/part-messages.txt:
10061 * gst/gstmessage.c:
10064 2005-03-21 Wim Taymans <wim@fluendo.com>
10066 * gst/gstbus.c: (gst_bus_post):
10067 Fix copy-and-paste error.
10069 2005-03-21 Wim Taymans <wim@fluendo.com>
10071 * check/Makefile.am:
10073 * gst/elements/Makefile.am:
10074 * gst/elements/gstelements.c:
10075 * gst/elements/gstfakesink.c: (gst_fakesink_init),
10076 (gst_fakesink_event), (gst_fakesink_chain):
10077 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
10078 (gst_fakesrc_init), (gst_fakesrc_get_event_mask),
10079 (gst_fakesrc_event_handler), (gst_fakesrc_set_pad_functions),
10080 (gst_fakesrc_set_all_pad_functions), (gst_fakesrc_request_new_pad),
10081 (gst_fakesrc_set_property), (gst_fakesrc_get_property),
10082 (gst_fakesrc_get_range_unlocked), (gst_fakesrc_get_range),
10083 (gst_fakesrc_loop), (gst_fakesrc_activate),
10084 (gst_fakesrc_change_state):
10085 * gst/elements/gstfakesrc.h:
10086 * gst/elements/gstfilesrc.c: (gst_filesrc_init),
10087 (gst_filesrc_get_read), (gst_filesrc_getrange), (gst_filesrc_get),
10088 (gst_filesrc_open_file), (gst_filesrc_loop),
10089 (gst_filesrc_activate), (gst_filesrc_change_state),
10090 (filesrc_find_peek), (filesrc_find_suggest),
10091 (gst_filesrc_type_find):
10092 * gst/elements/gstidentity.c: (gst_identity_finalize),
10093 (gst_identity_class_init), (gst_identity_init),
10094 (gst_identity_proxy_getcaps), (identity_queue_push),
10095 (identity_queue_pop), (identity_queue_flush), (gst_identity_event),
10096 (gst_identity_getrange), (gst_identity_chain),
10097 (gst_identity_sink_loop), (gst_identity_src_loop),
10098 (gst_identity_handle_buffer), (gst_identity_set_dataflow_funcs),
10099 (gst_identity_set_property), (gst_identity_get_property),
10100 (gst_identity_change_state):
10101 * gst/elements/gstidentity.h:
10102 * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_init),
10103 (gst_tee_update_pad_functions), (gst_tee_request_new_pad),
10104 (gst_tee_set_property), (gst_tee_get_property), (gst_tee_do_push),
10105 (gst_tee_handle_buffer), (gst_tee_chain), (gst_tee_loop),
10106 (gst_tee_sink_activate):
10107 * gst/elements/gsttee.h:
10108 * gst/gst.c: (gst_register_core_elements), (init_post):
10110 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_bus),
10111 (gst_bin_set_scheduler), (gst_bin_add_func), (gst_bin_add),
10112 (gst_bin_remove_func), (gst_bin_remove), (gst_bin_get_state),
10113 (gst_bin_change_state):
10115 * gst/gstbus.c: (gst_bus_get_type), (gst_bus_class_init),
10116 (gst_bus_init), (gst_bus_dispose), (gst_bus_set_property),
10117 (gst_bus_get_property), (gst_bus_new), (gst_bus_post),
10118 (gst_bus_have_pending), (gst_bus_pop), (gst_bus_peek),
10119 (gst_bus_set_sync_handler), (gst_bus_create_watch),
10120 (bus_watch_callback), (bus_watch_destroy),
10121 (gst_bus_add_watch_full), (gst_bus_add_watch), (poll_handler),
10122 (poll_timeout), (gst_bus_poll):
10126 * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
10127 (gst_element_post_message), (gst_element_message_full),
10128 (gst_element_get_state_func), (gst_element_get_state),
10129 (gst_element_abort_state), (gst_element_commit_state),
10130 (gst_element_lost_state), (gst_element_set_state),
10131 (gst_element_pads_activate), (gst_element_change_state),
10132 (gst_element_dispose), (gst_element_set_manager_func),
10133 (gst_element_set_bus_func), (gst_element_set_scheduler_func),
10134 (gst_element_set_manager), (gst_element_get_manager),
10135 (gst_element_set_bus), (gst_element_get_bus),
10136 (gst_element_set_scheduler), (gst_element_get_scheduler):
10137 * gst/gstelement.h:
10138 * gst/gstevent.c: (gst_event_new_segment_seek),
10139 (gst_event_new_flush):
10141 * gst/gstmessage.c: (_gst_message_initialize), (_gst_message_copy),
10142 (_gst_message_free), (gst_message_get_type), (gst_message_new),
10143 (gst_message_new_eos), (gst_message_new_error),
10144 (gst_message_new_warning), (gst_message_new_tag),
10145 (gst_message_new_state_changed), (gst_message_new_application),
10146 (gst_message_get_structure), (gst_message_parse_tag),
10147 (gst_message_parse_state_changed), (gst_message_parse_error),
10148 (gst_message_parse_warning):
10149 * gst/gstmessage.h:
10150 * gst/gstpad.c: (gst_real_pad_class_init), (gst_real_pad_init),
10151 (gst_real_pad_set_property), (gst_pad_set_active),
10152 (gst_pad_is_active), (gst_pad_set_blocked_async),
10153 (gst_pad_set_blocked), (gst_pad_is_blocked),
10154 (gst_pad_set_activate_function), (gst_pad_set_loop_function),
10155 (gst_pad_set_getrange_function), (gst_pad_set_acceptcaps_function),
10156 (gst_pad_set_fixatecaps_function), (gst_pad_set_setcaps_function),
10157 (gst_pad_unlink), (gst_pad_link_prepare_filtered),
10158 (gst_pad_link_filtered), (gst_pad_relink_filtered),
10159 (gst_real_pad_get_caps_unlocked), (gst_pad_get_caps),
10160 (gst_pad_peer_get_caps), (gst_pad_fixate_caps),
10161 (gst_pad_accept_caps), (gst_pad_peer_accept_caps),
10162 (gst_pad_set_caps), (gst_pad_configure_sink),
10163 (gst_pad_configure_src), (gst_pad_get_negotiated_caps),
10164 (gst_pad_get_filter_caps), (gst_pad_alloc_buffer),
10165 (gst_real_pad_dispose), (gst_real_pad_finalize),
10166 (handle_pad_block), (gst_pad_push), (gst_pad_pull_range),
10167 (gst_pad_event_default_dispatch), (gst_pad_event_default),
10168 (gst_pad_push_event), (gst_pad_send_event), (gst_pad_get_formats):
10170 * gst/gstpipeline.c: (gst_pipeline_init), (is_eos),
10171 (pipeline_bus_handler), (gst_pipeline_change_state),
10172 (gst_pipeline_get_scheduler), (gst_pipeline_get_bus):
10173 * gst/gstpipeline.h:
10175 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
10176 (gst_queue_finalize), (gst_queue_getcaps), (gst_queue_link_sink),
10177 (gst_queue_link_src), (gst_queue_bufferalloc),
10178 (gst_queue_locked_flush), (gst_queue_handle_sink_event),
10179 (gst_queue_is_empty), (gst_queue_is_filled), (gst_queue_chain),
10180 (gst_queue_loop), (gst_queue_handle_src_event),
10181 (gst_queue_handle_src_query), (gst_queue_src_activate),
10182 (gst_queue_change_state):
10184 * gst/gstscheduler.c: (gst_scheduler_init),
10185 (gst_scheduler_dispose), (gst_scheduler_create_task),
10186 (gst_scheduler_factory_create):
10187 * gst/gstscheduler.h:
10188 * gst/gststructure.c: (gst_structure_get_type),
10189 (gst_structure_copy_conditional):
10190 * gst/gststructure.h:
10191 * gst/gsttaginterface.h:
10192 * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
10193 (gst_task_init), (gst_task_dispose), (gst_task_create),
10194 (gst_task_get_state), (gst_task_start), (gst_task_stop),
10200 * gst/schedulers/Makefile.am:
10201 * gst/schedulers/cothreads_compat.h:
10202 * gst/schedulers/entryscheduler.c:
10203 * gst/schedulers/faircothreads.c:
10204 * gst/schedulers/faircothreads.h:
10205 * gst/schedulers/fairscheduler.c:
10206 * gst/schedulers/gstbasicscheduler.c:
10207 * gst/schedulers/gstoptimalscheduler.c:
10208 * gst/schedulers/gthread-cothreads.h:
10209 * gst/schedulers/threadscheduler.c:
10210 (gst_thread_scheduler_task_get_type),
10211 (gst_thread_scheduler_task_class_init),
10212 (gst_thread_scheduler_task_init),
10213 (gst_thread_scheduler_task_start),
10214 (gst_thread_scheduler_task_stop),
10215 (gst_thread_scheduler_task_pause), (gst_thread_scheduler_get_type),
10216 (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
10217 (gst_thread_scheduler_init), (gst_thread_scheduler_create_task),
10218 (gst_thread_scheduler_setup), (gst_thread_scheduler_reset),
10220 * libs/gst/Makefile.am:
10221 * libs/gst/bytestream/bytestream.c: (gst_bytestream_get_next_buf):
10222 * libs/gst/bytestream/filepad.c: (gst_file_pad_init),
10223 (gst_file_pad_parent_set):
10224 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
10225 (gst_dp_event_from_packet):
10226 * tests/complexity.c: (main):
10227 * tests/mass_elements.c: (main):
10228 * testsuite/states/locked.c: (message_received), (main):
10229 * testsuite/states/parent.c: (main):
10230 * tools/gst-inspect.c: (print_element_flag_info),
10231 (print_implementation_info), (print_pad_info):
10232 * tools/gst-launch.c: (check_intr), (play_handler), (event_loop),
10234 * tools/gst-md5sum.c: (event_loop), (main):
10235 * tools/gst-typefind.c: (main):
10236 * tools/gst-xmlinspect.c: (print_element_info):
10238 Added GstBus for mainloop integration.
10239 Added GstMessage for sending notifications on the bus.
10240 Added GstTask as an abstraction for pipeline entry points.
10242 Removed Schedulers.
10243 Simplified GstQueue for multithreaded core.
10244 Made _link threadsafe, removed old capsnego.
10245 Added STREAM_LOCK and PREROLL_LOCK in GstPad.
10246 Added pad blocking functions.
10247 Reworked scheduling functions in GstPad to prepare for
10248 scheduling updates soon.
10249 Moved events out of data stream.
10250 Simplified GstEvent types.
10251 Added return values to push/pull.
10252 Removed clocking from GstElement.
10253 Added prototypes for state change function for next merge.
10254 Removed iterate from bins and state change management.
10255 Fixed some elements, disabled others for now.
10256 Fixed -inspect and -launch.
10257 Added check for GstBus.
10259 2005-03-10 Wim Taymans <wim@fluendo.com>
10261 * docs/design/part-MT-refcounting.txt:
10262 * docs/design/part-clocks.txt:
10263 * docs/design/part-gstelement.txt:
10264 * docs/design/part-gstobject.txt:
10265 * docs/design/part-standards.txt:
10266 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
10267 (gst_bin_remove_func), (gst_bin_remove):
10271 * testsuite/clock/clock1.c: (main):
10272 * testsuite/clock/clock2.c: (gst_clock_debug), (element_wait),
10274 * testsuite/dlopen/loadgst.c: (do_test):
10275 * testsuite/refcounting/bin.c: (add_remove_test1),
10276 (add_remove_test2), (main):
10277 * testsuite/refcounting/element.c: (main):
10278 * testsuite/refcounting/element_pad.c: (main):
10279 * testsuite/refcounting/pad.c: (main):
10280 * tools/gst-launch.c: (sigint_handler_sighandler):
10281 * tools/gst-typefind.c: (main):
10283 Added doc about clock.
10284 removed gst_bin_iterate_recurse_up(), marked methods
10286 Fix more testsuites.
10288 2005-03-09 Wim Taymans <wim@fluendo.com>
10290 * gst/gstpad.c: (gst_pad_get_direction),
10291 (_gst_pad_default_fixate_foreach), (gst_pad_collectv),
10292 (gst_pad_collect_valist):
10293 * testsuite/bins/interface.c: (main):
10294 * testsuite/caps/audioscale.c: (test_caps):
10295 * testsuite/caps/caps.c: (test1), (test2), (test3):
10296 * testsuite/caps/deserialize.c: (main):
10297 * testsuite/caps/enumcaps.c: (main):
10298 * testsuite/caps/filtercaps.c: (main):
10299 * testsuite/caps/intersect2.c: (main):
10300 * testsuite/caps/random.c: (main):
10301 * testsuite/caps/renegotiate.c: (my_fixate), (main):
10302 * testsuite/caps/sets.c: (check_caps):
10303 * testsuite/caps/simplify.c: (check_caps), (main):
10304 * testsuite/caps/subtract.c: (check_caps):
10305 Fix _pad_get_direction wrt ghostpads.
10306 Fix caps testsuite.
10308 2005-03-09 Wim Taymans <wim@fluendo.com>
10310 * check/Makefile.am:
10311 * check/gst/gstbin.c: (START_TEST), (gst_bin_suite), (main):
10312 * check/gst/gstsystemclock.c: (START_TEST), (gst_clock_debug),
10313 (ok_callback), (error_callback), (gst_systemclock_suite), (main):
10314 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_index_func),
10315 (gst_bin_set_clock_func), (gst_bin_get_clock_func),
10316 (gst_bin_add_func), (gst_bin_add), (gst_bin_remove_func),
10317 (gst_bin_remove), (gst_bin_iterate_recurse_up),
10318 (bin_element_is_sink), (gst_bin_iterate_sinks),
10319 (gst_bin_iterate_all_by_interface):
10321 * gst/gstelement.c: (gst_element_init), (gst_element_error_full),
10322 (gst_element_change_state), (gst_element_dispose),
10323 (gst_element_finalize), (gst_element_set_loop_function):
10324 * gst/gstelement.h:
10325 * gst/gstiterator.c: (find_custom_fold_func):
10326 * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
10327 (gst_pad_collectv), (gst_pad_collect_valist),
10328 (gst_pad_template_new):
10329 * gst/gstpipeline.c: (gst_pipeline_class_init),
10330 (gst_pipeline_dispose), (gst_pipeline_set_property),
10331 (gst_pipeline_get_property), (gst_pipeline_get_clock_func),
10332 (gst_pipeline_get_clock), (gst_pipeline_use_clock),
10333 (gst_pipeline_set_clock), (gst_pipeline_auto_clock):
10335 * gst/schedulers/entryscheduler.c:
10336 * gst/schedulers/gstbasicscheduler.c:
10337 (gst_basic_scheduler_cothreaded_chain),
10338 (gst_basic_scheduler_chain_add_element):
10339 * testsuite/bins/interface.c: (main):
10341 Added GstSystemClock test.
10342 Implemented clock distribution code in GstBin.
10343 Implemented iterate sinks method for future use.
10344 Rearranged gstelement.h
10345 Fix GstIterator comparison bug.
10346 Moved some code to GstPipeline, mostly clocking related.
10348 2005-03-09 Wim Taymans <wim@fluendo.com>
10351 * gst/gst_private.h:
10352 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
10353 (gst_bin_remove_func), (gst_bin_remove),
10354 (gst_bin_get_by_name_recurse_up):
10355 * gst/gstclock.c: (gst_clock_id_ref), (gst_clock_id_unref),
10356 (gst_clock_id_compare_func), (gst_clock_id_wait),
10357 (gst_clock_id_wait_async), (gst_clock_init),
10358 (gst_clock_adjust_unlocked), (gst_clock_get_time):
10359 * gst/gstelement.h:
10360 * gst/gstinfo.c: (_gst_debug_init):
10362 * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
10363 (gst_pad_collectv), (gst_pad_collect_valist), (gst_pad_query):
10365 Bump version number, we're now 0.9.0
10366 Add future debugging category.
10367 Fix NULL _unref() in _get_by_name_recurse_up
10368 Rearrange gstpad.h.
10371 2005-03-08 Wim Taymans <wim@fluendo.com>
10373 * gst/elements/gstaggregator.c: (gst_aggregator_class_init):
10374 * gst/elements/gstfakesink.c: (gst_fakesink_class_init):
10375 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
10376 * gst/elements/gstfdsink.c: (gst_fdsink_class_init):
10377 * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init):
10378 * gst/elements/gstfilesink.c: (gst_filesink_class_init):
10379 * gst/elements/gstfilesrc.c: (gst_filesrc_class_init):
10380 * gst/elements/gstidentity.c: (gst_identity_class_init):
10381 * gst/elements/gstmd5sink.c: (gst_md5sink_class_init):
10382 * gst/elements/gstmultifilesrc.c: (gst_multifilesrc_class_init):
10383 * gst/elements/gstshaper.c: (gst_shaper_class_init):
10384 * gst/elements/gststatistics.c: (gst_statistics_class_init):
10385 * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_getcaps),
10387 * gst/gstelement.c: (gst_element_class_init),
10388 (gst_element_base_class_init), (gst_element_init),
10389 (gst_element_get_random_pad), (gst_element_wait_state_change),
10390 (gst_element_change_state), (gst_element_dispose),
10391 (gst_element_finalize), (gst_element_set_loop_function):
10392 * gst/gstelement.h:
10393 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_link_src):
10394 * gst/gstthread.c: (gst_thread_class_init),
10395 (gst_thread_release_children_locks), (gst_thread_change_state):
10396 * gst/schedulers/gstbasicscheduler.c:
10397 (gst_basic_scheduler_loopfunc_wrapper),
10398 (gst_basic_scheduler_chain_wrapper),
10399 (gst_basic_scheduler_src_wrapper),
10400 (gst_basic_scheduler_remove_element):
10401 * gst/schedulers/gstoptimalscheduler.c: (schedule_group):
10402 Remove threadsafe properties. Fix elements because GObject
10403 complains when installing a property before declaring a
10404 set/get_property handler.
10405 Rearrange gstelement.h file, use STATE macros for state locks.
10406 Free mutexes in the finalize method instead of dispose.
10408 2005-03-08 Wim Taymans <wim@fluendo.com>
10410 * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
10411 * gst/gstthread.c: (gst_thread_release_children_locks):
10412 Added parentage check.
10413 Fix build og GstThread again.
10415 2005-03-08 Wim Taymans <wim@fluendo.com>
10417 * docs/design/part-MT-refcounting.txt:
10418 * docs/design/part-conventions.txt:
10419 * docs/design/part-gstobject.txt:
10420 * docs/design/part-relations.txt:
10421 * docs/design/part-standards.txt:
10422 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
10423 (gst_bin_remove_func), (gst_bin_remove), (gst_bin_iterate_recurse),
10424 (gst_bin_get_by_name), (gst_bin_get_by_interface),
10425 (gst_bin_iterate_all_by_interface):
10428 * gst/gstelement.c: (gst_element_class_init),
10429 (gst_element_change_state), (gst_element_set_loop_function):
10430 * gst/gstelement.h:
10431 * gst/gstiterator.c:
10432 * gst/gstobject.c: (gst_object_class_init), (gst_object_ref),
10433 (gst_object_unref), (gst_object_sink), (gst_object_dispose),
10434 (gst_object_dispatch_properties_changed), (gst_object_set_name),
10435 (gst_object_set_parent), (gst_object_unparent),
10436 (gst_object_check_uniqueness):
10438 Docs updates, clean up some headers.
10440 2005-03-07 Wim Taymans <wim@fluendo.com>
10442 * check/.cvsignore:
10443 * check/Makefile.am:
10444 * check/gst-libs/.cvsignore:
10445 * check/gst-libs/gdp.c: (START_TEST), (gst_object_suite), (main):
10446 * check/gst/.cvsignore:
10447 * check/gst/gstbus.c: (pound_bus_with_messages), (pull_messages),
10448 (START_TEST), (gstbus_suite), (main):
10449 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite), (main):
10450 * check/gst/gstdata.c: (START_TEST), (thread_ref), (thread_unref),
10451 (gst_data_suite), (main):
10452 * check/gst/gstiterator.c: (make_list_of_ints), (START_TEST),
10453 (add_fold_func), (gstiterator_suite), (main):
10454 * check/gst/gstobject.c: (gst_fake_object_get_type), (START_TEST),
10455 (thread_name_object), (thread_name_object_default),
10456 (gst_object_name_compare), (gst_object_suite), (main):
10457 * check/gst/gstpad.c: (START_TEST), (thread_link_unlink),
10458 (gst_pad_suite), (main):
10459 * check/gstcheck.c: (gst_check_log_message_func),
10460 (gst_check_log_critical_func), (gst_check_init):
10461 * check/gstcheck.h:
10462 * check/pipelines/simple_launch_lines.c: (setup_pipeline),
10463 (run_pipeline), (START_TEST), (simple_launch_lines_suite), (main):
10466 2005-03-07 Wim Taymans <wim@fluendo.com>
10468 * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
10469 (gst_list_iterator_next), (gst_list_iterator_resync),
10470 (gst_list_iterator_free), (gst_iterator_new_list),
10471 (gst_iterator_pop), (gst_iterator_next), (gst_iterator_resync),
10472 (gst_iterator_free), (gst_iterator_push), (filter_next),
10473 (filter_resync), (filter_uninit), (filter_free),
10474 (gst_iterator_filter), (gst_iterator_fold), (foreach_fold_func),
10475 (gst_iterator_foreach), (find_custom_fold_func),
10476 (gst_iterator_find_custom):
10477 * gst/gstiterator.h:
10478 Added missing files.
10480 2005-03-07 Wim Taymans <wim@fluendo.com>
10484 * docs/design/part-MT-refcounting.txt:
10485 * docs/design/part-conventions.txt:
10486 * docs/design/part-gstobject.txt:
10487 * docs/design/part-relations.txt:
10488 * examples/mixer/mixer.c: (main):
10489 * examples/thread/thread.c: (eos), (main):
10491 * gst/autoplug/gstsearchfuncs.c: (gst_autoplug_caps_intersect):
10492 * gst/autoplug/gstspider.c: (gst_spider_identity_plug),
10493 (gst_spider_plug_from_srcpad):
10494 * gst/autoplug/gstspideridentity.c: (gst_spider_identity_getcaps),
10495 (gst_spider_identity_change_state),
10496 (gst_spider_identity_sink_loop_type_finding):
10497 * gst/elements/gstfakesrc.c: (gst_fakesrc_loop):
10498 * gst/elements/gstidentity.c: (gst_identity_init):
10499 * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_getcaps),
10500 (gst_tee_link), (gst_tee_request_new_pad), (gst_tee_chain):
10501 * gst/elements/gsttypefindelement.c: (free_entry):
10504 * gst/gstbin.c: (gst_bin_init), (gst_bin_get_clock_func),
10505 (gst_bin_set_clock_func), (gst_bin_auto_clock),
10506 (gst_bin_set_index), (gst_bin_set_element_sched),
10507 (gst_bin_unset_element_sched), (gst_bin_add_func), (gst_bin_add),
10508 (gst_bin_remove_func), (gst_bin_remove), (iterate_child),
10509 (gst_bin_iterate_elements), (iterate_child_recurse),
10510 (gst_bin_iterate_recurse), (gst_bin_dispose), (compare_name),
10511 (gst_bin_get_by_name), (gst_bin_get_by_name_recurse_up),
10512 (compare_interface), (gst_bin_get_by_interface),
10513 (gst_bin_iterate_all_by_interface), (gst_bin_iterate_func):
10515 * gst/gstbuffer.c: (gst_buffer_get_type), (_gst_buffer_sub_free),
10516 (gst_buffer_default_free), (gst_buffer_default_copy),
10517 (gst_buffer_new), (gst_buffer_get_caps), (gst_buffer_set_caps),
10518 (gst_buffer_create_sub):
10520 * gst/gstcaps.c: (gst_caps_get_type), (gst_caps_new_empty),
10521 (_gst_caps_free), (gst_caps_make_writable), (gst_caps_ref),
10522 (gst_caps_unref), (gst_static_caps_get),
10523 (gst_caps_remove_and_get_structure), (gst_caps_append),
10524 (gst_caps_append_structure), (gst_caps_remove_structure),
10525 (gst_caps_copy_nth), (gst_caps_set_simple),
10526 (gst_caps_set_simple_valist), (gst_caps_is_fixed_foreach),
10527 (gst_structure_is_equal_foreach), (gst_caps_is_subset),
10528 (gst_caps_structure_intersect_field), (gst_caps_intersect),
10529 (gst_caps_structure_subtract_field), (gst_caps_subtract),
10530 (gst_caps_normalize_foreach), (gst_caps_compare_structures),
10531 (gst_caps_structure_figure_out_union),
10532 (gst_caps_switch_structures), (gst_caps_do_simplify),
10533 (gst_caps_replace), (gst_caps_from_string),
10534 (gst_caps_copy_conditional):
10536 * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_ref),
10537 (_gst_clock_id_free), (gst_clock_id_unref),
10538 (gst_clock_id_compare_func), (gst_clock_id_wait),
10539 (gst_clock_id_wait_async), (gst_clock_class_init),
10540 (gst_clock_init), (gst_clock_dispose), (gst_clock_adjust_unlocked),
10541 (gst_clock_get_time), (gst_clock_set_time_adjust),
10542 (gst_clock_set_property), (gst_clock_get_property):
10545 * gst/gstcpu.c: (_gst_cpu_initialize_i386), (gst_cpu_get_flags):
10546 * gst/gstdata.c: (gst_data_is_writable), (gst_data_copy_on_write):
10548 * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
10549 (gst_element_requires_clock), (gst_element_provides_clock),
10550 (gst_element_set_clock), (gst_element_clock_wait),
10551 (gst_element_wait), (gst_element_set_time_delay),
10552 (gst_element_is_indexable), (gst_element_add_pad),
10553 (gst_element_add_ghost_pad), (gst_element_remove_pad),
10554 (pad_compare_name), (gst_element_get_static_pad),
10555 (gst_element_request_pad), (gst_element_get_request_pad),
10556 (gst_element_get_pad), (iterate_pad), (gst_element_iterate_pads),
10557 (gst_element_class_get_pad_template_list),
10558 (gst_element_class_get_pad_template), (gst_element_error_func),
10559 (gst_element_get_random_pad), (gst_element_get_event_masks),
10560 (gst_element_send_event), (gst_element_seek),
10561 (gst_element_get_query_types), (gst_element_query),
10562 (gst_element_get_formats), (gst_element_convert),
10563 (gst_element_is_locked_state), (gst_element_set_locked_state),
10564 (gst_element_sync_state_with_parent), (gst_element_change_state),
10565 (gst_element_finalize), (gst_element_yield),
10566 (gst_element_interrupt), (gst_element_set_scheduler),
10567 (gst_element_get_scheduler), (gst_element_set_loop_function):
10568 * gst/gstelement.h:
10570 * gst/gstformat.c: (_gst_format_initialize), (gst_format_register),
10571 (gst_format_get_by_nick), (gst_format_get_details),
10572 (gst_format_iterate_definitions):
10574 * gst/gstindex.c: (gst_index_gtype_resolver):
10577 * gst/gstmemchunk.c: (gst_mem_chunk_alloc), (gst_mem_chunk_alloc0),
10578 (gst_mem_chunk_free):
10579 * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
10580 (gst_object_ref), (gst_object_unref), (gst_object_sink),
10581 (gst_object_replace), (gst_object_dispose), (gst_object_finalize),
10582 (gst_object_dispatch_properties_changed),
10583 (gst_object_set_name_default), (gst_object_set_name),
10584 (gst_object_get_name), (gst_object_set_name_prefix),
10585 (gst_object_get_name_prefix), (gst_object_set_parent),
10586 (gst_object_get_parent), (gst_object_unparent),
10587 (gst_object_check_uniqueness), (gst_object_save_thyself),
10588 (gst_object_restore_thyself), (gst_object_real_restore_thyself),
10589 (gst_object_set_property), (gst_object_get_property),
10590 (gst_object_get_path_string):
10592 * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
10593 (gst_real_pad_init), (gst_real_pad_get_property),
10594 (gst_pad_custom_new), (gst_pad_get_direction),
10595 (gst_pad_set_active), (gst_pad_is_active),
10596 (gst_pad_set_event_function), (gst_pad_is_linked),
10597 (gst_pad_link_free), (gst_pad_link_intersect),
10598 (gst_pad_link_fixate), (gst_pad_set_caps),
10599 (gst_pad_try_set_caps_nonfixed), (gst_pad_set_pad_template),
10600 (gst_pad_get_real_parent), (gst_pad_add_ghost_pad),
10601 (gst_pad_remove_ghost_pad), (_gst_pad_default_fixate_foreach),
10602 (gst_pad_link_unnegotiate), (gst_pad_proxy_fixate),
10603 (gst_pad_get_caps), (gst_pad_peer_get_caps),
10604 (gst_pad_get_pad_template_caps), (gst_pad_get_peer),
10605 (gst_pad_realize), (gst_pad_get_allowed_caps),
10606 (gst_real_pad_dispose), (gst_real_pad_finalize),
10607 (gst_pad_collectv), (gst_pad_collect_valist),
10608 (gst_pad_template_dispose), (gst_pad_template_new),
10609 (gst_pad_get_internal_links):
10611 * gst/gstpipeline.c: (gst_pipeline_dispose),
10612 (gst_pipeline_change_state):
10613 * gst/gstpipeline.h:
10615 * gst/gstpluginfeature.c: (gst_plugin_feature_get_name),
10616 (gst_plugin_feature_set_rank), (gst_plugin_feature_get_rank):
10617 * gst/gstpluginfeature.h:
10618 * gst/gstprobe.c: (gst_probe_dispatcher_dispatch):
10619 * gst/gstquery.c: (_gst_query_type_initialize),
10620 (gst_query_type_register), (gst_query_type_get_by_nick),
10621 (gst_query_type_get_details), (gst_query_type_iterate_definitions):
10623 * gst/gstqueue.c: (gst_queue_link_sink), (gst_queue_link_src):
10624 * gst/gstscheduler.c: (gst_scheduler_add_element),
10625 (gst_scheduler_factory_create):
10626 * gst/gststructure.c: (gst_structure_set_parent_refcount),
10627 (gst_structure_free), (gst_structure_set_name),
10628 (gst_structure_id_set_value), (gst_structure_set_value),
10629 (gst_structure_set_valist), (gst_structure_remove_field),
10630 (gst_structure_remove_fields),
10631 (gst_structure_remove_fields_valist),
10632 (gst_structure_remove_all_fields), (gst_structure_foreach),
10633 (gst_structure_map_in_place),
10634 (gst_caps_structure_fixate_field_nearest_int),
10635 (gst_caps_structure_fixate_field_nearest_double):
10636 * gst/gststructure.h:
10637 * gst/gstsystemclock.c: (gst_system_clock_class_init),
10638 (gst_system_clock_init), (gst_system_clock_dispose),
10639 (gst_system_clock_async_thread),
10640 (gst_system_clock_id_wait_unlocked), (gst_system_clock_id_wait),
10641 (gst_system_clock_id_wait_async), (gst_system_clock_id_unschedule):
10642 * gst/gstsystemclock.h:
10643 * gst/gsttag.c: (gst_tag_list_add_value_internal),
10644 (gst_tag_list_copy_foreach), (structure_foreach_wrapper):
10645 * gst/gsttaginterface.c:
10646 * gst/gstthread.c: (gst_thread_dispose),
10647 (gst_thread_release_children_locks), (gst_thread_change_state),
10648 (gst_thread_main_loop):
10649 * gst/gsttrashstack.h:
10650 * gst/gsttypefind.c: (gst_type_find_factory_dispose):
10652 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
10653 (gst_element_request_pad), (gst_element_get_pad_from_template),
10654 (gst_element_request_compatible_pad),
10655 (gst_element_get_compatible_pad_filtered),
10656 (gst_element_get_compatible_pad), (gst_element_state_get_name),
10657 (gst_element_link_pads_filtered), (gst_element_link_filtered),
10658 (gst_element_link_many), (gst_element_link),
10659 (gst_element_link_pads), (gst_element_unlink_pads),
10660 (gst_element_unlink_many), (gst_element_unlink),
10661 (gst_pad_can_link_filtered), (gst_pad_can_link),
10662 (gst_pad_use_fixed_caps), (gst_pad_get_fixed_caps_func),
10663 (gst_object_default_error), (gst_bin_add_many),
10664 (gst_bin_remove_many), (gst_element_populate_std_props),
10665 (gst_element_class_install_std_props), (gst_buffer_merge),
10666 (gst_buffer_stamp), (intersect_caps_func), (gst_pad_proxy_getcaps),
10667 (link_fold_func), (gst_pad_proxy_setcaps):
10669 * gst/gstvalue.c: (gst_value_deserialize_string):
10670 * gst/parse/grammar.y:
10671 * gst/schedulers/gstbasicscheduler.c:
10672 (gst_basic_scheduler_cothreaded_chain),
10673 (gst_basic_scheduler_chain_recursive_add),
10674 (gst_basic_scheduler_pad_link):
10675 * gst/schedulers/gstoptimalscheduler.c:
10676 (get_group_schedule_function),
10677 (gst_opt_scheduler_state_transition),
10678 (gst_opt_scheduler_add_element), (element_get_reachables_func):
10679 * libs/gst/bytestream/bytestream.c:
10680 * libs/gst/dataprotocol/dataprotocol.c:
10681 (gst_dp_header_from_buffer):
10684 * tests/threadstate/threadstate2.c: (eos):
10685 * tools/gst-compprep.c: (main):
10686 * tools/gst-inspect.c: (print_field), (print_element_flag_info),
10687 (print_pad_info), (print_children_info):
10688 * tools/gst-launch.c: (idle_func), (main):
10689 * tools/gst-md5sum.c: (idle_func), (main):
10690 * tools/gst-xmlinspect.c: (print_element_info):
10691 First THREADED backport attempt, focusing on adding locks and
10692 making sure the API is threadsafe. Needs more work. More docs
10695 2005-02-24 Andy Wingo <wingo@pobox.com>
10697 * tests/bench-complexity.scm:
10698 * tests/complexity.gnuplot: New files, good for running complexity
10701 * tests/Makefile.am:
10702 * tests/complexity.c: New test, sets up N elements, at each level
10703 teeing into M streams per element. Eeeenteresting.
10705 * tests/mass_elements.gnuplot: gnuplot file for the mass_elements
10706 benchmark. Run as gnuplot mass_elements.gnuplot > foo.ps, after
10707 running bench-mass_elements.scm.
10709 * tests/bench-mass_elements.scm: New script, runs mass_elements
10710 for various numbers of identities, outputting the results to a
10711 file. Requires guile 1.6. Just for testing.
10713 2005-02-23 Thomas Vander Stichele <thomas at apestaart dot org>
10715 * gst/schedulers/fairscheduler.c:
10716 compile with debug disabled
10718 2005-02-22 Thomas Vander Stichele <thomas at apestaart dot org>
10721 hunting season on 0.9 is now OPEN