1 2005-11-16 Andy Wingo <wingo@pobox.com>
4 * gst/net/gstnet.h: New part of core to hold network elements and
5 objects. Put in core because it exposes API that applications want
6 to use. The library is named libgstnet-tempname right now because
7 of the existing libgstnet in gst-plugins-base. Solution is
8 probably to rename the one in plugins-base; will file a bug for
11 * gst/net/gstnettimeprovider.c:
12 * gst/net/gstnettimeprovider.h: New object to export a GstClock's
13 get_time call over the network.
16 * gst/Makefile.am (lib_LTLIBRARIES): Add gstnet to the build.
19 * check/net/gstnettimeprovider.c: A most minimal test suite. Will
20 get additions shortly.
22 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
24 * gst/gstpad.c: (gst_pad_new_from_static_template):
26 add gst_pad_new_from_static_template functions
27 * gst/check/gstcheck.c: (gst_check_setup_src_pad),
28 (gst_check_setup_sink_pad):
29 * gst/elements/gsttee.c: (gst_tee_init):
32 2005-11-16 Wim Taymans <wim@fluendo.com>
34 * gst/gstpad.c: (gst_pad_pause_task):
35 Removed warning, it's not really an error either.
37 2005-11-16 Wim Taymans <wim@fluendo.com>
39 * gst/base/gstbasetransform.c:
40 (gst_base_transform_prepare_output_buf),
41 (gst_base_transform_event):
42 Check if the caps are NULL, this can happen if the element
43 is shutting down and the pad caps are set to NULL.
45 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
47 * gst/elements/gsttee.c: (gst_tee_init):
48 fix pad tempalte leak in tee
50 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
52 * gst/glib-compat.c: (g_value_dup_gst_object):
54 * gst/gstpad.c: (gst_pad_set_property):
55 use gst_object_ref when setting the pad template; this will
56 trigger the pad template leaks on GLib 2.6 and the slaves
58 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
60 * gst/glib-compat.c: (gst_flags_get_first_value):
62 * gst/gstregistryxml.c:
63 remove functions copied from GLib 2.6
65 2005-11-16 Michael Smith <msmith@fluendo.com>
68 Don't link against VALGRIND_LIBS. That was always the wrong thing to
69 do, but only breaks with newer valgrind versions. We're not a
70 valgrind tool, we have no link-time dependencies on libcoregrind.
72 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
74 * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
79 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
81 * gst/base/gstbasesrc.c: (gst_base_src_init):
82 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
83 * gst/gstqueue.c: (gst_queue_init):
84 * gst/gstregistryxml.c: (load_feature):
85 Revert all these unrefs, they don't even pass make check !
87 2005-11-15 Johan Dahlin <johan@gnome.org>
89 * gst/base/gstbasesrc.c: (gst_base_src_init):
90 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
91 * gst/gstqueue.c: (gst_queue_init):
92 Free pad templates, fixes a couple of leaks.
94 2005-11-15 Daniel Fischer <dan at f3c dot com>
96 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
98 * gst/gstpad.c: (gst_pad_get_property):
99 GST_PAD_PAD_TEMPLATE(pad) gets the pad template, while
100 GST_PAD_TEMPLATE(pad) does a cast. We want the former here.
103 2005-11-15 Wim Taymans <wim@fluendo.com>
108 2005-11-15 Andy Wingo <wingo@pobox.com>
110 * gst/gstelement.c (gst_element_set_base_time): Add debugging.
112 * gst/gstpipeline.c (gst_pipeline_set_new_stream_time): Document
113 using GST_CLOCK_TIME_NONE to disable base time management.
114 (do_pipeline_seek, gst_pipeline_change_state): Don't reset stream
115 time if it was NONE before.
116 (gst_pipeline_change_state): Only munge the base time if
117 stream_time != GST_CLOCK_TIME_NONE.
119 * check/gst/gstpipeline.c (test_base_time): Punt around the
120 problem of the probe not being called, because that's not the
121 issue I'm looking at. Add a check that setting stream_time to NONE
122 disables base time management.
124 2005-11-15 Wim Taymans <wim@fluendo.com>
126 * gst/base/gstbasesink.c: (gst_base_sink_change_state):
127 segment_stop == -1 at startup.
129 * gst/base/gstbasetransform.c: (gst_base_transform_event),
130 (gst_base_transform_change_state):
131 Init segment values at start.
133 2005-11-15 Wim Taymans <wim@fluendo.com>
135 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
136 0 segment values are 0 in any format.
138 * gst/base/gstbasetransform.c: (gst_base_transform_event):
139 * gst/base/gstbasetransform.h:
140 Parse newsegment correctly in basetransform
142 * gst/elements/gstidentity.c: (gst_identity_transform_ip):
143 Sync to clock using updated segment values.
145 2005-11-15 Andy Wingo <wingo@pobox.com>
147 * check/gst/gstpipeline.c (test_base_time): Add check that the
148 base time and stream time are reset correctly.
150 2005-11-15 Wim Taymans <wim@fluendo.com>
152 * docs/design/part-TODO.txt:
153 Some more TODO items.
155 2005-11-15 Andy Wingo <wingo@pobox.com>
157 * gst/elements/gstfakesrc.c (gst_fake_src_create): It's not an
158 error if the user selected "no clock" as the clocking method.
160 * check/gst/gstpipeline.c (test_base_time): New test for buffer
161 timestamps with live capture.
163 * gst/elements/gstfakesrc.c (gst_fake_src_create): If the datarate
164 is 0 but we are a live source, timestamp the buffers using the
167 2005-11-14 Stefan Kost <ensonic@users.sf.net>
169 * docs/gst/gstreamer-sections.txt:
176 2005-11-14 Wim Taymans <wim@fluendo.com>
179 add suppressions from Wim's Debian machine
181 2005-11-14 Thomas Vander Stichele <thomas at apestaart dot org>
184 add suppressions from Andy's AMD64 Ubuntu machine
186 2005-11-14 Andy Wingo <wingo@pobox.com>
188 * gst/gstpad.c (gst_pad_set_active): Change docs; parent's
189 STATE_LOCK not necessary. Fixes #311489.
191 * gst/gsterror.c (FILE_A_BUG): Be polite *and* helpful. Fixes
194 * gst/gstindex.c (gst_index_add_object): Note in the docs that
195 this function is not implemented.
197 2005-11-14 Julien MOUTTE <julien@moutte.net>
199 * gst/base/gstbasetransform.c:
200 (gst_base_transform_prepare_output_buf):
201 Ref the source pad caps while we need them.
204 2005-11-11 Wim Taymans <wim@fluendo.com>
206 * docs/gst/gstreamer-sections.txt:
207 Added some docs for GstCollectData.
209 * gst/base/gstadapter.c:
210 Some small code example fix.
212 * gst/base/gstcollectpads.c:
213 * gst/base/gstcollectpads.h:
216 2005-11-11 Thomas Vander Stichele <thomas at apestaart dot org>
218 * configure.ac: back to HEAD
220 === release 0.9.5 ===
222 2005-11-11 Thomas Vander Stichele <thomas at apestaart dot org>
225 releasing 0.9.5, "Bike Lunch Day"
227 2005-11-11 Wim Taymans <wim@fluendo.com>
229 * gst/gstbuffer.c: (_gst_buffer_copy):
232 * gst/gstcaps.c: (gst_caps_is_equal):
234 Make _is_equal fast in the trivial cases.
236 * gst/gstminiobject.c:
237 * gst/gstminiobject.h:
238 More docs. Spifify .h file.
243 2005-11-11 Wim Taymans <wim@fluendo.com>
245 * gst/base/gstbasetransform.c:
246 (gst_base_transform_prepare_output_buf),
247 (gst_base_transform_handle_buffer):
249 If we're processing a buffer and need to allocate an output
250 buffer, we cannot accept a format change. If we did get a
251 format change, we have to alloc a buffer ourselves of the
254 2005-11-11 Wim Taymans <wim@fluendo.com>
256 * gst/gstpad.c: (gst_pad_get_caps), (gst_pad_peer_get_caps):
257 While checking the flag for reentrancy in the gstcaps function
258 is nice to detect recursive invocations, it also makes it
259 impossible to call getcaps from multiple threads, which must be
260 possible. So, checking for recursive calls has to go.
262 2005-11-11 Michael Smith <msmith@fluendo.com>
264 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
265 Don't sync on buffers that fall partially outside our current
266 segment. Prevents an assertion failure/abort playing some files.
268 2005-11-10 Andy Wingo <wingo@pobox.com>
270 * check/gst/gstbin.c (test_message_state_changed_children): Style
273 * gst/gstbus.c (poll_destroy, poll_func, gst_bus_poll): Implement
274 gst_bus_poll with the signal watch. Ensures that poll and a signal
275 watch see the same messages.
277 * check/gst/gstbus.c (test_watch_with_poll): New test, checks that
278 a poll and a watch at the same time get the same messages.
280 2005-11-10 Thomas Vander Stichele <thomas at apestaart dot org>
282 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps):
283 * gst/gstcaps.c: (gst_caps_intersect):
284 Don't call gst_caps_do_simplify - it doesn't respect order of caps
287 2005-11-10 Wim Taymans <wim@fluendo.com>
289 * docs/design/part-TODO.txt:
292 2005-11-10 Wim Taymans <wim@fluendo.com>
294 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
295 * gst/base/gstbasesrc.c: (gst_base_src_wait),
296 (gst_base_src_do_sync), (gst_base_src_get_range):
297 Implement clock sync in base class.
299 2005-11-10 Thomas Vander Stichele <thomas at apestaart dot org>
301 patch by: Tim-Philipp Müller <tim at centricular dot net>
303 * gst/gststructure.c: (gst_structure_parse_field),
304 (gst_structure_from_string):
305 Forward-port a 0.8 patch to handle escaped spaces in structure string,
306 so that gst_parse_launch() can deal with spaces in filtered link
308 * check/gst/capslist.h:
309 * check/gst/gststructure.c: (GST_START_TEST):
310 add unit tests for this change
312 2005-11-10 Wim Taymans <wim@fluendo.com>
314 * docs/gst/gstreamer-sections.txt:
317 Fix docs, move some STATE macros to private.
319 2005-11-10 Wim Taymans <wim@fluendo.com>
321 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
322 Added check for bug #317341
326 Some more spiffifying.
328 * gst/gstghostpad.c: (gst_ghost_pad_do_link):
329 Call peer linkfunction if we are a source pad. Totally fixes
333 Update docs, source pads should call the peer linkfunction
334 so they can atomically perform the pad link.
336 2005-11-09 Wim Taymans <wim@fluendo.com>
340 Uber-spiffy-spiffify some more.
342 2005-11-09 Tim-Philipp Müller <tim at centricular dot net>
344 * gst/base/gstcollectpads.c: (gst_collectpads_add_pad):
345 * gst/elements/gstfilesink.c: (gst_file_sink_init):
346 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
347 * gst/gstghostpad.c: (gst_ghost_pad_set_internal),
348 (gst_ghost_pad_init), (gst_ghost_pad_new_notarget):
349 * gst/gstpad.c: (gst_pad_init):
350 Use GST_DEBUG_FUNCPTR() more extensively.
352 2005-11-09 Wim Taymans <wim@fluendo.com>
354 * gst/gstobject.c: (gst_object_class_init):
358 2005-11-09 Edward Hervey <edward@fluendo.com>
360 * gst/gsttypefindfactory.c:
363 2005-11-09 Edward Hervey <edward@fluendo.com>
365 * gst/base/gsttypefindhelper.c:
370 2005-11-09 Wim Taymans <wim@fluendo.com>
379 2005-11-09 Wim Taymans <wim@fluendo.com>
385 2005-11-09 Wim Taymans <wim@fluendo.com>
387 * docs/gst/gstreamer-sections.txt:
388 Moved the message async delivery private lock and cond
389 to the private section.
395 2005-11-09 Edward Hervey <edward@fluendo.com>
397 * docs/gst/gstreamer-sections.txt:
400 Document GstURIHandler
402 2005-11-09 Wim Taymans <wim@fluendo.com>
404 * gst/gstiterator.c: (gst_iterator_fold), (gst_iterator_foreach),
405 (gst_iterator_find_custom):
409 2005-11-09 Wim Taymans <wim@fluendo.com>
412 Document another field.
414 * gst/gststructure.c:
415 * gst/gststructure.h:
418 2005-11-09 Wim Taymans <wim@fluendo.com>
423 2005-11-09 Wim Taymans <wim@fluendo.com>
425 * docs/gst/gstreamer-sections.txt:
426 Added some new macros.
433 2005-11-09 Wim Taymans <wim@fluendo.com>
435 * docs/design/part-TODO.txt:
436 Some more items for the TODO
442 2005-11-09 Andy Wingo <wingo@pobox.com>
444 * gst/base/gstbasesink.c: Add the beginning of docs here -- have
445 to work on something else now tho...
447 * gst/base/gstadapter.c: More adapter docs.
449 * gst/elements/gstfilesink.c (gst_file_sink_start)
450 (gst_file_sink_stop): New functions, replace the state change
452 (gst_file_sink_class_init): Hook up the start and stop functions.
453 (gst_file_sink_base_init): Don't set the state change handler any
454 more. It was a bit ugly too, being set from here...
455 (gst_file_sink_get_property, gst_file_sink_set_property):
457 (gst_file_sink_set_location): More robust check that doesn't call
460 2005-11-08 Tim-Philipp Müller <tim at centricular dot net>
462 * gst/base/gstbasetransform.c: (gst_base_transform_event):
463 Hold STREAM_LOCK while pushing newsegment or tag events as well.
465 2005-11-08 Wim Taymans <wim@fluendo.com>
467 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
468 (gst_base_sink_do_sync), (gst_base_sink_handle_event),
469 (gst_base_sink_chain), (gst_base_sink_change_state):
470 * gst/base/gstbasesink.h:
471 * gst/base/gstbasesrc.h:
474 Avoid excessive typechecking in macros.
476 * gst/gstminiobject.c: (gst_mini_object_get_type),
477 (gst_mini_object_init), (gst_mini_object_new),
478 (gst_mini_object_free):
479 * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
480 (gst_object_finalize):
481 Remove cruft code, optimize alloc_trace.
483 2005-11-07 Thomas Vander Stichele <thomas at apestaart dot org>
485 * docs/faq/gst-uninstalled:
486 fix up PS1 for systems that try to reset it
488 2005-11-07 Wim Taymans <wim@fluendo.com>
490 * gst/base/gstbasesrc.c: (gst_base_src_init),
491 (gst_base_src_get_range):
492 Set the segment_end to -1 initially. Fixed typefind.
494 2005-11-07 Tim-Philipp Müller <tim at centricular dot net>
496 * gst/base/gstadapter.c:
497 Debug category should be 'adapter', not 'GstAdapter'.
499 * gst/base/gstcollectpads.c: (gst_collectpads_base_init),
500 (gst_collectpads_class_init), (gst_collectpads_init),
501 (gst_collectpads_peek), (gst_collectpads_pop),
502 (gst_collectpads_event), (gst_collectpads_chain):
503 Add debug category and some debugging output. Use boilerplate
504 macros. Remove some extraneous words from docs.
506 2005-11-05 Andy Wingo <wingo@pobox.com>
508 * gst/base/gstpushsrc.c: Shorten by 30% via use of boilerplate
511 2005-11-04 Stefan Kost <ensonic@users.sf.net>
513 * docs/gst/gstreamer-sections.txt:
516 * gst/gstminiobject.h:
521 2005-11-04 Wim Taymans <wim@fluendo.com>
523 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
524 Small update to stop at the configured segment_end
527 2005-11-04 Stefan Kost <ensonic@users.sf.net>
533 2005-11-04 Edward Hervey <edward@fluendo.com>
535 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
536 Check if we are doing a segment seek and have arrived at the
539 2005-11-04 Wim Taymans <wim@fluendo.com>
541 * gst/gstbus.c: (gst_bus_post), (gst_bus_set_sync_handler):
542 Don't leak a mutex unlock in case of an error.
547 2005-11-04 Wim Taymans <wim@fluendo.com>
549 * gst/gstbus.c: (gst_bus_class_init), (gst_bus_init),
551 Get the context to wake up only once.
553 2005-11-03 Wim Taymans <wim@fluendo.com>
555 * check/states/sinks.c: (GST_START_TEST):
556 Uncomment fixed check.
558 * docs/design/part-TODO.txt:
561 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
562 (gst_base_sink_handle_object), (gst_base_sink_do_sync),
563 (gst_base_sink_get_position):
564 If we are going to PLAYING, post the right pending state
565 when we post the intermediate paused message.
567 * gst/gstelement.c: (gst_element_continue_state),
568 (gst_element_set_state_func), (gst_element_change_state):
569 Don't post state changes that were between the same state
572 2005-11-03 Stefan Kost <ensonic@users.sf.net>
574 * docs/gst/gstreamer-sections.txt:
577 * gst/gstminiobject.h:
580 more docs and doc style fixes
582 2005-11-03 Stefan Kost <ensonic@users.sf.net>
584 * docs/gst/gstreamer-sections.txt:
586 * gst/gstminiobject.c:
589 2005-11-03 Andy Wingo <wingo@pobox.com>
591 * check/states/sinks.c (test_livesrc_sink): Add checks that the
592 state-changed messages actually have the right order and the right
595 2005-11-03 Wim Taymans <wim@fluendo.com>
597 * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
598 Added some more checks. Specifically the case where NO_PREROLL
599 elements are in the pipeline.
601 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
602 (gst_base_sink_handle_object), (gst_base_sink_do_sync),
603 (gst_base_sink_get_position):
604 Post READY->PAUSED state change messages too.
605 Fix bug where VOID was posted as pending state...
607 * gst/gstbin.c: (gst_bin_recalc_state):
608 use _element_continue_state() to continue the state change.
610 * gst/gstelement.c: (gst_element_continue_state),
611 (gst_element_commit_state), (gst_element_set_state_func),
612 (gst_element_change_state), (gst_element_change_state_func):
613 Lots of state change cleanups, assign the STATE_RETURN in
614 a new continue_state() function that also propagates the
615 last return value from a state change to the app.
616 Update some debug statements with proper category.
618 2005-11-03 Wim Taymans <wim@fluendo.com>
620 * docs/design/part-events.txt:
621 * docs/design/part-gstpipeline.txt:
622 * docs/design/part-messages.txt:
623 * docs/design/part-overview.txt:
624 * docs/design/part-seeking.txt:
625 * docs/design/part-states.txt:
626 * docs/design/part-trickmodes.txt:
627 * docs/manual/advanced-position.xml:
631 People think !! is ugly, this looks better.
633 * gst/gstpad.c: (gst_pad_set_blocked_async):
634 Remove !! since it's fixed elsewhere now.
636 2005-11-03 Tim-Philipp Müller <tim at centricular dot net>
638 * gst/gstminiobject.h:
640 Add !! to _FLAG_IS_SET macros to make the result boolean.
642 2005-11-03 Edward Hervey <edward@fluendo.com>
644 * gst/gstpad.c: (gst_pad_set_blocked_async):
645 comparing a flag and a gboolean rarely returns coherent results...
646 Added two characters (!!) to make that work correctly.
648 2005-11-03 Tim-Philipp Müller <tim at centricular dot net>
650 * gst/gstbus.c: (gst_bus_class_init):
653 * gst/gstqueue.c: (gst_queue_loop):
654 Don't assume a miniobject that isn't a buffer is an
655 event (it could be that there is a refcounting
656 problem somewhere and the pointer is stale and
657 refers to an already destroyed miniobject).
659 2005-11-03 Julien MOUTTE <julien@moutte.net>
661 * gst/gstpad.c: (gst_pad_alloc_buffer): Fix some typos.
663 2005-11-03 Tim-Philipp Müller <tim at centricular dot net>
665 * docs/manual/advanced-position.xml:
666 Update seek example and explanations to current 0.9 API.
668 * gst/elements/gsttypefindelement.c:
669 (gst_type_find_element_activate):
670 Remove FIXME comment now that the found caps
673 2005-11-03 Thomas Vander Stichele <thomas at apestaart dot org>
675 * gst/gstregistryxml.c: (load_feature):
676 Add another GST_STR_NULL instance
678 2005-11-02 Edward Hervey <edward@fluendo.com>
680 * gst/gstpad.c: (handle_pad_block):
681 Follow-up to Wim's patch, solves deadlock for blocked and flushing pads
683 2005-11-02 Wim Taymans <wim@fluendo.com>
688 * gst/gstelement.c: (gst_element_commit_state):
692 Mention that the returned element is reffed in the docs.
694 2005-11-02 Wim Taymans <wim@fluendo.com>
696 * gst/gstpad.c: (gst_pad_alloc_buffer), (handle_pad_block),
697 (gst_pad_push), (gst_pad_push_event):
698 Unlock blocked pads when they are flushed.
700 2005-11-02 Thomas Vander Stichele <thomas at apestaart dot org>
703 * docs/gst/gstreamer-sections.txt:
706 * gst/gstregistry.c: (gst_registry_scan_path_level):
707 fix for a nasty little missed situation where an installed plug-in
708 which was in the cache did not get overridden by an uninstalled one
709 which was earlier in the plugin path because the newly created plugin
710 for the uninstalled one (not in the registry) didn't get its
711 ->registered set to TRUE
713 2005-11-02 Tim-Philipp Müller <tim at centricular dot net>
715 * gst/base/gstcollectpads.c: (gst_collectpads_set_function),
716 (gst_collectpads_add_pad), (gst_collectpads_remove_pad),
717 (gst_collectpads_is_active), (gst_collectpads_collect),
718 (gst_collectpads_collect_range), (gst_collectpads_start),
719 (gst_collectpads_stop), (gst_collectpads_peek),
720 (gst_collectpads_pop), (gst_collectpads_available),
721 (gst_collectpads_read), (gst_collectpads_flush):
722 Guard public API with assertions.
725 Fix docs for gst_pad_set_link_function().
727 2005-11-02 Johan Dahlin <johan@gnome.org>
729 * gst/elements/gsttypefindelement.c (gst_type_find_element_activate):
730 Unref found_caps after we used it.
732 2005-11-02 Tim-Philipp Müller <tim at centricular dot net>
734 * gst/base/gstcollectpads.c: (gst_collectpads_peek):
735 Don't try to ref NULL.
737 2005-11-02 Thomas Vander Stichele <thomas at apestaart dot org>
739 * win32/common/config.h.in:
740 provide a GST_FUNCTION that just gives a string for now
742 2005-11-02 Thomas Vander Stichele <thomas at apestaart dot org>
744 * win32/common/gstenumtypes.c: (register_gst_object_flags),
745 (gst_object_flags_get_type), (register_gst_bin_flags),
746 (gst_bin_flags_get_type), (register_gst_buffer_flag),
747 (gst_buffer_flag_get_type), (register_gst_bus_flags),
748 (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
749 (gst_bus_sync_reply_get_type), (register_gst_clock_return),
750 (gst_clock_return_get_type), (register_gst_clock_entry_type),
751 (gst_clock_entry_type_get_type), (register_gst_clock_flags),
752 (gst_clock_flags_get_type), (register_gst_state),
753 (gst_state_get_type), (register_gst_state_change_return),
754 (gst_state_change_return_get_type), (register_gst_state_change),
755 (gst_state_change_get_type), (register_gst_element_flags),
756 (gst_element_flags_get_type), (register_gst_core_error),
757 (gst_core_error_get_type), (register_gst_library_error),
758 (gst_library_error_get_type), (register_gst_resource_error),
759 (gst_resource_error_get_type), (register_gst_stream_error),
760 (gst_stream_error_get_type), (register_gst_event_type),
761 (gst_event_type_get_type), (register_gst_seek_type),
762 (gst_seek_type_get_type), (register_gst_seek_flags),
763 (gst_seek_flags_get_type), (register_gst_format),
764 (gst_format_get_type), (register_gst_index_certainty),
765 (gst_index_certainty_get_type), (register_gst_index_entry_type),
766 (gst_index_entry_type_get_type),
767 (register_gst_index_lookup_method),
768 (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
769 (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
770 (gst_index_resolver_method_get_type), (register_gst_index_flags),
771 (gst_index_flags_get_type), (register_gst_debug_level),
772 (gst_debug_level_get_type), (register_gst_debug_color_flags),
773 (gst_debug_color_flags_get_type), (register_gst_iterator_result),
774 (gst_iterator_result_get_type), (register_gst_iterator_item),
775 (gst_iterator_item_get_type), (register_gst_message_type),
776 (gst_message_type_get_type), (register_gst_mini_object_flags),
777 (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
778 (gst_pad_link_return_get_type), (register_gst_flow_return),
779 (gst_flow_return_get_type), (register_gst_activate_mode),
780 (gst_activate_mode_get_type), (register_gst_pad_direction),
781 (gst_pad_direction_get_type), (register_gst_pad_flags),
782 (gst_pad_flags_get_type), (register_gst_pad_presence),
783 (gst_pad_presence_get_type), (register_gst_pad_template_flags),
784 (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
785 (gst_pipeline_flags_get_type), (register_gst_plugin_error),
786 (gst_plugin_error_get_type), (register_gst_plugin_flags),
787 (gst_plugin_flags_get_type), (register_gst_rank),
788 (gst_rank_get_type), (register_gst_query_type),
789 (gst_query_type_get_type), (register_gst_tag_merge_mode),
790 (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
791 (gst_tag_flag_get_type), (register_gst_task_state),
792 (gst_task_state_get_type), (register_gst_alloc_trace_flags),
793 (gst_alloc_trace_flags_get_type),
794 (register_gst_type_find_probability),
795 (gst_type_find_probability_get_type), (register_gst_uri_type),
796 (gst_uri_type_get_type), (register_gst_parse_error),
797 (gst_parse_error_get_type):
798 * win32/common/gstversion.h:
801 2005-11-01 Luca Ognibene <luogni@tin.it>
804 fix docs. popt is dead, long live GOption.
806 2005-10-31 Wim Taymans <wim@fluendo.com>
811 2005-10-31 Andy Wingo <wingo@pobox.com>
815 * gst/gstqueue.c (gst_queue_chain): Fix downstream leaky mode.
817 * gst/gstobject.c (gst_object_dispatch_properties_changed): No
818 need to serialize property notifications on GLib 2.8. GLib 2.6 has
819 the possibility of deadlocks here if code calling notify() or
820 set() has a lock that can be taken in another notify handler (ABBA
821 with class lock and e.g. python GIL state lock).
823 2005-10-28 Julien MOUTTE <julien@moutte.net>
825 * gst/gstbus.c: Doc updates.
827 2005-10-28 Wim Taymans <wim@fluendo.com>
829 * docs/design/part-TODO.txt:
831 * gst/gstsystemclock.c:
832 * gst/gstsystemclock.h:
835 2005-10-28 Edward Hervey <edward@fluendo.com>
837 * docs/gst/gstreamer-docs.sgml:
838 * docs/gst/gstreamer-sections.txt:
839 the GstURIType documentation page is private, it only defines GstURIType
840 which should be defined in the GstURIHandler page
842 2005-10-28 Thomas Vander Stichele <thomas at apestaart dot org>
844 * gst/gstbin.c: (gst_bin_class_init):
847 Documentation updates.
849 2005-10-28 Wim Taymans <wim@fluendo.com>
851 * docs/gst/gstreamer-sections.txt:
854 Documented the clocks.
856 2005-10-28 Stefan Kost <ensonic@users.sf.net>
858 * docs/gst/gstreamer-sections.txt:
859 move some macros to private sections
860 * gst/gstminiobject.c:
861 * gst/gstminiobject.h:
862 add descriptions provided by ds and some more
864 mark macro as to be removed
866 2005-10-28 Wim Taymans <wim@fluendo.com>
868 * docs/design/part-TODO.txt:
871 * gst/gstiterator.c: (gst_iterator_fold),
872 (gst_iterator_find_custom):
876 2005-10-28 Wim Taymans <wim@fluendo.com>
878 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
879 (gst_base_transform_init):
882 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_loop):
883 An EOS event marks the queue as completely filled.
885 2005-10-27 Wim Taymans <wim@fluendo.com>
887 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
888 (gst_base_sink_do_sync), (gst_base_sink_get_position):
891 * gst/base/gstbasetransform.c: (gst_base_transform_finalize),
892 (gst_base_transform_init), (gst_base_transform_buffer_alloc),
893 (gst_base_transform_event), (gst_base_transform_getrange),
894 (gst_base_transform_chain):
895 * gst/base/gstbasetransform.h:
897 Protect transform and concurrent buffer alloc with a new lock.
898 Try not to break ABI/API.
900 2005-10-27 Wim Taymans <wim@fluendo.com>
902 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
903 (gst_base_src_init), (gst_base_src_query),
904 (gst_base_src_default_newsegment),
905 (gst_base_src_configure_segment), (gst_base_src_do_seek),
906 (gst_base_src_send_event), (gst_base_src_event_handler),
907 (gst_base_src_pad_get_range), (gst_base_src_loop),
908 (gst_base_src_unlock), (gst_base_src_default_negotiate),
909 (gst_base_src_start), (gst_base_src_deactivate),
910 (gst_base_src_activate_push), (gst_base_src_change_state):
911 Move some stuff around and cleanup things.
913 2005-10-27 Tim-Philipp Müller <tim at centricular dot net>
915 * gst/base/gstbasesrc.c: (gst_base_src_query):
916 Add missing break statements.
918 2005-10-27 Wim Taymans <wim@fluendo.com>
920 * check/gst/gstbin.c: (GST_START_TEST):
921 An extra refcount is taken in basesrc.
923 * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
924 (gst_base_src_get_range), (gst_base_src_pad_get_range),
926 Small cleanups, check for flushing after being unlocked from the
927 LIVE_LOCK. take refcounts correctly (not yet everywhere).
928 Don't send out EOS when going to READY.
930 2005-10-27 Wim Taymans <wim@fluendo.com>
932 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
933 (gst_base_sink_get_position):
936 * gst/gstbin.c: (message_check), (bin_replace_message),
937 (bin_remove_messages), (is_eos), (gst_bin_add_func),
938 (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
939 (bin_query_duration_init), (bin_query_duration_fold),
940 (bin_query_duration_done), (bin_query_generic_fold),
942 * tools/gst-launch.c: (main):
945 2005-10-26 Stefan Kost <ensonic@users.sf.net>
947 * examples/controller/audio-example.c: (main):
948 * examples/queue/queue.c: (event_loop):
949 * gst/base/gstbasetransform.h:
950 * gst/gstelement.c: (gst_element_send_event):
952 * gst/gstpad.c: (gst_pad_send_event):
955 changing log priority in error situations
957 2005-10-25 Wim Taymans <wim@fluendo.com>
959 * gst/gstbin.c: (message_check), (bin_replace_message),
960 (bin_remove_messages), (is_eos), (gst_bin_add_func),
961 (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
962 (bin_query_duration_init), (bin_query_duration_fold),
963 (bin_query_duration_done), (bin_query_generic_fold),
965 Some doc and debug updates.
966 Cache previously requested query DURATION for speed. invalidate
967 cached duration if element posts a DURATION message.
969 2005-10-25 Wim Taymans <wim@fluendo.com>
971 * docs/design/part-TODO.txt:
974 * gst/gstbin.c: (message_check), (bin_replace_message),
975 (bin_remove_messages), (is_eos), (gst_bin_add_func),
976 (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
977 (bin_query_duration_init), (bin_query_duration_fold),
978 (bin_query_duration_done), (bin_query_generic_fold),
980 Handle SEGMENT_START/DONE messages correctly.
981 More evolved query algorithm that handles duration queries
984 * gst/gstelement.c: (gst_element_send_event), (gst_element_query),
985 (gst_element_get_state_func), (gst_element_abort_state),
986 (gst_element_commit_state), (gst_element_lost_state):
992 2005-10-25 Wim Taymans <wim@fluendo.com>
994 * gst/base/gstbasesink.c: (gst_base_sink_get_position):
995 Don't use invalid stream_time.
997 * gst/gstevent.c: (gst_event_new_newsegment):
998 stream_time in newsegment cannot be undefined.
1000 2005-10-24 Wim Taymans <wim@fluendo.com>
1005 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
1007 Fix potential deadlock when QUEUE_LOCK is taken before STREAM_LOCK.
1009 2005-10-24 Stefan Kost <ensonic@users.sf.net>
1011 * docs/libs/tmpl/gstdparam.sgml:
1012 * docs/libs/tmpl/gstdplinint.sgml:
1013 * docs/libs/tmpl/gstdpman.sgml:
1014 * docs/libs/tmpl/gstdpsmooth.sgml:
1015 * docs/libs/tmpl/gstunitconvert.sgml:
1018 2005-10-24 Thomas Vander Stichele <thomas at apestaart dot org>
1023 === release 0.9.4 ===
1025 2005-10-23 Thomas Vander Stichele <thomas at apestaart dot org>
1028 releasing 0.9.4, "Tyrannosaurus Rex"
1030 2005-10-23 Tim-Philipp Müller <tim at centricular dot net>
1032 * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
1033 (gst_file_sink_get_current_offset):
1034 Use fseeko() and ftello() if available. When falling back on
1035 lseek() to get the current offset, fflush() first to make sure
1036 everything is up-to-date and we get the right offset.
1038 2005-10-23 Thomas Vander Stichele <thomas at apestaart dot org>
1040 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
1041 * gst/base/gstbasesrc.c: (gst_base_src_loop):
1042 * gst/gsterror.c: (_gst_stream_errors_init):
1044 * gst/gstqueue.c: (gst_queue_loop):
1046 remove prematurely added error category and clean up the instances
1048 2005-10-21 Wim Taymans <wim@fluendo.com>
1050 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
1051 (gst_base_sink_get_position), (gst_base_sink_query),
1052 (gst_base_sink_change_state):
1053 Simply set the right flag when going to playing, that's all
1054 we need to do instead of calling a function inside the object
1055 lock (that could take the lock as well and deadlock)
1057 2005-10-21 Wim Taymans <wim@fluendo.com>
1059 * gst/base/gstbasesrc.c: (gst_base_src_do_seek),
1060 (gst_base_src_loop):
1061 Don't warn, the peer element knows what to do best when
1062 the seek failed, it might try something else.
1064 2005-10-21 Wim Taymans <wim@fluendo.com>
1066 * gst/base/gstbasesrc.c: (gst_base_src_init),
1067 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
1070 2005-10-21 Wim Taymans <wim@fluendo.com>
1072 * docs/design/part-segments.txt:
1075 * gst/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
1076 Correctly set caps, even on the subbufer.
1078 2005-10-21 Wim Taymans <wim@fluendo.com>
1080 * docs/gst/gstreamer-docs.sgml:
1081 * docs/gst/gstreamer-sections.txt:
1088 * gst/gsttask.c: (gst_task_finalize), (gst_task_func):
1092 And 2% more doc coverage.
1094 2005-10-21 Andy Wingo <wingo@pobox.com>
1096 * gst/base/gstbasesrc.c (gst_base_src_query): Clean up percent
1099 2005-10-20 Wim Taymans <wim@fluendo.com>
1101 * gst/gsterror.c: (gst_error_get_message):
1104 * gst/gststructure.c:
1109 2005-10-20 Wim Taymans <wim@fluendo.com>
1114 Another 1% more coverage.
1116 2005-10-20 Wim Taymans <wim@fluendo.com>
1118 * docs/gst/gstreamer-sections.txt:
1119 * gst/gstelement.c: (gst_element_get_state_func),
1120 (gst_element_abort_state), (gst_element_commit_state),
1121 (gst_element_lost_state):
1123 * gst/gstquery.c: (gst_query_set_position),
1124 (gst_query_parse_position), (gst_query_set_duration),
1125 (gst_query_parse_duration), (gst_query_new_convert):
1127 Yay! 1% more docs coverage.
1129 2005-10-20 Wim Taymans <wim@fluendo.com>
1132 * gst/gstquery.c: (gst_query_set_position),
1133 (gst_query_parse_position), (gst_query_set_duration),
1134 (gst_query_parse_duration), (gst_query_new_convert):
1136 * gst/gstutils.c: (gst_element_query_convert):
1138 Docs and consistency fixes.
1140 2005-10-20 Wim Taymans <wim@fluendo.com>
1146 2005-10-20 Wim Taymans <wim@fluendo.com>
1148 * gst/gstbin.c: (message_check), (bin_replace_message),
1149 (bin_remove_messages), (is_eos), (gst_bin_add_func),
1150 (update_degree), (gst_bin_sort_iterator_next),
1151 (gst_bin_change_state_func), (gst_bin_dispose), (bin_bus_handler):
1152 Reworked the message handling a bit, cache the messages instead of
1153 only the senders. alows us to do more in the future.
1155 2005-10-20 Wim Taymans <wim@fluendo.com>
1157 * docs/design/part-TODO.txt:
1160 * gst/base/gstbasesink.c: (gst_base_sink_get_position),
1161 (gst_base_sink_query):
1162 Don't use clock time to report position when in EOS.
1164 2005-10-20 Tim-Philipp Müller <tim at centricular dot net>
1166 * tools/gst-inspect.c: (print_interfaces),
1167 (print_element_properties_info), (print_element_info):
1168 Fix interface output with gst-inspect -a; don't print
1169 newlines after double/float properties.
1171 2005-10-20 Wim Taymans <wim@fluendo.com>
1173 * gst/base/gstbasesink.c: (gst_base_sink_get_position),
1174 (gst_base_sink_query):
1175 Speed up current position calculation.
1177 * gst/base/gstbasesrc.c: (gst_base_src_query),
1178 (gst_base_src_default_newsegment):
1179 Correctly set stream position in newsegment.
1181 * gst/gstbin.c: (gst_bin_add_func), (add_to_queue),
1182 (update_degree), (gst_bin_sort_iterator_next),
1183 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free):
1184 * gst/gstmessage.c: (gst_message_new_custom):
1185 Clean up debugging info
1187 * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
1188 (gst_queue_loop), (gst_queue_handle_src_query):
1191 2005-10-19 Wim Taymans <wim@fluendo.com>
1193 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
1194 (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
1195 Fix query handling again.
1197 2005-10-19 Wim Taymans <wim@fluendo.com>
1199 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
1200 (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
1201 * gst/base/gstbasesrc.c: (gst_base_src_query):
1202 * gst/elements/gstfilesink.c: (gst_file_sink_query):
1203 * gst/elements/gsttypefindelement.c:
1204 (gst_type_find_handle_src_query), (find_element_get_length),
1205 (gst_type_find_element_activate):
1208 * gst/gstquery.c: (gst_query_new_position),
1209 (gst_query_set_position), (gst_query_parse_position),
1210 (gst_query_new_duration), (gst_query_set_duration),
1211 (gst_query_parse_duration), (gst_query_set_segment),
1212 (gst_query_parse_segment):
1214 Bundling query position/duration is not a good idea since duration
1215 does not change much and we don't want to recalculate it for every
1216 position query, so they are separated again..
1217 Base value in segment query is not needed.
1219 * gst/gstqueue.c: (gst_queue_handle_src_query):
1220 * gst/gstutils.c: (gst_element_query_position),
1221 (gst_element_query_duration), (gst_pad_query_position),
1222 (gst_pad_query_duration):
1224 Updates for query API change.
1225 Added some docs here and there.
1227 2005-10-19 Thomas Vander Stichele <thomas at apestaart dot org>
1229 * check/gst/gstbin.c: (GST_START_TEST):
1230 * check/gst/gstghostpad.c: (GST_START_TEST):
1231 * check/pipelines/cleanup.c: (GST_START_TEST):
1232 wait on thread to die so we can check refcount correctly
1234 2005-10-18 Wim Taymans <wim@fluendo.com>
1236 * check/pipelines/stress.c: (GST_START_TEST):
1237 Make check a little more time consuming.
1239 2005-10-18 Wim Taymans <wim@fluendo.com>
1241 * check/Makefile.am:
1242 * check/pipelines/stress.c: (GST_START_TEST),
1243 (simple_launch_lines_suite), (main):
1244 Small state change torture test.
1246 * docs/design/part-states.txt:
1247 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
1248 (gst_base_sink_handle_object), (gst_base_sink_event), (do_playing),
1249 (gst_base_sink_change_state):
1250 Never take state lock from streaming thread, clean up ugly
1251 hacks. Unfortunatly core does not yet support nice ways to
1254 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_recalc_state),
1256 Start state recalc if a STATE_DIRTY message is posted, but only
1257 on the toplevel bin.
1259 * gst/gstelement.c: (gst_element_sync_state_with_parent),
1260 (gst_element_get_state_func), (gst_element_abort_state),
1261 (gst_element_commit_state), (gst_element_lost_state),
1262 (gst_element_set_state_func), (gst_element_change_state):
1264 State variables are now protected with the LOCK, the state
1265 lock is only used to serialize _set_state().
1267 2005-10-18 Wim Taymans <wim@fluendo.com>
1269 * check/gst/gstbin.c: (GST_START_TEST):
1270 * check/gst/gstmessage.c: (GST_START_TEST):
1271 * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
1272 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_recalc_func),
1274 * gst/gstelement.c: (gst_element_abort_state),
1275 (gst_element_commit_state), (gst_element_lost_state):
1276 * gst/gstmessage.c: (gst_message_new_state_changed),
1277 (gst_message_new_state_dirty), (gst_message_new_segment_start),
1278 (gst_message_new_segment_done), (gst_message_new_duration),
1279 (gst_message_parse_state_changed),
1280 (gst_message_parse_segment_start),
1281 (gst_message_parse_segment_done), (gst_message_parse_duration):
1283 * tools/gst-launch.c: (event_loop):
1284 Seriously, this is better than a previous commit as we only need
1285 to notify the fact that an element changed state in a streaming
1286 thread, marking the state of the parents dirty, hence the
1287 STATE_DIRTY message instead of abusing a boolean in a STATE_CHANGE
1290 2005-10-18 Wim Taymans <wim@fluendo.com>
1292 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_get_state_func),
1293 (gst_bin_recalc_func):
1294 * gst/gstelement.c: (gst_element_set_clock),
1295 (gst_element_abort_state), (gst_element_lost_state):
1296 Cleanups, prepare for state change fixes.
1298 2005-10-18 Wim Taymans <wim@fluendo.com>
1301 * gst/gstelement.c: (gst_element_class_init),
1302 (gst_element_set_state), (gst_element_set_state_func):
1304 Pending ABI changes.
1305 GThreadPool in GstBinClass to monitor async state changes.
1306 state_cookie in GstElement to detect concurrent gst/set state.
1307 set_state is now virtual too in case a very complicated element
1308 has to be constructed.
1310 2005-10-18 Wim Taymans <wim@fluendo.com>
1312 * check/gst/gstbin.c: (GST_START_TEST):
1313 * check/gst/gstmessage.c: (GST_START_TEST):
1314 * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
1315 * gst/gstbin.c: (bin_bus_handler):
1316 * gst/gstelement.c: (gst_element_commit_state),
1317 (gst_element_lost_state):
1318 * gst/gstmessage.c: (gst_message_new_state_changed),
1319 (gst_message_new_segment_start), (gst_message_new_segment_done),
1320 (gst_message_new_duration), (gst_message_parse_state_changed),
1321 (gst_message_parse_segment_start),
1322 (gst_message_parse_segment_done), (gst_message_parse_duration):
1324 * tools/gst-launch.c: (event_loop):
1325 Make messages future proof.
1326 state-change gets a flag if it was a message comming from the
1328 segment-start/stop can also be specified in other formats.
1329 A message to notify an app that a pipeline changed playback
1331 Also fix a GstMessage leak in -launch
1333 2005-10-18 Andy Wingo <wingo@pobox.com>
1335 * gst/gstelement.c (gst_element_dispose): More helpful message.
1337 2005-10-18 Thomas Vander Stichele <thomas at apestaart dot org>
1339 reviewed by: <delete if not using a buddy>
1341 * common/gtk-doc.mak:
1343 2005-10-18 Thomas Vander Stichele <thomas at apestaart dot org>
1345 * gst/gstregistry.c: (gst_registry_scan_path_level):
1346 unref a plug-in we get that was already initialized
1348 2005-10-18 Stefan Kost <ensonic@users.sf.net>
1350 * docs/gst/gstreamer-sections.txt:
1351 * docs/libs/gstreamer-libs-sections.txt:
1356 2005-10-17 Andy Wingo <wingo@pobox.com>
1358 * gst/base/gstcollectpads.c (gst_collectpads_chain): Slight
1361 * gst/Makefile.am (gstenumtypes.c): Threadsafe now.
1363 * gst/gstevent.c (gst_event_new, gst_event_finalize): LOG.
1365 * gst/gstelement.c (gst_element_get_state_func): s/INFO/DEBUG/.
1366 (gst_element_get_state_func): Better debug message.
1367 (gst_element_commit_state): s/INFO/DEBUG/.
1368 (gst_element_lost_state, gst_element_change_state):
1370 * gst/gstmessage.c (gst_message_init): s/INFO/LOG/.
1371 (gst_message_new_custom): s/INFO/LOG/.
1373 2005-10-17 Michael Smith <msmith@fluendo.com>
1375 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
1376 Check if end time is valid using end time, not start time.
1378 2005-10-17 Stefan Kost <ensonic@users.sf.net>
1380 * check/gst-libs/controller.c: (GST_START_TEST),
1381 (gst_controller_suite):
1382 * libs/gst/controller/gstcontroller.c:
1383 (gst_controlled_property_set_interpolation_mode):
1384 * libs/gst/controller/gstcontroller.h:
1385 * libs/gst/controller/gstinterpolation.c:
1386 * testsuite/controller/.cvsignore:
1387 * testsuite/controller/Makefile.am:
1388 * testsuite/controller/interpolator.c:
1389 merge controller testsuites
1391 remove mem-chunk from docs
1393 2005-10-17 Thomas Vander Stichele <thomas at apestaart dot org>
1395 * gst/gstmemchunk.c:
1396 * gst/gstmemchunk.h:
1397 * gst/gsttrashstack.c:
1398 * gst/gsttrashstack.h:
1399 out. get out. you're fired. to the Attic !
1401 2005-10-17 Thomas Vander Stichele <thomas at apestaart dot org>
1403 * gst/gstcaps.c: (gst_caps_intersect):
1404 fix signedness issues in a (hopefully) correct way
1405 * gst/gstelement.c: (gst_element_pads_activate):
1407 * gst/gstobject.c: (gst_object_set_parent):
1410 2005-10-17 Julien MOUTTE <julien@moutte.net>
1412 * gst/gstvalue.h: Fix prototypes.
1414 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
1416 * docs/gst/gstreamer-sections.txt:
1417 * gst/gst.c: (gst_version_string):
1419 * gst/gstversion.h.in:
1420 * win32/common/libgstreamer.def:
1421 add gst_version_string ()
1423 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
1427 * gst/gst.c: (init_post):
1428 * win32/common/config.h.in:
1430 * gst/gstcaps.c: (gst_caps_intersect):
1431 use gint64, the range could be bigger than a guint
1433 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
1436 document potential problem in 2038
1438 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
1440 * gst/gstcaps.c: (gst_caps_intersect):
1441 Fix guint j diving under 0
1443 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
1446 * win32/common/config.h:
1447 * win32/common/config.h.in:
1448 check for process.h, declares getpid() on Windows
1450 include process.h if we have it
1451 * gst/gstmemchunk.c: (populate), (gst_mem_chunk_new):
1452 * gst/gstmemchunk.h:
1453 fix signedness issues
1454 * win32/common/libgstreamer.def:
1457 2005-10-16 Julien MOUTTE <julien@moutte.net>
1459 * gst/gstcaps.c: (gst_caps_intersect): Fix a bad bug with a simple
1460 fix. Because of unsigned ints, caps intersection was going nuts and
1461 trying to access structures with G_MAXUINT index. That fixes
1462 videotestsrc ! ffmpegcolorspace ! fakesink
1463 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked): logs
1466 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
1469 use the gettext macro
1470 * gst/elements/gstelements.c:
1472 * gst/indexers/gstindexers.c:
1473 update for GST_PACKAGE_NAME, GST_PACKAGE_ORIGIN
1474 * win32/common/config.h:
1476 * win32/common/config.h.in:
1477 add the template to generate config.h
1478 * win32/common/gstenumtypes.c:
1479 * win32/common/gstversion.h:
1482 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
1484 * gst/gst.c: (gst_version):
1485 * gst/gstversion.h.in:
1488 2005-10-15 Tim-Philipp Müller <tim at centricular dot net>
1491 Oops, add missing closing bracket.
1493 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
1496 use common m4's for argument checking
1498 2005-10-15 Tim-Philipp Müller <tim at centricular dot net>
1500 * docs/gst/gstreamer-sections.txt:
1502 Add GST_EVENT_TYPE_NAME() macro.
1504 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
1507 * gst/gstpluginfeature.c:
1509 privatize more symbols
1511 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
1514 add srcdir, builddir includes to GST_ALL_CFLAGS, since
1515 everything that uses GStreamer API should have the includes
1517 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
1519 * docs/gst/gstreamer-sections.txt:
1520 * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
1522 give each value a _get_type, removes the DATA exports
1524 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
1528 remove _gst_registry_auto_load, not used anymore
1529 * gst/gstbin.c: (gst_bin_get_type):
1531 * gst/gstelement.c: (gst_element_get_type):
1533 * gst/gstobject.c: (gst_object_get_type):
1535 * gst/gstpad.c: (gst_pad_get_type):
1537 make _get_type functions similar, fixes data export from library
1539 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
1542 correctly make conditionals
1543 * gst/elements/Makefile.am:
1544 * gst/elements/gstelements.c:
1545 fix typo causing fdsrc not to build
1547 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
1549 * testsuite/Makefile.am:
1550 * testsuite/bytestream/.cvsignore:
1551 * testsuite/bytestream/Makefile.am:
1552 * testsuite/bytestream/filepadsink.c:
1553 * testsuite/bytestream/gstbstest.c:
1554 * testsuite/bytestream/test1.c:
1555 * testsuite/bytestream/testfile1:
1556 * testsuite/caps/normalisation.c:
1557 * testsuite/caps/random.c: (main):
1558 * testsuite/cleanup/.cvsignore:
1559 * testsuite/cleanup/Makefile.am:
1560 * testsuite/cleanup/cleanup1.c:
1561 * testsuite/cleanup/cleanup2.c:
1562 * testsuite/cleanup/cleanup3.c:
1563 * testsuite/cleanup/cleanup4.c:
1564 * testsuite/cleanup/cleanup5.c:
1565 * testsuite/controller/interpolator.c:
1566 * testsuite/debug/printf_extension.c: (main):
1567 * testsuite/elements/tee.c:
1568 * testsuite/negotiation/.cvsignore:
1569 * testsuite/negotiation/Makefile.am:
1570 * testsuite/negotiation/pad_link.c:
1571 * testsuite/pad/Makefile.am:
1572 * testsuite/pad/chainnopull.c:
1573 * testsuite/pad/getnopush.c:
1574 * testsuite/pad/link.c:
1575 * testsuite/refcounting/sched.c: (create_pipeline):
1576 * testsuite/registry/Makefile.am:
1577 * testsuite/registry/gst-print-formats.c:
1578 * testsuite/schedulers/.cvsignore:
1579 * testsuite/schedulers/142183-2.c:
1580 * testsuite/schedulers/142183.c:
1581 * testsuite/schedulers/143777-2.c:
1582 * testsuite/schedulers/143777.c:
1583 * testsuite/schedulers/147713.c:
1584 * testsuite/schedulers/147819.c:
1585 * testsuite/schedulers/147894-2.c:
1586 * testsuite/schedulers/147894.c:
1587 * testsuite/schedulers/Makefile.am:
1588 * testsuite/schedulers/group_link.c:
1589 * testsuite/schedulers/queue_link.c:
1590 * testsuite/schedulers/relink.c:
1591 * testsuite/schedulers/unlink.c:
1592 * testsuite/schedulers/unref.c:
1593 * testsuite/schedulers/useless_iteration.c:
1594 * testsuite/states/bin.c:
1595 clean out/remove some stuff from the testsuite directories
1597 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
1600 check for some headers
1601 * gst/elements/Makefile.am:
1602 * gst/elements/gstelements.c:
1603 don't compile fdsrc without sys/socket.h
1604 * gst/indexers/Makefile.am:
1605 * gst/indexers/gstindexers.c: (plugin_init):
1606 don't compile fileindex without mmap
1608 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
1615 * check/Makefile.am:
1616 * docs/gst/Makefile.am:
1617 * examples/helloworld/Makefile.am:
1619 * gst/base/Makefile.am:
1620 * gst/check/Makefile.am:
1621 * gst/elements/Makefile.am:
1622 * gst/indexers/Makefile.am:
1623 * gst/parse/Makefile.am:
1624 * libs/gst/controller/Makefile.am:
1625 * libs/gst/dataprotocol/Makefile.am:
1626 * examples/helloworld/helloworld.c: (event_loop):
1627 compile fixes, though it's not being compiled currently
1629 2005-10-14 Tim-Philipp Müller <tim at centricular dot net>
1631 * check/gst/gsttag.c: (test_date_tags), (gst_tag_suite):
1632 Add some simple tests for the new taglist date API.
1634 2005-10-14 Tim-Philipp Müller <tim at centricular dot net>
1636 * gst/elements/gstfakesink.c: (gst_fake_sink_render):
1637 * gst/elements/gstfakesrc.c: (gst_fake_src_create):
1638 Beautify 'last-message' output: print 'none' for buffer timestamps
1639 and durations if none is set; improve alignment with next messages.
1641 2005-10-14 Tim-Philipp Müller <tim at centricular dot net>
1643 * gst/gstpluginfeature.c: (gst_plugin_feature_check_version):
1644 * gst/gstpluginfeature.h:
1645 * gst/gstregistry.c: (gst_default_registry_check_feature_version):
1646 * gst/gstregistry.h:
1647 * docs/gst/gstreamer-sections.txt:
1648 Add new API to check plugin feature version requirements.
1650 * check/gst/gstplugin.c: (test_version_checks), (gst_plugin_suite):
1651 Some basic tests for the above.
1653 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
1655 * gst/gststructure.c: (gst_structure_to_string):
1656 guard against NULL printf - happens when for example
1657 a message structure with GstClock gets serialized
1659 2005-10-13 Tim-Philipp Müller <tim at centricular dot net>
1661 * gst/base/gstcollectpads.c: (gst_collectpads_event):
1662 Fix presumable copy'n'pasto.
1664 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
1666 * gst/elements/gstfakesrc.h:
1667 * gst/elements/gstfilesrc.c: (gst_file_src_create_read):
1668 * gst/elements/gsttypefindelement.c:
1670 * gst/elements/gstfilesink.c: (gst_file_sink_render):
1671 I wonder if this could actually write +2GB files before
1673 2005-10-13 Andy Wingo <wingo@pobox.com>
1675 * libs/gst/dataprotocol/dataprotocol.c (gst_dp_packet_from_caps):
1676 Fix Timmeke Waymans bug.
1677 (gst_dp_caps_from_packet): Make sure we pass a NUL-terminated
1678 string of the proper length to gst_caps_from_string. There's a
1679 potential for, before this fix, that this could cause someone
1680 connecting over the network to cause a segfault if the payload is
1683 2005-10-13 Stefan Kost <ensonic@users.sf.net>
1685 * docs/design/draft-push-pull.txt:
1686 * docs/design/part-overview.txt:
1687 * docs/random/TODO-pre-0.9:
1688 * docs/random/old/ChangeLog.gstreamer:
1689 * gst/base/gstpushsrc.c:
1693 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
1695 * gst/glib-compat.c: (gst_flags_get_first_value):
1696 * gst/glib-compat.h:
1697 * gst/gstvalue.c: (gst_value_deserialize_int_helper),
1698 (gst_value_compare_double), (gst_value_serialize_flags):
1699 GLib 2.6 g_flags_get_first_value has a bug that triggers an
1702 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
1704 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
1705 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
1707 * tools/gst-launch.c: (event_loop):
1708 print out clock nicely
1710 2005-10-13 Tim-Philipp Müller <tim at centricular dot net>
1712 * docs/gst/gstreamer-sections.txt:
1714 * gst/gsttaglist.c: (_gst_tag_initialize), (gst_tag_list_get_date),
1715 (gst_tag_list_get_date_index):
1716 Added gst_tag_list_get_date() and gst_tag_list_get_date_index().
1717 GST_TAG_DATE now has a tag type of GST_TYPE_DATE (#170777).
1719 2005-10-13 Julien MOUTTE <julien@moutte.net>
1721 * gst/base/gstcollectpads.c: (gst_collectpads_event),
1722 (gst_collectpads_chain):
1723 * gst/base/gstcollectpads.h: Handle newsegment and store informations
1726 2005-10-13 Stefan Kost <ensonic@users.sf.net>
1728 * docs/gst/gstreamer-sections.txt:
1731 * tools/gst-inspect.c: (main):
1732 * tools/gst-launch.c: (main):
1733 * tools/gst-run.c: (main):
1734 * tools/gst-xmlinspect.c: (main):
1735 fix GOption context leaks
1738 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
1742 * win32/common/config.h:
1744 * win32/vs6/grammar.dsp:
1745 * win32/vs6/libgstelements.dsp:
1746 * win32/vs6/libgstreamer.dsp:
1749 2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
1751 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
1752 * gst/base/gstbasesrc.c: (gst_base_src_query):
1753 fix more guint64<->gdouble conversions
1755 2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
1758 add win32-update target
1759 * win32/common/gstconfig.h:
1760 * win32/common/gstenumtypes.c:
1761 * win32/common/gstenumtypes.h:
1762 * win32/common/gstversion.h:
1763 add files that visual studio can't generate
1765 2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
1768 add a win32-update target
1771 2005-10-12 Wim Taymans <wim@fluendo.com>
1773 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
1774 (reset_degree), (gst_bin_dispose), (bin_bus_handler):
1775 * gst/gstelement.c: (gst_element_commit_state),
1776 (gst_element_set_state):
1777 Protect flags with proper lock.
1778 unref provided cached clock in dispose.
1780 2005-10-12 Stefan Kost <ensonic@users.sf.net>
1783 * gst/gstminiobject.h:
1785 * win32/gstenumtypes.c: (gst_mini_object_flags_get_type):
1786 removed unused flags from miniobject
1789 2005-10-12 Wim Taymans <wim@fluendo.com>
1791 * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
1792 (gst_file_sink_event), (gst_file_sink_render):
1793 Flush before seeking.
1795 2005-10-12 Andy Wingo <wingo@pobox.com>
1797 * gst/gst.c (gst_init_check): Ignore unknown options, as has
1798 always been the case.
1800 2005-10-12 Stefan Kost <ensonic@users.sf.net>
1802 * check/gst/gstbin.c: (GST_START_TEST):
1803 * docs/gst/gstreamer-sections.txt:
1804 * gst/base/gstbasesink.c: (gst_base_sink_init):
1805 * gst/base/gstbasesrc.c: (gst_base_src_init),
1806 (gst_base_src_get_range), (gst_base_src_check_get_range),
1807 (gst_base_src_start), (gst_base_src_stop):
1808 * gst/base/gstbasesrc.h:
1809 * gst/elements/gstfakesrc.c: (gst_fake_src_set_property):
1810 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
1811 (bin_element_is_sink), (reset_degree), (gst_bin_element_set_state),
1815 * gst/gstbus.c: (gst_bus_post), (gst_bus_set_flushing):
1817 * gst/gstelement.c: (gst_element_is_locked_state),
1818 (gst_element_set_locked_state), (gst_element_commit_state),
1819 (gst_element_set_state):
1821 * gst/gstindex.c: (gst_index_init):
1823 * gst/gstminiobject.h:
1824 * gst/gstobject.c: (gst_object_init), (gst_object_sink),
1825 (gst_object_set_parent):
1827 * gst/gstpad.c: (gst_pad_set_blocked_async), (gst_pad_is_blocked),
1828 (gst_pad_get_caps_unlocked), (gst_pad_set_caps):
1830 * gst/gstpadtemplate.h:
1831 * gst/gstpipeline.c: (gst_pipeline_provide_clock_func),
1832 (gst_pipeline_use_clock), (gst_pipeline_auto_clock):
1833 * gst/gstpipeline.h:
1834 * gst/indexers/gstfileindex.c: (gst_file_index_load),
1835 (gst_file_index_commit):
1836 * testsuite/bytestream/filepadsink.c: (gst_fp_sink_init):
1837 * testsuite/pad/link.c: (gst_test_src_init),
1838 (gst_test_filter_init), (gst_test_sink_init):
1839 * testsuite/states/locked.c: (main):
1840 renamed GST_FLAGS macros to GST_OBJECT_FLAGS
1841 moved bitshift from macro to enum definition
1843 2005-10-12 Wim Taymans <wim@fluendo.com>
1845 * gst/base/gstbasesink.c: (gst_base_sink_handle_buffer):
1846 * gst/elements/gstfilesink.c: (gst_file_sink_event),
1847 (gst_file_sink_render):
1848 Some more debugging info.
1850 2005-10-12 Wim Taymans <wim@fluendo.com>
1852 * docs/design/part-states.txt:
1853 * tools/gst-launch.c: (main):
1855 Revert non-intentional change.
1857 2005-10-12 Wim Taymans <wim@fluendo.com>
1859 * check/gst/gstbin.c: (GST_START_TEST):
1860 * check/gst/gstelement.c: (GST_START_TEST):
1861 * check/gst/gstevent.c: (GST_START_TEST), (test_event):
1862 * check/gst/gstghostpad.c: (GST_START_TEST):
1863 * check/gst/gstpipeline.c: (GST_START_TEST):
1864 * check/pipelines/simple_launch_lines.c: (run_pipeline):
1865 * check/states/sinks.c: (GST_START_TEST):
1866 * gst/elements/gsttypefindelement.c: (stop_typefinding):
1867 * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
1868 (gst_bin_remove_func), (gst_bin_get_state_func),
1869 (gst_bin_recalc_state), (gst_bin_change_state_func),
1871 * gst/gstelement.c: (gst_element_get_state_func),
1872 (gst_element_get_state), (gst_element_abort_state),
1873 (gst_element_commit_state), (gst_element_set_state),
1874 (gst_element_change_state), (gst_element_change_state_func):
1876 * gst/gstpipeline.c: (gst_pipeline_class_init), (do_pipeline_seek),
1877 (gst_pipeline_provide_clock_func):
1878 * gst/gstutils.c: (gst_element_link_pads_filtered):
1879 * tools/gst-launch.c: (main):
1880 * tools/gst-typefind.c: (main):
1881 Use GstClockTime in _get_state() instead of GTimeVal.
1882 Remove old code in gstutils.c
1884 2005-10-12 Andy Wingo <wingo@pobox.com>
1886 * gst/gstregistry.h (gst_registry_scan_paths): Not implemented, so
1889 * gst/gstpad.c (gst_pad_pause_task): Actually return FALSE if
1890 there is no task. Shouldn't affect any code, as nothing in our
1891 plugins checks this return value.
1892 (gst_pad_stop_task): Also take the stream lock if the pad has no
1895 2005-10-12 Wim Taymans <wim@fluendo.com>
1897 * gst/gstpad.c: (pre_activate), (post_activate),
1898 (gst_pad_activate_pull), (gst_pad_activate_push):
1899 Cleanup activation code. Reset old state if
1902 2005-10-12 Wim Taymans <wim@fluendo.com>
1904 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
1905 (gst_base_sink_change_state):
1906 No need to prerol after receiving EOS.
1908 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
1909 * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler):
1910 * gst/elements/gstidentity.c: (gst_identity_event):
1911 Print events more verbosely.
1913 2005-10-12 Wim Taymans <wim@fluendo.com>
1915 * check/Makefile.am:
1916 * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
1917 * check/states/sinks2.c:
1918 Moved sinks2 testcode in sinks check.
1920 * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
1921 (gst_bin_remove_func), (gst_bin_recalc_state),
1922 (gst_bin_change_state_func), (bin_bus_handler):
1923 Fix potential race condition when _get_state() iterated over an
1924 ASYNC element right before it posted a state completion.
1927 Do proper cast here.
1929 * gst/gstevent.c: (gst_event_new_newsegment),
1930 (gst_event_parse_newsegment):
1931 A playback rate of 0.0 is not allowed.
1933 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
1935 * win32/common/config.h:
1936 * win32/common/dirent.c: (_topendir), (_treaddir), (_tclosedir),
1937 (_trewinddir), (_ttelldir), (_tseekdir):
1938 * win32/common/dirent.h:
1939 * win32/common/gtchar.h:
1940 * win32/common/libgstbase.def:
1941 * win32/common/libgstreamer.def:
1942 * win32/vs6/grammar.dsp:
1943 * win32/vs6/gst_inspect.dsp:
1944 * win32/vs6/gst_launch.dsp:
1945 * win32/vs6/gstreamer.dsw:
1946 * win32/vs6/libgstbase.dsp:
1947 * win32/vs6/libgstelements.dsp:
1948 * win32/vs6/libgstreamer.dsp:
1949 Visual Studio 6 project files, and a new common directory.
1952 2005-10-11 Wim Taymans <wim@fluendo.com>
1954 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
1955 (gst_base_sink_do_sync), (gst_base_sink_query),
1956 (gst_base_sink_change_state):
1957 * gst/base/gstbasesink.h:
1958 Correctly parse newsegment info.
1960 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
1962 * gst/gst.c: (init_post):
1963 split plugin paths correctly
1965 2005-10-11 Wim Taymans <wim@fluendo.com>
1967 * check/gst/gstevent.c: (GST_START_TEST):
1968 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
1969 (gst_base_sink_change_state):
1970 * gst/base/gstbasesrc.c: (gst_base_src_default_newsegment):
1971 * gst/base/gstbasetransform.c: (gst_base_transform_event):
1972 * gst/elements/gstfilesink.c: (gst_file_sink_event):
1973 * gst/gstevent.c: (gst_event_new_newsegment),
1974 (gst_event_parse_newsegment):
1976 Added extra flag to newsegment for future API freeze.
1977 Updated check and base elements.
1979 2005-10-11 Julien MOUTTE <julien@moutte.net>
1981 * gst/base/gstcollectpads.c: (gst_collectpads_init),
1982 (gst_collectpads_add_pad), (gst_collectpads_pop),
1983 (gst_collectpads_event), (gst_collectpads_chain):
1984 * gst/base/gstcollectpads.h: Handle EOS correctly.
1986 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
1988 * tools/gst-launch.c: (main):
1989 more null protecting
1991 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
1993 * gst/gst-i18n-lib.h:
1994 check for ENABLE_NLS, not GETTEXT_PACKAGE
1995 * gst/gstregistry.c: (gst_registry_add_plugin),
1996 (gst_registry_scan_path_level),
1997 (_gst_registry_remove_cache_plugins):
1998 protect possibly NULL strings
1999 * gst/parse/types.h:
2000 config.h already included before
2001 * tools/gst-inspect.c: (main):
2002 sys/wait.h also doesn�t exist on mingw, so change the ifdef check
2003 check for ENABLE_NLS, not GETTEXT_PACKAGE
2004 * tools/gst-launch.c: (main):
2005 check for ENABLE_NLS, not GETTEXT_PACKAGE
2007 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
2010 if we don't have glib, fail before testing 2.8
2011 * gst/base/gstbasetransform.c: (gst_base_transform_change_state):
2012 fix a leak, should fix plugins-base testsuite
2014 2005-10-11 Andy Wingo <wingo@pobox.com>
2016 * gst/gstpad.c (pre_activate): Renamed from pre_activate_switch,
2017 take the mode we're going to as an arg. Go head and set the mode
2018 and flushing flags now, so that if the activate function starts a
2019 thread all the flags will be in the right state.
2020 (post_activate): Renamed also. Just handle making sure streaming
2021 finishes for the deactivation case, and setting the deactivated
2023 (gst_pad_set_active): Complain loudly if deactivation fails.
2024 (gst_pad_activate_pull): Adapt to pre/post_activate changes.
2025 (gst_pad_activate_push): Adapt to pre/post_activate changes,
2026 remove the terrible hack.
2028 2005-10-11 Wim Taymans <wim@fluendo.com>
2030 * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
2031 (is_eos), (gst_bin_add_func), (gst_bin_remove_func),
2032 (gst_bin_recalc_state), (gst_bin_change_state_func),
2033 (gst_bin_dispose), (bin_bus_handler):
2035 Prepare to make current EOS message queue more generic.
2038 * gst/gstevent.c: (gst_event_new_newsegment),
2039 (gst_event_parse_newsegment):
2041 Rename base to stream_time.
2046 2005-10-11 Wim Taymans <wim@fluendo.com>
2048 * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
2049 (gst_bin_add_func), (gst_bin_remove_func), (gst_bin_recalc_state),
2050 (gst_bin_change_state_func), (bin_bus_handler):
2052 Work on proper clock selection.
2054 2005-10-11 Edward Hervey <edward@fluendo.com>
2056 * libs/gst/controller/gstcontroller.c: (gst_controller_remove_properties_list):
2057 * libs/gst/controller/gstcontroller.h:
2058 Added GList* version of _remove_properties() in order to be able to wrap
2061 2005-10-11 Wim Taymans <wim@fluendo.com>
2063 * docs/design/part-states.txt:
2066 * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_recalc_state),
2067 (gst_bin_change_state_func), (bin_bus_handler):
2068 Doc updates. Don't distribute the same clock over and over again.
2074 * gst/gstpad.c: (gst_flow_get_name), (gst_flow_to_quark),
2075 (gst_pad_get_type), (gst_pad_push), (gst_pad_push_event),
2076 (gst_pad_send_event):
2078 Make probe emission threadsafe again.
2079 Register quarks and move _get_name() from utils.
2082 * gst/gstpipeline.c: (gst_pipeline_class_init),
2083 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
2084 Only redistribute the clock of it changed.
2086 * gst/gstsystemclock.h:
2091 Moved the _flow_get_name() to GstPad.
2093 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
2095 * check/gst-libs/gdp.c: (GST_START_TEST):
2096 * check/gst/gstcaps.c: (GST_START_TEST):
2097 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc),
2098 (gst_dp_dump_byte_array), (gst_dp_header_from_buffer),
2099 (gst_dp_packet_from_caps):
2100 fix more valgrind warnings before turning up the heat
2102 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
2104 * gst/parse/grammar.y:
2105 some cleanup before the hacking
2107 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
2109 * gst/base/gstbasesrc.c: (gst_base_src_query):
2111 * gst/gstutils.c: (gst_guint64_to_gdouble),
2112 (gst_gdouble_to_guint64), (gst_util_uint64_scale):
2114 externalize, basesrc uses it
2115 obviously the implementation needs testing
2117 2005-10-10 Wim Taymans <wim@fluendo.com>
2119 * tests/sched/Makefile.am:
2120 * tests/sched/sort.c: (make_pipeline1), (make_pipeline2),
2121 (make_pipeline3), (make_pipeline4), (print_elem), (main):
2123 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
2125 * gst/gstutils.c: (guint64_to_gdouble), (gst_util_uint64_scale):
2126 apparently converting from guint64 to double is not implemented
2129 2005-10-10 Wim Taymans <wim@fluendo.com>
2131 * check/Makefile.am:
2132 * check/generic/states.c: (GST_START_TEST):
2133 * check/gst/gstbin.c: (GST_START_TEST):
2134 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
2135 * check/states/sinks.c: (GST_START_TEST):
2136 * check/states/sinks2.c: (GST_START_TEST), (gst_object_suite),
2138 Check fixes, use API as stated in design docs, remove hacks.
2140 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
2141 (gst_base_sink_change_state):
2142 Catch stopping our task while we're shutting down.
2144 * gst/gstbin.c: (gst_bin_init), (gst_bin_add_func),
2145 (gst_bin_remove_func), (gst_bin_get_state_func),
2146 (gst_bin_recalc_state), (gst_bin_change_state_func),
2149 * gst/gstelement.c: (gst_element_init),
2150 (gst_element_get_state_func), (gst_element_abort_state),
2151 (gst_element_commit_state), (gst_element_lost_state),
2152 (gst_element_set_state), (gst_element_change_state),
2153 (gst_element_change_state_func):
2155 New state change algorithm (see #318116)
2157 * gst/gstpipeline.c: (gst_pipeline_class_init),
2158 (gst_pipeline_init), (gst_pipeline_set_property),
2159 (gst_pipeline_get_property), (do_pipeline_seek),
2160 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
2161 * gst/gstpipeline.h:
2162 Remove crude state change hacks.
2167 * tools/gst-launch.c: (main):
2168 Fixes for state change. Needs some more work to fully use the
2171 2005-10-10 Andy Wingo <wingo@pobox.com>
2173 * tests/Makefile.am (noinst_PROGRAMS): No more init.c.
2175 * gst/gst.c (G_OPTION_FLAG_NO_ARG): Apparently GLib 2.8 requires
2176 this flag, but it's not even in GLib 2.6. Odd. Hack around the
2179 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
2181 * gst/gstiterator.c: (gst_iterator_new):
2182 Fix my previous commit: GTypes passed to gst_iterator_new()
2183 can be fundamental types.
2185 2005-10-10 Wim Taymans <wim@fluendo.com>
2187 * gst/gstelement.c: (gst_element_iterate_pad_list),
2188 (gst_element_iterate_pads), (gst_element_iterate_src_pads),
2189 (gst_element_iterate_sink_pads):
2190 Use src/sink pads lists for the respective iterators instead
2193 2005-10-10 Andy Wingo <wingo@pobox.com>
2195 Merged in popt removal + GOption addition patch from Ronald, bug
2198 * docs/gst/gstreamer-sections.txt: Add STATE_(UN)LOCK_FULL, move
2199 GstElement macros around, remove popt-related symbols, add goption
2202 * configure.ac: Remove popt checks, require GLib 2.6 for GOption.
2204 * docs/gst/Makefile.am:
2205 * docs/libs/Makefile.am: No POPT_CFLAGS.
2207 * examples/manual/Makefile.am:
2208 * docs/manual/basics-init.xml: Doc updates with an example.
2210 * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
2211 (gst_init), (parse_one_option), (parse_goption_arg):
2212 * gst/gst.h: Removed gst_init_with_popt_table and friends. Took a
2213 bit of hand merging and debugging to get the GOption stuff working
2216 * tests/Makefile.am:
2217 * tools/Makefile.am:
2218 * tools/gst-inspect.c: (main):
2219 * tools/gst-launch.c: (main):
2220 * tools/gst-run.c: (main):
2221 * tools/gst-xmlinspect.c: (main): Thanks Ronald!
2223 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
2225 * gst/gstiterator.c: (gst_iterator_new):
2226 Add assertions to make sure passed GType is likely to really
2227 be a GType (as the compiler won't catch it if the size and
2228 GType arguments get mixed up, see #318447).
2230 2005-10-10 Josef Zlomek <josef dot zlomek at xeris dot cz>
2232 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
2234 * gst/gstbin.c: (gst_bin_iterate_sorted):
2235 Pass GType and size arguments to gst_iterator_new() in the right
2236 order (maybe we should make _new() take the GType as first argument
2237 just like _new_list()?) (#318447).
2240 2005-10-10 Wim Taymans <wim@fluendo.com>
2242 * gst/gstelement.c: (gst_element_finalize):
2243 And free the GStaticRecMutex too
2245 2005-10-10 Andy Wingo <wingo@pobox.com>
2247 * gst/gstelement.c (gst_element_init, gst_element_finalize):
2248 Allocate and free the mutex properly.
2250 * gst/gstelement.h (GST_STATE_UNLOCK_FULL, GST_STATE_LOCK_FULL):
2252 (GstElement): The state_lock is now recursive. Rebuild your
2253 plugins, suckers. Old macros adapted.
2255 * docs/gst/gstreamer-sections.txt: Doc updates.
2258 * gst/gstutils.c (g_static_rec_cond_timed_wait)
2259 (g_static_rec_cond_wait): Ported from state changes patch, while
2260 we wait on bug #317802 to be solved in a well-distributed GLib.
2262 * gst/gstelement.c (gst_element_change_state_func): Renamed from
2263 gst_element_change_state, variable name changes.
2264 (gst_element_change_state): Split out of gst_element_set_state in
2265 preparation for the state change merge. Doesn't pay attention to
2266 the 'transition' argument.
2267 (gst_element_set_state): Updates, hopefully purely cosmetic.
2268 (gst_element_sync_state_with_parent): MT-safety. Ported from the
2270 (gst_element_get_state_func): Renamed from get_state, cosmetic
2273 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
2275 * gst/elements/gstelements.c:
2276 * win32/GStreamer.vcproj:
2278 * win32/dirent.c: (_tseekdir):
2279 * win32/gst-inspect.vcproj:
2280 * win32/gst-launch.vcproj:
2281 * win32/gstconfig.h:
2282 * win32/gstelements.vcproj:
2283 * win32/gstenumtypes.c: (gst_object_flags_get_type):
2284 * win32/gstreamer.def:
2286 updates for the win32 build (patch from Sebastien Moutte)
2288 2005-10-10 Andy Wingo <wingo@pobox.com>
2290 * gst/gstbin.c (gst_bin_get_state_func): Renamed from
2291 gst_bin_get_state, cleaned up (but no logic changes).
2292 (bin_element_is_sink): Comment updates.
2293 (sink_iterator_filter): Remove needless cast.
2294 (gst_bin_iterate_sinks): Doc update.
2295 (gst_bin_change_state_func): Renamed from gst_bin_change_state,
2296 cleaned up (but no logic changes).
2298 * check/states/sinks.c (test_src_sink): Cleanups from the state
2300 (test_livesrc_sink): Sync on the state.
2302 * check/pipelines/simple_launch_lines.c (run_pipeline): Merge from
2303 the state change patch.
2305 * check/gst/gstghostpad.c (test_ghost_pads): Merge from the state
2308 * check/gst/gstbin.c: Merge in some style fixes and additional
2309 checks from Wim's state change patch.
2311 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
2313 * gst/base/gsttypefindhelper.c: (helper_find_peek),
2314 (gst_type_find_helper):
2315 Check whether we have the requested data already in our list of
2316 cached buffers before pulling a new buffer; also make the buffer
2317 list a GSList. Speeds up typefinding by ca. 5-10% altogether.
2319 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
2324 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
2325 don't use long long, it's not portable. Replacing with
2326 gint64 seems to work; let's hope no skeletons fall out of the closet.
2328 2005-10-10 Andy Wingo <wingo@pobox.com>
2330 * autogen.sh (CONFIGURE_DEF_OPT): No more --plugin-buiddir, yay
2332 2005-10-09 Stefan Kost <ensonic@users.sf.net>
2334 * docs/gst/gstreamer-sections.txt:
2339 * gst/gstmessage.c: (gst_message_parse_state_changed):
2342 more docs, fix compilation
2344 2005-10-09 Philippe Khalaf <burger@speedy.org>
2346 Fixed a few forgotten variables on previous commit
2348 2005-10-09 Tim-Philipp Müller <tim at centricular dot net>
2350 * gst/base/gsttypefindhelper.c: (helper_find_peek):
2351 Fix evil typefind crasher: getrange() might return a short
2352 buffer at the end of a file, but gst_type_find_peek() must
2353 either return the full data as requested or NULL, but
2354 never a short buffer.
2356 2005-10-09 Thomas Vander Stichele <thomas at apestaart dot org>
2358 * gst/gstmessage.c: (gst_message_new_state_changed),
2359 (gst_message_parse_state_changed):
2361 don't use "new", it's a C++ keyword
2363 2005-10-08 Wim Taymans <wim@fluendo.com>
2365 * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_query):
2366 * gst/gstelement.c: (gst_element_post_message):
2367 * gst/gstpipeline.c: (gst_pipeline_change_state):
2368 Small docs and debug updates.
2370 2005-10-08 Stefan Kost <ensonic@users.sf.net>
2372 * docs/gst/gstreamer-sections.txt:
2373 * gst/gstelementfactory.c:
2378 2005-10-08 Wim Taymans <wim@fluendo.com>
2380 * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_change_state),
2381 (gst_bin_dispose), (bin_bus_handler):
2382 Fix typos, add comments.
2383 Clear EOS list when going to PAUSED from any direction and do it
2384 in a threadsafe way.
2385 Get base time in a threadsafe way too.
2386 Fix confusing debug in the change_state function.
2387 Various other small cleanups.
2389 * gst/gstelement.c: (gst_element_post_message):
2390 Fix very verbose bus posting code.
2392 * gst/gstpipeline.c: (gst_pipeline_class_init),
2393 (gst_pipeline_set_property), (gst_pipeline_get_property),
2394 (gst_pipeline_change_state):
2395 Small ARG_ -> PROP_ cleanup
2397 2005-10-08 Wim Taymans <wim@fluendo.com>
2399 * gst/gstbin.c: (is_eos), (bin_bus_handler):
2400 Do a less CPU demanding EOS check because we can.
2402 2005-10-08 Wim Taymans <wim@fluendo.com>
2404 * libs/gst/dataprotocol/dataprotocol.c:
2405 (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
2406 (gst_dp_packet_from_event):
2407 * libs/gst/dataprotocol/dataprotocol.h:
2408 * libs/gst/dataprotocol/dp-private.h:
2409 It's about time we bump the version number.
2410 Since event types don't fit in the guint8 anymore describing
2411 the payload type, make payload type 16 bits wide.
2413 2005-10-08 Wim Taymans <wim@fluendo.com>
2415 * docs/design/part-TODO.txt:
2416 * docs/design/part-clocks.txt:
2417 * docs/design/part-events.txt:
2418 * docs/design/part-gstbin.txt:
2419 * docs/design/part-gstelement.txt:
2420 * docs/design/part-gstpipeline.txt:
2421 * docs/design/part-live-source.txt:
2422 * docs/design/part-messages.txt:
2423 * docs/design/part-overview.txt:
2424 * docs/design/part-states.txt:
2427 2005-10-08 Wim Taymans <wim@fluendo.com>
2431 Fix event quark registration.
2432 Add some space between events so we can insert them in the
2435 2005-10-08 Wim Taymans <wim@fluendo.com>
2437 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
2438 (gst_base_sink_handle_buffer):
2445 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
2446 (gst_queue_set_property), (gst_queue_get_property):
2448 Remove old unused properties.
2450 2005-10-08 Stefan Kost <ensonic@users.sf.net>
2451 * docs/gst/gstreamer-sections.txt:
2454 * gst/gstminiobject.c:
2455 * gst/gstminiobject.h:
2459 lots of new docs and doc fixes
2461 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
2463 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_load_file):
2465 * gst/gstregistry.c: (gst_registry_lookup_locked),
2466 (gst_registry_scan_path_level):
2467 * gst/gstregistryxml.c: (load_plugin):
2468 Only ever load one plugin for a given plugin basename.
2469 This ensures correct overriding of GST_PLUGIN_PATH over
2470 GST_PLUGIN_SYSTEM_PATH and of home dir plugins over
2471 system installed plugins.
2473 2005-10-08 Wim Taymans <wim@fluendo.com>
2475 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
2476 (gst_base_sink_do_sync), (gst_base_sink_handle_buffer):
2477 Prepare for doing QOS.
2479 2005-10-08 Wim Taymans <wim@fluendo.com>
2481 * check/gst/gstbin.c: (GST_START_TEST):
2482 * check/pipelines/cleanup.c: (GST_START_TEST):
2483 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
2484 Allow new clock message too.
2486 2005-10-08 Wim Taymans <wim@fluendo.com>
2488 * gst/gstmessage.c: (gst_message_new_error),
2489 (gst_message_new_warning), (gst_message_new_tag),
2490 (gst_message_new_state_changed), (gst_message_new_clock_provide),
2491 (gst_message_new_clock_lost), (gst_message_new_new_clock),
2492 (gst_message_new_segment_start), (gst_message_new_segment_done),
2493 (gst_message_parse_state_changed),
2494 (gst_message_parse_clock_provide), (gst_message_parse_clock_lost),
2495 (gst_message_parse_new_clock):
2497 Also carry the clock in question.
2499 2005-10-08 Wim Taymans <wim@fluendo.com>
2501 * gst/gstmessage.c: (gst_message_new_custom),
2502 (gst_message_new_eos), (gst_message_new_error),
2503 (gst_message_new_warning), (gst_message_new_tag),
2504 (gst_message_new_state_changed), (gst_message_new_clock_provide),
2505 (gst_message_new_new_clock), (gst_message_new_segment_start),
2506 (gst_message_new_segment_done), (gst_message_parse_state_changed),
2507 (gst_message_parse_clock_provide), (gst_message_parse_new_clock):
2510 Added clock related messages.
2512 * gst/gstpipeline.c: (gst_pipeline_change_state):
2513 Post message when the clock changed.
2515 * tools/gst-launch.c: (event_loop):
2518 2005-10-08 Tim-Philipp Müller <tim at centricular dot net>
2520 * tools/gst-inspect.c: (print_element_properties_info):
2521 Can't pass NULL strings to g_print() on windows.
2523 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
2526 * docs/gst/Makefile.am:
2527 * docs/gst/gstreamer-docs.sgml:
2528 * docs/gst/running.xml:
2529 * docs/version.entities.in:
2530 add a chapter on running GStreamer.
2531 document GST_DEBUG and GST_PLUGIN* env vars
2533 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
2538 remove PLUGINS_BUILDDIR stuff
2539 * gst/gst.c: (init_post):
2540 reorder parsing of GST_PLUGIN_PATH and GST_PLUGIN_SYSTEM_PATH
2542 remove, it was condescending and not needed
2544 2005-10-08 Wim Taymans <wim@fluendo.com>
2546 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
2547 (gst_base_sink_handle_object), (gst_base_sink_event),
2548 (gst_base_sink_wait), (gst_base_sink_handle_event),
2549 (gst_base_sink_change_state):
2550 * gst/base/gstbasesink.h:
2551 Repost EOS message while going to PLAYING if still EOS.
2552 Make sure that when receiving a FLUSH_START we don't attempt
2553 to sync on the clock anymore.
2555 2005-10-08 Wim Taymans <wim@fluendo.com>
2557 * tools/gst-launch.c: (event_loop):
2558 Better message printout.
2560 2005-10-08 Wim Taymans <wim@fluendo.com>
2562 * gst/gstbin.c: (gst_bin_child_proxy_get_child_by_index),
2563 (gst_bin_child_proxy_get_children_count):
2564 * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
2565 (gst_child_proxy_lookup), (gst_child_proxy_get_property),
2566 (gst_child_proxy_get_valist), (gst_child_proxy_set_property),
2567 (gst_child_proxy_set_valist):
2568 * gst/parse/grammar.y:
2569 Make ChildProxy threadsafe and fix mem leaks.
2571 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
2573 * gst/gst.c: (init_post):
2574 debug the GST_PLUGIN_ env vars
2576 2005-10-08 Wim Taymans <wim@fluendo.com>
2578 * check/gst/gstbin.c: (GST_START_TEST):
2579 * check/gst/gstmessage.c: (GST_START_TEST):
2580 * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
2581 * gst/gstelement.c: (gst_element_commit_state),
2582 (gst_element_lost_state):
2583 * gst/gstmessage.c: (gst_message_new_state_changed),
2584 (gst_message_parse_state_changed):
2586 * tools/gst-launch.c: (event_loop):
2587 Added extra field to STATE_CHANGE message with the pending
2588 state, which will be different from the new state soon.
2590 2005-10-08 Wim Taymans <wim@fluendo.com>
2592 * gst/gstbus.c: (gst_bus_pop):
2594 * gst/gstsystemclock.c: (gst_system_clock_async_thread):
2595 Small cleanups and doc updates.
2597 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
2599 * gst/gst.c: (init_pre):
2600 * gst/gstbin.c: (gst_bin_add_func):
2601 log distributing clocks and base time
2602 * gst/gstregistry.c: (gst_registry_add_plugin),
2603 (gst_registry_scan_path_level), (gst_registry_scan_path):
2604 clean up the debugging output a little
2605 * gst/gstutils.c: (gst_element_state_get_name):
2606 warn about a memleak (I've actually seen this be used, though
2607 it was probably a bug)
2609 2005-10-07 Wim Taymans <wim@fluendo.com>
2611 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
2612 (gst_base_src_init), (gst_base_src_default_newsegment),
2613 (gst_base_src_newsegment), (gst_base_src_do_seek),
2614 (gst_base_src_loop), (gst_base_src_start):
2615 * gst/base/gstbasesrc.h:
2616 Make the newsegment event customizable by subclasses.
2618 2005-10-07 Wim Taymans <wim@fluendo.com>
2620 * gst/gstevent.c: (gst_event_new_buffersize),
2621 (gst_event_parse_buffersize):
2623 New event for future idea.
2625 2005-10-07 Andy Wingo <wingo@pobox.com>
2627 * gst/gstelement.c (gst_element_post_message): Doc update.
2629 * docs/gst/gstreamer-sections.txt: Update.
2631 * gst/gstmessage.c (gst_message_new_application): Made into a
2632 function like honest API calls.
2633 (gst_message_new_element): New message type.
2635 * gst/gstmessage.h (enum): Add GST_MESSAGE_ELEMENT type.
2637 * check/elements/fakesrc.c (test_no_preroll): New check, checks
2638 that setting a live fakesrc to PAUSED returns NO_PREROLL both
2641 * gst/base/gstbasesrc.c (gst_base_src_change_state): Allow a
2642 NO_PREROLL from gst_element_change_state to fall through.
2644 2005-10-07 Wim Taymans <wim@fluendo.com>
2646 * gst/gstghostpad.c: (gst_ghost_pad_get_internal),
2647 (gst_ghost_pad_do_activate_push):
2648 Activating a ghostpad with no internal pad in push mode
2651 2005-10-07 Thomas Vander Stichele <thomas at apestaart dot org>
2654 there's no point in wrapping FLAG_SET/_UNSET in STMT macros.
2655 Fixes compilation on Windows.
2657 2005-10-07 Michael Smith <msmith@fluendo.com>
2659 * tools/gst-inspect.c:
2660 Print out feature and plugin count at the end when printing out
2663 2005-10-04 Michael Smith <msmith@fluendo.com>
2665 * gst/gsterror.c: (_gst_stream_errors_init):
2666 Add another error string used in a few existing plugins.
2669 * gst/gstpluginfeature.c: (gst_plugin_feature_load):
2670 * tools/gst-inspect.c: (print_element_info):
2671 When a feature disappears from a plugin (and the feature exists in
2672 the cached registry file), things went horribly wrong. This isn't a
2673 complete fix, we should actually be removing the 'missing' features
2674 from the features list when we load the actual plugin. That's not
2677 2005-10-04 Johan Dahlin <johan@gnome.org>
2679 * check/gst/gstiterator.c: (GST_START_TEST):
2680 * gst/gstbin.c: (gst_bin_iterate_elements),
2681 (gst_bin_iterate_recurse), (gst_bin_iterate_sorted):
2682 * gst/gstelement.c: (gst_element_iterate_pads):
2683 * gst/gstformat.c: (gst_format_iterate_definitions):
2684 * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
2685 (gst_iterator_new_list), (gst_iterator_filter):
2686 * gst/gstiterator.h:
2687 * gst/gstquery.c: (gst_query_type_iterate_definitions):
2688 Add a GType to GstIterator, update callsites and tests.
2690 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
2692 * gst/gstpad.c: (gst_pad_event_default_dispatch):
2693 give events a chance to be handled by event probes when the pad
2696 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
2698 * gst/gstevent.c: (gst_event_type_get_name),
2699 (gst_event_type_to_quark), (gst_event_finalize), (gst_event_new):
2701 add string representations for event types
2703 2005-10-06 Wim Taymans <wim@fluendo.com>
2705 * gst/elements/gstfilesink.c: (gst_file_sink_close_file):
2706 Don't use NULL pointers.
2708 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
2710 * gst/gst_private.h:
2714 * gst/gstpluginfeature.c:
2715 widen the debug category in output to fit the biggest one we have
2716 add a bus category and use it
2717 play with the colors
2718 fix up some categories
2720 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
2722 * gst/gstghostpad.c: (gst_ghost_pad_internal_do_activate_push):
2723 add push activation of sink ghost pads.
2724 Andye, please verify
2726 2005-10-05 Thomas Vander Stichele <thomas at apestaart dot org>
2728 * gst/gstutils.c: (gst_element_link_pads):
2729 fix a bug in the case where neither element has a pad
2730 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
2731 add a test for that case
2733 2005-10-05 Thomas Vander Stichele <thomas at apestaart dot org>
2735 * gst/gstpad.c: (gst_pad_push), (gst_pad_push_event):
2736 emit have-data before checking for peers. This allows
2737 for probe handlers to connect elements. This helps autopluggers.
2738 * check/gst/gstpad.c: (GST_START_TEST), (_probe_handler),
2740 add six checks, linked/unlinked with no/true/false probe
2742 2005-10-04 Wim Taymans <wim@fluendo.com>
2744 * gst/elements/gstfakesink.c: (gst_fake_sink_get_property),
2745 (gst_fake_sink_event), (gst_fake_sink_preroll),
2746 (gst_fake_sink_render), (gst_fake_sink_change_state):
2747 * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler),
2748 (gst_fake_src_get_property), (gst_fake_src_create),
2749 (gst_fake_src_stop):
2750 * gst/elements/gstidentity.c: (gst_identity_stop):
2751 Protect last_message with lock.
2753 2005-10-04 Edward Hervey <edward@fluendo.com>
2756 Added precision in the comments for GST_FORMAT_DEFAULT
2758 2005-10-04 Tim-Philipp Müller <tim at centricular dot net>
2760 * tools/gst-launch.c: (main):
2761 Don't try to run erroneous pipelines.
2763 2005-10-04 Julien MOUTTE <julien@moutte.net>
2765 * gst/gstbus.c: We don't need this header.
2767 2005-10-03 Thomas Vander Stichele <thomas at apestaart dot org>
2772 === release 0.9.3 ===
2774 2005-10-03 Thomas Vander Stichele <thomas at apestaart dot org>
2778 Releasing 0.9.3, "Unregistered"
2780 2005-10-03 Andy Wingo <wingo@pobox.com>
2782 * gst/gstpad.c (gst_pad_activate_push): There is a race condition
2783 whereby calling a pad's activatepush() function can start a thread
2784 that starts to push or pull before the pad gets the FLUSHING flag
2785 unset. Hack around it by holding the stream lock until the flag is
2786 set. Need to replace this with a proper solution. Together with
2787 the ghost pad fixes, this fixes mp3 playing/tagreading.
2789 * docs/design/part-gstghostpad.txt: Add a note about activation of
2790 proxy pads outside of ghost pads.
2792 * gst/gstghostpad.c: Implement the ghost pad activation design.
2794 2005-10-02 Andy Wingo <wingo@pobox.com>
2796 * gst/gstobject.h (GST_OBJECT_REFCOUNT_VALUE): Just use the int.
2797 It is volatile, after all.
2799 * docs/design/part-gstghostpad.txt: Flesh out activation with
2802 * gst/base/gstbasesrc.c (gst_base_src_init): Use
2805 2005-10-02 Tim-Philipp Müller <tim at centricular dot net>
2808 Fix (unused) AM_CONDITIONAL tests.
2810 2005-10-01 Alessandro Decina <alessandro at nnva dot org>
2812 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
2814 * gst/gstutils.c: (gst_pad_query_convert):
2815 Add assertion that makes sure src_val is >=0, just like
2816 gst_query_new_convert() has. (#315895)
2818 2005-09-30 Edward Hervey <edward@fluendo.com>
2820 * gst/elements/gsttee.c: (gst_tee_do_push), (gst_tee_handle_buffer):
2821 Let's not iterate pads we're not interested in, it avoids getting
2822 sky-high refcounts on sinkpad.
2824 2005-09-30 Wim Taymans <wim@fluendo.com>
2826 * gst/gstelement.c: (gst_element_set_state),
2827 (gst_element_change_state):
2828 Small tweak, element in ASYNC remains ASYNC.
2830 2005-09-30 Wim Taymans <wim@fluendo.com>
2832 * gst/base/gstbasesink.c: (gst_base_sink_change_state):
2833 Only error is an error.
2835 * gst/gstbin.c: (gst_bin_change_state):
2838 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_chain):
2839 Also call pad_block in pad alloc.
2841 * gst/gstutils.c: (gst_flow_get_name):
2844 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
2846 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
2847 (gst_base_src_get_range):
2848 Fix documentation typos. Add some more debug info.
2850 2005-09-29 David Schleef <ds@schleef.org>
2852 * gst/gstplugin.c: (gst_plugin_load_file): Make some error messages
2853 more end-user friendly.
2854 * tools/gst-inspect.c: (main): Check if command-line argument is
2855 a file and attempt to load that file as a plugin.
2857 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
2859 * check/gst/gstbin.c:
2860 * check/states/sinks.c:
2861 fix tests for the new warning
2862 * check/gst/gstpipeline.c:
2863 add a test for pipeline and bus interaction
2865 elements should be NULL if they get disposed; add a warning if not
2867 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
2870 for 2.6 refcounting, make debug log more correct by printing
2871 the actual refcounts at the time of swap (Wim)
2873 2005-09-29 Andy Wingo <wingo@pobox.com>
2875 * gst/gstbus.c (gst_bus_remove_signal_watch): New function,
2876 removes signal watches previously added via
2877 gst_bus_add_signal_watch.
2878 (gst_bus_add_signal_watch): Don't return the source id, just store
2879 it on the bus if there wasn't an id already.
2881 * gst/gstbus.h (GstBus): Add a couple new fields. API changes for
2882 add_signal_watch and remove_signal_watch.
2884 2005-09-29 Edward Hervey <edward@fluendo.com>
2886 * libs/gst/controller/gstcontroller.c: (gst_controller_new_list):
2887 Better if we actually iterate the list :)
2889 2005-09-29 Wim Taymans <wim@fluendo.com>
2891 * check/gst/gstbin.c: (GST_START_TEST):
2892 Change for new bus API.
2894 * check/gst/gstbus.c: (message_func_eos), (message_func_app),
2895 (send_messages), (GST_START_TEST), (gstbus_suite):
2896 Change for new bus signal API.
2898 * gst/gstbus.c: (gst_bus_class_init), (gst_bus_have_pending),
2899 (gst_bus_source_prepare), (gst_bus_source_check),
2900 (gst_bus_create_watch), (gst_bus_add_watch_full),
2901 (gst_bus_add_watch), (gst_bus_poll), (gst_bus_async_signal_func),
2902 (gst_bus_sync_signal_handler), (gst_bus_add_signal_watch):
2904 Remove support for multiple GSources operating on different
2905 message types as it is too complex and unneeded when using
2907 Added support for receiving signals from the bus.
2909 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
2911 * docs/libs/tmpl/gstdataprotocol.sgml:
2912 * docs/manual/advanced-dataaccess.xml:
2913 * gst/elements/gstcapsfilter.c:
2915 rename filter-caps to caps property
2917 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
2919 * gst/gstvalue.c: (gst_value_deserialize_fraction):
2920 More robust fraction string parsing.
2922 * docs/pwg/appendix-porting.xml:
2923 Mention gst_pad_use_explicit_caps() => gst_pad_use_fixed_caps()
2925 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
2927 * gst/gstcaps.c: (gst_caps_do_simplify):
2928 Thou shalt not free a structure and then continue using it
2929 in the next loop iteration.
2931 * check/gst/gstcaps.c: (check_fourcc_list), (test_simplify),
2933 Add test case for caps simplification.
2935 2005-09-29 Wim Taymans <wim@fluendo.com>
2937 * check/gst/gstbin.c: (GST_START_TEST):
2940 2005-09-29 Wim Taymans <wim@fluendo.com>
2942 * check/gst/gstbin.c: (GST_START_TEST):
2945 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
2946 (add_to_queue), (clear_queue), (reset_degree), (update_degree),
2947 (find_element), (gst_bin_sort_iterator_next),
2948 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
2949 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
2950 (gst_bin_change_state), (gst_bin_dispose):
2951 A bin does not have a bus, it gets the bus from the parent.
2953 * gst/gstelement.c: (gst_element_requires_clock),
2954 (gst_element_provides_clock), (gst_element_is_indexable),
2955 (gst_element_is_locked_state), (gst_element_change_state),
2956 (gst_element_set_bus_func):
2959 * gst/gstpipeline.c: (gst_pipeline_class_init),
2960 (gst_pipeline_init), (gst_pipeline_provide_clock_func):
2961 The pipeline provides a bus.
2963 2005-09-28 Johan Dahlin <johan@gnome.org>
2965 * gst/gstmessage.c (gst_message_parse_state_changed): Use
2966 gst_structure_get_enum instead of gst_structure_get_int
2968 * gst/gststructure.c (gst_structure_get_enum): Impl.
2970 * gst/gststructure.h (gst_structure_get_enum): Add
2972 * docs/gst/gstreamer-sections.txt: Ditto
2974 * gst/gstmessage.c (gst_message_new_state_changed): Use
2975 GST_TYPE_STATE instead of G_TYPE_INT, mainly for language bindings
2976 which does introspection.
2977 Reviewed by Christian Schaller
2979 2005-09-28 Stefan Kost <ensonic@users.sf.net>
2981 * gst/gstinfo.c: (gst_debug_log_default):
2982 don't do dummy g_strdup()s
2983 * libs/gst/controller/gstcontroller.c:
2984 (on_object_controlled_property_changed),
2985 (gst_controlled_property_new), (gst_controller_new_valist),
2986 (gst_controller_new_list),
2987 (gst_controller_remove_properties_valist), (gst_controller_set),
2988 (gst_controller_get), (gst_controller_sync_values),
2989 (gst_controller_get_value_array), (_gst_controller_class_init),
2990 (gst_controller_get_type):
2991 * libs/gst/controller/gstcontroller.h:
2992 * libs/gst/controller/gstinterpolation.c:
2993 (gst_controlled_property_find_timed_value_node):
2994 convert // to /**/ comments
2996 2005-09-28 Wim Taymans <wim@fluendo.com>
2998 * gst/gstbus.c: (marshal_VOID__MINIOBJECT), (gst_bus_class_init),
2999 (gst_bus_post), (poll_func), (gst_bus_async_signal_func),
3000 (gst_bus_sync_signal_handler):
3002 Added async-message and sync-message signals to the bus.
3003 Added helper BusFunc to emit signals for all posted messages.
3005 * gst/gstmessage.c: (gst_message_type_get_name),
3006 (gst_message_type_to_quark), (gst_message_get_type):
3008 Register quarks for message names.
3010 2005-09-28 Stefan Kost <ensonic@users.sf.net>
3012 * docs/libs/gstreamer-libs-sections.txt:
3013 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
3014 (gst_controller_new_list):
3015 * libs/gst/controller/gstcontroller.h:
3016 added another constructor for language bindings
3018 2005-09-28 Thomas Vander Stichele <thomas at apestaart dot org>
3020 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
3024 * gst/gstinfo.c: (_gst_debug_init):
3025 slightly more readable color for refcount debugging
3027 2005-09-28 Wim Taymans <wim@fluendo.com>
3029 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
3030 (add_to_queue), (clear_queue), (reset_degree), (update_degree),
3031 (find_element), (gst_bin_sort_iterator_next),
3032 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
3033 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
3034 (gst_bin_change_state), (gst_bin_dispose):
3035 Small doc fixes. get_clock -> provide_clock.
3037 * gst/gstelement.c: (gst_element_class_init),
3038 (gst_element_provides_clock), (gst_element_provide_clock),
3039 (gst_element_get_clock), (gst_element_commit_state),
3040 (gst_element_lost_state):
3042 Make get/set_clock() symetric. Add provide_clock vmethod since
3043 that is actually what this function does.
3045 * gst/gstpipeline.c: (gst_pipeline_class_init),
3046 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func),
3047 (gst_pipeline_get_clock):
3048 get_clock -> provide_clock.
3050 2005-09-28 Andy Wingo <wingo@pobox.com>
3052 * gst/base/gstbasesrc.c (gst_base_src_unlock): Comment a bit in
3053 lieu of real docs...
3055 * gst/elements/gstfdsrc.c: Cleaned up a bit.
3057 2005-09-28 Tim-Philipp Müller <tim at centricular dot net>
3059 * gst/elements/gstcapsfilter.c:
3060 * gst/elements/gstfakesink.c:
3061 * gst/elements/gstfakesrc.c:
3062 * gst/elements/gstfdsink.c:
3063 * gst/elements/gstfdsrc.c:
3064 * gst/elements/gstfilesink.c:
3065 * gst/elements/gstfilesrc.c:
3066 * gst/elements/gstidentity.c:
3067 * gst/elements/gsttee.c:
3068 * gst/elements/gsttypefindelement.c:
3069 Make element details static.
3071 2005-09-28 Wim Taymans <wim@fluendo.com>
3073 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
3074 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
3075 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
3076 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
3077 (gst_bin_change_state), (gst_bin_dispose):
3078 Some documentation updates.
3079 Clean up dispose handlers.
3081 * gst/gstobject.c: (gst_object_ref), (gst_object_unref):
3082 * gst/gstpad.c: (gst_pad_dispose):
3083 Clean up dispose handler.
3085 * gst/gstpipeline.c: (gst_pipeline_change_state):
3086 Removed spurious UNLOCK.
3088 2005-09-27 Stefan Kost <ensonic@users.sf.net>
3090 * docs/gst/gstreamer-sections.txt:
3091 * gst/base/gstbasesrc.h:
3096 * gst/gstpipeline.c:
3097 * gst/gstpipeline.h:
3100 added two new functions to the docs
3101 documents all undocumented GstXXXFlags
3102 completed some incomplete docs
3104 2005-09-27 Thomas Vander Stichele <thomas at apestaart dot org>
3106 * gst/gstbin.c: (gst_bin_dispose):
3107 * gst/gstelement.c: (gst_element_dispose):
3108 remove now useless and leaky resurrection code in dispose
3109 * gst/base/gstbasesrc.c: (gst_base_src_init):
3110 * gst/gstelementfactory.c: (gst_element_factory_create):
3111 * gst/gstobject.c: (gst_object_set_parent):
3114 2005-09-27 Wim Taymans <wim@fluendo.com>
3116 * docs/design/part-TODO.txt:
3119 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
3120 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
3121 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
3122 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
3123 (gst_bin_change_state):
3125 Remove element variable, we keep element info in the iterator now.
3127 2005-09-27 Andy Wingo <wingo@pobox.com>
3129 * libs/gst/dataprotocol/dataprotocol.c: Fix error-checking return
3132 2005-09-27 Wim Taymans <wim@fluendo.com>
3134 * check/gst/gstbin.c: (GST_START_TEST):
3135 Enable check that works now.
3137 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
3138 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
3139 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
3140 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
3141 (gst_bin_change_state):
3143 Redid the state change algorithm using a topological sort algo.
3144 Handles all cases correctly.
3145 Exposed iterator for state change order.
3148 Temp storage for state changes. Need to get rid of this soon.
3150 2005-09-27 Wim Taymans <wim@fluendo.com>
3152 * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_do_push):
3153 * gst/gstutils.c: (intersect_caps_func), (gst_pad_proxy_getcaps),
3154 (link_fold_func), (gst_pad_proxy_setcaps):
3155 Leak fixes, the fold functions need to unref the passed object and
3156 _get_parent_*() returns ref to parent.
3158 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
3160 * check/gst/gstbuffer.c: (test_make_writable):
3161 Plug leak in test case and fix 'make check-valgrind'
3163 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
3165 * gst/gstbuffer.c: (gst_subbuffer_init):
3166 Set READONLY flag on subbuffers, so that gst_buffer_make_writable()
3167 works correctly in all circumstances (we could have just copied
3168 the parent buffer's readonly flag, but conceptually it seems
3169 cleaner to mark all subbuffers as read-only). (based on patch
3170 by Alessandro Decina, #314710).
3172 * check/gst/gstbuffer.c: (create_read_only_buffer),
3173 (test_make_writable), (test_subbuffer_make_writable),
3175 Add some tests for gst_buffer_make_writable().
3177 2005-09-27 Wim Taymans <wim@fluendo.com>
3179 * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_change_state):
3180 use gst_object_has_ancestor().
3182 * gst/gstobject.c: (gst_object_has_ancestor):
3184 gst_object_has_ancestor() copied from gstbin.c as it is a
3187 * tests/instantiate/create.c: (create_all_elements):
3188 * tests/lat.c: (handoff_src), (handoff_sink):
3189 * tests/sched/runxml.c: (main):
3190 * tests/seeking/seeking1.c: (main):
3191 * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
3193 Fix compilation of some tests.
3195 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
3198 Remove comment. GST_TYPE_G_ERROR is here to stay,
3199 G_TYPE_ERROR has been WONTFIX'ed by the GLib folks
3202 2005-09-26 Wim Taymans <wim@fluendo.com>
3204 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
3205 Added check that shows error in state change order.
3207 2005-09-26 Wim Taymans <wim@fluendo.com>
3209 * gst/gstbin.c: (gst_bin_change_state):
3210 Make state change function use 3 queues again, we were
3211 adding elements in the wrong order.
3213 * gst/gstghostpad.c: (gst_ghost_pad_do_unlink):
3216 * gst/gstpad.c: (gst_pad_dispose):
3217 Added some debug info first.
3219 2005-09-26 Tim-Philipp Müller <tim at centricular dot net>
3221 * docs/design/draft-push-pull.txt:
3222 * docs/design/part-events.txt:
3223 * docs/design/part-overview.txt:
3224 * docs/design/part-scheduling.txt:
3225 Replace all _pull_region() with _pull_range()
3227 2005-09-26 Andy Wingo <wingo@pobox.com>
3229 * gst/gstvalue.c (_gst_value_initialize): Better fakeout.
3231 * check/gst-libs/controller.c: Update for controller api change.
3234 * tests/Makefile.am:
3235 * tests/memchunk: Remove memchunk benchmark stuff, this is taken
3236 over by GLib bug 118439.
3238 * gst/base/gstbasesink.c (gst_base_sink_wait): Factor out the wait
3239 routines to a function.
3241 * docs/libs/gstreamer-libs-sections.txt: I am a good person today.
3243 * libs/gst/controller/gsthelper.c:
3244 * libs/gst/controller/gstcontroller.h (gst_controller_sync_values)
3245 (gst_object_sync_values): Renamed from sink_values. Ugh.
3247 * libs/gst/controller/gsthelper.c: Update for __gst_controller_key.
3249 * libs/gst/controller/gstcontroller.c (__gst_controller_key):
3250 Renamed from controller_key, as it is exported.
3252 * gst/gstvalue.c (_gst_value_initialize): Fake out the compiler.
3254 2005-09-26 Thomas Vander Stichele <thomas at apestaart dot org>
3259 * gst/gstpadtemplate.h:
3262 * gst/gstqueryutils.c:
3263 * gst/gstqueryutils.h:
3264 remove queryutils headers after moving the two used functions
3265 to gstquery. also fixes build problem for gstsiddec
3267 2005-09-26 Michael Smith <msmith@fluendo.com>
3269 * tools/gst-launch.1.in:
3270 Correct documentation in manpage of debug syntax
3272 2005-09-26 Wim Taymans <wim@fluendo.com>
3274 * gst/base/gstbasesrc.c: (gst_base_src_get_range),
3275 (gst_base_src_is_seekable), (gst_base_src_change_state):
3276 Some more debugging info.
3278 2005-09-25 Stefan Kost <ensonic@users.sf.net>
3280 * docs/gst/gstreamer-sections.txt:
3281 * gst/base/gstbasetransform.h:
3285 2005-09-25 Stefan Kost <ensonic@users.sf.net>
3287 * docs/gst/.cvsignore:
3288 * docs/gst/tmpl/.cvsignore:
3289 * docs/gst/tmpl/gstpipeline.sgml:
3290 * docs/gst/tmpl/gstplugin.sgml:
3291 * gst/gstpipeline.c:
3294 inlined the last two docs files
3295 removed the tmpl directory from cvs (no more conflicts here!)
3297 2005-09-25 Stefan Kost <ensonic@users.sf.net>
3299 * docs/gst/gstreamer-sections.txt:
3300 * docs/gst/tmpl/.cvsignore:
3301 * docs/gst/tmpl/gstpad.sgml:
3302 * docs/gst/tmpl/gstpadtemplate.sgml:
3304 * gst/gstpad.c: (gst_pad_class_init), (gst_pad_dispose),
3305 (gst_pad_finalize), (gst_pad_set_pad_template):
3307 * gst/gstpadtemplate.c: (gst_pad_template_get_type),
3308 (gst_pad_template_class_init), (gst_pad_template_init),
3309 (gst_pad_template_dispose), (name_is_valid),
3310 (gst_static_pad_template_get), (gst_pad_template_new),
3311 (gst_static_pad_template_get_caps), (gst_pad_template_get_caps),
3312 (gst_pad_template_pad_created):
3313 * gst/gstpadtemplate.h:
3314 inlined two more docs
3315 factored gstpadtemplate out of gstpad
3317 2005-09-24 Tim-Philipp Müller <tim at centricular dot net>
3319 * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
3320 (test_children_state_change_order_semi_sink):
3321 Fix test case: we can't rely on a fixed state change order when
3322 going from READY => PAUSED because the sink might commit its
3323 new state first when the first buffer created by the source
3324 reaches the sink before the source has finished its change state.
3325 (Test case still fails at times, see #316856, comment 5 onwards)
3327 2005-09-24 Wim Taymans <wim@fluendo.com>
3329 * docs/design/part-events.txt:
3330 * docs/design/part-gstbus.txt:
3331 * docs/design/part-gstpipeline.txt:
3332 * docs/design/part-messages.txt:
3333 * docs/design/part-overview.txt:
3334 * docs/design/part-segments.txt:
3341 * gst/gstiterator.c:
3342 Various documentation updates.
3344 2005-09-24 Thomas Vander Stichele <thomas at apestaart dot org>
3347 Well, that's embarassing. Luckily we weren't using
3348 GST_CLOCK_DIFF anywhere.
3350 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
3352 * common/gtk-doc.mak:
3353 don't fail on building XML, FC4 slave shows a bunch of doc
3354 missing bits that I don't get
3356 * gst/gstpipeline.c:
3357 * gst/gststructure.c:
3360 2005-09-23 Tim-Philipp Müller <tim at centricular dot net>
3362 * docs/design/part-gstbin.txt:
3363 * docs/design/part-gstbus.txt:
3365 Add blurb about how the bus goes into flushing mode and
3366 drops all messages when its bin goes from READY into NULL
3369 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
3371 * docs/gst/gstreamer-sections.txt:
3372 * gst/gststructure.c: (gst_structure_get_clock_time):
3373 * gst/gststructure.h:
3374 add a method to get a GstClockTime out of a structure
3376 2005-09-23 Tim-Philipp Müller <tim at centricular dot net>
3378 * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
3379 (test_children_state_change_order_semi_sink), (gst_bin_suite):
3380 Added test to check state change order in bins (can still be made
3381 to fail here under heavy disk load; bails out with 'Push on pad
3382 fakesink:sink0, but it was not activated in push mode').
3384 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_change_state):
3385 Fix state change order when there is only a semi sink (#316856)
3387 * gst/gstbus.c: (gst_bus_class_init):
3388 Use _class_peek_parent(), not _class_ref(); fix docs to say
3389 'default main context' instead of 'mainloop' where that is
3392 * gst/gstelement.c: (gst_element_commit_state),
3393 (gst_element_set_state):
3394 Fix typos in debug messages
3396 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
3399 * gst/gstpad.c: (gst_pad_class_init), (gst_pad_chain):
3400 * gst/gstpluginfeature.c:
3403 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
3404 change an assert into an error until it gets fixed properly
3406 2005-09-23 Stefan Kost <ensonic@users.sf.net>
3408 * docs/gst/gstreamer-sections.txt:
3409 * docs/gst/tmpl/.cvsignore:
3410 * docs/gst/tmpl/gstelement.sgml:
3411 * docs/gst/tmpl/gstinfo.sgml:
3412 * docs/gst/tmpl/gstobject.sgml:
3417 * gst/gstobject.c: (gst_object_class_init):
3419 inlined 3 more biiiig doc files and added some missing docs on the fly
3421 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
3423 * check/gst/.cvsignore:
3424 * check/gst/gstplugin.c: (GST_START_TEST), (gst_plugin_suite):
3425 * gst/gstregistryxml.c: (load_plugin),
3426 (gst_registry_xml_save_plugin):
3427 put back source in registry. add checks for find_plugin.
3428 * testsuite/states/bin.c: (assert_state), (empty_bin),
3429 (test_adding_one_element), (main):
3430 * testsuite/states/locked.c: (main):
3431 some compile/run fixes
3433 2005-09-22 Thomas Vander Stichele <thomas at apestaart dot org>
3435 * check/gst/gstvalue.c: (GST_START_TEST):
3436 fix leaks in the test itself
3438 2005-09-22 Wim Taymans <wim@fluendo.com>
3440 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
3441 (gst_base_sink_send_event), (gst_base_sink_peer_query),
3442 (gst_base_sink_query):
3443 Prepare for more accurate position reporting and query
3446 * gst/gstelement.c: (gst_element_send_event),
3447 (gst_element_set_state):
3450 2005-09-22 Wim Taymans <wim@fluendo.com>
3452 * gst/gstquery.c: (gst_query_new_segment), (gst_query_set_segment),
3453 (gst_query_parse_segment):
3456 Add segment query for future use.
3458 2005-09-22 Wim Taymans <wim@fluendo.com>
3460 * gst/gstbin.c: (gst_bin_add_func):
3461 Some more debug info.
3463 * gst/gstelement.c: (gst_element_send_event):
3467 Don't know how flags got broken.
3472 2005-09-22 Tim-Philipp Müller <tim at centricular dot net>
3474 * check/gst/gstvalue.c: (test_date), (gst_value_suite):
3475 Add simplistic test suite for GST_TYPE_DATE serialisation and
3478 2005-09-22 Tim-Philipp Müller <tim at centricular dot net>
3480 * docs/gst/gstreamer-sections.txt:
3481 * gst/gststructure.c: (gst_structure_set_valist),
3482 (gst_structure_get_date):
3483 * gst/gststructure.h:
3484 * gst/gstvalue.c: (gst_value_set_date), (gst_value_get_date),
3485 (gst_date_copy), (gst_value_compare_date),
3486 (gst_value_serialize_date), (gst_value_deserialize_date),
3487 (gst_value_transform_date_string),
3488 (gst_value_transform_string_date), (_gst_value_initialize):
3490 Add GST_TYPE_DATE, a boxed type that wraps GDate, and the usual
3491 bunch of utility functions along with a hack that checks that
3492 developers don't accidentally use G_TYPE_DATE where GST_TYPE_DATE
3493 is required. Part of the grand scheme in #170777.
3495 2005-09-22 Andy Wingo <wingo@pobox.com>
3497 * gst/gstconfig.h.in: Psych out gtk-doc.
3499 * docs/gst/gstreamer-sections.txt: Add GST_HAVE_GLIB_2_8.
3501 * check/Makefile.am (check_PROGRAMS): Add gstplugin to the tests.
3503 * tools/gst-inspect.c (print_element_list): Plug some
3504 inconsequential leaks.
3506 * gst/gstregistry.c (gst_registry_get_default): Doc.
3508 * check/gst/gstplugin.c:
3509 * gst/gsttypefindfactory.c (gst_type_find_factory_call_function):
3510 * gst/gstelementfactory.c (gst_element_factory_create):
3511 * gst/gstindexfactory.c (gst_index_factory_create): Update for
3514 * gst/gstpluginfeature.c (gst_plugin_feature_list_free): Doc.
3515 (gst_plugin_feature_load): Doc, don't eat refs.
3517 * gst/gstplugin.c (gst_plugin_load): Doc, don't eat refs.
3518 (gst_plugin_list_free): Doc.
3519 (gst_plugin_load_file): Doc updates.
3521 * gst/gstbuffer.c (gst_buffer_get_caps): Like all our _get
3522 accessors returning refcounted objects, return a ref.
3524 * check/gst/gstbuffer.c (GST_START_TEST): Use refcount-idempotent
3525 accessor for caps. IDEMPOTENCE. Oh yes.
3527 2005-09-21 Francis Labonte <francis_labonte at hotmail dot com>
3529 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
3531 * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
3532 (_gst_debug_register_funcptr):
3533 Add mutex to serialise access to the hash table with
3534 the function pointer => function name string mapping;
3535 make that hash table static scope (#316809).
3537 * gst/registries/.cvsignore:
3538 Remove left-over file.
3540 2005-09-21 Tim-Philipp Müller <tim at centricular dot net>
3542 * docs/pwg/appendix-porting.xml:
3543 And something about newsegment events and caps-on-buffers to
3544 the porting guide (feel free to improve).
3546 2005-09-21 Andy Wingo <wingo@pobox.com>
3548 * check/gst/gstutils.c (test_buffer_probe_n_times): Add tests for
3549 data and event probes on the same pad.
3550 (test_buffer_probe_once): Test that removing probes from within
3551 the probe functions works.
3553 2005-09-21 Andy Wingo <wingo@pobox.com>
3555 * check/gst/gstutils.c: New file.
3556 (test_buffer_probe_n_times): A simple buffer probe test. More to
3559 * gst/gstutils.c (gst_pad_add_buffer_probe): Connect to
3560 have-data::buffer, not have-data.
3561 (gst_pad_add_event_probe): Likewise for have-data::event.
3562 (gst_pad_add_data_probe): More docs. The part about 'resolving the
3563 peer' isn't quite right yet though.
3564 (gst_pad_remove_buffer_probe, gst_pad_remove_event_probe)
3565 (gst_pad_remove_data_probe): Change to take the guint handler_id
3566 as their arg, not the function+data, which is more glib-like.
3568 * gst/gstpad.c (gst_pad_emit_have_data_signal): Add a detail to
3569 the signal emission to indicate if the data is a buffer or an
3571 (gst_pad_get_type): Initialize buffer and event quarks.
3572 (gst_pad_class_init): have-data is now a detailed signal, yes it
3575 2005-09-21 Tim-Philipp Müller <tim at centricular dot net>
3577 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
3578 * gst/gstutils.c: (gst_util_set_value_from_string),
3579 (gst_util_set_object_arg):
3580 Don't put functional code in g_return_if_fail() or
3581 g_return_val_if_fail() statements, otherwise things will
3582 break when G_DISABLE_CHECKS is defined during compilation.
3584 2005-09-21 Stefan Kost <ensonic@users.sf.net>
3586 * docs/gst/tmpl/.cvsignore:
3587 * docs/gst/tmpl/gstvalue.sgml:
3590 inlied another one and added some obvious docs
3592 2005-09-21 Wim Taymans <wim@fluendo.com>
3594 * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
3595 (gst_fdsrc_init), (gst_fdsrc_start), (gst_fdsrc_stop),
3596 (gst_fdsrc_unlock), (gst_fdsrc_set_property),
3597 (gst_fdsrc_get_property), (gst_fdsrc_create):
3598 * gst/elements/gstfdsrc.h:
3599 Properly implement fdsrc. Removed signal and timeout,
3600 better implemented somewhere else.
3602 2005-09-21 Stefan Kost <ensonic@users.sf.net>
3604 * docs/gst/tmpl/.cvsignore:
3605 * docs/gst/tmpl/gstimplementsinterface.sgml:
3606 * gst/gstinterface.c:
3609 2005-09-21 Stefan Kost <ensonic@users.sf.net>
3611 * docs/gst/gstreamer-sections.txt:
3612 * docs/gst/tmpl/.cvsignore:
3613 * docs/gst/tmpl/gstenumtypes.sgml:
3614 remove obsolete doc file
3616 2005-09-21 David Schleef <ds@schleef.org>
3618 * gst/gstelementfactory.c: (gst_element_factory_make): Drink a
3619 little beer, fix a little leak.
3621 2005-09-21 Stefan Kost <ensonic@users.sf.net>
3623 * docs/gst/gstreamer-docs.sgml:
3624 * docs/gst/gstreamer-sections.txt:
3625 * docs/gst/tmpl/.cvsignore:
3630 * gst/gstindex.c: (gst_index_class_init):
3632 * gst/gstindexfactory.c: (gst_index_factory_get_type),
3633 (gst_index_factory_class_init), (gst_index_factory_init),
3634 (gst_index_factory_finalize), (gst_index_factory_new),
3635 (gst_index_factory_destroy), (gst_index_factory_find),
3636 (gst_index_factory_create), (gst_index_factory_make):
3637 * gst/gstindexfactory.h:
3638 * gst/gstpluginfeature.c:
3639 * gst/gstpluginfeature.h:
3640 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
3641 more docs inlined, splitted gstindex.{c,h}
3643 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
3645 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
3648 2005-09-20 Tim-Philipp Müller <tim at centricular dot net>
3650 * gst/elements/gstfilesink.c: (gst_file_sink_init):
3651 Set sync to FALSE by default.
3653 2005-09-20 Wim Taymans <wim@fluendo.com>
3655 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
3656 (gst_base_sink_init):
3657 Make sync property settable from subclass.
3659 * gst/elements/gstfakesink.c: (gst_fake_sink_init),
3660 (gst_fake_sink_change_state):
3661 Set sync to FALSE by default.
3663 2005-09-20 Wim Taymans <wim@fluendo.com>
3665 * gst/gstbus.c: (poll_func), (poll_timeout), (gst_bus_poll):
3666 * tools/gst-launch.c: (main):
3667 The timeout handler should have lower priority than the source
3668 so we don't timeout before popping a message with 0 timeout.
3669 Dump error messages after failed state change.
3671 2005-09-20 Tim-Philipp Müller <tim at centricular dot net>
3673 * tools/gst-inspect.c: (print_element_properties_info):
3676 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
3678 * check/gst/gstevent.c:
3679 * gst/elements/gstfakesink.c:
3680 * gst/elements/gstfakesink.h:
3681 remove the sync property from fakesink.
3682 has the side effect of setting sync TRUE
3683 for fakesink, which is a change. Anyone who knows how
3684 to fix this nicely in a GObject-y way, feel free.
3686 2005-09-20 Stefan Kost <ensonic@users.sf.net>
3688 * docs/gst/gstreamer-docs.sgml:
3689 remove probe refsection
3691 2005-09-20 Stefan Kost <ensonic@users.sf.net>
3693 * check/Makefile.am:
3694 disable valgrinding the controller test again
3695 * docs/gst/gstreamer-sections.txt:
3696 update for api-changes
3698 2005-09-20 Wim Taymans <wim@fluendo.com>
3700 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
3701 (gst_base_sink_set_property), (gst_base_sink_get_property),
3702 (gst_base_sink_do_sync):
3703 * gst/base/gstbasesink.h:
3704 Added sync property to basesink to disable clock sync.
3706 2005-09-20 Andy Wingo <wingo@pobox.com>
3708 * gst/gstelementfactory.c (gst_element_factory_create): Avoid
3709 eating the caller's refcount.
3711 * gst/gstobject.h (GST_OBJECT_REFCOUNT)
3712 (GST_OBJECT_REFCOUNT_VALUE): Conditionally fondle the right
3715 * gst/gstconfig.h.in (GST_HAVE_GLIB_2_8):
3716 * configure.ac (GST_HAVE_GLIB_2_8_DEFINE): Make the availability
3717 of GLib 2.8 public, so we can know which refcount to check in
3720 * gst/gstobject.c: Use the GST_HAVE_GLIB_2_8 define.
3721 (gst_object_init): Only set the gst refcount if we're going ahead
3722 with the refcount hack.
3724 2005-09-20 Stefan Kost <ensonic@users.sf.net>
3726 * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
3727 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
3728 more leaks plumbed, added more debug-logging
3732 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
3735 remove include of gstmemchunk.h
3737 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
3739 * gst/gstclock.c: (_gst_clock_id_free):
3740 Commit from the Political Party For More Atomic CVS Commits,
3741 so that people don't waste too much of their day fishing
3742 out obvious leaks out of massive commits.
3743 Oh, and fix a pretty damn obvious leak in the memchunk
3746 2005-09-20 Stefan Kost <ensonic@users.sf.net>
3748 * check/Makefile.am:
3749 * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
3750 plug mem-leak, re-add to valgrindable tests
3752 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
3755 unbreak the build for those who have chronic arthritis
3756 and typing "make check" is just too taxing on the hands
3758 2005-09-20 Andy Wingo <wingo@pobox.com>
3760 * gst/gst.h: Re-add marshal to gst.h's include list -- if we
3761 really want it out, you should fix plugins at the same time.
3763 2005-09-19 Stefan Kost <ensonic@users.sf.net>
3766 * docs/gst/gstreamer-sections.txt:
3768 added missing symbols to api docs
3769 disable ref-count hack if we have glib >= 2.8
3771 2005-09-19 David Schleef <ds@schleef.org>
3773 * docs/gst/Makefile.am: Ignore a few more internal headers
3774 * docs/gst/gstreamer-docs.sgml: Remove old sections
3775 * docs/gst/gstreamer-sections.txt: Remove old sections
3776 * docs/gst/tmpl/gstobject.sgml: update
3777 * docs/gst/tmpl/gstplugin.sgml: update
3778 * docs/gst/tmpl/gstpluginfeature.sgml: update
3779 * docs/random/ds/0.9-suggested-changes: update.
3780 * gst/Makefile.am: remove memchunk and trashstack, since they're
3782 * gst/gst.c: (gst_deinit): rename gst_registry_deinit to _cleanup
3783 * gst/gst.h: don't include some headers
3784 * gst/gstchildproxy.c: add gstmarshal.h
3785 * gst/gstclock.c: Don't use memchunks
3786 * gst/gstminiobject.c: Add some docs
3787 * gst/gstobject.c: remove DESTROYED flag, since it's redundant
3788 * gst/gstobject.h: same
3789 * gst/gstplugin.c: include gstmacros.h
3790 * gst/gstplugin.h: don't include gstmacros.h, since it's private
3791 * gst/gstquery.c: don't use memchunks
3792 * gst/gstregistry.c: rename gst_registry_deinit()
3793 * gst/gstregistry.h: same
3795 2005-09-19 David Schleef <ds@schleef.org>
3797 * docs/libs/gstreamer-libs-docs.sgml: Remove docs for getbits
3798 * docs/libs/gstreamer-libs-sections.txt:
3799 * docs/libs/tmpl/gstgetbits.sgml:
3800 * docs/libs/tmpl/gstputbits.sgml:
3802 2005-09-19 Tim-Philipp Müller <tim at centricular dot net>
3804 * win32/gstenumtypes.c:
3805 * win32/gstenumtypes.h:
3808 2005-09-19 Wim Taymans <wim@fluendo.com>
3810 * gst/gstpipeline.c: (do_pipeline_seek), (gst_pipeline_send_event):
3811 Automatically PAUSE and RESUME a pipeline when a flushing seek
3814 2005-09-19 Andy Wingo <wingo@pobox.com>
3816 * gst/gstregistry.h: Spacing fixen.
3818 2005-09-19 Wim Taymans <wim@fluendo.com>
3820 * gst/base/gstbasesrc.c: (gst_base_src_change_state):
3821 Handle state change failure more correctly.
3823 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
3825 * check/Makefile.am:
3826 * check/pipelines/cleanup.c: (run_pipeline):
3827 * check/pipelines/simple_launch_lines.c: (run_pipeline),
3829 enable cleanup again after fixing the leak
3831 some more info on docs
3833 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
3835 * check/Makefile.am:
3836 re-enable tests now that leaks are plugged
3838 * check/gst/gstbin.c:
3839 * check/gst/gstpipeline.c:
3840 add some more tests while fixing leaks
3842 make sure binaries are uptodate when valgrinding/gdbing
3844 * gst/gstelementfactory.c:
3845 remove a ref too many, and add a FIXME for when we get
3846 round to disposing of classes
3848 fix the refcounting when loading a plugin from a file and
3849 the code pretends that the pointer is the same even though
3850 of course it can change
3851 * gst/gstpluginfeature.c:
3852 unref plugins marked cached (a bit confusing as a name)
3853 as the docs state should be done
3854 various doc additions to explain refcounting
3855 * gst/gstregistry.c:
3856 * gst/gstregistryxml.c:
3859 2005-09-19 Wim Taymans <wim@fluendo.com>
3861 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
3862 * check/gst/gstbus.c: (message_func_eos), (message_func_app),
3863 (send_messages), (GST_START_TEST), (gstbus_suite):
3864 * check/gst/gstpipeline.c: (GST_START_TEST):
3865 * check/pipelines/cleanup.c: (run_pipeline):
3866 * check/pipelines/simple_launch_lines.c: (run_pipeline),
3868 * gst/gstbus.c: (gst_bus_have_pending), (gst_bus_source_prepare),
3869 (gst_bus_source_check), (gst_bus_source_dispatch),
3870 (gst_bus_create_watch), (gst_bus_add_watch_full),
3871 (gst_bus_add_watch), (poll_func), (poll_timeout), (gst_bus_poll):
3873 * tools/gst-launch.c: (event_loop):
3874 * tools/gst-md5sum.c: (event_loop):
3875 GstBusHandler -> GstBusFunc, return value has the same meaning as
3876 any other GSource (FALSE == remove source).
3877 _add_watch() and _add_watch_full() now take a MessageType mask to
3878 only handle specific types of messages.
3879 _poll() returns the GstMessage instead of the message type to avoid
3881 _have_pending() takes a MessageType mask now too.
3882 Added testsuite for multiple bus watches.
3883 Fix testsuites and applications for new bus API.
3885 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
3887 * check/Makefile.am:
3888 mark a bunch of the tests as to fix until we fix them
3890 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
3893 use GST_PLUGIN settings for valgrind tests as well, so we're
3894 valgrinding the correct thing
3895 * gst/gst.c: (init_post):
3898 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
3900 * gst/gst.c: (init_post), (gst_deinit):
3901 * gst/gstelementfactory.c: (gst_element_factory_class_init),
3902 (gst_element_factory_finalize), (gst_element_factory_cleanup):
3903 * gst/gstindex.c: (gst_index_factory_class_init),
3904 (gst_index_factory_finalize):
3905 * gst/gstobject.c: (gst_object_dispose):
3906 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
3907 (gst_plugin_load_file), (gst_plugin_desc_free):
3908 * gst/gstpluginfeature.c: (gst_plugin_feature_class_init),
3909 (gst_plugin_feature_finalize):
3910 * gst/gstregistry.c: (gst_registry_class_init),
3911 (gst_registry_init), (gst_registry_finalize),
3912 (gst_registry_get_default), (gst_registry_deinit):
3913 * gst/gstregistry.h:
3914 * gst/gstregistryxml.c: (load_feature), (load_plugin):
3915 various cleanups and memleak plugging. make valgrind is happy now.
3917 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
3920 add a check-valgrind target
3922 2005-09-18 David Schleef <ds@schleef.org>
3924 * tools/gst-inspect.c: Revert the GOption code.
3926 2005-09-17 David Schleef <ds@schleef.org>
3928 * check/Makefile.am: Fix environment variables.
3929 * check/gst/gstplugin.c: Fix for API changes.
3930 * tools/gst-inspect.c: Fix for API changes.
3931 * tools/gst-xmlinspect.c: Fix for API changes.
3932 * gst/gstelementfactory.c:
3935 * gst/gstpluginfeature.c:
3936 * gst/gstpluginfeature.h:
3937 * gst/gstregistry.c:
3938 * gst/gstregistry.h:
3939 * gst/gstregistryxml.c:
3940 * gst/gsttypefind.c:
3941 * gst/gsttypefindfactory.c:
3942 * gst/indexers/gstfileindex.c:
3943 * gst/indexers/gstmemindex.c:
3944 * gst/schedulers/Makefile.am:
3945 Change registry to keep track of both plugins and features,
3946 removing the feature tracking from plugins themselves.
3948 2005-09-16 Thomas Vander Stichele <thomas at apestaart dot org>
3950 * check/Makefile.am:
3951 * tools/gst-register.1.in:
3954 2005-09-15 David Schleef <ds@schleef.org>
3956 * check/gst/gstplugin.c:
3957 * gst/gstelementfactory.c:
3959 * gst/gstpluginfeature.c:
3960 * gst/gstregistry.c:
3961 Getting tired of debugging. Disabled all the unreffing of
3962 plugins and features, which fixes the segfaults, but of
3963 course leaks like crazy. At least playbin works.
3965 2005-09-15 David Schleef <ds@schleef.org>
3967 * check/gst/gstplugin.c: (register_check_elements),
3968 (GST_START_TEST), (peek), (suggest), (gst_plugin_suite):
3970 * gst/elements/gsttypefindelement.c: Fix refcounting.
3971 * gst/gsttypefind.c:
3972 * gst/gsttypefindfactory.c:
3973 * gst/gsttypefindfactory.h:
3975 2005-09-15 David Schleef <ds@schleef.org>
3977 * gst/gstindex.c: get refcounting correct.
3978 * gst/gstregistry.c: Handle the case where a feature/plugin is
3981 2005-09-15 David Schleef <ds@schleef.org>
3983 * check/Makefile.am:
3984 * check/gst/gstplugin.c: Add test
3985 * gst/gstplugin.c: Fix problems noticed by testsuite
3987 * gst/gstregistry.c:
3988 * gst/gstregistry.h:
3990 2005-09-15 David Schleef <ds@schleef.org>
3992 * gst/gstplugin.c: Implement semi-decent recounting and locking
3993 in plugins and plugin features.
3995 * gst/gstpluginfeature.c:
3996 * gst/gstpluginfeature.h:
3997 * gst/gstregistry.c:
3999 2005-09-15 Michael Smith <msmith@fluendo.com>
4001 * gst/gstregistry.c: (gst_registry_get_feature_list):
4002 Implement this. Makes oggdemux work; decodebin still broken.
4004 2005-09-14 David Schleef <ds@schleef.org>
4006 * configure.ac: Add -no-undefined to GST_PLUGIN_LDFLAGS (bug
4008 * gst/base/Makefile.am: Add -no-undefined to LDFLAGS for libs
4009 * gst/check/Makefile.am:
4010 * libs/gst/controller/Makefile.am:
4011 * libs/gst/dataprotocol/Makefile.am:
4013 2005-09-14 David Schleef <ds@schleef.org>
4015 * configure.ac: Remove getbits library. Nothing uses it, and
4016 it should be in something like liboil if someone did want
4018 * libs/gst/Makefile.am:
4019 * libs/gst/getbits/Makefile.am:
4020 * libs/gst/getbits/gbtest.c:
4021 * libs/gst/getbits/getbits.c:
4022 * libs/gst/getbits/getbits.h:
4023 * libs/gst/getbits/gstgetbits_generic.c:
4024 * libs/gst/getbits/gstgetbits_i386.s:
4025 * libs/gst/getbits/gstgetbits_inl.h:
4027 2005-09-14 David Schleef <ds@schleef.org>
4029 * gst/Makefile.am: Dist glib-compat.h
4031 2005-09-14 David Schleef <ds@schleef.org>
4033 * configure.ac: Remove gst/registries, since it's no longer used.
4034 * gst/registries/Makefile.am:
4035 * gst/registries/gstlibxmlregistry.c:
4036 * gst/registries/gstlibxmlregistry.h:
4037 * gst/registries/gstxmlregistry.c:
4038 * gst/registries/gstxmlregistry.h:
4039 * gst/registries/registrytest.c:
4041 2005-09-14 David Schleef <ds@schleef.org>
4043 * gst/glib-compat.h:
4044 * gst/gstregistryxml.c:
4045 Convergence is near. Seriously.
4047 2005-09-14 David Schleef <ds@schleef.org>
4049 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
4050 * gst/glib-compat.h:
4051 Attempt #4 to appease the buildbots.
4053 2005-09-14 David Schleef <ds@schleef.org>
4055 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
4058 2005-09-14 David Schleef <ds@schleef.org>
4060 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
4063 2005-09-14 David Schleef <ds@schleef.org>
4065 * gst/Makefile.am: Oh yeah, libgstreamer.so needs to contain
4068 2005-09-14 David Schleef <ds@schleef.org>
4070 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
4071 * gst/glib-compat.h: Add some functions that are in newer versions
4072 of glib than we care to require.
4073 * gst/gstregistryxml.c: Use them.
4075 2005-09-14 David Schleef <ds@schleef.org>
4077 * po/POTFILES.in: remove gst-register.c
4079 2005-09-14 David Schleef <ds@schleef.org>
4081 * docs/gst/gstreamer-docs.sgml:
4082 * docs/gst/gstreamer-sections.txt:
4083 * docs/gst/gstreamer.types:
4084 * docs/gst/tmpl/gstelement.sgml:
4085 * docs/gst/tmpl/gstplugin.sgml:
4086 * docs/gst/tmpl/gstpluginfeature.sgml:
4087 Documentation updates for registry changes.
4089 2005-09-14 David Schleef <ds@schleef.org>
4091 * gst/gstregistryxml.c: Copy g_mkdir_with_parent() from glib,
4092 because we don't require glib-2.8.
4094 2005-09-14 David Schleef <ds@schleef.org>
4096 * gst/gstregistryxml.c: Added. Essentially moved out of the
4097 registries directory.
4099 2005-09-14 David Schleef <ds@schleef.org>
4101 * check/Makefile.am:
4102 * check/generic/states.c:
4106 * gst/gst_private.h:
4107 * gst/gstelementfactory.c:
4112 * gst/gstpluginfeature.c:
4113 * gst/gstpluginfeature.h:
4114 * gst/gstregistry.c:
4115 * gst/gstregistry.h:
4116 * gst/gstregistrypool.c: remove
4117 * gst/gstregistrypool.h: remove
4118 * gst/gsttypefind.c:
4119 * gst/gsttypefindfactory.c:
4121 * tools/Makefile.am:
4122 * tools/gst-compprep.c:
4123 * tools/gst-inspect.c:
4124 * tools/gst-register.c: remove
4125 * tools/gst-xmlinspect.c:
4126 Registry rewrite. Changes registry from being a file created
4127 by a tool into a simple cache file created automatically by
4128 libgstreamer. Removed gst-register (because it's no longer
4129 needed). Remove registry pools, because we only have one
4130 registry implementation (XML). Fix up other subsystems as
4133 2005-09-13 Michael Smith <msmith@fluendo.com>
4135 * gst/gstconfig.h.in:
4136 Don't Use windows linking attributes for MinGW. Fixes #316157
4138 2005-09-13 Thomas Vander Stichele <thomas at apestaart dot org>
4140 * gst/gstutils.c: (set_state_async_thread_func),
4141 (gst_element_set_state_async):
4142 Apparently people think it's better if this function doesn't
4143 try to set the state to whatever state was asked for on the first
4144 call to this function for any object. Seriously.
4146 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
4148 * check/gst/gstpipeline.c: (GST_START_TEST):
4149 * docs/gst/gstreamer-sections.txt:
4150 * gst/gstutils.c: (set_state_async_thread_func),
4151 (gst_element_set_state_async):
4153 add a "gst_element_set_state_async" method that
4154 sets the state and starts a thread to make sure the state
4155 change completes as best as it can
4157 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
4159 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
4160 codify design+behaviour in testsuite after discussion
4162 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
4164 * docs/gst/tmpl/gstelement.sgml:
4165 * docs/manual/appendix-quotes.xml:
4167 * gst/gstelement.c: (gst_element_set_state):
4170 2005-09-12 Jan Schmidt <thaytan@mad.scientist.com>
4172 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
4173 (gst_base_transform_prepare_output_buf),
4174 (gst_base_transform_handle_buffer):
4175 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip),
4176 (gst_capsfilter_prepare_buf):
4177 Remove the requirement for sub-classes to call the parent
4178 implementation of prepare_output_buffer with a wrapper function.
4181 * gst/gsttagsetter.h:
4184 2005-09-11 Stefan Kost <ensonic@users.sf.net>
4186 * docs/gst/gstreamer-sections.txt:
4189 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
4191 * docs/gst/gstreamer-sections.txt:
4192 * docs/gst/tmpl/gstelement.sgml:
4193 * docs/gst/tmpl/gstplugin.sgml:
4194 * gst/gstminiobject.c:
4196 docs now stop throwing warnings
4198 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
4200 * docs/gst/gstreamer-sections.txt:
4201 * docs/gst/gstreamer.types:
4202 * docs/gst/tmpl/gstpad.sgml:
4203 * docs/gst/tmpl/gsttypes.sgml:
4204 * gst/base/gstadapter.h:
4205 * gst/base/gstbasesink.h:
4206 * gst/base/gstbasesrc.h:
4216 * gst/gststructure.c:
4217 * gst/registries/gstlibxmlregistry.h:
4218 various documentation fixes
4220 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
4222 * docs/gst/gstreamer-sections.txt:
4223 * docs/gst/tmpl/gstvalue.sgml:
4224 rearrange gstvalue section
4225 * gst/gstutils.c: (gst_element_state_get_name):
4227 * gst/gstvalue.c: (_gst_value_initialize):
4231 2005-09-10 Jan Schmidt <thaytan@mad.scientist.com>
4233 * check/gst-libs/controller.c:
4235 * gst/base/gstbasetransform.c:
4236 (gst_base_transform_default_prepare_buf),
4237 (gst_base_transform_handle_buffer):
4238 * gst/base/gstbasetransform.h:
4239 Some more basetransform changes and fixes to enable sub-classes
4240 that modify buffer metadata only.
4241 * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
4242 (gst_capsfilter_init), (gst_capsfilter_transform_ip),
4243 (gst_capsfilter_prepare_buf):
4244 If the output pad has fixed allowed caps and input buffers
4245 don't have any, set the fixed caps on outgoing buffers.
4247 2005-09-09 Jan Schmidt <thaytan@mad.scientist.com>
4248 * check/elements/identity.c: (GST_START_TEST):
4249 Make the error a little clearer when the test fails because
4250 identity made a copy of the buffer.
4251 * docs/gst/gstreamer-sections.txt:
4252 New symbols in gstbasetransform.h
4253 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
4254 (gst_base_transform_init), (gst_base_transform_transform_size),
4255 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
4256 (gst_base_transform_default_prepare_buf),
4257 (gst_base_transform_get_unit_size),
4258 (gst_base_transform_buffer_alloc),
4259 (gst_base_transform_handle_buffer), (gst_base_transform_chain),
4260 (gst_base_transform_change_state),
4261 (gst_base_transform_set_passthrough),
4262 (gst_base_transform_set_in_place),
4263 (gst_base_transform_is_in_place):
4264 * gst/base/gstbasetransform.h:
4265 Change BaseTransform to separate in_place operate from same_caps
4266 output. in_place implies that the element can perform the transform
4267 on incoming buffers in-place, even if the caps on the output are
4269 Sub-class elements can now implement special buffer allocation
4270 methods for outgoing buffers if they wish to.
4271 Big documentation addition.
4272 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip):
4273 * gst/elements/gstelements.c:
4274 Changes for basetransform modifications.
4275 * gst/elements/Makefile.am:
4276 * gst/elements/gstfdsrc.c: (gst_fdsrc_init), (gst_fdsrc_create):
4277 Compile fix. Extra debug output.
4279 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
4281 * check/gst/gstpad.c: (GST_START_TEST), (name_is_valid),
4283 add tests for valid pad naming
4284 * gst/check/gstcheck.c: (gst_check_log_message_func),
4285 (gst_check_log_critical_func):
4287 remove printing of code, it is fragile when the code contains
4288 % and the line number is enough info
4289 * gst/check/gstcheck.h:
4290 * gst/gstpad.c: (gst_pad_template_new):
4293 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
4296 say what CHECK flags we use
4297 * docs/libs/gstreamer-libs.types:
4298 * libs/gst/controller/Makefile.am:
4299 * libs/gst/controller/gst-controller.c:
4300 * libs/gst/controller/gst-controller.h:
4301 * libs/gst/controller/gst-helper.c:
4302 * libs/gst/controller/gst-interpolation.c:
4303 * libs/gst/controller/gstcontroller.c:
4304 * libs/gst/controller/gsthelper.c:
4305 * libs/gst/controller/gstinterpolation.c:
4306 * tools/gst-inspect.c: (print_plugin_info):
4307 we don't use dashes in header names
4309 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
4311 * check/Makefile.am:
4312 * check/gst/.cvsignore:
4313 * check/gst/gstpipeline.c: (pop_messages), (GST_START_TEST),
4314 (gst_pipeline_suite), (main):
4315 adding a test for pipelines and state changes
4316 * gst/gstutils.c: (get_state_func):
4318 * gstreamer.spec.in:
4321 2005-09-08 Michael Smith <msmith@fluendo.com>
4323 * gst/elements/gstfilesrc.c: (gst_file_src_map_region),
4324 (gst_file_src_map_small_region), (gst_file_src_create_mmap),
4325 (gst_file_src_is_seekable), (gst_file_src_get_size),
4326 (gst_file_src_start):
4327 * gst/elements/gstfilesrc.h:
4328 Various fixes for unseekable, unmmapable, and non-normal files, so
4329 that fallback to read() rather than mmap() works.
4330 * gst/gstevent.c: (gst_event_new_newsegment):
4331 Allow newsegment events with segment_start == segment_end, as will
4332 correctly happen if you use filesrc on a zero-size file, for
4335 2005-09-07 Jan Schmidt <thaytan@mad.scientist.com>
4337 * gst/gstplugin.c: (gst_plugin_load_file):
4338 Call g_module_close when we don't load the module
4340 * gst/registries/gstlibxmlregistry.c:
4341 (gst_xml_registry_get_property):
4342 Port leak fix from 0.8
4344 2005-09-07 Stefan Kost <ensonic@users.sf.net>
4346 * docs/gst/gstreamer-docs.sgml:
4347 * docs/gst/tmpl/.cvsignore:
4348 * docs/gst/tmpl/gsttrace.sgml:
4349 * docs/gst/tmpl/gsttrashstack.sgml:
4358 * gst/gsttaginterface.c:
4359 * gst/gsttaginterface.h:
4362 * gst/gsttagsetter.c:
4363 * gst/gsttagsetter.h:
4366 * gst/gsttrashstack.c:
4367 renamed gsttag -> gsttaglist, gsttaginterface -> gsttagsetter
4368 inlined docs for gsttrace, gsttrashstack
4370 2005-09-07 Stefan Kost <ensonic@users.sf.net>
4373 * gst/elements/gstbufferstore.h:
4374 * gst/elements/gsttypefindelement.c:
4375 * gst/elements/gsttypefindelement.h:
4377 * gst/gsttypefind.c:
4378 * gst/gsttypefind.h:
4379 * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type),
4380 (gst_type_find_factory_class_init), (gst_type_find_factory_init),
4381 (gst_type_find_factory_dispose),
4382 (gst_type_find_factory_unload_thyself),
4383 (gst_type_find_load_plugin), (gst_type_find_factory_get_list),
4384 (gst_type_find_factory_get_caps),
4385 (gst_type_find_factory_get_extensions),
4386 (gst_type_find_factory_call_function):
4387 * gst/gsttypefindfactory.h:
4388 * gst/registries/gstlibxmlregistry.c:
4389 * gst/registries/gstxmlregistry.c:
4390 splitted gsttypefind into gsttypefind, gsttypefindfactory
4392 2005-09-07 Andy Wingo <wingo@pobox.com>
4394 * gst/base/gstbasesink.c (gst_base_sink_activate_pull): Fix a race
4395 condition whereby the pad's task function is entered before the
4396 pad_mode variable was set.
4398 2005-09-07 Jan Schmidt <thaytan@mad.scientist.com>
4400 * gst/gstpad.c: (gst_pad_alloc_buffer):
4401 Catch misbehaving pad_alloc functions that don't
4402 set up caps and do it for them.
4404 2005-09-07 Stefan Kost <ensonic@users.sf.net>
4406 * check/pipelines/simple_launch_lines.c: (run_pipeline):
4408 * docs/gst/tmpl/.cvsignore:
4409 * docs/gst/tmpl/gstmemchunk.sgml:
4410 * docs/gst/tmpl/gstparse.sgml:
4411 * docs/gst/tmpl/gsttaglist.sgml:
4412 * docs/gst/tmpl/gsttagsetter.sgml:
4413 * docs/gst/tmpl/gsttypefind.sgml:
4414 * docs/gst/tmpl/gsttypefindfactory.sgml:
4415 * gst/gstmemchunk.c:
4418 * gst/gsttaginterface.c:
4419 * gst/gsttypefind.c:
4420 * gst/gsttypefind.h:
4423 === release 0.9.2 ===
4425 2005-09-06 Thomas Vander Stichele <thomas at apestaart dot org>
4430 releasing 0.9.2, "South"
4432 2005-09-05 Andy Wingo <wingo@pobox.com>
4434 * gst/registries/gstxmlregistry.h:
4435 * gst/registries/gstxmlregistry.c: Um... resurrect...
4437 * gst/registries/gstxmlregistry.h:
4438 * gst/registries/gstxmlregistry.c: and update to newer API.
4439 Incidentally they should be a bit faster now that they don't have
4442 2005-09-05 Andy Wingo <wingo@pobox.com>
4444 * gst/registries/gstxmlregistry.h:
4445 * gst/registries/gstxmlregistry.c: Remove from CVS, they were
4446 replaced by the libxml registry a while back
4448 2005-09-03 Thomas Vander Stichele <thomas at apestaart dot org>
4450 * docs/gst/tmpl/gstplugin.sgml:
4451 * gst/elements/gstelements.c:
4453 * gst/gstplugin.c: (gst_plugin_register_func),
4454 (gst_plugin_desc_copy), (gst_plugin_desc_free),
4455 (gst_plugin_get_source):
4457 * gst/registries/gstlibxmlregistry.c: (load_plugin),
4458 (gst_xml_registry_save_plugin):
4459 * gst/registries/gstxmlregistry.c: (gst_xml_registry_parse_plugin),
4460 (gst_xml_registry_save_plugin):
4461 * tools/gst-inspect.c: (print_plugin_info):
4462 add a "source" plugin description field, to represent the source
4463 module this plugin is a part of. By default GST_PLUGIN_DEFINE
4464 will set it to PACKAGE, which is automake's idea of the name of
4467 2005-09-03 Thomas Vander Stichele <thomas at apestaart dot org>
4473 * docs/faq/Makefile.am:
4474 * docs/gst/tmpl/gstelement.sgml:
4475 * docs/gst/tmpl/gsttypes.sgml:
4476 * docs/htmlinstall.mak:
4477 * docs/manual/Makefile.am:
4478 * docs/pwg/Makefile.am:
4479 reorganize doc build a little
4480 split out docbook and gtk-doc stuff
4481 have two separate --enable's and enable them through autogen
4482 but disable by default in configure (to be similar to other
4484 * gstreamer.spec.in:
4485 clean up docs install
4505 2005-09-03 Tim-Philipp Müller <tim at centricular dot net>
4507 * gst/base/gstbasesink.c: (gst_base_sink_pad_buffer_alloc):
4510 * gst/elements/gstfakesink.c: (gst_fake_sink_init),
4511 (gst_fake_sink_change_state):
4512 Make state change function thread-safe.
4514 * gst/gstpad.c: (gst_pad_alloc_buffer):
4515 Set offset on generic buffer allocated by fallback.
4517 2005-09-03 Stefan Kost <ensonic@users.sf.net>
4519 * docs/gst/gstreamer-sections.txt:
4520 * docs/gst/tmpl/gstelement.sgml:
4522 * libs/gst/controller/gst-controller.c:
4523 (gst_controlled_property_set_interpolation_mode),
4524 (gst_controlled_property_new),
4525 (gst_controller_find_controlled_property):
4526 run the wingo-magic script against the docs
4528 2005-09-02 Stefan Kost <ensonic@users.sf.net>
4530 * docs/gst/gstreamer-docs.sgml:
4531 * docs/gst/gstreamer-sections.txt:
4532 * docs/gst/tmpl/.cvsignore:
4533 * docs/gst/tmpl/gstelementdetails.sgml:
4534 * docs/gst/tmpl/gstelementfactory.sgml:
4537 * gst/gstelementfactory.c:
4538 * gst/gstelementfactory.h:
4539 merged elementdetails docs into elementfactory docs
4542 2005-09-02 Andy Wingo <wingo@pobox.com>
4544 * gst/gstelement.h: Add magical pixie dust to make glib-mkenums
4545 consider this enum an enum and not a flags.
4547 2005-09-02 Stefan Kost <ensonic@users.sf.net>
4549 * docs/gst/gstreamer-docs.sgml:
4550 * docs/gst/tmpl/.cvsignore:
4551 * docs/gst/tmpl/gstghostpad.sgml:
4552 * docs/gst/tmpl/gstiterator.sgml:
4553 * docs/gst/tmpl/gstmacros.sgml:
4554 * docs/gst/tmpl/gstrealpad.sgml:
4555 * docs/gst/tmpl/gstregistry.sgml:
4556 * docs/gst/tmpl/gstregistrypool.sgml:
4557 * docs/gst/tmpl/gststructure.sgml:
4558 * docs/gst/tmpl/gstsystemclock.sgml:
4559 * docs/gst/tmpl/gsttrace.sgml:
4560 * gst/gstghostpad.c:
4562 * gst/gstmemchunk.c:
4563 * gst/gstmemchunk.h:
4565 * gst/gstregistry.c:
4566 * gst/gstregistrypool.c:
4567 * gst/gststructure.c:
4568 * gst/gstsystemclock.c:
4571 2005-09-02 Andy Wingo <wingo@pobox.com>
4573 * gst/gstelement.h (GstState): Renamed from GstElementState,
4574 changed to be a normal enum instead of flags.
4575 (GstStateChangeReturn): Renamed from GstElementStateReturn, names
4576 munged to be GST_STATE_CHANGE_*.
4577 (GST_STATE_CHANGE): Renamed from GST_STATE_TRANSITION, updated to
4578 work with the new state representation.
4579 (GstStateChange): New enumeration of possible state transitions.
4580 Replaces GST_STATE_FOO_TO_BAR with GST_STATE_CHANGE_FOO_TO_BAR.
4581 (GstElementClass::change_state): Pass the GstStateChange along as
4582 an argument. Helps language bindings, so they don't have to use
4583 tricky lock-needing macros like GST_STATE_CHANGE ().
4585 * scripts/update-states (file): New script. Run it on a file to
4586 update it for state naming and API changes. Updates files in
4589 * All files updated for the new API.
4591 2005-09-02 Thomas Vander Stichele <thomas at apestaart dot org>
4593 * gst/gsttrace.c: (gst_trace_flush), (gst_trace_text_flush):
4594 * gst/gstutils.c: (gst_util_set_value_from_string),
4595 (gst_util_set_object_arg):
4596 fix a bunch of unchecked return values
4597 * tools/gst-complete.c: (main):
4598 * gstreamer.spec.in:
4601 2005-09-01 Wim Taymans <wim@fluendo.com>
4603 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
4604 (gst_base_sink_event), (gst_base_sink_do_sync),
4605 (gst_base_sink_handle_event):
4606 * gst/base/gstbasesink.h:
4607 Handle newsegments more correctly.
4612 * gst/gstevent.c: (gst_event_new_newsegment):
4613 A newsegment cannot have a start_time of -1
4615 2005-09-01 Tim-Philipp Müller <tim at centricular dot net>
4617 * win32/gstenumtypes.c:
4618 * win32/gstenumtypes.h:
4621 2005-08-31 Stefan Kost <ensonic@users.sf.net>
4623 * libs/gst/controller/gst-controller.c:
4624 (gst_controlled_property_set_interpolation_mode),
4625 (gst_controlled_property_new):
4628 2005-08-31 Thomas Vander Stichele <thomas at apestaart dot org>
4630 * docs/faq/gst-uninstalled:
4635 * gst/gstutils.c: (gst_element_link_filtered):
4637 add gst_element_link_filtered
4639 2005-08-31 Stefan Kost <ensonic@users.sf.net>
4641 * docs/gst/gstreamer-docs.sgml:
4642 * docs/gst/gstreamer-sections.txt:
4643 * docs/gst/tmpl/.cvsignore:
4644 * docs/gst/tmpl/gsterror.sgml:
4645 * docs/gst/tmpl/gstfilter.sgml:
4646 * docs/gst/tmpl/gsturihandler.sgml:
4647 * docs/gst/tmpl/gsturitype.sgml:
4648 * docs/gst/tmpl/gstutils.sgml:
4649 * docs/gst/tmpl/gstxml.sgml:
4657 inlined more docs, fixed double id-ref
4659 2005-08-31 Wim Taymans <wim@fluendo.com>
4661 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
4662 (gst_base_transform_handle_buffer):
4663 Passthrough elements don't need the caps as they don't care.
4665 2005-08-31 Wim Taymans <wim@fluendo.com>
4667 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
4668 (gst_base_transform_handle_buffer), (gst_base_transform_chain):
4669 Don't leak refcounts on buffers.
4671 2005-08-31 Wim Taymans <wim@fluendo.com>
4673 * gst/base/gstbasetransform.c: (gst_base_transform_configure_caps),
4674 (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
4675 (gst_base_transform_chain), (gst_base_transform_change_state):
4676 * gst/base/gstbasetransform.h:
4677 Handle the case where we are not negotiated more gracefully.
4679 2005-08-31 Tim-Philipp Müller <tim at centricular dot net>
4681 * gst/elements/gstfilesrc.c: (gst_mmap_buffer_init),
4682 (gst_file_src_map_region):
4683 Set READONLY flag on mmap'ed buffers, otherwise
4684 gst_buffer_make_writable() won't work properly (#314708).
4686 2005-08-31 Wim Taymans <wim@fluendo.com>
4688 * gst/base/gstbasetransform.c: (gst_base_transform_handle_buffer):
4689 passthrough elements can even do inplace on non writable
4690 buffers (as they don't touch them).
4692 2005-08-31 Stefan Kost <ensonic@users.sf.net>
4694 * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
4695 (gst_test_mono_source_set_property),
4696 (gst_test_mono_source_class_init), (GST_START_TEST),
4697 (gst_controller_suite):
4698 more tests (hehe I have the most)
4700 describe popping messages whenusing mulltiple sources
4701 * libs/gst/controller/gst-controller.c:
4702 (gst_controlled_property_set_interpolation_mode),
4703 (gst_controlled_property_new):
4704 * libs/gst/controller/gst-controller.h:
4705 * libs/gst/controller/gst-interpolation.c:
4706 implement boolean properties
4708 2005-08-31 Wim Taymans <wim@fluendo.com>
4710 * gst/gstminiobject.c: (gst_mini_object_ref):
4711 Cannot assert that the refcount has to be positive
4712 since a disposed object can be resurrected.
4714 2005-08-31 Wim Taymans <wim@fluendo.com>
4716 * gst/gstpad.c: (gst_pad_init):
4717 Revert change, need to first fix badly behaving
4720 2005-08-30 Wim Taymans <wim@fluendo.com>
4722 * check/elements/fakesrc.c: (setup_fakesrc):
4723 * check/elements/identity.c: (setup_identity):
4724 Activate pads before using them.
4726 2005-08-30 Wim Taymans <wim@fluendo.com>
4728 * gst/base/gstadapter.c: (gst_adapter_flush):
4729 Flushing out 0 bytes is ok for this function.
4731 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
4732 no newsegment gives a warning and sets the start/stop to
4735 * gst/base/gstbasetransform.c: (gst_base_transform_change_state),
4736 (gst_base_transform_set_passthrough):
4739 * gst/gstminiobject.c: (gst_mini_object_ref):
4740 Check refcount here too.
4742 * gst/gstpad.c: (gst_pad_init):
4743 Pads are initially flushing and refusing data.
4745 * gst/gstutils.c: (gst_element_link_pads_filtered):
4746 When adding a capsfilter element make sure it has the
4747 same state as the parent bin.
4749 2005-08-30 Stefan Kost <ensonic@users.sf.net>
4751 * docs/gst/tmpl/.cvsignore:
4752 * docs/gst/tmpl/gstformat.sgml:
4753 * docs/gst/tmpl/gstversion.sgml:
4757 * gst/gstversion.h.in:
4758 more docs and two more inlined
4760 2005-08-30 Wim Taymans <wim@fluendo.com>
4762 * gst/elements/gstfilesink.c: (gst_file_sink_class_init):
4763 Don't sync to clock.
4765 2005-08-30 Stefan Kost <ensonic@users.sf.net>
4767 * docs/gst/gstreamer-sections.txt:
4768 ultral33t func10ns deserve to appear in the docs actually
4769 * docs/gst/tmpl/.cvsignore:
4770 * docs/gst/tmpl/gstcompat.sgml:
4771 * docs/gst/tmpl/gstconfig.sgml:
4772 * gst/check/gstcheck.c:
4774 * gst/gstconfig.h.in:
4777 2005-08-30 Stefan Kost <ensonic@users.sf.net>
4779 * docs/gst/tmpl/.cvsignore:
4780 * docs/gst/tmpl/gstquery.sgml:
4781 * docs/gst/tmpl/gstutils.sgml:
4784 inlined and extended docs
4786 2005-08-30 Stefan Kost <ensonic@users.sf.net>
4788 * check/gst-libs/controller.c: (GST_START_TEST),
4789 (gst_controller_suite):
4791 * docs/gst/tmpl/gstutils.sgml:
4792 * docs/libs/gstreamer-libs-sections.txt:
4793 * docs/libs/tmpl/gstdataprotocol.sgml:
4795 * examples/controller/audio-example.c: (main):
4796 controller example works now
4799 * tools/gst-inspect.c: (print_element_properties_info):
4800 show param spec flags
4802 2005-08-29 Andy Wingo <wingo@pobox.com>
4804 * gst/gstutils.c (gst_util_uint64_scale): New 3733t funct10n.
4806 2005-08-28 Andy Wingo <wingo@pobox.com>
4808 * gst/gstutils.h (GST_BOILERPLATE_FULL): Prototype instance_init
4809 as having two arguments instead of just one. Allows superclasses
4810 to access information on subclasses -- see the terrible for() loop
4811 in gtype.c:g_type_create_instance for the reason why. All callers
4814 2005-08-27 Stefan Kost <ensonic@users.sf.net>
4816 * docs/design/part-messages.txt:
4818 * docs/gst/tmpl/.cvsignore:
4819 * docs/gst/tmpl/gstcaps.sgml:
4820 * docs/gst/tmpl/gstclock.sgml:
4827 added descriptions for bus and message
4828 inline caps and clock docs
4830 2005-08-27 Stefan Kost <ensonic@users.sf.net>
4836 2005-08-27 Stefan Kost <ensonic@users.sf.net>
4838 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
4841 2005-08-26 Andy Wingo <wingo@pobox.com>
4843 * check/pipelines/simple_launch_lines.c (run_pipeline): Check
4844 element_set_state's return val.
4845 (test_2_elements): Add test that's been disabled for months.
4847 * gst/elements/gstfakesink.c: Cleanups. Add can-activate-push and
4848 can-activate-pull properties.
4850 * gst/elements/gstfakesrc.c: Cleanups. Add can-activate-push and
4851 can-activate-pull properties. Implement is_seekable so fakesrc can
4852 operate in pull mode.
4854 * gst/base/gstbasesink.c (GstBaseSink): Remove has-loop, has-chain
4856 (gst_base_sink_activate, gst_base_sink_activate_pull)
4857 (gst_base_sink_activate_push): Make activation mode choosing work.
4859 (gst_base_sink_chain, gst_base_sink_loop): Assert activation mode
4860 is right. Make pull mode work. Post an eos before pausing in pull
4862 (gst_base_sink_change_state): Pay attention to the core's
4863 change_state() return val.
4865 * gst/base/gstbasesrc.c (GstBaseSrc): Remove has-loop,
4866 has-getrange properties. Cleanups.
4868 * gst/base/gstbasesrc.h (GstBaseSrc): Remove has_loop,
4869 has_getrange and replace with can_activate_pull and
4872 * gst/base/gstbasesink.h (GstBaseSink): Rearrange fields, add
4873 locking comments. Remove has_loop, has_chain and replace with
4874 can_activate_pull and can_activate_push.
4876 2005-08-26 Jan Schmidt <thaytan@mad.scientist.com>
4879 * examples/Makefile.am:
4880 * examples/metadata/Makefile.am:
4881 * examples/metadata/read-metadata.c: (message_loop),
4882 (have_pad_handler), (make_pipeline), (print_tag), (main):
4883 Add metadata reading example that loops over a list of filenames,
4884 dumping any tags found.
4886 * gst/gstbus.c: (gst_bus_dispose):
4887 * gst/gstelement.c: (gst_element_dispose):
4888 Release a few potentially-held references in dispose.
4890 2005-08-26 Stefan Kost <ensonic@users.sf.net>
4892 * docs/gst/tmpl/gstminiobject.sgml:
4893 do *not* add tmpl/*.sgml files to CVS!
4895 2005-08-26 Stefan Kost <ensonic@users.sf.net>
4897 * libs/gst/bytestream/.cvsignore:
4898 * libs/gst/bytestream/Makefile.am:
4899 * libs/gst/bytestream/adapter.c:
4900 * libs/gst/bytestream/adapter.h:
4901 * libs/gst/bytestream/bytestream.c:
4902 * libs/gst/bytestream/bytestream.h:
4903 * libs/gst/bytestream/filepad.c:
4904 * libs/gst/bytestream/filepad.h:
4905 removing obsolete files
4907 2005-08-26 Stefan Kost <ensonic@users.sf.net>
4909 * docs/gst/gstreamer-docs.sgml:
4910 * docs/libs/gstreamer-libs-docs.sgml:
4911 disabed additional index entries again, as this makes docs-gen just
4912 slow and they aren't useful yet
4913 * docs/libs/gstreamer-libs-sections.txt:
4914 little -section.txt cleanup for libs
4916 2005-08-26 Thomas Vander Stichele <thomas at apestaart dot org>
4918 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
4919 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size),
4920 fix up some debugging
4921 (gst_base_transform_get_unit_size),
4922 (gst_base_transform_buffer_alloc), (gst_base_transform_event),
4923 (gst_base_transform_handle_buffer):
4924 * gst/base/gstbasetransform.h:
4925 handle and store timed NEWSEGMENT events so that subclasses that
4926 calculate time by counting samples have a segment_start time they
4927 need to add to their timestamps - see audioresample
4929 2005-08-26 Stefan Kost <ensonic@users.sf.net>
4932 removed ';' from the end of macro defs
4933 * docs/gst/gstreamer-docs.sgml:
4934 * docs/gst/gstreamer-sections.txt:
4935 * docs/gst/tmpl/.cvsignore:
4937 * gst/gstelement.c: (gst_element_class_init),
4938 (gst_element_set_state), (activate_pads),
4939 (gst_element_save_thyself):
4940 * gst/gstevent.c: (gst_event_new_newsegment):
4942 * gst/gstiterator.c:
4943 * gst/gstiterator.h:
4946 * gst/gstutils.c: (gst_pad_query_convert):
4948 fixed parameter name mismatches between source, header and docs
4949 added some more docs, resolved the last batch of unused elements in
4950 docs (now someone needs to doc them)
4952 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
4954 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_rebuild):
4955 * gst/registries/gstxmlregistry.c: (gst_xml_registry_rebuild):
4956 don't walk through the plugins backwards. Where is all this
4957 reversed logic coming from ?
4959 2005-08-25 Wim Taymans <wim@fluendo.com>
4961 * gst/base/gstbasetransform.c: (gst_base_transform_init),
4962 (gst_base_transform_transform_size),
4963 (gst_base_transform_configure_caps),
4964 (gst_base_transform_get_unit_size),
4965 (gst_base_transform_buffer_alloc),
4966 (gst_base_transform_change_state):
4967 * gst/base/gstbasetransform.h:
4968 Cache caps unit_size.
4969 Make sure we cannot negotiate up and downstream at the
4972 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
4974 * gst/gst.c: (init_pre), (init_post):
4975 register the installed plugin path after the env var
4976 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_save):
4977 * gst/registries/gstxmlregistry.c: (gst_xml_registry_save):
4978 don't reverse order of paths; conserve the order of GST_PLUGIN_PATH
4979 directories, so the tests can prefer uninstalled over installed
4981 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
4983 * gst/base/gstbasetransform.h:
4988 2005-08-25 Wim Taymans <wim@fluendo.com>
4990 * gst/gstbin.c: (bin_bus_handler):
4991 Be a bit more conservative about the posted message.
4993 * gst/gstbus.c: (gst_bus_post):
4994 Some cleanups, warn wrong return values.
4996 2005-08-25 Jan Schmidt <thaytan@mad.scientist.com>
4998 * check/gst/gstbin.c: (GST_START_TEST):
4999 * gst/gstbin.c: (bin_bus_handler):
5000 * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
5001 (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
5002 (gst_message_new_warning), (gst_message_new_tag),
5003 (gst_message_new_state_changed), (gst_message_new_segment_start),
5004 (gst_message_new_segment_done), (gst_message_new_custom):
5006 * tools/gst-launch.c: (event_loop):
5007 * tools/gst-md5sum.c: (event_loop):
5008 Revert unpopular change for GST_MESSAGE_SRC to GObject.
5010 2005-08-25 Wim Taymans <wim@fluendo.com>
5012 * check/generic/states.c: (GST_START_TEST):
5013 Cleanup can be done at the end.
5015 * gst/gsttask.c: (gst_task_get_type), (gst_task_finalize),
5016 (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
5017 (gst_task_get_state), (gst_task_start), (gst_task_pause):
5018 Oh boy.. Thanks for finding this, Thomas.
5020 2005-08-25 Stefan Kost <ensonic@users.sf.net>
5022 * docs/gst/gstreamer.types:
5025 2005-08-25 Stefan Kost <ensonic@users.sf.net>
5027 * docs/gst/gstreamer-docs.sgml:
5028 * docs/gst/gstreamer-sections.txt:
5029 * docs/gst/tmpl/.cvsignore:
5031 * gst/gstiterator.c:
5033 * gst/registries/gstxmlregistry.h:
5034 added missing classes and symbols (123 more to go)
5035 removed removed symbols from section file
5036 fixed many doc-comments
5038 2005-08-24 Wim Taymans <wim@fluendo.com>
5040 * check/generic/states.c: (GST_START_TEST):
5041 Make sure all tasks are stopped.
5043 * check/gst/gstbin.c: (GST_START_TEST):
5044 Unref after usage for proper valgrinding.
5046 * gst/gstpad.c: (gst_pad_finalize), (gst_pad_stop_task):
5047 Really wait for the task to stop before destroying the
5050 * gst/gstqueue.c: (gst_queue_sink_activate_push),
5051 (gst_queue_src_activate_push):
5052 Small cleanups. Don't stop the task when we did not start
5055 * gst/gsttask.c: (gst_task_get_type), (gst_task_init),
5056 (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
5057 (gst_task_get_state), (gst_task_start), (gst_task_pause),
5060 Protect the stream lock with the object lock.
5061 Disallow setting the stream lock when running.
5062 Add cleanup_all to wait for the threadpool to finish.
5063 Remove code to autoallocate a mutex if none was provided.
5064 Add _join() to wait for a task to stop.
5065 Protect the thread pool with a global lock.
5067 2005-08-24 Wim Taymans <wim@fluendo.com>
5069 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
5070 (gst_base_sink_get_times), (gst_base_sink_do_sync),
5071 (gst_base_sink_handle_buffer), (gst_base_sink_change_state):
5072 * gst/base/gstbasesink.h:
5073 Handle newsegment events correctly.
5074 Drop buffers out of the segment range.
5076 2005-08-22 Andy Wingo <wingo@pobox.com>
5078 * gst/gstutils.h (GST_BOILERPLATE_WITH_INTERFACE): New ghetto
5079 macro, implements an interface and gstimplementsinterface for a
5082 2005-08-24 Thomas Vander Stichele <thomas at apestaart dot org>
5084 * check/Makefile.am:
5085 * check/generic/states.c: (GST_START_TEST), (states_suite), (main):
5086 add a test that does a bunch of state changes on elements
5087 needs some fixing for valgrind
5088 * check/states/sinks.c: (gst_object_suite):
5091 add prototype for gst_caps_is_equal_fixed
5093 * gst/gstregistrypool.c:
5096 2005-08-24 Andy Wingo <wingo@pobox.com>
5098 * gst/gstquery.c (gst_query_new_convert): Spew if we try to
5099 convert a negative value. Doesn't make much sense. Mostly this is
5100 here to force callers to ensure -1 maps to -1.
5102 2005-08-24 Jan Schmidt <thaytan@mad.scientist.com>
5104 * docs/pwg/advanced-types.xml:
5105 Well done to Michael for catching my deliberate introduction
5106 of this spelling mistake.
5107 * gst/gstbin.c: (gst_bin_remove_func), (bin_bus_handler):
5109 Add GST_ELEMENT_UNPARENTING to prevent races so that we can
5110 unlink pads before removing the element from the bin.
5112 2005-08-24 Andy Wingo <wingo@pobox.com>
5114 * gst/gst.c (parse_debug_list): Accept e.g. GST_DEBUG=4 to mean
5115 the same thing as GST_DEBUG=*:4.
5116 (parse_debug_level, parse_debug_category): New helper parsers.
5118 2005-08-24 Thomas Vander Stichele <thomas at apestaart dot org>
5120 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
5121 (gst_base_transform_transform_size), (gst_base_transform_getcaps),
5122 (gst_base_transform_setcaps), (gst_base_transform_get_unit_size),
5123 (gst_base_transform_buffer_alloc),
5124 (gst_base_transform_handle_buffer):
5125 use gboolean return values and pointers to size so we can use the
5126 full GST_BUFFER_SIZE range (guint) for buffer sizes
5127 use GstPadDirection for transform_caps
5128 * gst/base/gstbasetransform.h:
5129 rename get_size to get_unit_size since that's what it is
5130 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_caps):
5131 use GstPadDirection for transform_caps
5132 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
5134 cleanup and debugging
5136 2005-08-24 Stefan Kost <ensonic@users.sf.net>
5138 * gst/gstelement.c: (gst_element_class_init),
5139 (gst_element_set_state), (activate_pads),
5140 (gst_element_save_thyself):
5141 * tools/gst-compprep.c: (main):
5142 * tools/gst-inspect.c: (print_element_properties_info):
5143 * tools/gst-xmlinspect.c: (print_element_properties):
5144 Fixed long standing mem-leak
5146 2005-08-24 Jan Schmidt <thaytan@mad.scientist.com>
5148 * check/gst/gstbin.c: (GST_START_TEST):
5149 * gst/gstbin.c: (bin_bus_handler):
5150 * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
5151 (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
5152 (gst_message_new_warning), (gst_message_new_tag),
5153 (gst_message_new_state_changed), (gst_message_new_segment_start),
5154 (gst_message_new_segment_done), (gst_message_new_custom):
5156 * tools/gst-launch.c: (event_loop):
5157 * tools/gst-md5sum.c: (event_loop):
5158 Change GST_MESSAGE_SRC to be a GObject rather than a GstObject, so
5159 that applications can sensibly post custom messages with references
5160 to their own objects.
5162 2005-08-24 Andy Wingo <wingo@pobox.com>
5164 * gst/gstpad.c (gst_pad_fixate_caps): Check if the caps is fixed
5167 2005-08-24 Wim Taymans <wim@fluendo.com>
5169 * gst/base/gstbasetransform.c: (gst_base_transform_init),
5170 (gst_base_transform_transform_caps),
5171 (gst_base_transform_transform_size),
5172 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
5173 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
5174 (gst_base_transform_handle_buffer):
5175 * gst/base/gstbasetransform.h:
5176 Many fixes and new features added by Thomas. Can now also do
5177 transforms with variable sizes and a custom fixate_caps function.
5179 2005-08-24 Wim Taymans <wim@fluendo.com>
5181 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
5185 Cast to ClockTime before formatting to time.
5190 2005-08-24 Stefan Kost <ensonic@users.sf.net>
5192 * check/gst-libs/controller.c: (GST_START_TEST),
5193 (gst_controller_suite):
5194 * docs/gst/tmpl/gstcaps.sgml:
5195 * docs/gst/tmpl/gstghostpad.sgml:
5196 * docs/gst/tmpl/gstquery.sgml:
5197 * docs/gst/tmpl/gstutils.sgml:
5198 * libs/gst/controller/gst-helper.c: (gst_object_set_controller),
5199 (gst_object_sink_values), (gst_object_get_value_arrays),
5200 (gst_object_get_value_array):
5201 gracefully handle helper method calls to objects that are not beeing
5202 controlled, added test case for that
5204 2005-08-23 Wim Taymans <wim@fluendo.com>
5206 * gst/gstevent.c: (_gst_event_copy), (gst_event_new_custom),
5207 (gst_event_new_newsegment), (gst_event_parse_newsegment),
5208 (gst_event_new_tag), (gst_event_parse_tag), (gst_event_new_qos),
5209 (gst_event_parse_qos), (gst_event_new_seek),
5210 (gst_event_parse_seek):
5212 Some more debugging output and doc cleanups.
5214 * gst/gstqueue.c: (gst_queue_handle_sink_event):
5215 Fix possible deadlock.
5217 2005-08-23 Stefan Kost <ensonic@users.sf.net>
5219 * docs/gst/gstreamer-docs.sgml:
5220 * docs/gst/gstreamer-sections.txt:
5221 * docs/gst/gstreamer.types:
5222 * docs/gst/tmpl/.cvsignore:
5227 added 100 symbols from gstreamer-unused.txt to the right sections
5228 fixed more broken comments
5229 added GstBus to docs
5231 2005-08-23 Stefan Kost <ensonic@users.sf.net>
5233 * docs/gst/gstreamer-sections.txt:
5234 * docs/gst/tmpl/.cvsignore:
5235 * docs/gst/tmpl/gstbin.sgml:
5236 * docs/gst/tmpl/gstbuffer.sgml:
5237 * gst/base/gstbasesrc.c:
5238 * gst/gstbin.c: (gst_bin_get_type), (gst_bin_class_init):
5241 * tools/gst-launch.1.in:
5242 inlined more doc comments, added missing comments and fixed comments
5245 2005-08-23 Thomas Vander Stichele <thomas at apestaart dot org>
5247 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
5251 * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_alloc_buffer):
5253 * gst/gststructure.c: (gst_caps_structure_fixate_field_boolean):
5254 * gst/gststructure.h:
5255 add a fixate function for booleans; add a FIXME that these func
5256 names should probably be gst_structure_fixate_*
5258 2005-08-23 Stefan Kost <ensonic@users.sf.net>
5260 * docs/gst/gstreamer-docs.sgml:
5261 * docs/gst/gstreamer-sections.txt:
5263 * gst/gstbin.c: (gst_bin_get_type),
5264 (gst_bin_child_proxy_get_child_by_index),
5265 (gst_bin_child_proxy_get_children_count),
5266 (gst_bin_child_proxy_init):
5267 * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
5268 (gst_child_proxy_get_child_by_index),
5269 (gst_child_proxy_get_children_count), (gst_child_proxy_lookup),
5270 (gst_child_proxy_get_property), (gst_child_proxy_get_valist),
5271 (gst_child_proxy_get), (gst_child_proxy_set_property),
5272 (gst_child_proxy_set_valist), (gst_child_proxy_set),
5273 (gst_child_proxy_child_added), (gst_child_proxy_child_removed),
5274 (gst_child_proxy_base_init), (gst_child_proxy_get_type):
5275 * gst/gstchildproxy.h:
5276 * gst/parse/grammar.y:
5277 * tools/gst-inspect.c: (print_interfaces),
5278 (print_element_properties_info), (print_element_info):
5279 ported gstchildproxy over from 0.8
5280 ported gst-inspect fixes and enhancements over from 0.8
5282 2005-08-22 Wim Taymans <wim@fluendo.com>
5284 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
5285 (gst_base_transform_handle_buffer):
5286 Also call the transform function if we have ANY caps.
5288 * gst/gstpipeline.c: (gst_pipeline_set_new_stream_time):
5291 2005-08-22 Jan Schmidt <thaytan@mad.scientist.com>
5293 * gst/base/gstbasesrc.c: (gst_base_src_event_handler)
5294 Don't pretend to handle seek events if the source is not seekable
5296 2005-08-22 Jan Schmidt <thaytan@mad.scientist.com>
5298 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
5299 Remove extra parameter to debug output
5301 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
5302 (gst_base_src_do_seek), (gst_base_src_activate_push):
5303 Fix seek event handling.
5305 * gst/gstpipeline.c: (gst_pipeline_change_state):
5306 * gst/gstqueue.c: (gst_queue_handle_sink_event),
5307 (gst_queue_src_activate_push):
5308 Don't start the src pad task on FLUSH_STOP if the pad
5312 2005-08-22 Wim Taymans <wim@fluendo.com>
5314 * check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
5315 Added check for gst_static_caps_get() refcounting.
5317 2005-08-22 Wim Taymans <wim@fluendo.com>
5319 * gst/gstcaps.c: (gst_static_caps_get), (gst_caps_to_string):
5320 Make _static_caps_get() refcounting sane.
5322 * gst/gstelement.c: (gst_element_set_state):
5323 Add g_return_val_if_fail() to protect against segfaults.
5325 2005-08-22 Stefan Kost <ensonic@users.sf.net>
5327 * docs/gst/tmpl/gstevent.sgml:
5330 inlined remaining docs, added missing doc comments
5332 2005-08-22 Thomas Vander Stichele <thomas at apestaart dot org>
5334 * check/gst/gstbin.c: (GST_START_TEST):
5335 since we don't know when preroll is done, use refcount range
5337 * gst/check/gstcheck.h:
5338 add macro for checking refcount range
5340 2005-08-21 Thomas Vander Stichele <thomas at apestaart dot org>
5342 * check/Makefile.am:
5343 clean up environment for when registry gets built versus
5344 when actual tests are run; valgrind seems to not report
5345 leaks if GST_PLUGIN_PATH is set to some specific values
5346 * check/gst/gstbin.c: (GST_START_TEST):
5347 add more refcounting checks; maybe this exposes a
5350 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
5351 * gst/check/gstcheck.h:
5352 * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_get_state),
5353 (gst_bin_change_state):
5354 * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_chain):
5355 add/fix debugging/whitespace
5357 2005-08-21 Jan Schmidt <thaytan@mad.scientist.com>
5359 * check/gst/gstevent.c: (event_probe), (test_event),
5361 Er, don't call gst_bin_watch_for_state_change you idiot.
5363 2005-08-21 Jan Schmidt <thaytan@mad.scientist.com>
5365 * check/Makefile.am:
5366 Use CHECK_CFLAGS and CHECK_LIBS
5367 * check/gst/gstevent.c: (event_probe), (test_event),
5370 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
5371 (gst_base_src_start), (gst_base_src_stop),
5372 (gst_base_src_activate_push), (gst_base_src_activate_pull),
5373 (gst_base_src_change_state):
5374 Sprinkle gst_base_src_stop liberally around error paths to fix
5375 problems reusing a source after failed state changes.
5376 * gst/base/gsttypefindhelper.c: (helper_find_peek),
5377 (helper_find_suggest), (gst_type_find_helper):
5378 Extra debug output. Don't segfault on GST_PAD_GETRANGEFUNC = NULL
5380 * docs/gst/tmpl/gstevent.sgml:
5381 Migrate part of the docs from the SGML file. Wait for ensonic to
5382 tell me how I did it wrong ;)
5383 * tools/gst-typefind.c: (main):
5384 Extra robustness to state changes between files.
5386 2005-08-21 Thomas Vander Stichele <thomas at apestaart dot org>
5388 * check/Makefile.am:
5389 don't valgrind the controller test - it's leaking - Stefan, HELP
5390 * gst/check/gstcheck.c: (gst_check_message_error),
5391 (gst_check_chain_func), (gst_check_setup_element),
5392 (gst_check_teardown_element), (gst_check_setup_src_pad),
5393 (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
5394 (gst_check_teardown_sink_pad):
5395 * gst/check/gstcheck.h:
5396 add a bunch of methods to set up elements, and src and sink pads
5397 * check/elements/fakesrc.c: (setup_fakesrc), (cleanup_fakesrc):
5398 * check/elements/identity.c: (setup_identity), (cleanup_identity),
5403 whitespace/doc fixes
5405 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
5408 make GST_ELEMENT_ERROR not do GST_ERROR_OBJECT - these errors should
5409 be handled by the application and not always printed as well
5411 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
5413 * check/Makefile.am:
5415 * gst/check/gstcheck.c: (gst_check_message_error):
5416 * gst/check/gstcheck.h:
5417 add a fail_unless_equals_int
5418 add fail_unless for error messages
5420 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
5422 * check/Makefile.am:
5424 * common/Makefile.am:
5427 factor out some of the common stuff so we can use it
5429 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
5431 * check/Makefile.am:
5432 * check/gst/gstiterator.c: (GST_START_TEST):
5433 * check/gst/gstsystemclock.c: (GST_START_TEST),
5434 (gst_systemclock_suite):
5435 * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
5439 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
5441 * check/elements/.cvsignore:
5442 * check/elements/gstfakesrc.c:
5443 rename to name of element
5444 * check/elements/identity.c: (chain_func), (event_func),
5445 (setup_identity), (cleanup_identity), (GST_START_TEST),
5446 (identity_suite), (main):
5447 add a test for identity
5448 * check/Makefile.am:
5449 * pkgconfig/Makefile.am:
5450 * pkgconfig/gstreamer-check.pc.in:
5451 * pkgconfig/gstreamer-check-uninstalled.pc.in:
5455 move the check stuff to a library that gets installed
5456 * check/gst-libs/controller.c: (GST_START_TEST):
5457 * check/gst-libs/gdp.c:
5458 * check/gst/gst.c: (GST_START_TEST):
5459 * check/gst/gstbin.c:
5460 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
5461 * check/gst/gstbus.c:
5462 * check/gst/gstcaps.c: (GST_START_TEST):
5463 * check/gst/gstelement.c:
5464 * check/gst/gstghostpad.c:
5465 * check/gst/gstiterator.c:
5466 * check/gst/gstmessage.c:
5467 * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST):
5468 * check/gst/gstobject.c:
5469 * check/gst/gstpad.c: (GST_START_TEST):
5470 * check/gst/gststructure.c: (GST_START_TEST):
5471 * check/gst/gstsystemclock.c: (GST_START_TEST),
5472 (gst_systemclock_suite):
5473 * check/gst/gsttag.c: (gst_tag_suite):
5474 * check/gst/gstvalue.c:
5475 * check/pipelines/cleanup.c:
5476 * check/pipelines/simple_launch_lines.c:
5477 * check/states/sinks.c:
5478 change include statement
5480 * docs/gst/gstreamer-sections.txt:
5481 * docs/gst/tmpl/gstpad.sgml:
5482 document more pad stuff
5483 * gst/gstminiobject.c: (gst_mini_object_ref),
5484 (gst_mini_object_unref):
5487 2005-08-19 Stefan Kost <ensonic@users.sf.net>
5489 * docs/gst/tmpl/gst.sgml:
5491 eliminate another tmpl file, fix spelling in the long-description
5493 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
5495 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
5496 (test_event), (timediff), (gstevents_suite):
5497 Should fix build on 64-bit arch's
5499 2005-08-18 Andy Wingo <wingo@pobox.com>
5501 Make sure that when a pipeline goes to PLAYING, that data has
5502 actually hit the sink.
5504 * check/states/sinks.c (test_sink): A sink that doesn't get any
5505 data shouldn't return SUCCESS for going to either PLAYING or
5506 PAUSED. Test also the return values on the way back down.
5508 * gst/gstelement.c (gst_element_set_state): When changing the
5509 state of an element currently changing state asynchronously, go to
5510 lost-state after commiting the pending state. Makes future calls
5511 to get_state continue to return ASYNC.
5513 * gst/base/gstbasesink.c (gst_base_sink_change_state): Return
5514 ASYNC when going to PLAYING if we still don't have preroll, as can
5515 happen with live sources.
5517 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
5519 * docs/pwg/advanced-types.xml:
5520 Hack long paragraph into 2 chunks as a workaround for buggy
5521 jadetex version in sid and breezy that loops infinitely and
5524 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
5526 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
5527 (test_event), (timediff), (gstevents_suite):
5528 Provide more error margin in clock measurements to allow for
5529 g_get_current_time inaccuracies.
5531 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
5533 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
5534 (test_event), (timediff), (gstevents_suite):
5535 Fix error message output so I might be able to tell why the
5536 test works here but fails on the build farm.
5538 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
5540 * check/Makefile.am:
5541 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
5542 (test_event), (timediff), (gstevents_suite), (main):
5545 * docs/design/part-seeking.txt:
5548 * docs/gst/tmpl/gstevent.sgml:
5549 * docs/gst/tmpl/gstfakesrc.sgml:
5552 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
5553 Treat a buffer-without-newsegment the same as a receiving
5554 a newsegment not in time format, and disable syncing to the clock
5557 * gst/gstbus.c: (gst_bus_set_sync_handler):
5558 Assert if anyone tries to replace the existing sync_handler for bus,
5559 as only the owner should be setting it.
5562 Have a fixed set of custom event enums with events identified by
5563 their structure name (as in 0.8), rather than a free-for-all
5564 allowing collisions between enum values from different plugins.
5566 * gst/gstpad.c: (gst_pad_class_init):
5569 * gst/gstqueue.c: (gst_queue_handle_sink_event):
5570 Handle out-of-band downstream events from the sending thread.
5572 2005-08-17 Andy Wingo <wingo@pobox.com>
5574 * gst/gstpipeline.c (gst_pipeline_change_state): Interpret
5575 play-timeout==0 to mean no timeout at all. In that case, don't
5576 bother with a get_state or a warning, just return directly, even
5579 * gst/base/gstbasetransform.c: Debug changes.
5582 * gst/gstutils.c (gst_bin_watch_for_state_change): Add function to
5583 ensure bins post state change messages. A bit of a hack but I can't
5584 think of a way to avoid it.
5586 * check/gst/gstbin.c (test_watch_for_state_change): Added test.
5588 2005-08-16 Andy Wingo <wingo@pobox.com>
5590 * gst/base/gstadapter.h:
5591 * gst/base/gstadapter.c (gst_adapter_take): New function, like
5592 peek() but you own the data. Not terribly efficient atm.
5594 2005-08-16 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5596 * gst/gstutils.c: (gst_element_found_tags_for_pad), (push_and_ref),
5597 (gst_element_found_tags):
5599 Add two utility functions for tag handling.
5601 2005-08-16 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5603 * docs/manual/advanced-dataaccess.xml:
5604 * docs/manual/basics-helloworld.xml:
5605 Fix docs to use _bin_add() before _link(), which fixes the examples
5606 with recent core versions (reported by Madhan Raj M
5607 <raj_madan@rediffmail.com>, #313199).
5609 2005-08-16 Wim Taymans <wim@fluendo.com>
5611 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
5612 Added subtract checks.
5614 * docs/design/part-events.txt:
5615 Some more docs about newsegment
5617 * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
5620 * gst/gstcaps.c: (gst_caps_to_string):
5621 Add comments, cleanups.
5623 * gst/gstelement.c: (gst_element_save_thyself):
5626 * gst/gstvalue.c: (gst_value_collect_int_range),
5627 (gst_string_unwrap), (gst_value_union_int_int_range),
5628 (gst_value_union_int_range_int_range),
5629 (gst_value_intersect_int_int_range),
5630 (gst_value_intersect_int_range_int_range),
5631 (gst_value_intersect_double_double_range),
5632 (gst_value_intersect_double_range_double_range),
5633 (gst_value_intersect_list), (gst_value_subtract_int_int_range),
5634 (gst_value_subtract_int_range_int),
5635 (gst_value_subtract_double_range_double),
5636 (gst_value_subtract_double_range_double_range),
5637 (gst_value_subtract_from_list), (gst_value_subtract_list),
5638 (gst_value_can_compare), (gst_value_compare_fraction):
5639 Cleanups, add comments, remove unneeded asserts.
5641 2005-08-15 Thomas Vander Stichele <thomas at apestaart dot org>
5643 * tools/gst-launch.c: (event_loop):
5644 don't convert NULL structures to strings
5646 2005-08-15 Stefan Kost <ensonic@users.sf.net>
5648 * docs/gst/gstreamer-sections.txt:
5649 made some defines private
5650 * docs/gst/tmpl/gstconfig.sgml:
5651 * docs/gst/tmpl/gstqueue.sgml:
5652 * docs/gst/tmpl/gsttaglist.sgml:
5653 * docs/gst/tmpl/gsttypes.sgml:
5654 * docs/gst/tmpl/gstutils.sgml:
5655 * docs/pwg/appendix-porting.xml:
5656 * gst/base/gstbasesink.h:
5657 * gst/base/gstbasesrc.c:
5658 * gst/base/gstbasesrc.h:
5659 * gst/elements/gstfakesink.c: (gst_fake_sink_class_init):
5660 * gst/elements/gstfakesrc.c: (gst_fake_src_class_init):
5661 * gst/gstelement.c: (gst_element_class_init):
5662 * gst/gstpad.c: (gst_pad_class_init):
5663 * gst/gstqueue.c: (gst_queue_class_init):
5664 * gst/gstxml.c: (gst_xml_class_init):
5665 documented all undocumented signal inline
5666 * libs/gst/controller/gst-controller.h:
5669 2005-08-15 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5671 * docs/pwg/appendix-porting.xml:
5672 Document _set_link_function -> _set_setcaps_function.
5674 2005-08-15 Thomas Vander Stichele <thomas at apestaart dot org>
5676 * check/Makefile.am:
5677 add a .check target for running the check
5678 * check/gst-libs/controller.c: (GST_START_TEST):
5680 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
5681 complete checks for gstbuffer; would be nice if I could get the
5682 gcov stuff to work so I can see if I actually completed gstbuffer.c
5684 add ASSERT_BUFFER_REFCOUNT
5686 2005-08-13 Tim-Philipp Müller <tim at centricular dot net>
5688 * docs/gst/gstreamer-sections.txt:
5689 * gst/gsttag.c: (_gst_tag_initialize), (gst_tag_register):
5691 Add GST_TAG_LANGUAGE_CODE as we have in 0.8, and don't
5692 spew out a warning if a tag that is already registered
5693 is re-registered, unless it is re-registered with a
5694 different type (#308438).
5696 2005-08-12 Tim-Philipp Müller <tim at centricular dot net>
5698 * docs/pwg/appendix-porting.xml:
5699 * docs/pwg/building-state.xml:
5700 Add some paragraphs about state changes in 0.9 to the PWG
5701 and the porting guide, in particular about the new meaning
5702 of GST_STATE_PAUSED and how to write state change functions
5703 with concurrent access by multiple threads in mind.
5705 2005-08-11 Stefan Kost <ensonic@users.sf.net>
5707 * docs/gst/gstreamer-docs.sgml:
5708 * docs/libs/gstreamer-libs-docs.sgml:
5709 added deprecation and since indexes
5710 * libs/gst/controller/gst-controller.c:
5711 * libs/gst/controller/gst-helper.c:
5715 2005-08-11 Wim Taymans <wim@fluendo.com>
5717 * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked),
5718 (gst_proxy_pad_set_target), (gst_proxy_pad_get_target),
5719 (gst_proxy_pad_dispose), (gst_ghost_pad_do_activate_push),
5720 (gst_ghost_pad_do_link), (gst_ghost_pad_set_internal),
5721 (gst_ghost_pad_new_notarget), (gst_ghost_pad_get_target),
5722 (gst_ghost_pad_set_target):
5723 Actually implement (re)setting the target on a ghostpad
5724 as described in the docs.
5726 2005-08-10 Tim-Philipp Müller <tim at centricular dot net>
5728 * gst/gst.c: (gst_init_check_with_popt_table), (init_pre):
5729 Check whether GST_DEBUG_NO_COLOR environment variable is
5730 set and disable coloured debug output if that is the case.
5732 2005-08-10 Tim-Philipp Müller <tim at centricular dot net>
5734 * gst/base/gsttypefindhelper.c: (helper_find_peek),
5735 (gst_type_find_helper):
5736 The memory returned by gst_type_find_peek() needs to
5737 stay valid until the end of a typefind function, and
5738 typefind functions may keep results from different
5739 offsets around, so we can't just unref the buffer from
5740 the previous _peek(), but have to save all buffers
5741 returned by _peek() until typefinding is done and only
5744 2005-08-09 Tim-Philipp Müller <tim at centricular dot net>
5746 * docs/gst/gstreamer-sections.txt:
5748 New macros: GST_ROUND_UP_2() through GST_ROUND_UP_64().
5750 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5752 * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
5753 Fix a pretty good memleak.
5755 2005-08-08 Tim-Philipp Müller <tim at centricular dot net>
5757 * gst/gstiterator.h:
5758 Fix wrong include and 'make distcheck'.
5760 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5762 * gst/gstbin.c: (bin_bus_handler):
5763 Use gst_element_post_message() instead.
5765 2005-08-08 Tim-Philipp Müller <tim at centricular dot net>
5767 * gst/base/gstadapter.h:
5768 * gst/base/gstbasesink.h:
5769 * gst/base/gstbasesrc.h:
5770 * gst/base/gstbasetransform.h:
5771 * gst/base/gstcollectpads.h:
5772 * gst/base/gstpushsrc.h:
5773 * gst/gstiterator.h:
5774 Add padding to our base elements' class and instance structs and
5775 to GstIterator (you will need to rebuild all plugins and apps!)
5777 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5779 * gst/gstbin.c: (bin_bus_handler):
5780 Make default message forwarding from child->bus to bin->bus
5781 threadsafe and make it not emit warnings if the parent has no bus.
5783 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5785 * gst/gstelement.c: (activate_pads):
5786 On paused->ready, set pad->caps to NULL, as is the documented
5787 behaviour in this state change. Fixes playback of series of
5788 media files when visualization is enabled in Totem.
5790 2005-08-07 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5792 * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
5793 Allow NULL as filter-caps (which means "any").
5795 2005-08-05 Stefan Kost <ensonic@users.sf.net>
5797 * docs/libs/gstreamer-libs-sections.txt:
5798 * libs/gst/controller/gst-controller.c:
5799 * libs/gst/controller/gst-controller.h:
5800 * libs/gst/controller/gst-helper.c:
5801 adding more entries to the docs and fix small doc-bugs
5803 2005-08-05 Stefan Kost <ensonic@users.sf.net>
5805 * docs/gst/gstreamer-docs.sgml:
5806 * docs/gst/gstreamer-sections.txt:
5807 * docs/gst/gstreamer.types:
5808 * docs/gst/tmpl/gstbasesink.sgml:
5809 * docs/gst/tmpl/gstbasesrc.sgml:
5810 * docs/gst/tmpl/gstbasetransform.sgml:
5811 * docs/gst/tmpl/gstfakesrc.sgml:
5812 * gst/base/gstcollectpads.c:
5813 * gst/base/gstcollectpads.h:
5814 * libs/gst/controller/gst-controller.c:
5815 * libs/gst/controller/gst-controller.h:
5816 * libs/gst/controller/gst-helper.c:
5817 * libs/gst/controller/gst-interpolation.c:
5818 * libs/gst/controller/lib.c:
5819 added long/short desc for controller docs
5820 added collectpads base class docs
5821 added correct includes to base-class docs
5823 2005-08-05 Stefan Kost <ensonic@users.sf.net>
5825 * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
5826 (gst_test_mono_source_set_property),
5827 (gst_test_mono_source_class_init), (GST_START_TEST),
5828 (gst_controller_suite):
5829 * docs/gst/gstreamer-docs.sgml:
5830 * docs/gst/gstreamer-sections.txt:
5831 * docs/gst/gstreamer.types:
5832 * docs/libs/gstreamer-libs-docs.sgml:
5833 * docs/libs/gstreamer-libs-sections.txt:
5834 * gst/base/gstadapter.c:
5835 * libs/gst/controller/gst-controller.c:
5836 (gst_controlled_property_new), (gst_controlled_property_free),
5837 (gst_controller_new_valist),
5838 (gst_controller_remove_properties_valist),
5839 (gst_controller_sink_values), (_gst_controller_finalize):
5840 * libs/gst/controller/gst-controller.h:
5841 * libs/gst/controller/gst-helper.c:
5842 (gst_object_control_properties), (gst_object_uncontrol_properties),
5843 (gst_object_get_controller), (gst_object_set_controller),
5844 (gst_object_sink_values), (gst_object_get_value_arrays),
5845 (gst_object_get_value_array):
5846 more tests (and fixes) for the controller
5847 more docs for the controller
5848 integrated companies docs for the adapter
5850 2005-08-05 Thomas Vander Stichele <thomas at apestaart dot org>
5852 * check/elements/gstfakesrc.c: (setup_fakesrc), (cleanup_fakesrc),
5853 (GST_START_TEST), (fakesrc_suite):
5854 add tests for sizetype
5856 2005-08-04 Andy Wingo <wingo@pobox.com>
5858 * gst/elements/gstcapsfilter.c: Reimplement using basetransform,
5859 fixes buffer_alloc proxying among other things.
5861 * gst/base/gstbasetransform.c:
5862 * gst/base/gstbasetransform.h:
5863 Revert patch to gstbasetransform from 7-28 removing
5866 * gst/base/gstbasetransform.h (GstBaseTransformClass.get_size):
5867 * gst/base/gstbasetransform.c (gst_base_transform_get_size):
5868 Semantics changed, should return not the size of the output buffer
5869 but the byte size of a buffer with a given caps.
5871 * gst/base/gstbasetransform.c (gst_base_transform_getcaps): Better
5873 (gst_base_transform_configure_caps): Don't set out_size here: (in,
5874 out) are not the pad caps until setcaps finishes.
5875 (gst_base_transform_buffer_alloc): Proxy the buffer_alloc for the
5876 not-in-place case as well. Deal with changing from in-place to
5877 not-in-place within calling pad_alloc_buffer. Still a bit
5878 concerned about the overhead here...
5880 2005-08-03 Andy Wingo <wingo@pobox.com>
5882 * gst/base/gstbasetransform.c (gst_base_transform_setcaps): Not
5883 fixating is an error.
5885 2005-08-04 Edward Hervey <edward@fluendo.com>
5887 * gst/base/gstadapter.h:
5888 Added gst_adapter_get_type() to the header
5890 2005-08-03 Stefan Kost <ensonic@users.sf.net>
5892 * check/Makefile.am:
5893 * check/gst-libs/controller.c:
5894 * libs/gst/controller/gst-controller.c:
5895 (gst_controller_new_valist):
5896 added check test suite for the controller
5897 * gst/base/gstpushsrc.c:
5900 2005-08-03 Stefan Kost <ensonic@users.sf.net>
5902 * docs/gst/Makefile.am:
5903 * docs/gst/gstreamer-docs.sgml:
5904 * docs/gst/gstreamer-sections.txt:
5905 * docs/gst/gstreamer.types:
5906 * docs/gst/tmpl/gstfakesrc.sgml:
5908 * gst/base/gstbasesink.c:
5909 * gst/base/gstbasesink.h:
5910 * gst/base/gstbasesrc.c:
5911 * gst/base/gstbasesrc.h:
5912 * gst/base/gstbasetransform.c:
5913 * gst/base/gstpushsrc.c:
5914 * gst/base/gstpushsrc.h:
5915 add short/long description docs to base classes
5916 add pushsrc to the docs
5917 remove consolidated doc fragments
5919 2005-08-03 Stefan Kost <ensonic@users.sf.net>
5922 * docs/libs/Makefile.am:
5923 * docs/libs/gstreamer-libs-docs.sgml:
5924 * docs/libs/gstreamer-libs-sections.txt:
5925 * docs/libs/gstreamer-libs.types:
5926 * examples/Makefile.am:
5927 * examples/controller/.cvsignore:
5928 * examples/controller/Makefile.am:
5929 * examples/controller/audio-example.c: (main):
5930 * libs/gst/Makefile.am:
5931 * libs/gst/controller/.cvsignore:
5932 * libs/gst/controller/Makefile.am:
5933 * libs/gst/controller/gst-controller.c:
5934 (on_object_controlled_property_changed), (gst_timed_value_compare),
5935 (gst_timed_value_find),
5936 (gst_controlled_property_set_interpolation_mode),
5937 (gst_controlled_property_new), (gst_controlled_property_free),
5938 (gst_controller_find_controlled_property),
5939 (gst_controller_new_valist), (gst_controller_new),
5940 (gst_controller_remove_properties_valist),
5941 (gst_controller_remove_properties), (gst_controller_set),
5942 (gst_controller_set_from_list), (gst_controller_unset),
5943 (gst_controller_get), (gst_controller_get_all),
5944 (gst_controller_sink_values), (gst_controller_get_value_arrays),
5945 (gst_controller_get_value_array),
5946 (gst_controller_set_interpolation_mode),
5947 (_gst_controller_finalize), (_gst_controller_init),
5948 (_gst_controller_class_init), (gst_controller_get_type):
5949 * libs/gst/controller/gst-controller.h:
5950 * libs/gst/controller/gst-helper.c: (g_object_control_properties),
5951 (g_object_uncontrol_properties), (g_object_get_controller),
5952 (g_object_set_controller), (g_object_sink_values),
5953 (g_object_get_value_arrays), (g_object_get_value_array):
5954 * libs/gst/controller/gst-interpolation.c:
5955 (gst_controlled_property_find_timed_value_node),
5956 (interpolate_none_get), (interpolate_trigger_get),
5957 (interpolate_trigger_get_value_array):
5958 * libs/gst/controller/lib.c: (gst_controller_init):
5959 * pkgconfig/Makefile.am:
5960 * pkgconfig/gstreamer-control-uninstalled.pc.in:
5961 * pkgconfig/gstreamer-control.pc.in:
5962 * testsuite/Makefile.am:
5963 * testsuite/controller/.cvsignore:
5964 * testsuite/controller/Makefile.am:
5965 * testsuite/controller/interpolator.c: (main):
5966 added controller code
5967 removed dparam pc files
5969 2005-08-01 Jan Schmidt <thaytan@mad.scientist.com>
5970 * gst/base/gstcollectpads.c: (gst_collectpads_finalize),
5971 (gst_collectpads_stop):
5972 Broadcast the condition when shutting down, to make sure we wake all
5973 threads up. Shut down pads on finalize, for safety.
5975 2005-08-01 Jan Schmidt <thaytan@mad.scientist.com>
5976 * gst/base/gstbasetransform.c: (gst_base_transform_init),
5977 (gst_base_transform_handle_buffer),
5978 (gst_base_transform_change_state):
5979 Handle PAUSED->READY->PAUSED transition after negotiation
5981 * gst/gstmessage.c: (gst_message_init):
5982 Extra piece of debug for new messages.
5984 2005-08-01 Stefan Kost <ensonic@users.sf.net>
5987 * docs/gst/tmpl/gstbasesrc.sgml:
5988 * docs/gst/tmpl/gstelement.sgml:
5989 * docs/gst/tmpl/gstevent.sgml:
5990 * docs/gst/tmpl/gstfakesrc.sgml:
5991 * docs/gst/tmpl/gstformat.sgml:
5992 * docs/gst/tmpl/gstghostpad.sgml:
5993 * docs/gst/tmpl/gstpad.sgml:
5994 * docs/gst/tmpl/gstquery.sgml:
5995 * docs/gst/tmpl/gststructure.sgml:
5996 * docs/gst/tmpl/gsttaglist.sgml:
5997 * docs/gst/tmpl/gstvalue.sgml:
5998 * docs/libs/gstreamer-libs-docs.sgml:
5999 * docs/libs/gstreamer-libs-sections.txt:
6000 * docs/libs/gstreamer-libs.types:
6001 * libs/gst/Makefile.am:
6002 * libs/gst/control/.cvsignore:
6003 * libs/gst/control/Makefile.am:
6004 * libs/gst/control/control.c:
6005 * libs/gst/control/control.h:
6006 * libs/gst/control/dparam.c:
6007 * libs/gst/control/dparam.h:
6008 * libs/gst/control/dparam_smooth.c:
6009 * libs/gst/control/dparam_smooth.h:
6010 * libs/gst/control/dparamcommon.h:
6011 * libs/gst/control/dparammanager.c:
6012 * libs/gst/control/dparammanager.h:
6013 * libs/gst/control/dplinearinterp.c:
6014 * libs/gst/control/dplinearinterp.h:
6015 * libs/gst/control/unitconvert.c:
6016 * libs/gst/control/unitconvert.h:
6017 * testsuite/Makefile.am:
6018 * testsuite/dynparams/.cvsignore:
6019 * testsuite/dynparams/Makefile.am:
6020 * testsuite/dynparams/dparamstest.c:
6021 * tools/Makefile.am:
6022 * tools/gst-inspect.c: (print_element_info), (main):
6023 * tools/gst-xmlinspect.c: (print_element_info), (main):
6024 deactivate and remove dparams (libgstcontrol)
6026 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
6028 * gst/elements/gsttypefindelement.c:
6029 (gst_type_find_element_have_type), (gst_type_find_element_init),
6030 (stop_typefinding), (gst_type_find_element_handle_event),
6031 (gst_type_find_element_chain), (gst_type_find_element_getrange):
6032 * gst/elements/gsttypefindelement.h:
6033 Set caps on all outgoing buffers, not just the first one.
6035 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
6037 * gst/elements/gsttypefindelement.c:
6038 (gst_type_find_element_have_type),
6039 (gst_type_find_element_check_set_buffer_caps),
6040 (gst_type_find_element_init), (stop_typefinding),
6041 (gst_type_find_element_handle_event),
6042 (gst_type_find_element_chain), (gst_type_find_element_getrange):
6043 * gst/elements/gsttypefindelement.h:
6044 Set caps on first outgoing buffer when we've found the type.
6046 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
6048 * docs/gst/gstreamer-docs.sgml:
6049 * docs/gst/gstreamer-sections.txt:
6050 * docs/gst/tmpl/gstscheduler.sgml:
6051 * docs/gst/tmpl/gstschedulerfactory.sgml:
6052 Remove some old cruft from docs.
6054 2005-07-31 Tim-Philipp Müller <tim at centricular dot net>
6057 Fix inline docs for GstPadLinkReturn.
6059 * gst/gststructure.c: (gst_structure_has_name):
6060 * gst/gststructure.h:
6061 * docs/gst/gstreamer-sections.txt:
6062 New API: gst_structure_has_name().
6064 2005-07-30 Tim-Philipp Müller <tim at centricular dot net>
6067 Use AC_SYS_LARGEFILE, which will set _FILE_OFFSET_BITS=64
6068 and _LARGEFILE_SOURCE in config.h as required. Do not
6069 export those flags in our .pc files any longer (#142209).
6071 Remove unused GST_DISABLE_OMEGA_COTHREADS stuff.
6073 * gst/elements/gstfilesink.c: (gst_file_sink_class_init),
6074 (gst_file_sink_do_seek), (gst_file_sink_event),
6075 (gst_file_sink_get_current_offset), (gst_file_sink_render):
6076 Redo seek/tell calls with large file support in mind; add some
6077 debugging messages; add log message that tells us when large
6078 file support is unavailable or not enabled for some reason.
6080 * gst/elements/gstfilesrc.c: (gst_file_src_class_init):
6081 Add log message that tells us when large file support
6082 is unavailable or not enabled for some reason.
6084 2005-07-29 Wim Taymans <wim@fluendo.com>
6086 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
6087 Added test for removing an element with ghostpad from a bin.
6088 Fixed test as current implementation does the right thing.
6090 * gst/gstghostpad.c: (gst_proxy_pad_class_init),
6091 (gst_proxy_pad_do_query_type), (gst_proxy_pad_do_event),
6092 (gst_proxy_pad_do_query), (gst_proxy_pad_do_internal_link),
6093 (gst_proxy_pad_do_bufferalloc), (gst_proxy_pad_do_activate),
6094 (gst_proxy_pad_do_activatepull), (gst_proxy_pad_do_activatepush),
6095 (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
6096 (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
6097 (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
6098 (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target),
6099 (gst_proxy_pad_get_target), (gst_proxy_pad_init),
6100 (gst_proxy_pad_dispose), (gst_proxy_pad_finalize),
6101 (gst_ghost_pad_class_init), (gst_ghost_pad_do_activate_push),
6102 (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
6103 (gst_ghost_pad_set_internal), (gst_ghost_pad_dispose),
6104 (gst_ghost_pad_new_notarget), (gst_ghost_pad_new),
6105 (gst_ghost_pad_get_target), (gst_ghost_pad_set_target):
6106 * gst/gstghostpad.h:
6107 Clean up ghostpads, remove properties for internal stuff.
6110 Prepare for switching targets, not all use cases work yet.
6112 2005-07-29 Wim Taymans <wim@fluendo.com>
6114 * docs/design/part-gstghostpad.txt:
6117 * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
6118 (gst_bin_remove_func):
6119 Unlinking pads while holding the bin LOCK is not a good
6122 * gst/gstpad.c: (gst_pad_class_init),
6123 (gst_pad_link_check_hierarchy), (gst_pad_get_caps_unlocked),
6124 (gst_pad_accept_caps), (gst_pad_set_caps), (gst_pad_send_event):
6125 No prob setting template after creating the pad.
6127 2005-07-29 Jan Schmidt <thaytan@mad.scientist.com>
6129 * gst/gstbus.c: (gst_bus_set_flushing), (gst_bus_pop),
6130 (gst_bus_peek), (gst_bus_source_dispatch),
6131 (gst_bus_add_watch_full), (poll_handler), (poll_timeout),
6132 (poll_destroy), (poll_destroy_timeout), (gst_bus_poll):
6133 gst_bus_poll may be called from other threads. Handle
6134 this nicely by not making poll_data disappear off the
6135 stack once gst_bus_poll returns.
6136 gst_bus_peek now increments the refcount on the returned
6139 2005-07-29 Wim Taymans <wim@fluendo.com>
6141 * docs/design/part-gstghostpad.txt:
6142 Overview of current GhostPad datastructures and use
6143 cases for changing the target.
6145 2005-07-28 Wim Taymans <wim@fluendo.com>
6147 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
6148 Added checks for hierarchy consistency whan adding linked
6151 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
6152 Added check to test element scheduling without bin/pipeline.
6154 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
6155 First add elements to bin, then link.
6157 * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
6158 (gst_bin_remove_func):
6159 Unlink pads from elements added/removed from bin to maintain
6160 hierarchy consistency.
6162 2005-07-28 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
6164 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
6165 (gst_base_transform_handle_buffer):
6166 * gst/base/gstbasetransform.h:
6167 Remove broken delay_configure (fixes renegotiation of software
6168 scaling pipelines); remove some leftover printf()s.
6170 2005-07-28 Wim Taymans <wim@fluendo.com>
6172 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
6173 Added some more tests for wrong hierarchy
6175 * docs/design/part-overview.txt:
6178 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_dispose):
6181 * gst/gstelement.c: (gst_element_remove_pad), (gst_element_seek),
6182 (gst_element_dispose):
6185 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
6186 (gst_pad_link_check_hierarchy), (gst_pad_link_prepare),
6187 (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
6188 (gst_pad_set_caps), (gst_pad_send_event):
6189 Check for correct hierarchy when linking pads. Moving to
6190 strict requirement for ghostpads when linking elements in
6194 Clean ups. Added WRONG_HIERARCHY return value.
6196 2005-07-28 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
6198 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
6199 Better debug if no transform is possible.
6201 2005-07-27 Wim Taymans <wim@fluendo.com>
6203 * docs/random/wtay/network-transp:
6206 2005-07-27 Wim Taymans <wim@fluendo.com>
6208 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
6209 (gst_dp_event_from_packet):
6210 Fix serialization of seek events.
6212 2005-07-27 Wim Taymans <wim@fluendo.com>
6214 * check/gst-libs/gdp.c: (GST_START_TEST):
6215 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
6216 Fix compilation and fix event serialization.
6218 2005-07-27 Wim Taymans <wim@fluendo.com>
6221 * docs/design/part-TODO.txt:
6222 * docs/design/part-events.txt:
6225 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
6226 (gst_base_sink_event), (gst_base_sink_do_sync),
6227 (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
6228 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
6229 (gst_base_src_do_seek), (gst_base_src_event_handler),
6230 (gst_base_src_loop):
6231 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
6232 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
6233 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
6234 (gst_base_transform_event), (gst_base_transform_handle_buffer),
6235 (gst_base_transform_set_passthrough),
6236 (gst_base_transform_is_passthrough):
6237 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
6238 * gst/elements/gstfilesink.c: (gst_file_sink_event):
6244 * gst/gstelement.c: (gst_element_seek):
6246 Update gst_element_seek.
6248 * gst/gstevent.c: (gst_event_finalize), (_gst_event_copy),
6249 (gst_event_new), (gst_event_new_custom), (gst_event_get_structure),
6250 (gst_event_new_flush_start), (gst_event_new_flush_stop),
6251 (gst_event_new_eos), (gst_event_new_newsegment),
6252 (gst_event_parse_newsegment), (gst_event_new_tag),
6253 (gst_event_parse_tag), (gst_event_new_filler), (gst_event_new_qos),
6254 (gst_event_parse_qos), (gst_event_new_seek),
6255 (gst_event_parse_seek), (gst_event_new_navigation):
6257 Make GstEvent use GstStructure. Add parsing code, make sure the
6258 API is sufficiently generic.
6259 Mark possible directions of events and serialization.
6261 * gst/gstmessage.c: (gst_message_init), (gst_message_finalize),
6262 (_gst_message_copy), (gst_message_new_segment_start),
6263 (gst_message_new_segment_done), (gst_message_new_custom),
6264 (gst_message_parse_segment_start),
6265 (gst_message_parse_segment_done):
6268 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
6269 (gst_pad_set_caps), (gst_pad_send_event):
6270 Update for new events.
6271 Catch events sent in wrong directions.
6273 * gst/gstqueue.c: (gst_queue_link_src),
6274 (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
6275 (gst_queue_handle_src_query):
6280 Remove event code from this file.
6282 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
6283 (gst_dp_event_from_packet):
6286 2005-07-27 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
6288 * gst/base/gstbasetransform.c: (gst_base_transform_getcaps),
6289 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
6290 (gst_base_transform_get_size), (gst_base_transform_handle_buffer):
6291 Make debugging actually useful.
6293 2005-07-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
6295 * gst/gstpad.c: (fixate_value), (gst_pad_default_fixate),
6296 (gst_pad_fixate_caps):
6297 Implement default fixation once again, so that gst_pad_fixate()
6298 actually does anything at all. This probably needs to be some
6299 sort of a last resort, and use profile-based fixation first, but
6300 since that doesn't exist yet, this is the best we have. Fixes
6301 visualization in Totem.
6303 2005-07-22 Wim Taymans <wim@fluendo.com>
6305 * docs/design/part-events.txt:
6308 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
6309 (gst_base_sink_do_sync), (gst_base_sink_activate_push),
6310 (gst_base_sink_activate_pull):
6313 * gst/elements/gstfakesrc.c: (gst_fake_src_class_init),
6314 (gst_fake_src_create):
6315 Fix handoff marshall.
6317 * gst/elements/gstidentity.c: (gst_identity_class_init),
6318 (gst_identity_transform_ip):
6319 We're a real inplace element.
6321 * gst/gstbus.c: (gst_bus_post):
6322 Added some comments.
6324 * tests/lat.c: (fakesrc), (fakesink), (simple), (queue), (main):
6325 * tests/muxing/case1.c: (main):
6326 * tests/sched/dynamic-pipeline.c: (main):
6327 * tests/sched/interrupt1.c: (main):
6328 * tests/sched/interrupt2.c: (main):
6329 * tests/sched/interrupt3.c: (main):
6330 * tests/sched/runxml.c: (main):
6331 * tests/sched/sched-stress.c: (main):
6332 * tests/seeking/seeking1.c: (event_received), (main):
6333 * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
6335 * tests/threadstate/threadstate3.c: (main):
6336 * tests/threadstate/threadstate4.c: (main):
6337 * tests/threadstate/threadstate5.c: (main):
6340 2005-07-21 Wim Taymans <wim@fluendo.com>
6342 * docs/design/part-seeking.txt:
6343 Some small additions.
6345 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
6346 (gst_base_sink_get_times), (gst_base_sink_do_sync),
6347 (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
6348 * gst/base/gstbasesink.h:
6349 discont values are gint64, handle the math correctly.
6351 * gst/base/gstbasesrc.c: (gst_base_src_loop):
6352 Make the basesrc report error if the source pad is not linked.
6354 * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
6355 (gst_queue_loop), (gst_queue_handle_src_query),
6356 (gst_queue_src_activate_push):
6357 Make queue collect data even if the srcpad is not linked.
6358 Start pushing out data as soon as it is linked.
6360 * gst/gstutils.c: (gst_element_unlink), (gst_flow_get_name):
6362 Added gst_flow_get_name() to ease error reporting.
6364 2005-07-20 Wim Taymans <wim@fluendo.com>
6366 * gst/gstmessage.c: (gst_message_new_segment_start),
6367 (gst_message_new_segment_done), (gst_message_parse_segment_start),
6368 (gst_message_parse_segment_done):
6370 Added a bunch of messages for advanced seeking.
6372 * gst/parse/grammar.y:
6373 * libs/gst/control/dparammanager.c: (gst_dpman_set_parent),
6374 (gst_dpman_state_changed):
6375 Fix some new-pad -> pad-added signals
6377 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
6379 * docs/manual/appendix-porting.xml:
6380 * docs/pwg/appendix-porting.xml:
6381 Document new-pad/state-change signal renames and the FixedList
6384 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
6386 * docs/manual/advanced-autoplugging.xml:
6387 * docs/manual/basics-helloworld.xml:
6388 * docs/manual/basics-pads.xml:
6389 * docs/random/ds/0.9-suggested-changes:
6390 * gst/gstelement.c: (gst_element_class_init), (gst_element_seek):
6395 * gst/gststructure.c: (gst_structure_value_get_generic_type),
6396 (gst_structure_parse_array), (gst_structure_parse_value):
6397 * gst/gstvalue.c: (gst_type_is_fixed),
6398 (gst_value_list_prepend_value), (gst_value_list_append_value),
6399 (gst_value_list_get_size), (gst_value_list_get_value),
6400 (gst_value_transform_array_string), (gst_value_serialize_array),
6401 (gst_value_deserialize_array), (gst_value_intersect_array),
6402 (gst_value_is_fixed), (_gst_value_initialize):
6404 GstElement::new-pad -> pad-added, GstElement::state-change ->
6405 state-changed, GstValueFixedList -> GstValueArray, add format and
6406 flags as their own arguments in gst_element_seek() (should improve
6407 "bindeability"), remove function generators since they don't work
6408 under a whole bunch of compilers (they were deprecated already
6411 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
6413 * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
6414 (_gst_debug_register_funcptr):
6416 Fix illegal cast on some platforms (#309253).
6418 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
6420 * gst/gstmessage.c: (gst_message_new_custom):
6422 Add _new_custom, make _new_application a macro to _new_custom.
6424 2005-07-20 Wim Taymans <wim@fluendo.com>
6426 * gst/base/gstbasesrc.c: (gst_base_src_init),
6427 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
6428 * gst/base/gstbasesrc.h:
6429 Add a gboolean to decide when to push out a discont.
6431 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
6432 (gst_queue_loop), (gst_queue_handle_src_query),
6433 (gst_queue_sink_activate_push), (gst_queue_src_activate_push),
6434 (gst_queue_set_property), (gst_queue_get_property):
6437 * tests/threadstate/threadstate1.c: (main):
6438 Make a thread test compile and run... very silly..
6441 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
6443 * docs/manual/appendix-porting.xml:
6444 Mention removal of libgstgconf-0.9.la and existence of gconf
6447 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
6449 * docs/pwg/advanced-clock.xml:
6450 * docs/pwg/appendix-porting.xml:
6451 * docs/pwg/intro-preface.xml:
6452 * docs/pwg/other-base.xml:
6453 * docs/pwg/other-manager.xml:
6454 * docs/pwg/other-nton.xml:
6455 * docs/pwg/other-ntoone.xml:
6456 * docs/pwg/other-oneton.xml:
6458 Document base classes, update sections of n-to-1 and 1-to-n (muxer,
6459 demuxer), remove n-to-n (was never written), fix some code examples
6460 and links and update the porting section to include all this.
6462 2005-07-19 Wim Taymans <wim@fluendo.com>
6464 * gst/gstqueue.c: (gst_queue_init), (gst_queue_handle_sink_event),
6465 (gst_queue_chain), (gst_queue_loop), (gst_queue_handle_src_event),
6466 (gst_queue_handle_src_query), (gst_queue_sink_activate_push),
6467 (gst_queue_src_activate_push), (gst_queue_change_state),
6468 (gst_queue_get_property):
6470 Propagate GstFlowReturn more intelligently upstream and output
6471 an ERROR/EOS when streaming stopped due to fatal error.
6473 2005-07-19 Wim Taymans <wim@fluendo.com>
6475 * tools/gst-launch.c: (check_intr), (event_loop), (main):
6476 Don't block forever for the state change to complete, the
6477 pipeline already did with a sensible timeout.
6479 2005-07-19 Wim Taymans <wim@fluendo.com>
6481 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
6482 Make sure we never call the create function is we
6485 2005-07-19 Andy Wingo <wingo@pobox.com>
6487 * gst/parse/parse.l: Attempt to solve bug #172815.
6489 2005-07-19 Wim Taymans <wim@fluendo.com>
6491 * docs/design/part-clocks.txt:
6492 * docs/design/part-events.txt:
6493 * gst/base/gstbasesrc.c: (gst_base_src_do_seek):
6495 Only update the seeking values when we are not
6498 2005-07-19 Jan Schmidt <thaytan@mad.scientist.com>
6500 * gst/base/gstbasesrc.c: (gst_base_src_loop):
6501 Oops, ignore the result of gst_pad_push_event here.
6503 2005-07-19 Jan Schmidt <thaytan@mad.scientist.com>
6505 * gst/base/gstbasesrc.c: (gst_base_src_loop),
6506 (gst_base_src_activate_push):
6507 Send discont event from the loop function, as pads
6508 aren't activated yet in the activate_push handler.
6510 * gst/gstbin.c: (bin_bus_handler):
6511 Don't leak element name.
6513 2005-07-18 Andy Wingo <wingo@pobox.com>
6515 * configure.ac: Use AS_LIBTOOL_TAGS.
6517 2005-07-18 Wim Taymans <wim@fluendo.com>
6519 * docs/gst/gstreamer.types:
6520 Remove deleted types.
6522 2005-07-18 Wim Taymans <wim@fluendo.com>
6524 * check/elements/gstfakesrc.c: (GST_START_TEST):
6527 * gst/gst.c: (gst_init_get_popt_table), (init_pre), (init_post),
6528 (init_popt_callback):
6530 * gst/gst_private.h:
6531 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_add_func),
6532 (gst_bin_remove_func), (gst_bin_get_state), (gst_bin_change_state):
6535 * gst/gstconfig.h.in:
6536 * gst/gstelement.c: (gst_element_class_init),
6537 (gst_element_set_base_time), (gst_element_get_base_time),
6538 (iterator_fold_with_resync), (gst_element_change_state),
6539 (gst_element_dispose), (gst_element_get_bus):
6541 * gst/gstelementfactory.h:
6542 * gst/gsterror.c: (_gst_core_errors_init):
6545 * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
6547 * gst/gstinfo.c: (_gst_debug_init):
6548 * gst/gstmessage.c: (_gst_message_copy):
6550 * gst/gstminiobject.h:
6553 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
6554 (gst_pad_set_caps), (gst_pad_start_task), (gst_pad_stop_task):
6557 * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
6558 (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
6559 (gst_pipeline_get_last_stream_time):
6560 * gst/gstpipeline.h:
6561 * gst/gstpluginfeature.h:
6563 * gst/gstscheduler.c:
6564 * gst/gstscheduler.h:
6565 * gst/gststructure.h:
6566 * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
6567 (gst_task_finalize), (gst_task_func), (gst_task_create),
6568 (gst_task_set_lock), (gst_task_get_state), (gst_task_start),
6569 (gst_task_stop), (gst_task_pause):
6571 * gst/gsttypefind.h:
6573 * gst/registries/gstlibxmlregistry.c: (load_feature),
6574 (gst_xml_registry_load), (gst_xml_registry_save_feature):
6575 * gst/registries/gstxmlregistry.c:
6576 (gst_xml_registry_start_element), (gst_xml_registry_save_feature):
6577 * gst/schedulers/threadscheduler.c:
6578 * libs/gst/control/dparammanager.h:
6579 * tools/gst-inspect.c: (print_element_list),
6580 (print_plugin_features), (print_element_features):
6581 * tools/gst-xmlinspect.c: (print_element_list),
6582 (print_plugin_info), (main):
6583 Removed plugable schedulers.
6584 Removed Scheduler/Manager from elements.
6585 Removed gsttypes.h, rearranged includes.
6586 Removed dependency pad<->element, element<>pipeline, and
6587 various others, fix includes.
6588 implement gst_pad_get_parent() with gst_object_get_parent()
6589 Make GstTask sefcontained.
6590 Fix _get_state() on GstBin, it did not return ASYNC with a 0
6592 Fix endless loop in iterator_fold_with_resync.
6595 2005-07-18 Wim Taymans <wim@fluendo.com>
6601 2005-07-18 Wim Taymans <wim@fluendo.com>
6606 2005-07-18 Wim Taymans <wim@fluendo.com>
6612 2005-07-18 Wim Taymans <wim@fluendo.com>
6614 * docs/design/part-dynamic.txt:
6615 * docs/design/part-events.txt:
6616 * docs/design/part-seeking.txt:
6617 Some more docs in the works.
6619 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
6620 (gst_base_transform_getcaps), (gst_base_transform_configure_caps),
6621 (gst_base_transform_setcaps), (gst_base_transform_get_size),
6622 (gst_base_transform_buffer_alloc), (gst_base_transform_event),
6623 (gst_base_transform_handle_buffer),
6624 (gst_base_transform_sink_activate_push),
6625 (gst_base_transform_src_activate_pull),
6626 (gst_base_transform_set_passthrough),
6627 (gst_base_transform_is_passthrough):
6630 * gst/gstbus.c: (gst_bus_source_dispatch), (gst_bus_poll):
6633 * gst/gstevent.c: (gst_event_finalize):
6636 * gst/gstutils.c: (gst_element_unlink),
6637 (gst_pad_get_parent_element), (gst_pad_proxy_getcaps),
6638 (gst_pad_proxy_setcaps):
6640 Add _get_parent_element() to get a pads parent as an element.
6642 2005-07-18 Wim Taymans <wim@fluendo.com>
6644 * check/gst/gstbin.c: (GST_START_TEST):
6647 2005-07-18 Wim Taymans <wim@fluendo.com>
6649 * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
6650 (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
6651 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
6652 (gst_base_sink_event), (gst_base_sink_do_sync),
6653 (gst_base_sink_chain), (gst_base_sink_loop),
6654 (gst_base_sink_deactivate), (gst_base_sink_activate_push),
6655 (gst_base_sink_activate_pull), (gst_base_sink_change_state):
6657 Fix logic for returning ASYNC when not prerolled.
6659 2005-07-18 Wim Taymans <wim@fluendo.com>
6661 * gst/gstqueue.c: (gst_queue_handle_sink_event):
6662 Fix nasty refcount bug.
6664 2005-07-16 Philippe Khalaf <burger@speedy.org>
6666 * gst/elements/gstfdsrc.c:
6667 * gst/elements/gstfdsrc.h:
6668 * gst/elements/gstelements.c:
6669 * gst/elements/Makefile.am:
6670 Ported fdsrc to 0.9.
6672 2005-07-16 Wim Taymans <wim@fluendo.com>
6674 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
6675 (gst_base_sink_do_sync):
6678 2005-07-16 Wim Taymans <wim@fluendo.com>
6680 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
6681 (gst_base_sink_event), (gst_base_sink_get_times),
6682 (gst_base_sink_do_sync), (gst_base_sink_change_state):
6683 * gst/base/gstbasesink.h:
6684 Store and use discont values when syncing buffers as described
6687 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
6688 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start),
6689 (gst_base_src_activate_push):
6690 Push discont event when starting.
6692 * gst/elements/gstidentity.c: (gst_identity_transform):
6695 * gst/gstbin.c: (gst_bin_change_state):
6696 Small cleanups in base_time distribution.
6698 * gst/gstelement.c: (gst_element_set_base_time),
6699 (gst_element_get_base_time), (gst_element_change_state):
6701 Added methods for the base_time of the element.
6704 * gst/gstpipeline.c: (gst_pipeline_send_event),
6705 (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
6706 (gst_pipeline_get_last_stream_time):
6707 * gst/gstpipeline.h:
6709 Handle seeking as described in design doc, remove stream_time
6711 Cleanups clock and stream_time selection code. Added accessors
6712 for the stream_time.
6715 2005-07-16 Andy Wingo <wingo@pobox.com>
6717 * gst/gsterror.c (_gst_core_errors_init): Use the magic word
6720 2005-07-16 Wim Taymans <wim@fluendo.com>
6722 * check/gst/gstbin.c: (GST_START_TEST):
6723 Make elements silent as the deep_notify refs the
6724 parent, which might make the test fail.
6726 * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
6727 Don't hold the lock for too long.
6729 2005-07-16 Tim-Philipp Müller <tim at centricular dot net>
6731 * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
6732 Don't unref the caps we passed to gst_caps_make_writable() after
6733 passing them. gst_caps_make_writable() will do that for us.
6735 2005-07-15 Andy Wingo <wingo@pobox.com>
6737 * gst/gstcaps.h (gst_caps_is_simple): Removed deprecated macro
6740 * gst/elements/gstidentity.c (marshal_VOID__MINIOBJECT): Write our
6741 own marshalling function for the handoff signal. Properly type the
6742 buffer as a buffer. Fixes some warnings. Should do a more general
6744 (gst_identity_class_init): Plug into the right marshaller.
6746 2005-07-15 Wim Taymans <wim@fluendo.com>
6748 * docs/design/part-TODO.txt:
6749 * docs/design/part-clocks.txt:
6750 * docs/design/part-element-sink.txt:
6751 * docs/design/part-events.txt:
6752 * docs/design/part-gstpipeline.txt:
6753 Updated docs, mostly DISCONT related.
6755 2005-07-15 Tim-Philipp Müller <tim at centricular dot net>
6757 * docs/pwg/building-pads.xml:
6758 s/GST_PAD_LINK_REFUSED/FALSE/ in gst_my_filter_setcaps()
6760 2005-07-15 Andy Wingo <wingo@pobox.com>
6762 * tools/gst-typefind.c: Update, add copyright block.
6764 * gst/base/gstbasesrc.c (gst_base_src_default_negotiate):
6765 Normalize and truncate caps before fixation.
6768 * gst/gstcaps.c (gst_caps_truncate): New function, destructively
6769 discards all but the first structure from its argument.
6771 2005-07-15 Wim Taymans <wim@fluendo.com>
6773 * gst/base/gstbasetransform.c: (gst_base_transform_init),
6774 (gst_base_transform_transform_caps), (gst_base_transform_getcaps),
6775 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
6776 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
6777 (gst_base_transform_handle_buffer), (gst_base_transform_getrange),
6778 (gst_base_transform_chain), (gst_base_transform_change_state),
6779 (gst_base_transform_set_passthrough),
6780 (gst_base_transform_is_passthrough):
6781 * gst/base/gstbasetransform.h:
6782 Make passthrough work using the bufferpools.
6783 Changed API a bit, subclasses have to write into a buffer
6784 provided by the base class.
6785 More debug info in nego functions.
6787 * gst/elements/gstidentity.c: (gst_identity_init),
6788 (gst_identity_transform):
6789 Port to new base class.
6791 2005-07-15 Wim Taymans <wim@fluendo.com>
6793 * gst/gstmessage.c: (gst_message_new_state_changed):
6794 * tools/gst-launch.c: (event_loop), (main):
6795 Totally dump messages in -launch with the -m option.
6796 Fix message name for State messages,
6798 2005-07-14 Wim Taymans <wim@fluendo.com>
6800 * gst/base/gstbasesrc.c: (gst_base_src_loop):
6801 Post error messages on errors.
6803 2005-07-14 Wim Taymans <wim@fluendo.com>
6805 * gst/gstcaps.c: (gst_caps_do_simplify):
6809 Define error for stream stopped.
6811 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
6812 (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange):
6813 Do proper return values.
6815 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
6816 (gst_pad_set_caps), (gst_pad_chain), (gst_pad_push),
6817 (gst_pad_get_range):
6818 Better return values.
6821 Reorganise return values, add macro to check for fatal errors.
6823 * gst/gstqueue.c: (gst_queue_chain):
6824 Return proper GstFlowReturn values,
6826 2005-07-14 Thomas Vander Stichele <thomas at apestaart dot org>
6828 * docs/gst/gstreamer-sections.txt:
6829 * docs/gst/gstreamer.types:
6830 * docs/gst/tmpl/gst.sgml:
6831 * docs/gst/tmpl/gstbasesink.sgml:
6832 * docs/gst/tmpl/gstbasesrc.sgml:
6833 * docs/gst/tmpl/gstbasetransform.sgml:
6834 * docs/gst/tmpl/gstbin.sgml:
6835 * docs/gst/tmpl/gstbuffer.sgml:
6836 * docs/gst/tmpl/gstcaps.sgml:
6837 * docs/gst/tmpl/gstclock.sgml:
6838 * docs/gst/tmpl/gstcompat.sgml:
6839 * docs/gst/tmpl/gstconfig.sgml:
6840 * docs/gst/tmpl/gstelement.sgml:
6841 * docs/gst/tmpl/gstelementdetails.sgml:
6842 * docs/gst/tmpl/gstelementfactory.sgml:
6843 * docs/gst/tmpl/gstenumtypes.sgml:
6844 * docs/gst/tmpl/gsterror.sgml:
6845 * docs/gst/tmpl/gstevent.sgml:
6846 * docs/gst/tmpl/gstfakesink.sgml:
6847 * docs/gst/tmpl/gstfakesrc.sgml:
6848 * docs/gst/tmpl/gstfilesink.sgml:
6849 * docs/gst/tmpl/gstfilesrc.sgml:
6850 * docs/gst/tmpl/gstfilter.sgml:
6851 * docs/gst/tmpl/gstformat.sgml:
6852 * docs/gst/tmpl/gstghostpad.sgml:
6853 * docs/gst/tmpl/gstimplementsinterface.sgml:
6854 * docs/gst/tmpl/gstindex.sgml:
6855 * docs/gst/tmpl/gstindexfactory.sgml:
6856 * docs/gst/tmpl/gstinfo.sgml:
6857 * docs/gst/tmpl/gstiterator.sgml:
6858 * docs/gst/tmpl/gstmacros.sgml:
6859 * docs/gst/tmpl/gstmemchunk.sgml:
6860 * docs/gst/tmpl/gstminiobject.sgml:
6861 * docs/gst/tmpl/gstobject.sgml:
6862 * docs/gst/tmpl/gstpad.sgml:
6863 * docs/gst/tmpl/gstpadtemplate.sgml:
6864 * docs/gst/tmpl/gstparse.sgml:
6865 * docs/gst/tmpl/gstpipeline.sgml:
6866 * docs/gst/tmpl/gstplugin.sgml:
6867 * docs/gst/tmpl/gstpluginfeature.sgml:
6868 * docs/gst/tmpl/gstquery.sgml:
6869 * docs/gst/tmpl/gstqueue.sgml:
6870 * docs/gst/tmpl/gstregistry.sgml:
6871 * docs/gst/tmpl/gstregistrypool.sgml:
6872 * docs/gst/tmpl/gstscheduler.sgml:
6873 * docs/gst/tmpl/gstschedulerfactory.sgml:
6874 * docs/gst/tmpl/gststructure.sgml:
6875 * docs/gst/tmpl/gstsystemclock.sgml:
6876 * docs/gst/tmpl/gsttaglist.sgml:
6877 * docs/gst/tmpl/gsttagsetter.sgml:
6878 * docs/gst/tmpl/gsttrace.sgml:
6879 * docs/gst/tmpl/gsttrashstack.sgml:
6880 * docs/gst/tmpl/gsttypefind.sgml:
6881 * docs/gst/tmpl/gsttypefindfactory.sgml:
6882 * docs/gst/tmpl/gsttypes.sgml:
6883 * docs/gst/tmpl/gsturihandler.sgml:
6884 * docs/gst/tmpl/gsturitype.sgml:
6885 * docs/gst/tmpl/gstutils.sgml:
6886 * docs/gst/tmpl/gstvalue.sgml:
6887 * docs/gst/tmpl/gstversion.sgml:
6888 * docs/gst/tmpl/gstxml.sgml:
6889 * docs/libs/tmpl/gstcontrol.sgml:
6890 * docs/libs/tmpl/gstdataprotocol.sgml:
6891 * docs/libs/tmpl/gstdparam.sgml:
6892 * docs/libs/tmpl/gstdplinint.sgml:
6893 * docs/libs/tmpl/gstdpman.sgml:
6894 * docs/libs/tmpl/gstdpsmooth.sgml:
6895 * docs/libs/tmpl/gstgetbits.sgml:
6896 * docs/libs/tmpl/gstunitconvert.sgml:
6897 * gst/base/gstpushsrc.c: (gst_push_src_get_type),
6898 (gst_push_src_base_init), (gst_push_src_class_init),
6899 (gst_push_src_init), (gst_push_src_create):
6900 * gst/base/gstpushsrc.h:
6901 * gst/elements/gstelements.c:
6902 * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type),
6903 (gst_fake_sink_base_init), (gst_fake_sink_class_init),
6904 (gst_fake_sink_init), (gst_fake_sink_set_property),
6905 (gst_fake_sink_get_property), (gst_fake_sink_get_times),
6906 (gst_fake_sink_event), (gst_fake_sink_preroll),
6907 (gst_fake_sink_render), (gst_fake_sink_change_state):
6908 * gst/elements/gstfakesink.h:
6909 * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
6910 (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
6911 (gst_fake_src_base_init), (gst_fake_src_class_init),
6912 (gst_fake_src_init), (gst_fake_src_event_handler),
6913 (gst_fake_src_alloc_parent), (gst_fake_src_set_property),
6914 (gst_fake_src_get_property), (gst_fake_src_prepare_buffer),
6915 (gst_fake_src_alloc_buffer), (gst_fake_src_get_size),
6916 (gst_fake_src_create_buffer), (gst_fake_src_create),
6917 (gst_fake_src_start), (gst_fake_src_stop):
6918 * gst/elements/gstfakesrc.h:
6919 * gst/elements/gstfilesink.c: (_do_init),
6920 (gst_file_sink_base_init), (gst_file_sink_class_init),
6921 (gst_file_sink_init), (gst_file_sink_dispose),
6922 (gst_file_sink_set_location), (gst_file_sink_set_property),
6923 (gst_file_sink_get_property), (gst_file_sink_open_file),
6924 (gst_file_sink_close_file), (gst_file_sink_query),
6925 (gst_file_sink_event), (gst_file_sink_render),
6926 (gst_file_sink_change_state), (gst_file_sink_uri_get_type),
6927 (gst_file_sink_uri_get_protocols), (gst_file_sink_uri_get_uri),
6928 (gst_file_sink_uri_set_uri), (gst_file_sink_uri_handler_init):
6929 * gst/elements/gstfilesink.h:
6930 * gst/elements/gstfilesrc.c: (_do_init), (gst_file_src_base_init),
6931 (gst_file_src_class_init), (gst_file_src_init),
6932 (gst_file_src_finalize), (gst_file_src_set_location),
6933 (gst_file_src_set_property), (gst_file_src_get_property),
6934 (gst_file_src_map_region), (gst_file_src_map_small_region),
6935 (gst_file_src_create_mmap), (gst_file_src_create_read),
6936 (gst_file_src_create), (gst_file_src_is_seekable),
6937 (gst_file_src_get_size), (gst_file_src_start), (gst_file_src_stop),
6938 (gst_file_src_uri_get_type), (gst_file_src_uri_get_protocols),
6939 (gst_file_src_uri_get_uri), (gst_file_src_uri_set_uri),
6940 (gst_file_src_uri_handler_init):
6941 * gst/elements/gstfilesrc.h:
6942 more autistic cleanliness in functions/names/defines
6944 2005-07-13 Andy Wingo <wingo@pobox.com>
6946 * gst/base/gstbasesrc.c (gst_base_src_start): Post an error if the
6947 source couldn't negotiate.
6949 * gst/parse/grammar.y: Revert 1.54->1.55, so we now do filtered
6953 * gst/gstutils.c (gst_element_link_pads_filtered): New old
6954 function. I am channeling Hades. Put your boots on suckers!!!
6956 2005-07-13 Thomas Vander Stichele <thomas at apestaart dot org>
6958 * testsuite/caps/Makefile.am:
6959 * testsuite/caps/value_compare.c:
6960 * testsuite/caps/value_intersect.c:
6961 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
6962 move two testsuite apps over to the check dir
6964 2005-07-12 Wim Taymans <wim@fluendo.com>
6966 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
6967 Added more debug info in the negotiate process.
6970 Prepare for segment playback.
6972 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps):
6978 * tools/gst-launch.c: (main):
6979 NULL pipeline on errors.
6981 2005-07-12 Andy Wingo <wingo@pobox.com>
6983 * gst/gstbuffer.c (_gst_buffer_copy): Copy the buffer whether or
6984 not it comes from a malloc region. Make sure our copy gets freed.
6986 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
6988 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
6989 * check/gst/gstmessage.c: (GST_START_TEST):
6990 * check/gst/gststructure.c: (GST_START_TEST),
6991 (gst_structure_suite), (main):
6993 * gst/gstelement.c: (gst_element_message_full):
6994 clean up GError and debug string now that they get copied
6995 * gst/gstmessage.c: (gst_message_new_error),
6996 (gst_message_new_warning), (gst_message_parse_error),
6997 (gst_message_parse_warning):
6998 use GST_TYPE_G_ERROR for structure_new, and take copies of
6999 arguments, so that we don't mess up refcounting
7001 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
7003 * check/Makefile.am:
7004 add per-test valgrind targets
7005 * check/gst-libs/gdp.c: (GST_START_TEST),
7006 (gst_data_protocol_suite), (main):
7009 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
7011 * check/Makefile.am:
7012 instate more valgrindable tests
7013 * check/elements/gstfakesrc.c: (chain_func), (event_func),
7014 (GST_START_TEST), (fakesrc_suite):
7015 * check/gst/gstpad.c: (GST_START_TEST):
7016 * check/gst/gststructure.c: (GST_START_TEST):
7018 * docs/gst/tmpl/gstminiobject.sgml:
7019 * gst/gstpad.c: (gst_pad_finalize):
7020 fix the static mutex leak
7022 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
7024 * check/Makefile.am:
7025 add two more tests for valgrinding
7026 * check/gst/gstvalue.c: (GST_START_TEST):
7027 test refcount of deserialized buffer, found a leak
7028 * docs/gst/gstreamer-docs.sgml:
7029 * docs/gst/gstreamer-sections.txt:
7030 * docs/gst/gstreamer.types:
7031 * docs/gst/tmpl/gstminiobject.sgml:
7032 add miniobject to docs
7033 * gst/gstminiobject.c:
7035 * gst/gstvalue.c: (gst_value_deserialize_buffer),
7036 (gst_string_unwrap):
7037 fix a hard-to-find invalid write for one of the tests
7038 fix a leak for deserialized buffers
7040 2005-07-11 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7042 * docs/pwg/advanced-events.xml:
7043 * docs/pwg/advanced-request.xml:
7044 * docs/pwg/advanced-scheduling.xml:
7045 * docs/pwg/appendix-porting.xml:
7046 * docs/pwg/building-boiler.xml:
7047 * docs/pwg/intro-preface.xml:
7048 * docs/pwg/other-ntoone.xml:
7049 Rewrite scheduling-chapter for scheduling model in 0.9. Add lots
7050 of example code and explanation for pad activation, loop() and
7051 getrange() functions and a bit more. Remove old comments pointing
7053 * examples/pwg/Makefile.am:
7054 Add loop/getrange examples.
7056 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
7059 check for valgrind binary + some fixes
7061 valgrind suppressions for the tests
7062 * check/Makefile.am:
7063 add a valgrind: target that valgrinds the unit tests
7064 * check/gst/gst.c: (GST_START_TEST), (gst_suite):
7065 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
7066 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
7067 * check/gst/gstghostpad.c:
7069 * check/gst/gstdata.c:
7071 * check/gst/gstminiobject.c: (GST_START_TEST), (thread_ref),
7072 (thread_unref), (gst_mini_object_suite), (main):
7074 * gst/gst.c: (gst_deinit):
7076 add a method to clean up.
7077 * gst/gstsystemclock.c: (gst_system_clock_dispose),
7078 (gst_system_clock_obtain):
7079 allow for disposing the system clock.
7080 * tools/gst-launch.c: (main):
7083 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
7085 * docs/gst/tmpl/gstbasesrc.sgml:
7086 * docs/gst/tmpl/gstfakesrc.sgml:
7087 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
7088 (gst_base_src_init), (gst_base_src_set_property),
7089 (gst_base_src_get_property), (gst_base_src_get_range),
7090 (gst_base_src_start):
7091 * gst/base/gstbasesrc.h:
7092 add num-buffers property
7093 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
7094 (gst_fakesrc_init), (gst_fakesrc_set_property),
7095 (gst_fakesrc_get_property), (gst_fakesrc_create),
7096 (gst_fakesrc_start):
7097 remove num-buffers property
7099 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
7101 * docs/gst/gstreamer-sections.txt:
7102 * docs/gst/tmpl/gstbasesink.sgml:
7103 * docs/gst/tmpl/gstbasesrc.sgml:
7104 * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
7105 (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
7106 (gst_base_sink_finalize), (gst_base_sink_set_clock),
7107 (gst_base_sink_set_property), (gst_base_sink_get_property),
7108 (gst_base_sink_handle_object), (gst_base_sink_event),
7109 (gst_base_sink_do_sync), (gst_base_sink_handle_event),
7110 (gst_base_sink_handle_buffer), (gst_base_sink_chain),
7111 (gst_base_sink_loop), (gst_base_sink_deactivate),
7112 (gst_base_sink_activate_push), (gst_base_sink_activate_pull),
7113 (gst_base_sink_change_state):
7114 * gst/base/gstbasesink.h:
7115 * gst/base/gstbasesrc.h:
7116 * gst/elements/gstfakesink.c: (gst_fakesink_get_times):
7117 * gst/elements/gstfilesink.c: (gst_filesink_class_init),
7118 (gst_filesink_init):
7119 more macro splitting
7121 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
7123 * gst/gstelement.c: (gst_element_get_bus):
7125 * tools/gst-launch.c: (check_intr), (event_loop):
7128 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
7130 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
7133 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
7135 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
7136 (gst_base_src_finalize):
7137 add finalize method and clean up properly
7138 * gst/gstpipeline.c: (gst_pipeline_dispose):
7141 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
7143 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST),
7145 add more things to check
7146 * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
7150 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
7152 * check/elements/gstfakesrc.c: (chain_func), (event_func),
7153 (GST_START_TEST), (fakesrc_suite):
7154 * check/gst-libs/gdp.c: (GST_START_TEST):
7155 * check/gst/gst.c: (GST_START_TEST):
7156 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
7157 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
7158 * check/gst/gstbus.c: (GST_START_TEST):
7159 * check/gst/gstcaps.c: (GST_START_TEST):
7160 * check/gst/gstdata.c: (GST_START_TEST):
7161 * check/gst/gstelement.c: (GST_START_TEST):
7162 * check/gst/gstghostpad.c: (GST_START_TEST):
7163 * check/gst/gstiterator.c: (GST_START_TEST):
7164 * check/gst/gstmessage.c: (GST_START_TEST):
7165 * check/gst/gstobject.c: (GST_START_TEST):
7166 * check/gst/gstpad.c: (GST_START_TEST):
7167 * check/gst/gststructure.c: (GST_START_TEST):
7168 * check/gst/gstsystemclock.c: (GST_START_TEST),
7169 (gst_systemclock_suite):
7170 * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
7171 * check/gst/gstvalue.c: (GST_START_TEST):
7172 * check/pipelines/cleanup.c: (GST_START_TEST):
7173 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
7174 * check/states/sinks.c: (GST_START_TEST):
7175 * check/gstcheck.c: (gst_check_init):
7177 add debugging category
7178 use GST_START_TEST now, so we add a debug line
7180 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
7182 * check/gst/gstbin.c: (START_TEST), (gst_bin_suite):
7183 add test for state change message on a bin
7184 * check/gst/gstelement.c: (START_TEST), (gst_element_suite):
7186 * gst/gstbin.c: (gst_bin_init):
7187 * gst/gstbus.c: (gst_bus_init), (gst_bus_post):
7188 * gst/gstelement.c: (gst_element_post_message),
7189 (gst_element_set_state):
7190 * gst/gstelementfactory.c: (gst_element_factory_create):
7191 * gst/gstmessage.c: (gst_message_new):
7192 * gst/gstscheduler.c:
7193 various debugging additions and cleanups
7195 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
7197 * check/Makefile.am:
7198 * check/gst/gstelement.c: (START_TEST), (gst_element_suite),
7200 adding tests for elements
7201 * gst/gstelement.c: (gst_element_dispose):
7203 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
7205 * gst/registries/gstlibxmlregistry.c: (load_feature):
7206 plug more leaks. A simple gst_init() now is leakfree, yay.
7208 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
7210 * gst/registries/gstlibxmlregistry.c: (read_string), (load_paths),
7211 (gst_xml_registry_load):
7212 plug another memleak
7214 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
7217 use GST_SET_ERROR_CFLAGS
7219 change to ERROR_CFLAGS
7221 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
7224 make GST_ERROR_CFLAGS overridable and re-enable Werror
7226 add a note about error CFLAGS
7227 * docs/gst/tmpl/gstfakesrc.sgml:
7228 * gst/elements/gstfakesrc.c:
7229 comment out some unused code
7230 * gst/gst.c: (split_and_iterate):
7231 * gst/registries/gstlibxmlregistry.c: (load_pad_template),
7235 2005-07-07 Thomas Vander Stichele <thomas at apestaart dot org>
7237 * common/Makefile.am:
7238 * common/gtk-doc.mak:
7239 * docs/gst/Makefile.am:
7240 factor out gtk-doc.mak
7242 2005-07-07 Wim Taymans <wim@fluendo.com>
7244 * gst/schedulers/threadscheduler.c: (gst_thread_scheduler_func),
7245 (gst_thread_scheduler_dispose):
7246 Unlock the STREAM_LOCK completely.
7248 2005-07-07 Thomas Vander Stichele <thomas at apestaart dot org>
7250 * check/Makefile.am:
7251 * check/elements/.cvsignore:
7252 * check/elements/gstfakesrc.c: (chain_func), (event_func),
7253 (START_TEST), (fakesrc_suite), (main):
7254 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
7255 (gst_fakesrc_set_property), (gst_fakesrc_get_property),
7256 (gst_fakesrc_create), (gst_fakesrc_start):
7257 * gst/elements/gstfakesrc.h:
7258 adding a first element test
7260 2005-07-07 Andy Wingo <wingo@pobox.com>
7262 * gst/gstbus.c (gst_bus_have_pending): Remove intensely irritating
7265 2005-07-07 Wim Taymans <wim@fluendo.com>
7271 2005-07-07 Wim Taymans <wim@fluendo.com>
7273 * gst/base/gstbasesrc.c: (gst_base_src_get_range),
7274 (gst_base_src_default_negotiate), (gst_base_src_negotiate):
7275 Allow subclasses to implement their own negotiation.
7277 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
7279 * docs/design/part-gstbin.txt:
7280 * docs/design/part-gstpipeline.txt:
7281 Update design notes to reflect the movement of
7282 responsibility for bus handling from GstPipeline to
7285 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
7288 Remove unnecessary queue2/3/4 examples.
7290 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
7292 * examples/Makefile.am:
7293 * examples/helloworld/helloworld.c: (event_loop), (main):
7294 * examples/queue/queue.c: (event_loop), (main):
7295 * examples/queue2/queue2.c: (main):
7296 Update a couple of the examples to work again.
7298 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
7299 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_event):
7300 Spelling corrections and extra debug.
7302 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init), (is_eos),
7303 (gst_bin_add_func), (bin_element_is_sink), (gst_bin_get_state),
7304 (gst_bin_change_state), (gst_bin_dispose), (bin_bus_handler):
7306 * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
7307 (gst_pipeline_change_state):
7308 * gst/gstpipeline.h:
7309 Move the bus handler for children to the GstBin, and create a
7310 separate bus for receiving messages from children to the one the
7311 bus sends 'upwards' on.
7313 2005-07-06 Wim Taymans <wim@fluendo.com>
7316 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
7317 (gst_base_sink_handle_object), (gst_base_sink_loop),
7318 (gst_base_sink_change_state):
7319 * gst/base/gstbasesink.h:
7320 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
7321 (gst_base_src_init), (gst_base_src_setcaps),
7322 (gst_base_src_getcaps), (gst_base_src_loop),
7323 (gst_base_src_default_negotiate), (gst_base_src_negotiate),
7324 (gst_base_src_start), (gst_base_src_change_state):
7325 * gst/base/gstbasesrc.h:
7326 Make basesrc negotiate.
7327 Handle the case where preroll fails in basesink.
7330 2005-07-06 Wim Taymans <wim@fluendo.com>
7332 * gst/gstpad.c: (gst_pad_fixate_caps), (gst_pad_accept_caps):
7333 Implement the fixate function.
7334 Clean up acceptcaps.
7336 2005-07-06 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7338 * docs/pwg/building-filterfactory.xml:
7340 Remove never-written filter-factory chapter; I'll add the various
7341 base classes to part 4 ("other element types") later on.
7343 2005-07-06 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7345 * docs/pwg/advanced-negotiation.xml:
7346 * docs/pwg/building-boiler.xml:
7347 * docs/pwg/building-pads.xml:
7349 * examples/pwg/Makefile.am:
7350 Add a chapter on caps negotiation, simplify the original code
7351 samples a bit w.r.t. caps negotiation, add link to the advanced
7352 section. Add a bunch of examples showing different use cases of
7353 different types of caps negotiation. Upstream renegotiation isn't
7354 fully documented yet since nobody knows how that works.
7356 2005-07-06 Thomas Vander Stichele <thomas at apestaart dot org>
7358 * check/gst/gstpad.c:
7360 * gst/gstpad.c: (gst_pad_get_internal_links_default):
7361 if pad has no parent, return NULL as list of internal links
7363 2005-07-05 Andy Wingo <wingo@pobox.com>
7365 * gst/elements/gstfilesrc.c:
7366 * gst/elements/gstfakesrc.c:
7367 * gst/base/gstpushsrc.c:
7368 * gst/base/gstbasesrc.h:
7369 * gst/base/gstbasesrc.c: s/BASESRC/BASE_SRC/g.
7371 2005-07-05 Stefan Kost <ensonic@users.sf.net>
7374 better report generation target (lcov needs a patch)
7376 2005-07-05 Andy Wingo <wingo@pobox.com>
7378 * gst/elements, testsuite: Null if we got it...
7380 2005-07-05 Wim Taymans <wim@fluendo.com>
7383 * libs/gst/dataprotocol/Makefile.am:
7384 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_validate_packet):
7385 * libs/gst/dataprotocol/dataprotocol.h:
7386 * pkgconfig/Makefile.am:
7387 * pkgconfig/gstreamer-dataprotocol-uninstalled.pc.in:
7388 * pkgconfig/gstreamer-dataprotocol.pc.in:
7389 Ported dataprotol to 0.9.
7390 Added pkgconfig files.
7392 2005-07-05 Andy Wingo <wingo@pobox.com>
7394 * gst/base/gstbasetransform.c (gst_base_transform_setcaps):
7395 Default to returning TRUE for the case when tranform_caps returns
7396 a fixed caps, like for identity or volume.
7398 * check/gst/gstbus.c (pound_bus_with_messages):
7399 * check/gst/gstmessage.c (START_TEST):
7400 * check/pipelines/simple_launch_lines.c (got_handoff): Application
7403 * gst/base/gstbasetransform.c (gst_base_transform_setcaps): More
7404 logic weaks here: always run transform_caps, trying passthrough
7405 operation only if the original caps intersects with the transform.
7407 * gst/gstpad.c (gst_pad_link_check_compatible_unlocked): Debug
7408 source and sink caps.
7410 * gst/base/gstbasetransform.c (gst_base_transform_getcaps):
7411 Intersect the peer caps with the pad template before going into
7413 (gst_base_transform_transform_caps): More debugging.
7415 * gst/gstmessage.h (gst_message_new_application): Take a GstObject
7418 2005-07-04 Edward Hervey <edward@fluendo.com>
7422 (gst_pad_add_*_probe): now returns the signal id for better wrapping
7425 2005-07-04 Andy Wingo <wingo@pobox.com>
7427 * check/gst/gstpad.c: Only set explicit caps on pads.
7429 2005-07-01 Andy Wingo <wingo@pobox.com>
7431 * tests/network-clock.scm: Commentary update.
7433 * gst/elements/gstidentity.c (PROP_DUPLICATE): Gone daddy gone.
7434 Didn't really make sense, not implementable with basetransform,
7436 (gst_identity_transform): Unref inbuf via make_writable. Feeble
7437 attempt at implementing the sync property, needs an unlock method.
7439 * gst/base/gstbasetransform.c (gst_base_transform_transform_caps):
7440 New func, by default returns the same caps (the identity
7442 (gst_base_transform_getcaps): Uses transform_caps to return
7444 (gst_base_transform_setcaps): Complicated logic to get caps on
7445 both pads, even if they are different, and to call set_caps once
7446 for every time both pads get their caps set.
7447 (gst_base_transform_handle_buffer): Give the ref to the transform
7448 function. Allows in-place modification of the buffer.
7450 * gst/base/gstbasetransform.h (transform_caps): New class method.
7451 Given caps on one side, what can I do on the other.
7452 (set_caps): Take two caps, one for each side of the element.
7455 * gst/gstpad.c (gst_pad_fixate_caps): Change prototype to modify
7456 caps in place. This is safe because we can check the mutability of
7457 the caps, and a good idea because fixate functions are just called
7458 as a matter of last resort. (Not actually implemented.)
7459 (gst_pad_set_caps): If the caps we're setting is actually the same
7460 as the existing pad caps, just update the pointer without calling
7461 setcaps. Assert that caps is either NULL or fixed, as per the
7464 * gst/gstghostpad.c: Update for fixate changes.
7466 2005-07-02 Andy Wingo <wingo@pobox.com>
7469 * gst/gstcaps.h (gst_static_caps_get): Not const return, having
7470 two refcounts makes it immutable, which is enough. Doc more.
7472 2005-07-02 Jan Schmidt <thaytan@mad.scientist.com>
7474 * gst/gstpad.c: (gst_pad_emit_have_data_signal):
7475 Put the mini_object into GValue as a mini_object,
7476 not a gpointer, since that's how we declared
7479 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7481 * examples/pwg/Makefile.am:
7484 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7486 * docs/pwg/building-testapp.xml:
7488 * examples/pwg/Makefile.am:
7491 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7494 * examples/Makefile.am:
7495 * examples/pwg/Makefile.am:
7496 * examples/pwg/extract.pl:
7497 Enable building the PWG examples.
7498 * docs/pwg/advanced-interfaces.xml:
7499 Add URI interface stub.
7500 * docs/pwg/advanced-types.xml:
7501 * docs/pwg/other-autoplugger.xml:
7502 * docs/pwg/appendix-porting.xml:
7504 Add porting guide (mostly stubs), remove autoplugging (see ADM).
7505 * docs/pwg/building-boiler.xml:
7506 * docs/pwg/building-chainfn.xml:
7507 * docs/pwg/building-pads.xml:
7508 * docs/pwg/building-props.xml:
7509 * docs/pwg/building-state.xml:
7510 * docs/pwg/building-testapp.xml:
7511 Update the building-*.xml parts for 0.9 changes. All examples
7512 code blocks compile in examples/pwg/*.
7514 2005-06-30 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7516 * docs/manual/advanced-autoplugging.xml:
7517 * docs/manual/appendix-checklist.xml:
7518 * docs/manual/appendix-integration.xml:
7519 * docs/manual/highlevel-components.xml:
7520 Fix playbin/decodebin examples, update docs a bit, mention bus
7521 instead of signals in various places, mention kmplayer and
7522 kaffeine since they have a working GStreamer backend in the KDE
7525 2005-06-30 Wim Taymans <wim@fluendo.com>
7528 * docs/design/draft-ghostpads.txt:
7529 * docs/design/draft-push-pull.txt:
7530 * docs/design/draft-query.txt:
7531 * docs/design/part-TODO.txt:
7532 * docs/design/part-query.txt:
7533 Added CHANGES-0.9 doc, updated status of other docs.
7538 2005-06-30 Wim Taymans <wim@fluendo.com>
7540 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
7541 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
7542 (gst_base_sink_change_state):
7543 * gst/base/gstbasesink.h:
7544 Some tweaks, only EOS and a buffer complete a preroll.
7546 2005-06-30 Andy Wingo <wingo@pobox.com>
7548 * gst/gstghostpad.c (gst_ghost_pad_do_activate_push): Proxy
7549 activate_push down to the internal pad as well.
7551 2005-06-30 Torsten Schoenfeld <kaffeetisch@gmx.de>
7553 Reviewed by: Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7555 * gst/gsttaginterface.c:
7556 Some documentation fixes (#307394 and #307397).
7558 2005-06-30 Antoine Tremblay <hexa00@gmail.com>
7560 Reviewed by: Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7562 * gst/gstvalue.c: (gst_value_intersect_list):
7563 Fix memleak (#309125).
7565 2005-06-30 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7567 * docs/manual/advanced-dataaccess.xml:
7568 Fix fakesrc example to compile; doesn't work, bug somewhere...?
7569 * docs/manual/basics-pads.xml:
7570 Add reference for filtered caps to above chapter.
7572 2005-06-30 Wim Taymans <wim@fluendo.com>
7574 * gst/gstbin.c: (clear_queue), (remove_all_from_queue),
7575 (gst_bin_change_state):
7577 Lame attempt at making the state change function a bit
7580 2005-06-30 Wim Taymans <wim@fluendo.com>
7582 * docs/design/part-clocks.txt:
7583 * docs/design/part-element-sink.txt:
7584 * docs/design/part-events.txt:
7585 * docs/design/part-preroll.txt:
7586 * docs/design/part-states.txt:
7587 Some more tweeks and additions to the docs.
7589 2005-06-30 Wim Taymans <wim@fluendo.com>
7591 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
7592 (default_have_data), (gst_pad_class_init), (gst_pad_init),
7593 (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
7594 (gst_pad_check_pull_range), (gst_pad_get_range),
7595 (gst_pad_pull_range), (gst_pad_push_event), (gst_pad_send_event):
7597 * gst/gstutils.c: (gst_atomic_int_set), (gst_pad_add_data_probe),
7598 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
7599 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
7600 (gst_pad_remove_buffer_probe):
7601 Removed atomic operations, use existing LOCK.
7602 Move exception handling out of main code path.
7604 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7606 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
7607 (silly_return_true_function), (gst_pad_class_init),
7608 (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
7609 (gst_pad_get_range), (gst_pad_pull_range), (gst_pad_push_event),
7610 (gst_pad_send_event):
7611 Fix accumulator, add default value by using _emitv() instead
7612 of _emit() for signal emission.
7614 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7616 * docs/manual/advanced-dataaccess.xml:
7617 * examples/manual/Makefile.am:
7619 * gst/gstpad.c: (_gst_do_pass_data_accumulator):
7622 2005-06-29 Tim-Philipp Müller <tim at centricular dot net>
7624 * gst/elements/gstfilesink.c: (gst_filesink_render):
7625 Simplify code so that we don't have to handle short
7626 writes and return GST_FLOW_ERROR if an error occured.
7628 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7630 * docs/gst/gstreamer-docs.sgml:
7633 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7635 * docs/gst/gstreamer-sections.txt:
7636 * docs/gst/tmpl/gstpad.sgml:
7637 * docs/gst/tmpl/gstprobe.sgml:
7639 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
7640 (gst_pad_class_init), (gst_pad_init), (gst_pad_chain),
7641 (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
7642 (gst_pad_push_event), (gst_pad_send_event):
7644 * gst/gstutils.c: (gst_pad_add_data_probe),
7645 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
7646 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
7647 (gst_pad_remove_buffer_probe):
7649 Remove old probes, add new g-signal-based probes and some utility
7652 2005-06-29 Edward Hervey <edward@fluendo.com>
7654 * gst/gstelementfactory.c:
7657 Moved gst_element_factory_can_[sink|src]_caps() to gstutils and added
7658 the definition to the header file.
7660 2005-06-29 Andy Wingo <wingo@pobox.com>
7662 * docs/gst/Makefile.am (scan-build.stamp): Totally only check
7663 plugins from the source directory.
7665 2005-06-29 Wim Taymans <wim@fluendo.com>
7667 * docs/gst/tmpl/gstbuffer.sgml:
7668 * docs/gst/tmpl/gstclock.sgml:
7669 Some fixings for blantently wrong text.
7671 2005-06-29 Thomas Vander Stichele <thomas at apestaart dot org>
7673 * check/Makefile.am:
7674 * gst/gst.c: (add_path_func), (init_pre):
7675 * gst/gstregistry.c: (gst_registry_add_path):
7676 add A GST_PLUGIN_PATH_ONLY env var; if it is set, it will
7677 only scan the GST_PLUGIN_PATH locations, and not add
7680 2005-06-29 Thomas Vander Stichele <thomas at apestaart dot org>
7682 * docs/gst/gstreamer-sections.txt:
7683 * docs/gst/tmpl/gstbasesrc.sgml:
7690 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7692 * docs/manual/advanced-autoplugging.xml:
7693 Fix autoplugging example.
7695 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7697 * docs/manual/advanced-autoplugging.xml:
7698 * docs/manual/mime-world.fig:
7699 Try to get autoplugging working, fix type detection. Fix text
7700 in hello-world image.
7702 2005-06-29 Wim Taymans <wim@fluendo.com>
7704 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
7705 (gst_base_sink_change_state):
7709 map SIGNAL and BROADCAST to the right function.
7712 Remove redundant braces.
7714 * gst/gstpad.c: (gst_pad_set_caps):
7715 Don't call setcaps function when reseting caps to NULL.
7717 * gst/gstsystemclock.c: (gst_system_clock_dispose),
7718 (gst_system_clock_async_thread), (gst_system_clock_id_wait_async),
7719 (gst_system_clock_id_unschedule):
7720 Use BROADCAST as this is what we do.
7722 2005-06-29 Wim Taymans <wim@fluendo.com>
7724 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
7725 We are actually prerolling before commiting the state
7728 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7730 * docs/manual/advanced-clocks.xml:
7731 * docs/manual/advanced-interfaces.xml:
7732 * docs/manual/advanced-metadata.xml:
7733 * docs/manual/advanced-position.xml:
7734 * docs/manual/advanced-schedulers.xml:
7735 * docs/manual/advanced-threads.xml:
7736 * docs/manual/appendix-porting.xml:
7737 * docs/manual/basics-bins.xml:
7738 * docs/manual/basics-bus.xml:
7739 * docs/manual/basics-elements.xml:
7740 * docs/manual/basics-helloworld.xml:
7741 * docs/manual/basics-pads.xml:
7742 * docs/manual/highlevel-components.xml:
7743 * docs/manual/manual.xml:
7744 * docs/manual/thread.fig:
7745 Update (until threads/scheduling) Application Development Manual;
7746 remove GstThread, add GstBus, add simple porting checklist, add
7747 documentation for tag writing, clocks, make all examples until this
7748 part compile and run.
7749 * examples/manual/Makefile.am:
7750 Update from changes to Application Development Manual; add bus
7751 example, remove thread example.
7753 2005-06-28 Wim Taymans <wim@fluendo.com>
7755 * gst/gstbus.c: (gst_bus_post), (gst_bus_have_pending),
7756 (gst_bus_set_flushing), (gst_bus_pop), (gst_bus_peek),
7757 (gst_bus_source_dispatch):
7758 Add debugging messages.
7759 Make internal methods static.
7760 Handle the case where the bus is flushed in the handler.
7762 * gst/gstelement.c: (gst_element_get_bus):
7763 Fix refcount in _get_bus();
7765 * gst/gstpipeline.c: (gst_pipeline_change_state),
7766 (gst_pipeline_get_clock_func):
7767 Clock refcounting fixes.
7768 Handle the case where preroll timed out more gracefully.
7770 * gst/gstsystemclock.c: (gst_system_clock_dispose):
7771 Clean up the internal thread in dispose. This is needed
7772 for subclasses that actually get disposed.
7774 * gst/schedulers/threadscheduler.c:
7775 (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
7776 (gst_thread_scheduler_dispose):
7777 Free thread pool in dispose.
7779 2005-06-28 Andy Wingo <wingo@pobox.com>
7781 * tests/network-clock-utils.scm (debug, print-event): New utils.
7783 * tests/network-clock.scm (*debug*, *with-graph*): New parameters.
7784 (*packet-loss*): Unified loss probability.
7785 (network-time): Report out-of-band events.
7787 * tests/plot-data: Add support for out-of-band events. Hack it
7788 into this script instead of passing it down the pipe; should fix
7791 2005-06-28 Wim Taymans <wim@fluendo.com>
7793 * docs/gst/gstreamer.types:
7794 * docs/gst/tmpl/gstbasesrc.sgml:
7795 * docs/gst/tmpl/gstpad.sgml:
7798 2005-06-28 Wim Taymans <wim@fluendo.com>
7800 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
7801 (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_acceptcaps),
7802 (gst_proxy_pad_do_fixatecaps):
7803 Correctly proxy the check_pull_range function.
7805 2005-06-28 Andy Wingo <wingo@pobox.com>
7807 * tests/network-clock.scm: Removed need for slib.
7809 2005-06-28 Wim Taymans <wim@fluendo.com>
7811 * gst/base/gstbasesink.c: (gst_basesink_set_pad_functions),
7812 (gst_basesink_preroll_queue_flush):
7813 * gst/base/gstbasesrc.c: (gst_basesrc_set_dataflow_funcs):
7814 * gst/elements/gsttee.c: (gst_tee_update_pad_functions):
7815 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
7816 (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
7817 (gst_proxy_pad_set_property):
7820 * gst/gstqueue.c: (gst_queue_init):
7821 The deprecated pad loop function is removed now.
7823 2005-06-28 Andy Wingo <wingo@pobox.com>
7825 * tests/network-clock.scm (*timeout*, *send-loss*, *recv-loss*):
7826 New parameters, simulate network packet loss.
7828 * tests/network-clock-utils.scm: Initialize the RNG.
7830 2005-06-28 Wim Taymans <wim@fluendo.com>
7832 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_flush),
7833 (gst_basesink_event), (gst_basesink_deactivate):
7834 Flushing the preroll queue always needs to unlock the waiters.
7836 2005-06-28 Edward Hervey <edward@fluendo.com>
7838 * gst/gstpipeline.c: (gst_pipeline_send_event):
7839 Wheen a seek was successful on a pipeline, set the stream_time to the
7840 seek offset in order to have a synchronized stream_time.
7842 2005-06-28 Wim Taymans <wim@fluendo.com>
7844 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
7845 (gst_proxy_pad_do_getrange), (gst_proxy_pad_do_checkgetrange),
7846 (gst_proxy_pad_do_getcaps), (gst_proxy_pad_do_acceptcaps),
7847 (gst_proxy_pad_do_fixatecaps):
7848 Call wrapper function instead of just calling the function
7849 pointers. This takes care of any locking and whatmore.
7851 2005-06-28 Wim Taymans <wim@fluendo.com>
7853 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push),
7854 (gst_pad_pull_range):
7856 CONNECTED -> LINKED.
7858 2005-06-28 Andy Wingo <wingo@pobox.com>
7860 * *.c: Don't cast to GST_OBJECT when reffing or unreffing. Large
7861 source-munging commit!!!
7863 * gst/gstobject.c (gst_object_unref, gst_object_ref)
7864 (gst_object_sink): Take gpointer arguments, not GstObject --
7865 avoids casts. Like GLib.
7867 * gst/gstghostpad.c (gst_proxy_pad_do_activate): Don't proxy
7870 2005-06-27 Andy Wingo <wingo@pobox.com>
7872 * gst/base/gsttypefindhelper.c (gst_type_find_helper): Unref any
7875 * gst/gsttrace.c (gst_alloc_trace_list_sorted): New helper,
7876 returns a sorted copy of the trace list.
7877 (gst_alloc_trace_print_live): New API, only prints traces with
7878 live objects. Sort the list.
7879 (gst_alloc_trace_print_all): Sort the list.
7880 (gst_alloc_trace_print): Align columns.
7882 * gst/elements/gstttypefindelement.c:
7883 * gst/elements/gsttee.c:
7884 * gst/base/gstbasesrc.c:
7885 * gst/base/gstbasesink.c:
7886 * gst/base/gstbasetransform.c:
7887 * gst/gstqueue.c: Adapt for pad activation changes.
7889 * gst/gstpipeline.c (gst_pipeline_init): Unref after parenting
7891 (gst_pipeline_dispose): Drop ref on sched.
7893 * gst/gstpad.c (gst_pad_init): Set the default activate func.
7894 (gst_pad_activate_default): Push mode by default.
7895 (pre_activate_switch, post_activate_switch): New stubs, things to
7896 do before and after switching activation modes on pads.
7897 (gst_pad_set_active): Take a boolean and not a mode, dispatch to
7898 the pad's activate function to choose which mode to activate.
7899 Shortcut on deactivation and call the right function directly.
7900 (gst_pad_activate_pull): New API, (de)activates a pad in pull
7902 (gst_pad_activate_push): New API, same for push mode.
7903 (gst_pad_set_activate_function)
7904 (gst_pad_set_activatepull_function)
7905 (gst_pad_set_activatepush_function): Setters for new API.
7907 * gst/gstminiobject.c (gst_mini_object_new, gst_mini_object_free):
7908 Trace all miniobjects.
7909 (gst_mini_object_make_writable): Unref the arg if we copy, like
7910 gst_caps_make_writable.
7912 * gst/gstmessage.c (_gst_message_initialize): No trace init.
7914 * gst/gstghostpad.c (gst_proxy_pad_do_activate)
7915 (gst_proxy_pad_do_activatepull, gst_proxy_pad_do_activatepush):
7916 Adapt for new pad API.
7918 * gst/gstevent.c (_gst_event_initialize): Don't initialize trace.
7921 * gst/gstelement.c (gst_element_iterate_src_pads)
7922 (gst_element_iterate_sink_pads): New API functions.
7924 * gst/gstelement.c (iterator_fold_with_resync): New utility,
7925 should fold into gstiterator.c in some form.
7926 (gst_element_pads_activate): Simplified via use of fold and
7927 delegation of decisions to gstpad->activate.
7929 * gst/gstbus.c (gst_bus_source_finalize): Set the bus to NULL,
7932 * gst/gstbuffer.c (_gst_buffer_initialize): Ref the buffer type
7933 class once in init, like gstmessage. Didn't run into this issue
7934 but it seems correct. Don't initialize a trace, gstminiobject does
7937 * check/pipelines/simple_launch_lines.c (test_stop_from_app): New
7938 test, runs fakesrc ! fakesink, stopping on ::handoff via a message
7940 (assert_live_count): New util function, uses alloc traces to check
7943 * check/gst/gstghostpad.c (test_ghost_pads): More refcount checks.
7944 To be modified when unlink drops the internal pad.
7946 2005-06-27 Wim Taymans <wim@fluendo.com>
7948 * gst/gstbin.c: (gst_bin_get_state), (gst_bin_iterate_state_order),
7949 (gst_bin_change_state):
7950 Cleanup the get_state() function a little, make sure it
7951 iterates the same set of elements.
7952 Added stub iterate_state_order().
7954 2005-06-27 Thomas Vander Stichele <thomas at apestaart dot org>
7956 * docs/gst/gstreamer-docs.sgml:
7957 * docs/gst/gstreamer-sections.txt:
7958 * docs/gst/gstreamer.types:
7959 * docs/gst/tmpl/gstbasesink.sgml:
7960 * docs/gst/tmpl/gstbasesrc.sgml:
7961 * docs/gst/tmpl/gstbasetransform.sgml:
7962 * docs/gst/tmpl/gstelement.sgml:
7963 * docs/gst/tmpl/gstiterator.sgml:
7964 * gst/base/gstbasesrc.c:
7965 * gst/base/gstbasesrc.h:
7966 * gst/base/gstbasetransform.h:
7968 * gst/gstiterator.h:
7969 adding basetransform and iterator docs
7971 2005-06-27 Andy Wingo <wingo@pobox.com>
7973 * docs/design/part-activation.txt: Notes on how activation should
7974 work -- not quite implemented yet.
7976 2005-06-25 Wim Taymans <wim@fluendo.com>
7978 * gst/gstghostpad.c: (gst_proxy_pad_do_chain):
7979 At least get the chain function correct, needs more
7982 2005-06-25 Wim Taymans <wim@fluendo.com>
7984 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
7985 (gst_basesink_handle_object), (gst_basesink_event),
7986 (gst_basesink_do_sync), (gst_basesink_handle_event),
7987 (gst_basesink_change_state):
7989 Right, two problems here: ghostpads don't take locks and
7990 glib _rec_mutex_lock_full() with depth==0 still locks.
7991 Catch illegal locking and g_warn them.
7993 2005-06-25 Wim Taymans <wim@fluendo.com>
7995 * check/states/sinks.c: (START_TEST), (gst_object_suite):
7996 Have to check for completion now...
7998 2005-06-25 Wim Taymans <wim@fluendo.com>
8000 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
8001 (gst_basesink_handle_object), (gst_basesink_event),
8002 (gst_basesink_do_sync), (gst_basesink_handle_event),
8003 (gst_basesink_change_state):
8005 Unlock STREAM_LOCK whatever the recursion was.
8007 2005-06-25 Wim Taymans <wim@fluendo.com>
8009 * gst/base/gstbasesink.c: (gst_basesink_set_property),
8010 (gst_basesink_preroll_queue_empty),
8011 (gst_basesink_preroll_queue_flush), (gst_basesink_handle_object),
8012 (gst_basesink_event), (gst_basesink_do_sync),
8013 (gst_basesink_handle_event), (gst_basesink_handle_buffer),
8014 (gst_basesink_chain), (gst_basesink_loop), (gst_basesink_activate),
8015 (gst_basesink_change_state):
8016 Reworked the base sink, handle event and buffer serialisation
8017 correctly and removed possible deadlock.
8018 Handle EOS correctly.
8020 2005-06-25 Wim Taymans <wim@fluendo.com>
8022 * gst/gstpipeline.c: (is_eos), (pipeline_bus_handler),
8023 (gst_pipeline_change_state):
8024 * tools/gst-launch.c: (check_intr), (event_loop), (main):
8025 Allow elements to post EOS in the state change function.
8026 Fix up -launch, make it exit the poll loop when the
8027 pipeline actually changed state.
8028 Fix up warning parsing in -launch.
8030 2005-06-25 Wim Taymans <wim@fluendo.com>
8032 * gst/elements/gsttee.c: (gst_tee_chain), (gst_tee_loop),
8033 (gst_tee_sink_activate):
8034 Core takes STREAM_LOCK for us now.
8036 2005-06-25 Wim Taymans <wim@fluendo.com>
8038 * gst/gstelement.c: (gst_element_get_state_func),
8039 (gst_element_set_state):
8041 * gst/gstmessage.c: (gst_message_parse_error),
8042 (gst_message_parse_warning):
8043 Keep track of current target state while performing a state
8044 change so that subclasses can do something interesting.
8045 Fix parsing of warning/error messages when GError is NULL.
8047 2005-06-24 Thomas Vander Stichele <thomas at apestaart dot org>
8049 * docs/gst/Makefile.am:
8050 * docs/gst/gstreamer-docs.sgml:
8051 * docs/gst/gstreamer-sections.txt:
8052 * docs/gst/gstreamer.types:
8053 * docs/gst/tmpl/gstbasesink.sgml:
8054 * docs/gst/tmpl/gstbasesrc.sgml:
8055 * docs/gst/tmpl/gstbin.sgml:
8056 * docs/gst/tmpl/gstcompat.sgml:
8057 * docs/gst/tmpl/gstfakesink.sgml:
8058 * docs/gst/tmpl/gstfakesrc.sgml:
8059 * docs/gst/tmpl/gstfilesink.sgml:
8060 * docs/gst/tmpl/gstfilesrc.sgml:
8061 * docs/gst/tmpl/gstindex.sgml:
8062 * docs/manual/appendix-quotes.xml:
8063 * gst/base/gstbasesrc.h:
8064 * gst/elements/gstfakesrc.h:
8066 start pulling in base classes and elements in our docs
8068 2005-06-24 Stefan Kost <ensonic@users.sf.net>
8070 * docs/gst/Makefile.am:
8071 * docs/libs/Makefile.am:
8072 fixed make distcheck with gtk-doc 1.3
8074 2005-06-23 Wim Taymans <wim@fluendo.com>
8076 * gst/gstelement.c: (gst_element_get_state_func),
8077 (gst_element_set_state), (gst_element_change_state):
8078 When the state did not change, also report NO_PREROLL
8081 2005-06-23 Wim Taymans <wim@fluendo.com>
8083 * gst/gstpad.c: (gst_pad_event_default):
8084 * gst/gstqueue.c: (gst_queue_loop):
8085 No unsafe task pausing please.
8087 2005-06-23 Wim Taymans <wim@fluendo.com>
8089 * gst/schedulers/threadscheduler.c:
8090 (gst_thread_scheduler_task_start),
8091 (gst_thread_scheduler_task_pause), (gst_thread_scheduler_func):
8092 Ref the task before pushing it on the threadpool. This
8093 makes sure that we have a ref when the threadfunction is
8096 2005-06-23 Andy Wingo <wingo@pobox.com>
8098 * gst/base/gstbasesrc.c (gst_basesrc_get_range): Check if the
8099 offset is greater than the file's size.
8101 * gst/gstobject.h (GST_CLASS_LOCK, GST_CLASS_TRYLOCK)
8102 (GST_CLASS_UNLOCK, GST_CLASS_GET_LOCK, GstObjectClass)
8103 * gst/gstobject.c (gst_object_class_init): Make the class lock
8104 recursive. Wim won't let me drop deep_notify. Decodebin works
8107 * gst/gstghostpad.c (on_int_notify): Catches notify::caps on the
8108 internal pad, and hacks accordingly. Doesn't do it on the target
8109 pad because we change its caps. Probably catches all cases of
8111 (gst_ghost_pad_set_property): Connect to notify::caps as
8114 * tests/network-clock.scm (plot-simulation): Pipe data to the
8115 elite python skript.
8117 * tests/network-clock-utils.scm (define-parameter): New macro,
8118 defines a parameter that can be set via the command line.
8119 (set-parameter!, parse-parameter-arguments): Command line args
8122 * tests/plot-data: Simple matplotlib-based plotter, takes input on
8125 2005-06-23 Jan Schmidt <thaytan@mad.scientist.com>
8127 * gst/elements/gsttypefindelement.c:
8128 (gst_type_find_element_handle_event):
8129 Don't restart typefinding on a discont.
8130 * gst/gstelement.c: (gst_element_set_state):
8132 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_send_event):
8133 Allow changing mode of an active pad.
8135 * gst/registries/gstlibxmlregistry.c: (load_feature):
8136 Don't cast a static pad template to a normal pad template.
8138 2005-06-23 Thomas Vander Stichele <thomas at apestaart dot org>
8140 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
8141 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
8142 remove gst_strtoll completely, since it didn't actually do
8143 anything more than what g_ascii_strtoull already does.
8144 check for range errors when deserializing
8145 do a cast for the unsigned cases; but further fixing needs
8146 a decision on what the interpretation of "(int)" and
8147 deserialization should be for values that fall outside the
8148 type's boundaries (ie, refuse, or interpret as casting)
8150 2005-06-23 Wim Taymans <wim@fluendo.com>
8152 * check/Makefile.am:
8153 * check/states/sinks.c: (START_TEST), (gst_object_suite), (main):
8154 * docs/design/part-live-source.txt:
8155 * docs/design/part-states.txt:
8156 * gst/base/gstbasesrc.c: (gst_basesrc_init),
8157 (gst_basesrc_set_live), (gst_basesrc_is_live),
8158 (gst_basesrc_get_range), (gst_basesrc_activate),
8159 (gst_basesrc_change_state):
8160 * gst/base/gstbasesrc.h:
8161 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
8162 (gst_fakesrc_set_property), (gst_fakesrc_get_property):
8163 * gst/gstbin.c: (gst_bin_get_state), (gst_bin_change_state):
8164 * gst/gstelement.c: (gst_element_get_state_func),
8165 (gst_element_set_state):
8168 * tools/gst-launch.c: (event_loop), (main):
8169 Added support for live sources and other elements that
8171 Updated design docs, added live-source design doc.
8172 Implemented live source functionality in basesrc
8173 Fix error condition in _bin_get_state()
8174 Implement live source handling in -launch.
8175 Added check for live sources.
8176 Fixed case in GstBin where elements were changed state
8180 2005-06-23 Andy Wingo <wingo@pobox.com>
8182 * check/gst/gstpad.c (test_get_allowed_caps, test_refcount): Fix
8185 * gst/gstpad.c (gst_pad_set_caps): Remove needless refs,
8186 gst_caps_replace takes care of this for us.
8188 * gst/gstghostpad.c (gst_proxy_pad_do_setcaps): Call the full
8189 gst_pad_set_caps on the target, not just its setcaps() function.
8191 * tests/network-clock.scm:
8192 * tests/network-clock-utils.scm: A network clock simulator.
8193 Something of an algorithmic testbed before doing something in C.
8195 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
8197 * check/Makefile.am:
8198 * check/gst/capslist.h:
8199 copy over from 0.8, and add two with bitmasks specified with
8201 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
8202 add test to parse everything from capslist.h
8203 * check/gst/gststructure.c: (START_TEST), (gst_value_suite),
8205 add test for structure deserialization
8206 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
8207 add tests for deserialization of strings to int types
8208 * gst/gststructure.c: (gst_structure_nth_field_name):
8209 * gst/gststructure.h:
8210 add a way to get the name of a field referenced by index
8211 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
8212 instead of checking if the resulting long long lies between
8213 min and max, we check if the long long would fit into
8214 a number of bytes for the final type.
8215 This fixes cases where a string represents 2^32 - 1, which
8216 when cast to int would be the (valid) -1, but is bigger than
8219 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
8221 * gst/parse/grammar.y:
8222 add a log line for type deserialization
8224 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
8226 * check/gst/gstvalue.c: (START_TEST):
8227 * gst/gstvalue.c: (gst_value_deserialize):
8228 return long long, not int, so gint64 deserialization actually
8229 works. Is there any flag that makes the compiler check this ?
8232 2005-06-22 Wim Taymans <wim@fluendo.com>
8235 Added convenience macros for setting buffers in GValue.
8237 2005-06-21 Thomas Vander Stichele <thomas at apestaart dot org>
8239 * check/gst/.cvsignore:
8240 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
8241 add a test deserializing int64, and comment part out because
8244 2005-06-21 Thomas Vander Stichele <thomas at apestaart dot org>
8246 * check/Makefile.am:
8247 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite), (main):
8248 * testsuite/Makefile.am:
8249 * testsuite/caps/Makefile.am:
8250 * testsuite/caps/value_serialize.c:
8251 * testsuite/test_gst_init.c:
8252 move a value_serialize test over
8254 2005-06-20 Wim Taymans <wim@fluendo.com>
8259 * gst/gstvalue.c: (gst_value_compare_buffer),
8260 (gst_value_serialize_buffer), (gst_value_deserialize_buffer),
8261 (gst_value_compare_flags), (gst_value_serialize_flags),
8262 (gst_value_deserialize_flags), (_gst_value_initialize):
8263 Fix serialisation of buffers, they are not boxed types anymore
8265 2005-06-20 Wim Taymans <wim@fluendo.com>
8267 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
8268 Testcase to show error in buffer-on-caps serialisation.
8270 2005-06-20 Andy Wingo <wingo@pobox.com>
8272 * docs/random/wingo/porting-plugins-to-0.9: A pitiful document I
8273 will be adding to later.
8275 * gst/gstsystemclock.c (gst_system_clock_init): Unlock the clock
8276 if its socks fill with rocks.
8277 (gst_system_clock_obtain): Set the name on object construction.
8278 Avoid double-checked locking.
8280 2005-06-20 Tim-Philipp Müller <tim at centricular dot net>
8282 * gst/gsturi.c: (gst_element_make_from_uri):
8283 Fix potential endless loop.
8285 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
8287 * check/Makefile.am:
8289 * check/gst/gsttag.c: (check_tags), (START_TEST), (gst_tag_suite),
8291 move over from testsuite dir and clean up
8294 * testsuite/Makefile.am:
8295 * testsuite/tags/.cvsignore:
8296 * testsuite/tags/Makefile.am:
8297 * testsuite/tags/merge.c:
8298 remove testsuite/tags
8300 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
8302 * docs/gst/gstreamer-sections.txt:
8303 * docs/gst/tmpl/gstenumtypes.sgml:
8304 * win32/gstenumtypes.c:
8305 clean up documentation build a little
8307 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
8310 add macros for checking refcounts on objects and caps
8311 * check/gst/gstpad.c: (START_TEST), (gst_pad_suite):
8312 add some more unit tests
8313 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
8314 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_allowed_caps):
8315 fix leaked refcounts (I hope :)) so unittest works
8319 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
8321 * configure.ac: back to HEAD
8323 === release 0.9.1 ===
8325 2005-06-17 Thomas Vander Stichele <thomas at apestaart dot org>
8331 2005-06-17 Andy Wingo <wingo@pobox.com>
8333 * gst/base/gstbasesink.c (gst_basesink_chain): Remove bogus
8334 assert; it's always possible that the pad gets deactivated in
8335 between the checks in gstpad.c and the implementation. Rely on
8336 finish_preroll() to return a FLUSHING or similar instead of on the
8339 * gst/base/gstbasesink.c (gst_basesink_event): Only wait for the
8340 clock and post an EOS message if we come out of finish_preroll in
8343 2005-06-16 David Schleef <ds@schleef.org>
8345 * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
8346 (gst_capsfilter_set_property): Allow NULL as possible value
8347 for filter_caps property, indicating GST_CAPS_ANY.
8349 2005-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
8351 * gst/elements/gstfakesrc.c: (gst_fakesrc_create):
8353 * gst/schedulers/Makefile.am:
8355 * gstreamer.spec.in:
8358 2005-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
8360 * gstreamer.spec.in:
8363 2005-06-08 Andy Wingo <wingo@pobox.com>
8365 * gst/gstutils.c: RPAD fixes all around.
8366 (gst_element_link_pads): Refcounting fixes.
8368 * tools/gst-inspect.c:
8369 * tools/gst-xmlinspect.c:
8371 * gst/base/gsttypefindhelper.c:
8372 * gst/base/gstbasesink.c:
8373 * gst/gstqueue.c: RPAD fixes.
8375 * gst/gstghostpad.h:
8376 * gst/gstghostpad.c: New ghost pad implementation as full proxy
8377 pads. The tricky thing is they provide both source and sink
8378 interfaces, since they proxy the internal pad for the external
8379 pad, and vice versa. Implement with lower-level ProxyPad objects,
8380 with the interior proxy pad as a child of the exterior ghost pad.
8381 Should write a doc on this.
8383 * gst/gstpad.h: s/RPAD/PAD/, s/RealPad/Pad/.
8384 (gst_pad_set_name, gst_pad_set_parent): Macros removed, use
8387 * gst/gstpad.c: Big changes. No more stub base GstPad, now all
8388 pads are real pads. No ghost pads in this file. Not documenting
8389 the myriad s/RPAD/PAD/ and REALIZE fixes.
8390 (gst_pad_class_init): Add properties for "direction" and
8391 "template". Both are construct-only, so they can't change during
8392 the life of the pad. Fixes properly deriving from GstPad.
8393 (gst_pad_custom_new, gst_pad_custom_new_from_template): Gone. For
8394 derived objects, just set properties when creating the objects via
8396 (gst_pad_get_parent): Implement as a function, return NULL if the
8397 parent is not an element.
8398 (gst_pad_get_real_parent, gst_pad_add_ghost_pad)
8399 (gst_pad_remove_ghost_pad, gst_pad_realize): Removed.
8401 * gst/gstobject.c (gst_object_class_init): Make name a construct
8402 property. Don't set it in the object init.
8404 * gst/gstelement.c (gst_element_add_pad): Don't allow adding pads
8405 with UNKNOWN direction.
8406 (gst_element_add_ghost_pad): Remove non-orthogonal API. Replace
8407 with gst_element_add_pad (e, gst_ghost_pad_new (name, pad)).
8408 (gst_element_remove_pad): Remove ghost-pad special cases.
8409 (gst_element_pads_activate): Remove rpad cruft.
8411 * gst/gstbin.c (gst_bin_change_state): Use gst_pad_get_parent to
8412 catch the pad's-parent-not-an-element case.
8414 * gst/gst.h: Include gstghostpad.h.
8416 * gst/gst.c (init_post): No more real, ghost pads.
8418 * gst/Makefile.am: Add gstghostpad.[ch].
8420 * check/Makefile.am:
8421 * check/gst/gstbin.c:
8422 * check/gst/gstghostpad.c (test_ghost_pads): Check that linking
8423 into a bin creates ghost pads, and that the refcounts are right.
8424 Partly moved from gstbin.c.
8426 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
8428 * check/gst-libs/.cvsignore:
8429 * check/gst/.cvsignore:
8430 * check/pipelines/.cvsignore:
8432 * check/pipelines/cleanup.c: (setup_pipeline), (run_pipeline),
8433 (START_TEST), (cleanup_suite), (main):
8434 add some tests related to cleanup after running pipelines
8436 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
8438 * check/gst/gstbuffer.c: (START_TEST), (gst_test_suite), (main):
8439 add a testsuite for GstBuffer
8441 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
8443 * gst/gstminiobject.h:
8444 add defines for accessing the refcount
8446 2005-06-03 Stefan Kost <ensonic@users.sf.net>
8448 * Makefile.am: added support for html unit test coverage reports
8450 2005-06-03 Jan Schmidt <thaytan@mad.scientist.com>
8452 * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
8453 Free existing caps if the capsfilter changes. Add a FIXME about
8454 setting those caps on the pads.
8456 * gst/gstutils.c: (gst_element_get_compatible_pad), (ghost_up):
8457 Before adding a ghost pad to a parent bin, check that there isn't
8458 already one for the element on the bin. Prevents infinite recursion
8459 when using decodebin in parse pipelines. Andy says he'll rewrite the
8460 way this works anyway, so ignore the hack.
8462 2005-06-02 Andy Wingo <wingo@pobox.com>
8464 * gst/elements/gsttypefindelement.c (do_pull_typefind): Query the
8465 file size, pass it on to the type find helper.
8467 * gst/base/gstbasesrc.c (gst_basesrc_do_seek): Set the
8468 segment_start and segment_end properly according to the seek
8469 method. Segment_end is still a bit flaky because offset can be
8470 negative for CUR and END cases, but it takes -1 as an "unset"
8473 2005-06-02 Wim Taymans <wim@fluendo.com>
8475 * gst/base/gstbasesink.c: (gst_basesink_pad_buffer_alloc),
8476 (gst_base_sink_buffer_alloc), (gst_basesink_preroll_queue_push),
8477 (gst_basesink_activate):
8478 * gst/base/gstbasesink.h:
8479 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
8480 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
8481 (gst_pad_query), (gst_pad_start_task):
8483 * gst/gstqueue.c: (gst_queue_bufferalloc),
8484 (gst_queue_handle_sink_event), (gst_queue_chain):
8485 Bufferalloc: return GstFlowReturn to more accuratly report
8486 why allocation failed.
8488 2005-06-02 Wim Taymans <wim@fluendo.com>
8490 * gst/gstpipeline.c: (gst_pipeline_send_event):
8491 Take snapshot of state without blocking.
8493 2005-06-02 Wim Taymans <wim@fluendo.com>
8495 * docs/design/part-TODO.txt:
8496 * docs/design/part-caps.txt:
8497 * docs/design/part-clocks.txt:
8498 * docs/design/part-negotiation.txt:
8499 * docs/design/part-preroll.txt:
8502 2005-05-30 Wim Taymans <wim@fluendo.com>
8504 * gst/elements/gstidentity.c: (gst_identity_event),
8505 (gst_identity_transform), (gst_identity_get_property):
8506 Protect last_message property as it is accessed from
8509 2005-05-30 Wim Taymans <wim@fluendo.com>
8511 * gst/gstelement.c: (gst_element_init),
8512 (gst_element_pads_activate), (gst_element_change_state):
8513 Slicker pad activation code.
8515 2005-05-30 Wim Taymans <wim@fluendo.com>
8519 * gst/gstelementfactory.h:
8521 Move elementfactory methods to separate .h file.
8523 2005-05-30 Wim Taymans <wim@fluendo.com>
8525 * docs/design/part-overview.txt:
8526 * gst/gstsystemclock.h:
8527 Small typo fixes, doc updates.
8529 2005-05-30 Wim Taymans <wim@fluendo.com>
8531 * gst/gst.c: (gst_init_get_popt_table), (init_post),
8532 (init_popt_callback):
8533 Remove cpu-opt flag.
8535 2005-05-30 Wim Taymans <wim@fluendo.com>
8537 * gst/gstbuffer.c: (gst_subbuffer_finalize),
8538 (gst_buffer_create_sub), (gst_buffer_is_span_fast):
8540 Avoid typechecking in places where not needed.
8541 Added accessor for malloc_data.
8543 2005-05-30 Wim Taymans <wim@fluendo.com>
8545 * gst/gstpad.c: (gst_real_pad_init), (gst_pad_set_active),
8546 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_accept_caps),
8547 (gst_pad_configure_sink), (gst_pad_configure_src),
8548 (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_send_event),
8549 (gst_pad_start_task):
8550 Propagate errors from _set_caps() in configure_src/sink
8551 functions instead of returning TRUE.
8552 FLUSH events can travel up and downstream
8555 2005-05-30 Wim Taymans <wim@fluendo.com>
8557 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
8558 (gst_basesink_activate):
8559 Handle EOS in preroll.
8561 2005-05-30 Wim Taymans <wim@fluendo.com>
8563 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
8564 (gst_queue_loop), (gst_queue_handle_src_event):
8565 Remove old pieces of code
8566 Flushing the queue in an upstream event is a very bad idea.
8568 2005-05-26 Andy Wingo <wingo@pobox.com>
8570 * gst/gstminiobject.c (gst_value_mini_object_collect): Use
8571 gst_value_set_mini_object so as to add a ref on the object (which
8572 will be removed when the value is unset).
8574 * gst/elements/gstfakesink.c (gst_fakesink_class_init): Fix signal
8575 arg type in ::handoff.
8577 * gst/gstelement.c (gst_element_change_state): Also deactivate
8578 pads in READY->NULL, just in case the element didn't make it to
8579 PAUSED. Wingo tested, Wim approved.
8581 2005-05-26 Wim Taymans <wim@fluendo.com>
8583 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
8584 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
8585 (gst_pad_query), (gst_pad_send_event), (gst_pad_start_task):
8586 A flushing pad cannot be used to alloc_buffer from.
8588 2005-05-26 Wim Taymans <wim@fluendo.com>
8590 * gst/gstbus.c: (gst_bus_init), (gst_bus_dispose), (gst_bus_post),
8591 (gst_bus_pop), (gst_bus_source_prepare), (gst_bus_source_check),
8592 (gst_bus_source_dispatch), (gst_bus_source_finalize),
8593 (gst_bus_create_watch), (gst_bus_add_watch_full):
8595 Implement a real GSource and use g_main_context_wakeup() to
8596 signal new messages instead of the socketpair.
8598 2005-05-25 Wim Taymans <wim@fluendo.com>
8600 * gst/gstbin.c: (bin_element_is_sink), (has_ancestor),
8601 (bin_element_is_semi_sink), (append_child), (gst_bin_change_state):
8602 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
8603 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
8604 (gst_pad_send_event), (gst_pad_start_task):
8605 * gst/gstqueue.c: (gst_queue_init), (gst_queue_locked_flush),
8606 (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
8607 (gst_queue_sink_activate), (gst_queue_src_activate),
8608 (gst_queue_change_state):
8610 Fix state changes for non sinks. We now change sinks, then elements
8611 with unconnected srcpads, then the rest.
8612 More efficient queue unlocking in flush and state changes.
8613 Set the pad activate mode even if it does not have an activate
8616 2005-05-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8618 * gst/base/gstbasesrc.c: (gst_basesrc_activate):
8619 Don't go in pull mode for non-seekable sources.
8620 * gst/elements/gsttypefindelement.h:
8621 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
8622 (gst_type_find_element_dispose), (gst_type_find_handle_src_query),
8623 (free_entry), (stop_typefinding),
8624 (gst_type_find_element_handle_event), (find_peek),
8625 (gst_type_find_element_chain), (do_pull_typefind),
8626 (gst_type_find_element_change_state):
8627 Allow typefinding (w/o seeking) in push-mode, simplified version
8629 * gst/gstutils.c: (gst_buffer_join):
8631 gst_buffer_join() from 0.8.
8633 2005-05-25 Wim Taymans <wim@fluendo.com>
8635 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
8636 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
8637 (gst_pad_send_event), (gst_pad_start_task):
8638 Disable attempt at mode switching until it is figured out.
8640 2005-05-25 Wim Taymans <wim@fluendo.com>
8642 * gst/base/gstadapter.c: (gst_adapter_peek), (gst_adapter_flush):
8643 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
8644 (gst_basesink_finish_preroll), (gst_basesink_chain),
8645 (gst_basesink_loop), (gst_basesink_activate),
8646 (gst_basesink_change_state):
8647 * gst/base/gstbasesrc.c: (gst_basesrc_do_seek),
8648 (gst_basesrc_get_range), (gst_basesrc_loop),
8649 (gst_basesrc_activate):
8650 * gst/elements/gsttee.c: (gst_tee_sink_activate):
8651 * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
8652 (gst_real_pad_init), (gst_real_pad_set_property),
8653 (gst_real_pad_get_property), (gst_pad_set_active),
8654 (gst_pad_is_active), (gst_pad_get_query_types), (gst_pad_unlink),
8655 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_real_parent),
8656 (gst_real_pad_get_caps_unlocked), (gst_pad_peer_get_caps),
8657 (gst_pad_accept_caps), (gst_pad_get_peer), (gst_pad_realize),
8658 (gst_pad_event_default_dispatch), (gst_pad_event_default),
8659 (gst_pad_dispatcher), (gst_pad_query), (gst_real_pad_dispose),
8660 (gst_pad_save_thyself), (handle_pad_block), (gst_pad_chain),
8661 (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
8662 (gst_pad_send_event), (gst_pad_start_task), (gst_pad_pause_task),
8663 (gst_pad_stop_task):
8665 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
8666 (gst_queue_loop), (gst_queue_src_activate):
8667 * gst/gsttask.c: (gst_task_init), (gst_task_set_lock),
8668 (gst_task_get_state):
8670 * gst/schedulers/threadscheduler.c:
8671 (gst_thread_scheduler_task_start), (gst_thread_scheduler_func):
8672 Implement gst_pad_pause/start/stop_task(), take STREAM lock
8674 Remove ACTIVE pad flag, use FLUSHING everywhere
8675 Added _pad_chain(), _pad_get_range() to call chain/getrange
8677 Add locks around IS_FLUSHING when reading.
8678 Take STREAM lock in chain(), get_range() functions so plugins
8679 don't need to take it anymore.
8683 2005-05-25 Wim Taymans <wim@fluendo.com>
8685 * tools/gst-launch.c: (event_loop):
8686 Unref message after using its contents instead of
8689 2005-05-24 Wim Taymans <wim@fluendo.com>
8691 * docs/design/draft-ghostpads.txt:
8692 * docs/design/draft-push-pull.txt:
8693 * docs/design/draft-query.txt:
8694 * docs/design/part-overview.txt:
8695 Docs updates, added general overview doc.
8697 2005-05-21 David Schleef <ds@schleef.org>
8699 * docs/gst/tmpl/old/GstBin.sgml:
8700 * docs/gst/tmpl/old/GstBuffer.sgml:
8701 * docs/gst/tmpl/old/GstCaps.sgml:
8702 * docs/gst/tmpl/old/GstClock.sgml:
8703 * docs/gst/tmpl/old/GstCompat.sgml:
8704 * docs/gst/tmpl/old/GstData.sgml:
8705 * docs/gst/tmpl/old/GstElement.sgml:
8706 * docs/gst/tmpl/old/GstEvent.sgml:
8707 * docs/gst/tmpl/old/GstIndex.sgml:
8708 * docs/gst/tmpl/old/GstStructure.sgml:
8709 * docs/gst/tmpl/old/GstTag.sgml:
8710 * docs/gst/tmpl/old/cothreads.sgml:
8711 * docs/gst/tmpl/old/cothreads_compat.sgml:
8712 * docs/gst/tmpl/old/gettext.sgml:
8713 * docs/gst/tmpl/old/gobject2gtk.sgml:
8714 * docs/gst/tmpl/old/grammar.tab.sgml:
8715 * docs/gst/tmpl/old/gst-i18n-app.sgml:
8716 * docs/gst/tmpl/old/gst-i18n-lib.sgml:
8717 * docs/gst/tmpl/old/gst_private.sgml:
8718 * docs/gst/tmpl/old/gstaggregator.sgml:
8719 * docs/gst/tmpl/old/gstarch.sgml:
8720 * docs/gst/tmpl/old/gstatomic_impl.sgml:
8721 * docs/gst/tmpl/old/gstbufferstore.sgml:
8722 * docs/gst/tmpl/old/gstdata_private.sgml:
8723 * docs/gst/tmpl/old/gstdisksink.sgml:
8724 * docs/gst/tmpl/old/gstdisksrc.sgml:
8725 * docs/gst/tmpl/old/gstelementfactory.sgml:
8726 * docs/gst/tmpl/old/gstextratypes.sgml:
8727 * docs/gst/tmpl/old/gstfakesink.sgml:
8728 * docs/gst/tmpl/old/gstfakesrc.sgml:
8729 * docs/gst/tmpl/old/gstfdsink.sgml:
8730 * docs/gst/tmpl/old/gstfdsrc.sgml:
8731 * docs/gst/tmpl/old/gstfilesink.sgml:
8732 * docs/gst/tmpl/old/gstfilesrc.sgml:
8733 * docs/gst/tmpl/old/gsthttpsrc.sgml:
8734 * docs/gst/tmpl/old/gstidentity.sgml:
8735 * docs/gst/tmpl/old/gstindexfactory.sgml:
8736 * docs/gst/tmpl/old/gstmarshal.sgml:
8737 * docs/gst/tmpl/old/gstmd5sink.sgml:
8738 * docs/gst/tmpl/old/gstmultidisksrc.sgml:
8739 * docs/gst/tmpl/old/gstmultifilesrc.sgml:
8740 * docs/gst/tmpl/old/gstpadtemplate.sgml:
8741 * docs/gst/tmpl/old/gstpipefilter.sgml:
8742 * docs/gst/tmpl/old/gstschedulerfactory.sgml:
8743 * docs/gst/tmpl/old/gstsearchfuncs.sgml:
8744 * docs/gst/tmpl/old/gstshaper.sgml:
8745 * docs/gst/tmpl/old/gstspider.sgml:
8746 * docs/gst/tmpl/old/gstspideridentity.sgml:
8747 * docs/gst/tmpl/old/gststatistics.sgml:
8748 * docs/gst/tmpl/old/gsttee.sgml:
8749 * docs/gst/tmpl/old/gsttimecache.sgml:
8750 * docs/gst/tmpl/old/gsttypefindfactory.sgml:
8751 * docs/gst/tmpl/old/gstxmlregistry.sgml:
8752 * docs/gst/tmpl/old/gthread-cothreads.sgml:
8753 * docs/gst/tmpl/old/types.sgml:
8754 I didn't intend to add these or check them in.
8756 2005-05-19 David Schleef <ds@schleef.org>
8758 * configure.ac: Use -no-common everywhere. In a sane world, it
8759 would be the default in libtool, because without it, you can't
8760 build DLLs on Windows.
8761 * docs/gst/gstreamer-docs.sgml: Remove GstCpu, GstData, GstThread
8762 * docs/gst/gstreamer-sections.txt:
8763 * docs/gst/tmpl/gstcpu.sgml:
8764 * docs/gst/tmpl/gstdata.sgml:
8765 * docs/gst/tmpl/gstthread.sgml:
8767 2005-05-19 David Schleef <ds@schleef.org>
8769 * gst/gstminiobject.c: (gst_value_set_mini_object),
8770 (gst_value_take_mini_object), (gst_value_get_mini_object):
8771 * gst/gstminiobject.h: Add GValue set/get functions.
8773 2005-05-19 Wim Taymans <wim@fluendo.com>
8775 * gst/gstbuffer.c: (gst_buffer_init), (gst_subbuffer_get_type),
8776 (gst_subbuffer_class_init), (gst_subbuffer_finalize),
8777 (gst_subbuffer_init), (gst_buffer_is_span_fast):
8779 * gst/gstbus.c: (gst_bus_post):
8780 * gst/gstelement.c: (gst_element_get_random_pad):
8781 * gst/gstmessage.c: (gst_message_init), (gst_message_finalize):
8782 Make subbufer unref the parent in finalize.
8783 some more debugging info.
8786 2005-05-19 Wim Taymans <wim@fluendo.com>
8788 * gst/base/gstbasesink.c: (gst_basesink_class_init),
8789 (gst_basesink_init), (gst_basesink_finalize),
8790 (gst_basesink_activate), (gst_basesink_change_state):
8791 Don't free preroll queue too early.
8793 2005-05-19 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8797 Hi, I'm outdated. Please shoot me.
8799 2005-05-19 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8801 * gst/gstpipeline.c: (gst_pipeline_send_event):
8802 Do not access variables after they have been deleted.
8804 2005-05-19 Wim Taymans <wim@fluendo.com>
8806 * tools/gst-inspect.c: (print_plugin_features):
8807 A plugin feature does unfortunatly not use the
8810 2005-05-18 Wim Taymans <wim@fluendo.com>
8812 * gst/gstbuffer.c: (gst_buffer_is_span_fast), (gst_buffer_span):
8813 Port _span() functions to new subbuffers.
8815 2005-05-18 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8817 * gst/gstbin.c: (gst_bin_add_func):
8818 Fix clock settery in bins when adding kids after the clock has
8821 2005-05-18 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8823 * gst/elements/gstidentity.c: (gst_identity_class_init):
8824 Workaround until signals support GstMiniObject.
8826 2005-05-18 Jan Schmidt <thaytan@mad.scientist.com>
8829 Oops, fix a typo GST_TYPE_BUFFER -> GST_TYPE_SUBBUFFER.
8831 2005-05-18 Wim Taymans <wim@fluendo.com>
8833 * gst/base/Makefile.am:
8834 * gst/base/gstadapter.c: (gst_adapter_base_init),
8835 (gst_adapter_class_init), (gst_adapter_init),
8836 (gst_adapter_dispose), (gst_adapter_finalize), (gst_adapter_new),
8837 (gst_adapter_clear), (gst_adapter_push), (gst_adapter_peek),
8838 (gst_adapter_flush), (gst_adapter_available),
8839 (gst_adapter_available_fast):
8840 * gst/base/gstadapter.h:
8841 Ported and added adapter to the base classes.
8843 2005-05-17 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
8847 Make sure the class is reffed/unreffed once before threads can be
8848 used. Fixes #304551.
8850 2005-05-17 Wim Taymans <wim@fluendo.com>
8852 * gst/base/gstbasesink.c: (gst_basesink_finish_preroll),
8853 (gst_basesink_chain_unlocked), (gst_basesink_activate):
8854 * gst/gstminiobject.c: (gst_mini_object_get_type),
8855 (gst_mini_object_free):
8856 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query),
8857 (gst_pad_push), (gst_pad_push_event):
8858 * gst/gstqueue.c: (gst_queue_change_state):
8859 Don't queue buffers in basesink when we are flushing.
8860 Unref buffer when flushing in basesink.
8861 Flush queue when going to READY
8862 Unref buffer when _push() returns an error.
8863 Don't free MiniObject instance when refcount is incremented
8864 in _finalize() so that we can recover objects.
8866 2005-05-17 Thomas Vander Stichele <thomas at apestaart dot org>
8868 * docs/manual/advanced-schedulers.xml:
8869 * docs/manual/appendix-checklist.xml:
8870 * docs/pwg/advanced-clock.xml:
8871 * docs/pwg/advanced-interfaces.xml:
8872 * docs/pwg/advanced-request.xml:
8873 * docs/pwg/advanced-types.xml:
8874 * docs/pwg/intro-preface.xml:
8875 * examples/plugins/example.c: (gst_example_get_type),
8876 (gst_example_class_init), (gst_example_chain),
8877 (gst_example_set_property), (gst_example_get_property),
8878 (gst_example_change_state), (plugin_init):
8879 * examples/plugins/example.h:
8882 2005-05-17 Wim Taymans <wim@fluendo.com>
8884 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps),
8885 (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_push):
8886 * gst/gstqueue.c: (gst_queue_change_state):
8887 Clear queue when going to READY.
8888 Remove IN_SETCAPS flag too.
8890 2005-05-17 Tim-Philipp Müller <tim at centricular dot net>
8892 * gst/base/gstbasesrc.c: (gst_basesrc_change_state):
8893 Remove implicit cast from gboolean to GstElementStateReturn;
8894 make sure we still return failure in paused => ready case if
8895 the parent class fails to change state and our own stop
8898 2005-05-17 Wim Taymans <wim@fluendo.com>
8900 * tools/gst-launch.c: (event_loop):
8901 Message was unreffed too soon.
8903 2005-05-16 Andy Wingo <wingo@pobox.com>
8905 * gst/gstbin.c (sink_iterator_filter): Err... um...
8907 * check/gst/gstbin.c (test_ghost_pads): New test for the
8908 ghosting-if-elements-not-in-same-bin behavior.
8910 2005-05-16 David Schleef <ds@schleef.org>
8912 * gst/gstminiobject.c: Use g_atomic_int_get() instead of
8913 accessing refcount directly.
8915 2005-05-15 David Schleef <ds@schleef.org>
8917 * check/Makefile.am: remove GstData checks
8918 * check/gst-libs/gdp.c: (START_TEST): fix for API changes
8919 * gst/Makefile.am: add miniobject, remove data
8920 * gst/gst.h: add miniobject, remove data
8921 * gst/gstdata.c: remove
8922 * gst/gstdata.h: remove
8923 * gst/gstdata_private.h: remove
8924 * gst/gsttypes.h: remove GstEvent and GstMessage
8925 * gst/gstelement.c: (gst_element_post_message): fix for API changes
8926 * gst/gstmarshal.list: change BOXED -> OBJECT
8928 Implement GstMiniObject.
8929 * gst/gstminiobject.c:
8930 * gst/gstminiobject.h:
8932 Modify to be subclasses of GstMiniObject.
8933 * gst/gstbuffer.c: (_gst_buffer_initialize), (gst_buffer_get_type),
8934 (gst_buffer_class_init), (gst_buffer_finalize), (_gst_buffer_copy),
8935 (gst_buffer_init), (gst_buffer_new), (gst_buffer_new_and_alloc),
8936 (gst_subbuffer_get_type), (gst_subbuffer_init),
8937 (gst_buffer_create_sub), (gst_buffer_is_span_fast),
8940 * gst/gstevent.c: (_gst_event_initialize), (gst_event_get_type),
8941 (gst_event_class_init), (gst_event_init), (gst_event_finalize),
8942 (_gst_event_copy), (gst_event_new):
8944 * gst/gstmessage.c: (_gst_message_initialize),
8945 (gst_message_get_type), (gst_message_class_init),
8946 (gst_message_init), (gst_message_finalize), (_gst_message_copy),
8947 (gst_message_new), (gst_message_new_error),
8948 (gst_message_new_warning), (gst_message_new_tag),
8949 (gst_message_new_state_changed), (gst_message_new_application):
8951 * gst/gstprobe.c: (gst_probe_perform),
8952 (gst_probe_dispatcher_dispatch):
8954 * gst/gstquery.c: (_gst_query_initialize), (gst_query_get_type),
8955 (gst_query_class_init), (gst_query_finalize), (gst_query_init),
8956 (_gst_query_copy), (gst_query_new):
8958 Update elements for GstData -> GstMiniObject changes
8960 * gst/gstqueue.c: (gst_queue_finalize), (gst_queue_locked_flush),
8961 (gst_queue_chain), (gst_queue_loop):
8962 * gst/elements/gstbufferstore.c:
8963 (gst_buffer_store_add_buffer_func),
8964 (gst_buffer_store_cleared_func), (gst_buffer_store_get_buffer):
8965 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
8966 (gst_fakesink_render):
8967 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
8968 * gst/elements/gstfilesrc.c: (gst_mmap_buffer_get_type),
8969 (gst_mmap_buffer_class_init), (gst_mmap_buffer_init),
8970 (gst_mmap_buffer_finalize), (gst_filesrc_map_region),
8971 (gst_filesrc_create_read):
8972 * gst/elements/gstidentity.c: (gst_identity_class_init):
8973 * gst/elements/gsttypefindelement.c:
8974 (gst_type_find_element_src_event), (free_entry_buffers),
8975 (gst_type_find_element_handle_event):
8976 * libs/gst/dataprotocol/dataprotocol.c:
8977 (gst_dp_header_from_buffer):
8978 * libs/gst/dataprotocol/dataprotocol.h:
8979 * libs/gst/dataprotocol/dp-private.h:
8981 2005-05-15 David Schleef <ds@schleef.org>
8983 * gst/elements/gstelements.c: Don't include headers that were
8986 2005-05-15 David Schleef <ds@schleef.org>
8988 * gst/elements/Makefile.am: Remove some elements that don't
8989 need to be in the core (or even exist at all).
8990 * gst/elements/gstaggregator.c:
8991 * gst/elements/gstaggregator.h:
8992 * gst/elements/gstmd5sink.c:
8993 * gst/elements/gstmd5sink.h:
8994 * gst/elements/gstmultifilesrc.c:
8995 * gst/elements/gstmultifilesrc.h:
8996 * gst/elements/gstpipefilter.c:
8997 * gst/elements/gstpipefilter.h:
8998 * gst/elements/gstshaper.c:
8999 * gst/elements/gstshaper.h:
9000 * gst/elements/gststatistics.c:
9001 * gst/elements/gststatistics.h:
9002 * po/POTFILES.in: Remove above files.
9004 2005-05-14 Andy Wingo <wingo@pobox.com>
9006 * gst/gstbin.c (gst_bin_iterate_sinks): Use sink_iterator_filter
9007 so as to get the refs right.
9008 (sink_iterator_filter): New function, wraps bin_element_is_sink,
9009 unreffing objects that don't pass the filter.
9011 * gst/gstpipeline.c (gst_pipeline_init): Drop ref on bus after
9012 gst_element_set_bus.
9013 (gst_pipeline_dispose): Set the bus on the pipeline to NULL. In
9014 normal cases, this will destroy the bus.
9016 * gst/gstutils.c (prepare_link_maybe_ghosting): Drop ref on root
9019 * gst/gstbin.c (gst_bin_change_state): Fix state changes if a bin
9022 2005-05-13 Andy Wingo <wingo@pobox.com>
9024 * gst/gstutils.c (gst_element_link_pads): Instead of calling
9025 gst_pad_link, call pad_link_maybe_ghosting,
9026 (pad_link_maybe_ghosting): Links pads, making sure that the
9027 elements being linked are in the same bin.
9028 (find_common_root, object_has_ancestor, ghost_up, remove_pad):
9029 Helpers for pad_link_maybe_ghosting.
9031 2005-05-13 Tim-Philipp Müller <tim at centricular dot net>
9034 Require GLib >= 2.4.0 (for the g_atomic_* funcs)
9036 2005-05-13 Tim-Philipp Müller <tim at centricular dot net>
9038 * docs/design/part-element-source.txt:
9041 2005-05-12 Wim Taymans <wim@fluendo.com>
9043 * gst/base/gstbasesink.c: (gst_basesink_init),
9044 (gst_basesink_activate):
9045 * gst/base/gstbasesrc.c: (gst_basesrc_unlock),
9046 (gst_basesrc_is_seekable):
9047 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
9048 (bin_element_is_sink), (gst_bin_change_state):
9049 * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
9051 Identify sinks by their flag to avoid overly complicated
9053 Do state changes even for elements not reachable from the
9055 BaseSink is a sink now :)
9056 Some more debugging info in the basesrc.
9059 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
9061 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_query):
9062 Implement _query on a bin, similar to _send_event.
9064 2005-05-12 Tim-Philipp Müller <tim at centricular dot net>
9066 * gst/base/gstbasesrc.c: (gst_basesrc_do_seek):
9067 Discont event offset format should be GST_FORMAT_BYTES,
9068 not GST_FORMAT_TIME.
9070 2005-05-12 Wim Taymans <wim@fluendo.com>
9072 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_get_state):
9073 Same fix as Ronald's but without the signal.
9075 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
9077 * gst/gstutils.c: (gst_element_query_position):
9078 No, an element is not a pad.
9080 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
9082 * gst/gstbin.c: (gst_bin_add_func), (cb_parent_unset),
9083 (gst_bin_get_state):
9084 If a child is removed from a bin while we remove the child from
9085 the bin and while we're retrieving its state, signal this to the
9086 get_state function so we abort the wait (instead of waiting for
9087 a timeout) and can immediately re-iterate over all other elements.
9089 2005-05-12 Wim Taymans <wim@fluendo.com>
9091 * gst/base/Makefile.am:
9092 * gst/base/gstbasesrc.c: (gst_basesrc_is_seekable),
9093 (gst_basesrc_start):
9094 * gst/base/gstbasesrc.h:
9095 * gst/base/gstpushsrc.c: (gst_pushsrc_get_type),
9096 (gst_pushsrc_base_init), (gst_pushsrc_class_init),
9097 (gst_pushsrc_init), (gst_pushsrc_create):
9098 * gst/base/gstpushsrc.h:
9099 Added is_seekable to BaseSrc
9100 Added simple PushSrc.
9102 2005-05-11 Wim Taymans <wim@fluendo.com>
9104 * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
9105 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
9106 (gst_element_link_pads), (gst_element_query_position),
9107 (gst_element_query_convert), (intersect_caps_func),
9108 (gst_pad_query_position), (gst_pad_query_convert):
9109 Fix refcounting in utils function.
9110 No point in trying to activate a pad when it's added, it could
9111 be added from the state change function and then we deadlock, the
9112 element has to decide what to do.
9114 2005-05-10 Andy Wingo <wingo@pobox.com>
9116 * gst/elements/gstfakesink.c (gst_fakesink_render): Er, emit with
9117 *all* the arguments.
9119 * gst/base/gstbasetransform.c (gst_base_transform_event): Grab the
9120 stream lock if it's a FLUSH_DONE; normal flushes don't get the
9121 lock (according to the docs -- if this is wrong change the docs).
9123 * gst/gstpipeline.c (gst_pipeline_change_state): Set the bus to
9124 flush messages in the NULL state.
9126 * gst/gstbus.c (gst_bus_post): If a bus is flushing, unref the
9127 message immediately and return.
9128 (gst_bus_set_flushing): New function. If a bus is flushing, it
9129 flushes out any queued messages and immediately unrefs new
9130 messages. This is so when an element goes to NULL, all of the
9131 unhandled messages coming from it can be freed, and their
9132 references to the element dropped. In other words: message source
9133 ref considered harmful :P
9135 * gst/gstbin.c (gst_bin_change_state): Unref peer element when
9136 we're finished with it.
9138 * gst/gstmessage.c (gst_message_new_state_changed):
9140 2005-05-10 Wim Taymans <wim@fluendo.com>
9142 * gst/gstvalue.c: (gst_value_compare_flags),
9143 (gst_value_serialize_flags), (gst_value_deserialize_flags),
9144 (_gst_value_initialize):
9145 Added flags serialize/deserialize/compare code.
9147 2005-05-09 Andy Wingo <wingo@pobox.com>
9149 * gst/base/gstbasetransform.c (gst_base_transform_proxy_getcaps):
9150 Intersect the peer's caps with our caps.
9152 2005-05-09 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
9154 * gst/base/gsttypefindhelper.c: (helper_find_peek):
9155 * gst/elements/gsttypefindelement.c: (find_peek):
9156 Handle negative offsets better. Fixes decodebin.
9158 2005-05-09 Wim Taymans <wim@fluendo.com>
9160 * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps),
9161 (gst_base_transform_event):
9162 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query):
9163 Implement accept_caps.
9164 Fix silly lock/unlock mismatch in base class.
9166 2005-05-09 Wim Taymans <wim@fluendo.com>
9168 * docs/design/draft-push-pull.txt:
9169 * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_query):
9170 * gst/elements/gstfilesink.c: (gst_filesink_init),
9171 (gst_filesink_query):
9172 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
9173 (gst_type_find_handle_src_query), (find_element_get_length):
9174 * gst/gstelement.c: (gst_element_seek), (gst_element_query):
9178 * gst/gstpad.c: (gst_real_pad_init), (gst_pad_get_query_types),
9179 (gst_real_pad_get_caps_unlocked),
9180 (gst_pad_get_internal_links_default), (gst_pad_get_internal_links),
9181 (gst_pad_event_default_dispatch), (gst_pad_event_default),
9182 (gst_pad_dispatcher), (gst_pad_query), (gst_pad_query_default),
9183 (gst_real_pad_dispose), (gst_real_pad_finalize),
9184 (gst_pad_load_and_link), (gst_pad_save_thyself),
9185 (gst_ghost_pad_save_thyself), (handle_pad_block), (gst_pad_push),
9186 (gst_pad_check_pull_range), (gst_pad_pull_range),
9187 (gst_pad_template_get_type), (gst_pad_template_class_init),
9188 (gst_pad_template_init), (gst_pad_template_dispose),
9189 (name_is_valid), (gst_static_pad_template_get),
9190 (gst_pad_template_new), (gst_static_pad_template_get_caps),
9191 (gst_pad_template_get_caps), (gst_pad_set_element_private),
9192 (gst_pad_get_element_private), (gst_pad_start_task),
9193 (gst_pad_pause_task), (gst_pad_stop_task),
9194 (gst_ghost_pad_get_type), (gst_ghost_pad_class_init),
9195 (gst_ghost_pad_init), (gst_ghost_pad_dispose),
9196 (gst_ghost_pad_set_property), (gst_ghost_pad_get_property),
9197 (gst_ghost_pad_new):
9199 * gst/gstquery.c: (_gst_query_initialize), (gst_query_new),
9200 (gst_query_new_position), (gst_query_set_position),
9201 (gst_query_parse_position), (gst_query_new_convert),
9202 (gst_query_set_convert), (gst_query_parse_convert):
9204 * gst/gstqueryutils.c:
9205 * gst/gstqueryutils.h:
9206 * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
9207 (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
9208 (gst_queue_handle_src_query):
9209 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
9210 (gst_element_query_position), (gst_element_query_convert),
9211 (intersect_caps_func), (gst_pad_query_position),
9212 (gst_pad_query_convert):
9214 * tools/gst-inspect.c: (print_pad_info):
9215 * tools/gst-xmlinspect.c: (print_element_info):
9216 Remove old query functions. Ported old code.
9217 Added position/convert helper functions to gstutils.
9218 Reordered gstpad.c code, grouping relevant things.
9219 Remove gst_message_new(), always need to speficy a specific
9223 2005-05-09 Andy Wingo <wingo@pobox.com>
9225 * gst/gstiterator.h: Add some includes.
9227 * gst/gstqueryutils.h: Include more headers.
9230 * gst/gstpad.c (gst_pad_query_position): New routine, replaces
9231 some uses of gst_pad_query.
9233 * gst/gstqueryutils.c: Build fixes. Make parse functions ignore
9234 NULL out parameters.
9235 (gst_query_new_position): New proc, allocates a new position
9238 * gst/Makefile.am (libgstreamer_@GST_MAJORMINOR@_la_SOURCES): Add
9239 gstqueryutils.c to the build.
9241 * gst/gststructure.c (gst_structure_set_valist): Implement with
9242 the generic G_VALUE_COLLECT.
9244 2005-05-08 Edward Hervey <bilboed@bilboed.com>
9246 * gst/Makefile.am: (gst_headers):
9247 Added gstqueryutils.h to the list of headers to install, that was
9248 a 'nachty' move wingo :)
9250 2005-05-06 Andy Wingo <wingo@pobox.com>
9253 * gst/gstquery.c (_gst_query_initialize): Extend GstQuery from
9254 GstData, init a memchunk.
9255 (standard_definitions): Add a few query types, deprecate a few.
9256 (gst_query_get_type): New proc.
9257 (_gst_query_copy, _gst_query_free, gst_query_new): GstData
9259 (gst_query_new_application, gst_query_get_structure): New public
9262 * docs/design/draft-query.txt: Removed LINKS from the query types,
9263 because all the rest can be dispatched to other pads -- seemed
9264 ugly to have a query that couldn't be dispatched. internal_links
9265 is fine as a pad method.
9267 * gst/gstpad.h: Add query2 as a pad method, add the new functions
9268 in gstpad.c, but maintain binary compatibility for the moment.
9269 Will fix before 0.9 is out.
9271 * gst/gstqueryutils.c:
9272 * gst/gstqueryutils.h: New files, implement 3 methods for each
9273 query type: parse_query, parse_response, and set. Probably need an
9276 * gst/gst.h: Add gstquery.h and gstqueryutils.h to the list.
9278 * gst/elements/gstfilesink.c (gst_filesink_query2):
9279 * gst/base/gstbasesrc.c (gst_basesrc_query2): Replace old query,
9280 query_types, and formats methods.
9282 * gst/gstpad.c (gst_pad_query2, gst_pad_query2_default)
9283 (gst_pad_set_query2_function): New functions.
9284 (gst_real_pad_init): Set query2_default as the default query2
9285 function. Basically just dispatches to internally linked pads.
9289 * gst/gstdata_private.h (_GST_DATA_INIT): Set data->refcount to 1
9290 without using the atomic operations. Only one thread can possibly
9291 be accessing the data at this point. Changed so as to avoid
9292 gst_atomic operations.
9294 2005-05-06 Wim Taymans <wim@fluendo.com>
9296 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push):
9297 Also set caps if we use the fallback buffer alloc.
9299 2005-05-06 Tim-Philipp Müller <tim at centricular dot net>
9301 * docs/gst/Makefile.am:
9302 * docs/gst/gstreamer-docs.sgml:
9303 * docs/gst/gstreamer-sections.txt:
9304 * docs/gst/tmpl/gstatomic.sgml:
9305 * docs/gst/tmpl/gstmemchunk.sgml:
9306 * testsuite/elements/struct_i386.h:
9307 * win32/GStreamer.vcproj:
9309 Purge GstAtomic stuff from docs and win32 makefiles as well
9311 2005-05-06 Wim Taymans <wim@fluendo.com>
9313 * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps):
9314 * gst/elements/gstcapsfilter.c: (gst_capsfilter_getcaps):
9315 * gst/gstpad.c: (gst_pad_peer_get_caps):
9316 * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
9317 (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
9318 (gst_queue_src_activate), (gst_queue_change_state):
9320 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
9321 (intersect_caps_func):
9322 Fix gst_pad_peer_get_caps(), make it return NULL if no peer.
9323 Always take QUEUE_LOCK after STREAM_LOCK or we might deadlock.
9324 Some fixes for the peer_get_caps() change.
9326 2005-05-06 Wim Taymans <wim@fluendo.com>
9328 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
9329 (gst_basesink_handle_buffer), (gst_basesink_chain_unlocked),
9330 (gst_basesink_activate):
9331 Actually do something with error codes returned from the push
9334 2005-05-06 Wim Taymans <wim@fluendo.com>
9336 * docs/design/part-element-sink.txt:
9337 * docs/design/part-element-source.txt:
9338 * gst/base/gstbasesink.c: (gst_basesink_class_init),
9339 (gst_basesink_event), (gst_basesink_activate):
9340 * gst/base/gstbasesink.h:
9341 * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_unlock),
9342 (gst_basesrc_activate):
9343 * gst/base/gstbasesrc.h:
9344 * gst/gstelement.c: (gst_element_pads_activate):
9345 Some more documentation.
9346 Fixed scheduling decision in _pads_activate().
9348 2005-05-05 Andy Wingo <wingo@pobox.com>
9350 * check/pipelines/simple_launch_lines.c (test_2_elements): "Fix"
9353 2005-05-05 Wim Taymans <wim@fluendo.com>
9355 * gst/base/Makefile.am:
9356 * gst/base/gstbasesink.h:
9357 * gst/base/gstbasesrc.c: (gst_basesrc_init),
9358 (gst_basesrc_set_dataflow_funcs), (gst_basesrc_query):
9359 * gst/base/gstcollectpads.c: (gst_collectpads_get_type),
9360 (gst_collectpads_class_init), (gst_collectpads_init),
9361 (gst_collectpads_finalize), (gst_collectpads_new),
9362 (gst_collectpads_set_function), (gst_collectpads_add_pad),
9363 (find_pad), (gst_collectpads_remove_pad),
9364 (gst_collectpads_is_active), (gst_collectpads_collect),
9365 (gst_collectpads_collect_range), (gst_collectpads_start),
9366 (gst_collectpads_stop), (gst_collectpads_peek),
9367 (gst_collectpads_pop), (gst_collectpads_available),
9368 (gst_collectpads_read), (gst_collectpads_flush),
9369 (gst_collectpads_chain):
9370 * gst/base/gstcollectpads.h:
9371 * gst/elements/Makefile.am:
9372 * gst/elements/gstelements.c:
9373 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
9374 (gst_fakesink_get_times), (gst_fakesink_event),
9375 (gst_fakesink_preroll), (gst_fakesink_render):
9376 * gst/elements/gstfilesink.c: (gst_filesink_class_init),
9377 (gst_filesink_init), (gst_filesink_set_location),
9378 (gst_filesink_open_file), (gst_filesink_close_file),
9379 (gst_filesink_pad_query), (gst_filesink_event),
9380 (gst_filesink_render), (gst_filesink_change_state):
9381 * gst/elements/gstfilesink.h:
9382 Added object to help in making collect pad based elements.
9384 Make event function in sink baseclass return gboolean.
9386 2005-05-05 Wim Taymans <wim@fluendo.com>
9388 * gst/gstbin.c: (gst_bin_send_event), (compare_name),
9389 (gst_bin_get_by_name):
9391 * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_class_init),
9392 (gst_clock_finalize):
9393 * gst/gstdata.c: (gst_data_replace):
9395 * gst/gstelement.c: (gst_element_request_pad),
9396 (gst_element_pads_activate):
9397 * gst/gstobject.c: (gst_object_init), (gst_object_ref),
9399 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
9400 (gst_pad_set_checkgetrange_function),
9401 (gst_pad_link_check_compatible_unlocked), (gst_pad_set_caps),
9402 (gst_pad_check_pull_range), (gst_pad_pull_range),
9403 (gst_static_pad_template_get_caps), (gst_pad_start_task),
9404 (gst_pad_pause_task), (gst_pad_stop_task):
9405 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
9406 (gst_element_request_pad), (gst_pad_proxy_getcaps):
9407 Fix name lookup in GstBin.
9408 Added _data_replace() function and _buffer_replace()
9409 Use finalize method to clean up clock.
9410 Fix refcounting on request pads.
9411 Fix pad schedule mode error.
9412 Some more object refcounting debug info,
9415 2005-05-04 Andy Wingo <wingo@pobox.com>
9417 * check/Makefile.am:
9418 * docs/gst/tmpl/gstatomic.sgml:
9419 * docs/gst/tmpl/gstplugin.sgml:
9420 * gst/base/gstbasesink.c: (gst_basesink_activate):
9421 * gst/base/gstbasesrc.c: (gst_basesrc_class_init),
9422 (gst_basesrc_init), (gst_basesrc_set_dataflow_funcs),
9423 (gst_basesrc_query), (gst_basesrc_set_property),
9424 (gst_basesrc_get_property), (gst_basesrc_check_get_range),
9425 (gst_basesrc_activate):
9426 * gst/base/gstbasesrc.h:
9427 * gst/base/gstbasetransform.c: (gst_base_transform_sink_activate),
9428 (gst_base_transform_src_activate):
9429 * gst/elements/gstelements.c:
9430 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
9431 (gst_fakesrc_set_property), (gst_fakesrc_get_property):
9432 * gst/elements/gsttee.c: (gst_tee_sink_activate):
9433 * gst/elements/gsttypefindelement.c: (find_element_get_length),
9434 (gst_type_find_element_checkgetrange),
9435 (gst_type_find_element_activate):
9436 * gst/gstbin.c: (gst_bin_save_thyself), (gst_bin_restore_thyself):
9437 * gst/gstcaps.c: (gst_caps_do_simplify), (gst_caps_save_thyself),
9438 (gst_caps_load_thyself):
9439 * gst/gstelement.c: (gst_element_pads_activate),
9440 (gst_element_save_thyself), (gst_element_restore_thyself):
9441 * gst/gstpad.c: (gst_pad_load_and_link), (gst_pad_save_thyself),
9442 (gst_ghost_pad_save_thyself), (gst_pad_check_pull_range):
9444 * gst/gstxml.c: (gst_xml_write), (gst_xml_parse_doc),
9445 (gst_xml_parse_file), (gst_xml_parse_memory),
9446 (gst_xml_get_element), (gst_xml_make_element):
9447 * gst/indexers/gstfileindex.c: (gst_file_index_load),
9448 (_file_index_id_save_xml), (gst_file_index_commit):
9449 * gst/registries/gstlibxmlregistry.c: (read_string), (read_uint),
9450 (read_enum), (load_pad_template), (load_feature), (load_plugin),
9452 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_caps),
9453 (gst_dp_packet_from_event), (gst_dp_caps_from_packet):
9454 * tools/gst-complete.c: (main):
9455 * tools/gst-compprep.c: (main):
9456 * tools/gst-inspect.c: (print_element_properties_info):
9457 * tools/gst-launch.c: (xmllaunch_parse_cmdline):
9458 * tools/gst-xmlinspect.c: (print_element_properties):
9461 2005-05-03 Thomas Vander Stichele <thomas at apestaart dot org>
9463 * gst/gstplugin.c: (gst_plugin_check_module),
9464 (gst_plugin_check_file), (gst_plugin_load_file):
9465 apply patch from #172526 to make register work on MacOSX
9467 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
9469 * docs/gst/tmpl/gstconfig.sgml:
9470 * gst/gstconfig.h.in:
9471 move documentation for some symbols. Add doc for GST_PTR_FORMAT
9472 * testsuite/debug/printf_extension.c: (main):
9473 Do not use GST_PTR_FORMAT on pointers to types with
9474 sizeof < sizeof(gpointer). Fixes test on 64-bit
9475 * testsuite/elements/property.h:
9476 use correct printf format
9478 2005-05-02 Wim Taymans <wim@fluendo.com>
9480 * docs/design/draft-push-pull.txt:
9481 * docs/design/draft-query.txt:
9482 * gst/base/gstbasesrc.c: (gst_basesrc_get_range_unlocked),
9483 (gst_basesrc_start):
9484 Added draft for new query API.
9485 Added draft for better selecting scheduling methods.
9486 Make basesrc ignore length if the subclass does not support
9489 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
9492 possible fixes for automake-1.5 - _LIBADD is reserved
9494 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
9496 * docs/faq/Makefile.am:
9497 * docs/manual/Makefile.am:
9499 * docs/pwg/Makefile.am:
9501 possible fixes for automake-1.5
9503 2005-04-28 Wim Taymans <wim@fluendo.com>
9505 * gst/base/gstbasesink.c: (gst_basesink_base_init),
9506 (gst_basesink_pad_getcaps), (gst_basesink_init),
9507 (gst_basesink_do_sync):
9508 * gst/gstclock.c: (gst_clock_entry_new):
9509 * gst/gstevent.c: (gst_event_discont_get_value):
9510 * gst/gstpipeline.c: (pipeline_bus_handler),
9511 (gst_pipeline_change_state):
9512 * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
9513 Better debugging of clocking info.
9514 Allow NULL values when getting discont values.
9516 2005-04-27 Wim Taymans <wim@fluendo.com>
9518 * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
9519 * check/gst/gstpad.c: (gst_pad_suite):
9520 Increase timeout for checks.
9522 2005-04-27 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
9524 * check/Makefile.am:
9525 fix the broken rule for cleanup. Apparently this rule is
9526 only needed on FC2, so maybe this warrants further autotool
9529 2005-04-26 Wim Taymans <wim@fluendo.com>
9531 * gst/gsttrashstack.h:
9532 Ooohh. a nasty one! After having a failed pop() from the stack,
9533 it's possible that the stack is empty. In that case, don't
9534 follow the NULL pointer.
9536 2005-04-25 Wim Taymans <wim@fluendo.com>
9538 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
9539 (gst_pad_set_checkgetrange_function),
9540 (gst_pad_link_check_compatible_unlocked), (gst_pad_link_prepare),
9541 (gst_pad_check_pull_range), (gst_pad_pull_range),
9542 (gst_static_pad_template_get_caps), (gst_pad_start_task),
9543 (gst_pad_pause_task), (gst_pad_stop_task):
9544 * gst/gstplugin.c: (gst_plugin_load):
9546 Remove gst_library_load as it does more harm than good with
9547 the new g_module flags.
9548 Revert bogus caps template check in pad linking, pad caps
9549 are important when linking not the template, which is more
9550 general than the current caps.
9552 2005-04-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
9554 * gst/autoplug/.cvsignore:
9555 * gst/autoplug/Makefile.am:
9556 * gst/autoplug/gstsearchfuncs.c:
9557 * gst/autoplug/gstsearchfuncs.h:
9558 * gst/autoplug/gstspider.c:
9559 * gst/autoplug/gstspider.h:
9560 * gst/autoplug/gstspideridentity.c:
9561 * gst/autoplug/gstspideridentity.h:
9562 * gst/autoplug/spidertest.c:
9565 2005-04-25 Wim Taymans <wim@fluendo.com>
9567 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
9568 (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
9569 (gst_pad_pull_range), (gst_static_pad_template_get_caps),
9570 (gst_pad_start_task), (gst_pad_pause_task), (gst_pad_stop_task):
9572 Added stubs for unimplemented functions.
9574 2005-04-24 David Schleef <ds@schleef.org>
9576 * gst/gstpad.h: Disable some unimplemented functions. Wim,
9579 2005-04-24 David Schleef <ds@schleef.org>
9581 Convert everything from GstAtomicInt to g_atomic_int_*, and
9586 * gst/gstatomic_impl.h:
9594 * gst/gstdata_private.h:
9601 * gst/gststructure.c:
9602 * gst/gststructure.h:
9603 * gst/gstutils.c: Add gst_atomic_int_set() compaitibility function.
9606 2005-04-24 David Schleef <ds@schleef.org>
9608 * check/gst/gstpad.c: (START_TEST): Oh yeah, it's always nice to
9609 make the regressions tests work. Remove some code that is no
9611 * gst/gstpad.c: (gst_pad_link_check_templates_compatible_unlocked):
9612 Disable warning for pads without templates.
9614 2005-04-24 David Schleef <ds@schleef.org>
9616 * gst/gstpad.c: Remove handling of filtered caps. Fix/merge
9617 functions that handle filtered links.
9618 * gst/gstpad.h: Remove 'appfilter' field and prototypes of
9620 * gst/gstutils.c: Fix/remove utility functions that handle
9623 * gst/gstvalue.c: Add serialization/deserialization of caps
9624 * gst/parse/grammar.y: Ignore filtered caps when linking. This
9625 requires fixing so that the filter caps notation creates
9626 a capsfilter element and sets the filter_caps property. I
9627 think everyone probably wants to keep the shorthand notation.
9628 * docs/gst/tmpl/gstelement.sgml: updates for API changes.
9629 * docs/gst/tmpl/gstpad.sgml:
9631 * gst/elements/gstelements.c: Register capsfilter element.
9632 * gst/Makefile.am: fix spacing
9633 * docs/random/ds/0.9-suggested-changes: random
9635 2005-04-23 David Schleef <ds@schleef.org>
9637 * gst/elements/Makefile.am:
9638 * gst/elements/gstcapsfilter.c: New element that acts like an
9639 identity, but filters caps. Will eventually replace filtered
9640 caps in pad linking.
9641 * gst/gstutils.c: (gst_element_create_all_pads): New function
9642 to create all the ALWAYS pads that are registered with an
9643 element class. This functionality should eventually be
9644 merged in with GstElement initialization.
9646 * testsuite/trigger/README: part of trigger test code that should
9647 have been checked in a long time ago.
9649 2005-04-23 David Schleef <ds@schleef.org>
9651 * gst/Makefile.am: Remove as-libtool stuff. It's likely not
9652 needed with new versions of libtool (nobody will confirm this),
9653 and hard to carry around.
9654 * gst/autoplug/Makefile.am:
9655 * gst/base/Makefile.am:
9656 * gst/elements/Makefile.am:
9657 * gst/indexers/Makefile.am:
9658 * gst/schedulers/Makefile.am:
9659 * libs/gst/bytestream/Makefile.am:
9660 * libs/gst/control/Makefile.am:
9661 * libs/gst/dataprotocol/Makefile.am:
9662 * libs/gst/getbits/Makefile.am:
9664 2005-04-21 Wim Taymans <wim@fluendo.com>
9666 * docs/design/draft-push-pull.txt:
9667 * docs/design/part-MT-refcounting.txt:
9668 * docs/design/part-TODO.txt:
9669 * docs/design/part-caps.txt:
9670 * docs/design/part-events.txt:
9671 * docs/design/part-gstbus.txt:
9672 * docs/design/part-gstpipeline.txt:
9673 * docs/design/part-messages.txt:
9674 * docs/design/part-push-pull.txt:
9675 * docs/design/part-query.txt:
9678 2005-04-21 Wim Taymans <wim@fluendo.com>
9680 * gst/gstmessage.c: (_gst_message_copy), (_gst_message_free),
9681 (gst_message_new), (gst_message_new_error),
9682 (gst_message_new_warning), (gst_message_new_tag),
9683 (gst_message_new_state_changed), (gst_message_new_application),
9684 (gst_message_get_structure):
9686 * gst/gststructure.c: (gst_structure_set_parent_refcount),
9687 (gst_structure_copy_conditional):
9688 Use parent refcount in GstMessage to ensure GstStructure
9690 Cleaned up headers a bit.
9693 2005-04-20 Wim Taymans <wim@fluendo.com>
9695 * gst/base/gstbasesink.c: (gst_basesink_base_init),
9696 (gst_basesink_pad_getcaps), (gst_basesink_init),
9697 (gst_basesink_chain_unlocked):
9698 * gst/base/gsttypefindhelper.c: (helper_find_suggest),
9699 (gst_type_find_helper):
9700 * gst/elements/gsttypefindelement.c:
9701 (gst_type_find_element_have_type), (gst_type_find_element_init),
9702 (stop_typefinding), (gst_type_find_element_handle_event),
9703 (find_suggest), (gst_type_find_element_chain),
9704 (gst_type_find_element_checkgetrange),
9705 (gst_type_find_element_getrange), (do_typefind),
9706 (gst_type_find_element_activate):
9707 * gst/gstbuffer.c: (_gst_buffer_sub_free),
9708 (gst_buffer_default_free), (gst_buffer_default_copy),
9709 (gst_buffer_set_caps):
9710 * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref),
9712 * gst/gstmessage.c: (gst_message_new),
9713 (gst_message_new_state_changed):
9714 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
9715 (gst_pad_set_checkgetrange_function),
9716 (gst_pad_link_prepare_filtered), (gst_pad_relink_filtered),
9717 (gst_pad_set_caps), (gst_pad_check_pull_range),
9718 (gst_pad_pull_range), (gst_static_pad_template_get_caps):
9720 * gst/gsttypefind.c: (gst_type_find_register):
9721 Make gst_caps_replace() work like other _replace() functions.
9722 Use _caps_replace() where possible.
9723 Make sure _message_new() initialises its field.
9724 Add gst_static_pad_template_get_caps()
9727 2005-04-18 Andy Wingo <wingo@pobox.com>
9729 * gst/gstelement.c (gst_element_pads_activate): Check pull_range
9730 on the peer, not the pad. I think that was a typo. Pass an extra
9731 arg to see if random access is possible. Activate the pads as
9732 PULL_RANGE if possible.
9734 * gst/elements/gstfakesrc.c: s/ARG_/PROP_/.
9736 * gst/base/gstbasesrc.c (gst_basesrc_set_property)
9737 (gst_basesrc_get_property): BLOCKSIZE is a ULONG. Rename ARG_...
9740 2005-04-14 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
9742 * docs/faq/using.xml:
9743 Add note on gstreamer-properties (#154996).
9745 2005-04-13 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
9747 * docs/random/bbb/optional-properties:
9748 Some analysis on optional properties.
9750 2005-04-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
9752 * docs/gst/tmpl/gstelementfactory.sgml:
9754 * gst/gstelementfactory.c: (gst_element_factory_init),
9755 (gst_element_factory_cleanup), (gst_element_register),
9756 (__gst_element_factory_add_static_pad_template),
9757 (gst_element_factory_get_static_pad_templates),
9758 (gst_element_factory_can_src_caps),
9759 (gst_element_factory_can_sink_caps):
9760 * gst/registries/Makefile.am:
9761 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_get_type),
9762 (gst_xml_registry_class_init), (gst_xml_registry_init),
9763 (gst_xml_registry_new), (gst_xml_registry_set_property),
9764 (gst_xml_registry_get_property), (get_time), (make_dir),
9765 (gst_xml_registry_get_perms_func),
9766 (plugin_times_older_than_recurse), (plugin_times_older_than),
9767 (gst_xml_registry_open_func), (gst_xml_registry_load_func),
9768 (gst_xml_registry_save_func), (gst_xml_registry_close_func),
9769 (add_to_char_array), (read_string), (read_uint), (read_enum),
9770 (load_pad_template), (load_feature), (load_plugin), (load_paths),
9771 (gst_xml_registry_load), (gst_xml_registry_load_plugin),
9772 (gst_xml_registry_save_caps), (gst_xml_registry_save_pad_template),
9773 (gst_xml_registry_save_feature), (gst_xml_registry_save_plugin),
9774 (gst_xml_registry_save), (gst_xml_registry_rebuild_recurse),
9775 (gst_xml_registry_rebuild):
9776 * gst/registries/gstlibxmlregistry.h:
9777 * tools/gst-compprep.c: (main):
9778 * tools/gst-inspect.c: (print_pad_templates_info):
9779 * tools/gst-xmlinspect.c: (print_element_info):
9780 Use libxml2 for registry parsing, use staticpadtemplates in
9781 elementfactories. Makes gst_init() +/- 10x faster.
9783 2005-04-12 Wim Taymans <wim@fluendo.com>
9785 * gst/base/Makefile.am:
9786 * gst/base/gstbasesink.c: (gst_basesink_base_init),
9787 (gst_basesink_pad_getcaps), (gst_basesink_init),
9788 (gst_basesink_event), (gst_basesink_change_state):
9789 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
9790 (gst_basesrc_init), (gst_basesrc_query),
9791 (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
9792 (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
9793 (gst_basesrc_check_get_range), (gst_basesrc_loop),
9794 (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
9795 (gst_basesrc_stop), (gst_basesrc_activate),
9796 (gst_basesrc_change_state):
9797 * gst/base/gsttypefindhelper.c: (helper_find_peek),
9798 (helper_find_suggest), (gst_type_find_helper):
9799 * gst/base/gsttypefindhelper.h:
9800 * gst/elements/Makefile.am:
9801 * gst/elements/gstelements.c:
9802 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
9803 (gst_fakesink_get_times), (gst_fakesink_event),
9804 (gst_fakesink_preroll), (gst_fakesink_render):
9805 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
9806 (gst_fakesrc_init), (gst_fakesrc_event_handler),
9807 (gst_fakesrc_get_property), (gst_fakesrc_create),
9808 (gst_fakesrc_start), (gst_fakesrc_stop):
9809 * gst/elements/gstfakesrc.h:
9810 * gst/elements/gstfilesrc.c: (gst_filesrc_class_init),
9811 (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
9812 (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
9813 (gst_filesrc_create_read), (gst_filesrc_create),
9814 (gst_filesrc_is_seekable), (gst_filesrc_get_size),
9815 (gst_filesrc_start):
9816 * gst/elements/gsttypefindelement.c:
9817 (gst_type_find_element_have_type), (gst_type_find_element_init),
9818 (start_typefinding), (stop_typefinding), (push_buffer_store),
9819 (gst_type_find_element_handle_event),
9820 (gst_type_find_element_chain),
9821 (gst_type_find_element_checkgetrange),
9822 (gst_type_find_element_getrange), (do_typefind),
9823 (gst_type_find_element_activate),
9824 (gst_type_find_element_change_state):
9825 * gst/elements/gsttypefindelement.h:
9826 * gst/gstpipeline.c: (pipeline_bus_handler):
9827 Added typefind helper.
9828 Small preroll fix in the base sink.
9829 Disable typefind code in basesrc.
9830 Crude port of typefindelement.
9834 2005-04-11 Wim Taymans <wim@fluendo.com>
9836 * check/gst/gstbus.c: (gstbus_suite):
9837 * check/gst/gstdata.c: (thread_ref), (gst_data_suite):
9839 Fix up the timeout so that the test does not fail.
9841 2005-04-06 Wim Taymans <wim@fluendo.com>
9844 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
9845 (gst_basesrc_init), (gst_basesrc_get_formats), (gst_basesrc_query),
9846 (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
9847 (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
9848 (gst_basesrc_check_get_range), (gst_basesrc_loop),
9849 (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
9850 (gst_basesrc_stop), (gst_basesrc_activate),
9851 (gst_basesrc_change_state), (basesrc_find_peek),
9852 (basesrc_find_suggest), (gst_basesrc_type_find):
9853 * gst/base/gstbasesrc.h:
9854 * gst/elements/gstfilesrc.c: (gst_filesrc_base_init),
9855 (gst_filesrc_class_init), (gst_filesrc_init),
9856 (gst_filesrc_finalize), (gst_filesrc_set_location),
9857 (gst_filesrc_set_property), (gst_filesrc_get_property),
9858 (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
9859 (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
9860 (gst_filesrc_create_read), (gst_filesrc_create),
9861 (gst_filesrc_get_size), (gst_filesrc_start), (gst_filesrc_stop):
9862 * gst/elements/gstfilesrc.h:
9863 * gst/gstelement.c: (gst_element_get_state_func),
9864 (gst_element_lost_state), (gst_element_pads_activate):
9865 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
9866 (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
9867 (gst_pad_pull_range):
9869 More work on the generic source base class, implement seeking,
9871 Make filesrc extend the base source class.
9872 Added gst_pad_set_checkgetrange_function to GstPad.
9874 2005-04-06 Andy Wingo <wingo@pobox.com>
9876 * pkgconfig/gstreamer-base.pc.in:
9877 * pkgconfig/gstreamer-base-uninstalled.pc.in: New files.
9879 * pkgconfig/Makefile.am:
9880 * configure.ac (AC_OUTPUT): Add gstreamer-base pkgconfig files.
9882 2005-04-04 Wim Taymans <wim@fluendo.com>
9884 * gst/base/Makefile.am:
9886 * gst/base/gstbasesink.c: (gst_basesink_base_init),
9887 (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
9888 (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
9889 (gst_basesink_do_sync), (gst_basesink_chain_unlocked):
9890 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
9891 (gst_basesrc_base_init), (gst_basesrc_class_init),
9892 (gst_basesrc_init), (gst_basesrc_get_formats),
9893 (gst_basesrc_get_query_types), (gst_basesrc_query),
9894 (gst_basesrc_get_event_mask), (gst_basesrc_event_handler),
9895 (gst_basesrc_set_property), (gst_basesrc_get_property),
9896 (gst_basesrc_get_range_unlocked), (gst_basesrc_get_range),
9897 (gst_basesrc_loop), (gst_basesrc_activate),
9898 (gst_basesrc_change_state):
9899 * gst/base/gstbasesrc.h:
9900 * gst/elements/gstfakesrc.c: (gst_fakesrc_base_init),
9901 (gst_fakesrc_class_init), (gst_fakesrc_init),
9902 (gst_fakesrc_event_handler), (gst_fakesrc_set_property),
9903 (gst_fakesrc_get_property), (gst_fakesrc_create):
9904 * gst/elements/gstfakesrc.h:
9905 * gst/elements/gstfilesrc.c: (gst_filesrc_getrange),
9906 (gst_filesrc_open_file), (gst_filesrc_loop),
9907 (gst_filesrc_activate), (filesrc_find_peek),
9908 (gst_filesrc_type_find):
9909 Made base source class, make fakesrc extend it.
9910 Add comments to basesink class.
9911 Some filesrc cleanup.
9913 2005-03-31 David Schleef <ds@schleef.org>
9915 * gst/gstplugin.c: (gst_plugin_check_file), (gst_plugin_load_file):
9916 Switch to using G_MODULE_BIND_LOCAL, which means plugins are now
9917 expected to link against libgstreamer.
9918 * gst/base/Makefile.am: link against libgstreamer
9919 * gst/elements/Makefile.am: same
9921 2005-03-31 Andy Wingo <wingo@pobox.com>
9923 * tests/instantiate/Makefile.am:
9924 * tests/instantiate/caps.c: Add test to test speed of caps copy
9927 * tests/memchunk/gmemchunktest.c (main): Use alloc only on the
9928 GMemChunk to be fair.
9930 * gst/gsttrashstack.h: Remove warning about using the fallback
9931 trash stack implementation, it's still faster than malloc.
9933 2005-03-30 Andy Wingo <wingo@pobox.com>
9935 * tests/complexity.c: Add a copyright.
9937 2005-03-31 Wim Taymans <wim@fluendo.com>
9939 * gst/base/gstbasetransform.c: (gst_base_transform_base_init),
9940 (gst_base_transform_class_init), (gst_base_transform_init),
9941 (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
9942 (gst_base_transform_get_property),
9943 (gst_base_transform_sink_activate),
9944 (gst_base_transform_src_activate),
9945 (gst_base_transform_change_state):
9946 * gst/base/gstbasetransform.h:
9947 * gst/elements/gstidentity.c: (gst_identity_class_init),
9948 (gst_identity_event), (gst_identity_check_perfect),
9949 (gst_identity_transform), (gst_identity_start),
9950 (gst_identity_stop):
9951 Added start/stop methods to transform base class so subclasses
9952 don't need to deal with state changes even.
9954 2005-03-31 Wim Taymans <wim@fluendo.com>
9956 * gst/gstevent.c: (gst_event_new_discontinuous_valist),
9957 (gst_event_new_discontinuous), (gst_event_discont_get_value):
9959 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
9960 (gst_pad_pull_range):
9961 Added rate to the discont event to prepare for variable speed
9962 and reverse playback.
9964 2005-03-29 David Schleef <ds@schleef.org>
9967 * testsuite/trigger/Makefile.am:
9968 * testsuite/trigger/trigger.c: A little example program to show
9969 how trigger-based elements can work.
9971 2005-03-29 Wim Taymans <wim@fluendo.com>
9973 * gst/base/Makefile.am:
9975 * gst/base/gstbasesink.c: (gst_basesink_get_type),
9976 (gst_basesink_base_init), (gst_basesink_class_init),
9977 (gst_basesink_pad_getcaps), (gst_basesink_init),
9978 (gst_basesink_activate), (gst_basesink_change_state):
9979 * gst/base/gstbasesink.h:
9980 * gst/base/gstbasetransform.c: (gst_base_transform_get_type),
9981 (gst_base_transform_base_init), (gst_base_transform_finalize),
9982 (gst_base_transform_class_init), (gst_base_transform_init),
9983 (gst_base_transform_proxy_getcaps), (gst_base_transform_setcaps),
9984 (gst_base_transform_event), (gst_base_transform_getrange),
9985 (gst_base_transform_chain), (gst_base_transform_handle_buffer),
9986 (gst_base_transform_set_property),
9987 (gst_base_transform_get_property),
9988 (gst_base_transform_sink_activate),
9989 (gst_base_transform_src_activate),
9990 (gst_base_transform_change_state):
9991 * gst/base/gstbasetransform.h:
9992 * gst/elements/gstidentity.c: (gst_identity_finalize),
9993 (gst_identity_class_init), (gst_identity_init),
9994 (gst_identity_event), (gst_identity_check_perfect),
9995 (gst_identity_transform), (gst_identity_set_property),
9996 (gst_identity_get_property), (gst_identity_change_state):
9997 * gst/elements/gstidentity.h:
9998 * gst/gstelement.c: (gst_element_get_state_func),
9999 (gst_element_lost_state), (gst_element_pads_activate):
10000 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
10001 (gst_pad_check_pull_range), (gst_pad_pull_range):
10003 Simplify pad activation.
10004 Added function to check if pull_range can be performed.
10005 Error out when pulling inactive or flushing pads.
10006 Removed const from refcounted types as it does not make sense.
10007 Simplify pad templates in basesink
10008 Added base class for simple 1-to-1 transforms.
10009 Make identity subclass the base transform.
10011 2005-03-29 Andy Wingo <wingo@pobox.com>
10013 * docs/libs/gstreamer-libs-overrides.txt:
10014 * docs/gst/gstreamer-overrides.txt: Add these files to CVS. Now I
10015 really don't understand what's going on, but like whatever. I want
10018 * docs/gst/Makefile.am:
10019 * docs/libs/Makefile.am: Dist the overrides files.
10021 * check/Makefile.am (clean-local): Remove .libs directories.
10023 * gst/elements/Makefile.am (EXTRA_DIST): Add all the attic
10024 elements to EXTRA_DIST, so po/ files are happy.
10026 * po/POTFILES.in: Er, remove it here.
10028 * po/POTFILES: Remove gstspider.c.
10030 * configure.ac (AC_OUTPUT): Add missing testsuite makefiles.
10032 * docs/libs/gstreamer-libs-docs.sgml:
10033 * docs/libs/gstreamer-libs-sections.txt: Remove the section on
10036 * tests/complexity.c (main): Set the length of the preroll queue
10037 on the sinks to prevent a lockup.
10039 * libs/gst/dataprotocol/Makefile.am:
10040 * libs/gst/dataprotocol/dataprotocol-test.c: Remove test, it's
10041 the same as the one in check/gst-libs/gdp.c.
10043 * po/, docs/gst/: Commit automatic changes to docs and po files.
10045 * gst/elements/Makefile.am (libgstelements_la_LDFLAGS): Link to
10046 the versioned libgstbase.
10048 * check/Makefile.am: Depend on an unversioned gst-register, seems
10049 to make autoconf happier.
10051 * gst/base/Makefile.am: Make libgstbase a versioned lib.
10053 2005-03-28 Wim Taymans <wim@fluendo.com>
10056 * docs/design/part-gstelement.txt:
10057 * docs/design/part-negotiation.txt:
10058 * docs/design/part-preroll.txt:
10059 * docs/design/part-scheduling.txt:
10060 * docs/design/part-states.txt:
10062 * gst/base/Makefile.am:
10064 * gst/base/gstbasesink.c: (gst_basesink_get_template),
10065 (gst_basesink_base_init), (gst_basesink_class_init),
10066 (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
10067 (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
10068 (gst_basesink_set_pad_functions),
10069 (gst_basesink_set_all_pad_functions), (gst_basesink_set_clock),
10070 (gst_basesink_set_property), (gst_basesink_get_property),
10071 (gst_base_sink_get_template), (gst_base_sink_get_caps),
10072 (gst_base_sink_set_caps), (gst_base_sink_buffer_alloc),
10073 (gst_basesink_preroll_queue_push),
10074 (gst_basesink_preroll_queue_empty),
10075 (gst_basesink_preroll_queue_flush), (gst_basesink_finish_preroll),
10076 (gst_basesink_event), (gst_basesink_get_times),
10077 (gst_basesink_do_sync), (gst_basesink_handle_buffer),
10078 (gst_basesink_chain_unlocked), (gst_basesink_chain),
10079 (gst_basesink_loop), (gst_basesink_activate),
10080 (gst_basesink_change_state):
10081 * gst/base/gstbasesink.h:
10082 * gst/elements/Makefile.am:
10083 * gst/elements/gstfakesink.c: (gst_fakesink_base_init),
10084 (gst_fakesink_class_init), (gst_fakesink_init),
10085 (gst_fakesink_set_property), (gst_fakesink_get_property),
10086 (gst_fakesink_get_times), (gst_fakesink_event),
10087 (gst_fakesink_preroll), (gst_fakesink_render),
10088 (gst_fakesink_change_state):
10089 * gst/elements/gstfakesink.h:
10090 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
10091 (gst_bin_get_state), (gst_bin_change_state), (gst_bin_send_event):
10092 * gst/gstelement.c: (gst_element_add_pad),
10093 (gst_element_get_state_func), (gst_element_abort_state),
10094 (gst_element_commit_state), (gst_element_lost_state),
10095 (gst_element_set_state), (gst_element_pads_activate):
10096 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_event_default):
10097 * gst/gstpipeline.c: (gst_pipeline_send_event),
10098 (gst_pipeline_change_state):
10099 Added state change code.
10100 Added/updated docs.
10101 Added sink base class, make fakesink extend the base class.
10102 Small cleanups in GstPipeline.
10104 2005-03-26 David Schleef <ds@schleef.org>
10106 * gst/Makefile.am: remove gstcpu.[ch]. The gst_cpu functionality
10107 is broken and should be implemented in a different library.
10108 * gst/gst.c: (init_post): don't call _gst_cpu_initialize()
10109 * gst/gst.h: remove gstcpu.h
10110 * gst/gstcpu.c: remove
10111 * gst/gstcpu.h: remove
10112 * gst/Makefile.am.future: Remove this file. It's ancient.
10114 2005-03-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
10116 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
10117 (gst_bin_send_event):
10118 Add default event/set_manager handlers. The set_manager handler
10119 takes care that the manager is distributed over kids that were
10120 already in the bin before the manager was set. The event handler
10121 is a utility virtual function that sends the event over all sinks,
10122 so that gst_element_send_event (bin, event); has the expected
10124 * gst/gstpad.c: (gst_pad_event_default):
10125 Re-install default event handling for discontinuities, so that
10126 seeking works without requiring hacks in applications or extra
10128 * gst/gstpipeline.c: (gst_pipeline_class_init),
10129 (gst_pipeline_send_event):
10130 Half hack, half utility: set a pipeline to PAUSED for seek events,
10131 since that is the only way we can guarantee a/v sync. Means that
10132 you can do gst_element_seek (pipeline, method, pos); on a pipeline
10133 and it "just works".
10135 2005-03-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
10137 * gst/gstpipeline.c: (gst_pipeline_use_clock):
10138 Lock/unlock mismatch.
10140 2005-03-25 Thomas Vander Stichele <thomas at apestaart dot org>
10142 * docs/faq/gst-uninstalled:
10143 add gst-plugins-base
10144 * docs/gst/Makefile.am:
10145 don't error out until docs are fixed
10146 * docs/gst/gstreamer.types:
10149 2005-03-22 Wim Taymans <wim@fluendo.com>
10151 * check/Makefile.am:
10152 * check/gst/gstmessage.c: (START_TEST), (gst_data_suite), (main):
10153 * gst/gststructure.c: (gst_structure_set_valist),
10154 (gst_structure_copy_conditional):
10155 Activated more tests.
10156 Added message test.
10157 Added G_TYPE_POINTER to GstStructure.
10160 2005-03-22 Wim Taymans <wim@fluendo.com>
10162 * docs/design/part-TODO.txt:
10163 * docs/design/part-events.txt:
10164 * docs/design/part-gstbin.txt:
10165 * docs/design/part-gstbus.txt:
10166 * docs/design/part-gstpipeline.txt:
10167 * docs/design/part-messages.txt:
10169 * gst/gstmessage.c:
10172 2005-03-21 Wim Taymans <wim@fluendo.com>
10174 * gst/gstbus.c: (gst_bus_post):
10175 Fix copy-and-paste error.
10177 2005-03-21 Wim Taymans <wim@fluendo.com>
10179 * check/Makefile.am:
10181 * gst/elements/Makefile.am:
10182 * gst/elements/gstelements.c:
10183 * gst/elements/gstfakesink.c: (gst_fakesink_init),
10184 (gst_fakesink_event), (gst_fakesink_chain):
10185 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
10186 (gst_fakesrc_init), (gst_fakesrc_get_event_mask),
10187 (gst_fakesrc_event_handler), (gst_fakesrc_set_pad_functions),
10188 (gst_fakesrc_set_all_pad_functions), (gst_fakesrc_request_new_pad),
10189 (gst_fakesrc_set_property), (gst_fakesrc_get_property),
10190 (gst_fakesrc_get_range_unlocked), (gst_fakesrc_get_range),
10191 (gst_fakesrc_loop), (gst_fakesrc_activate),
10192 (gst_fakesrc_change_state):
10193 * gst/elements/gstfakesrc.h:
10194 * gst/elements/gstfilesrc.c: (gst_filesrc_init),
10195 (gst_filesrc_get_read), (gst_filesrc_getrange), (gst_filesrc_get),
10196 (gst_filesrc_open_file), (gst_filesrc_loop),
10197 (gst_filesrc_activate), (gst_filesrc_change_state),
10198 (filesrc_find_peek), (filesrc_find_suggest),
10199 (gst_filesrc_type_find):
10200 * gst/elements/gstidentity.c: (gst_identity_finalize),
10201 (gst_identity_class_init), (gst_identity_init),
10202 (gst_identity_proxy_getcaps), (identity_queue_push),
10203 (identity_queue_pop), (identity_queue_flush), (gst_identity_event),
10204 (gst_identity_getrange), (gst_identity_chain),
10205 (gst_identity_sink_loop), (gst_identity_src_loop),
10206 (gst_identity_handle_buffer), (gst_identity_set_dataflow_funcs),
10207 (gst_identity_set_property), (gst_identity_get_property),
10208 (gst_identity_change_state):
10209 * gst/elements/gstidentity.h:
10210 * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_init),
10211 (gst_tee_update_pad_functions), (gst_tee_request_new_pad),
10212 (gst_tee_set_property), (gst_tee_get_property), (gst_tee_do_push),
10213 (gst_tee_handle_buffer), (gst_tee_chain), (gst_tee_loop),
10214 (gst_tee_sink_activate):
10215 * gst/elements/gsttee.h:
10216 * gst/gst.c: (gst_register_core_elements), (init_post):
10218 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_bus),
10219 (gst_bin_set_scheduler), (gst_bin_add_func), (gst_bin_add),
10220 (gst_bin_remove_func), (gst_bin_remove), (gst_bin_get_state),
10221 (gst_bin_change_state):
10223 * gst/gstbus.c: (gst_bus_get_type), (gst_bus_class_init),
10224 (gst_bus_init), (gst_bus_dispose), (gst_bus_set_property),
10225 (gst_bus_get_property), (gst_bus_new), (gst_bus_post),
10226 (gst_bus_have_pending), (gst_bus_pop), (gst_bus_peek),
10227 (gst_bus_set_sync_handler), (gst_bus_create_watch),
10228 (bus_watch_callback), (bus_watch_destroy),
10229 (gst_bus_add_watch_full), (gst_bus_add_watch), (poll_handler),
10230 (poll_timeout), (gst_bus_poll):
10234 * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
10235 (gst_element_post_message), (gst_element_message_full),
10236 (gst_element_get_state_func), (gst_element_get_state),
10237 (gst_element_abort_state), (gst_element_commit_state),
10238 (gst_element_lost_state), (gst_element_set_state),
10239 (gst_element_pads_activate), (gst_element_change_state),
10240 (gst_element_dispose), (gst_element_set_manager_func),
10241 (gst_element_set_bus_func), (gst_element_set_scheduler_func),
10242 (gst_element_set_manager), (gst_element_get_manager),
10243 (gst_element_set_bus), (gst_element_get_bus),
10244 (gst_element_set_scheduler), (gst_element_get_scheduler):
10245 * gst/gstelement.h:
10246 * gst/gstevent.c: (gst_event_new_segment_seek),
10247 (gst_event_new_flush):
10249 * gst/gstmessage.c: (_gst_message_initialize), (_gst_message_copy),
10250 (_gst_message_free), (gst_message_get_type), (gst_message_new),
10251 (gst_message_new_eos), (gst_message_new_error),
10252 (gst_message_new_warning), (gst_message_new_tag),
10253 (gst_message_new_state_changed), (gst_message_new_application),
10254 (gst_message_get_structure), (gst_message_parse_tag),
10255 (gst_message_parse_state_changed), (gst_message_parse_error),
10256 (gst_message_parse_warning):
10257 * gst/gstmessage.h:
10258 * gst/gstpad.c: (gst_real_pad_class_init), (gst_real_pad_init),
10259 (gst_real_pad_set_property), (gst_pad_set_active),
10260 (gst_pad_is_active), (gst_pad_set_blocked_async),
10261 (gst_pad_set_blocked), (gst_pad_is_blocked),
10262 (gst_pad_set_activate_function), (gst_pad_set_loop_function),
10263 (gst_pad_set_getrange_function), (gst_pad_set_acceptcaps_function),
10264 (gst_pad_set_fixatecaps_function), (gst_pad_set_setcaps_function),
10265 (gst_pad_unlink), (gst_pad_link_prepare_filtered),
10266 (gst_pad_link_filtered), (gst_pad_relink_filtered),
10267 (gst_real_pad_get_caps_unlocked), (gst_pad_get_caps),
10268 (gst_pad_peer_get_caps), (gst_pad_fixate_caps),
10269 (gst_pad_accept_caps), (gst_pad_peer_accept_caps),
10270 (gst_pad_set_caps), (gst_pad_configure_sink),
10271 (gst_pad_configure_src), (gst_pad_get_negotiated_caps),
10272 (gst_pad_get_filter_caps), (gst_pad_alloc_buffer),
10273 (gst_real_pad_dispose), (gst_real_pad_finalize),
10274 (handle_pad_block), (gst_pad_push), (gst_pad_pull_range),
10275 (gst_pad_event_default_dispatch), (gst_pad_event_default),
10276 (gst_pad_push_event), (gst_pad_send_event), (gst_pad_get_formats):
10278 * gst/gstpipeline.c: (gst_pipeline_init), (is_eos),
10279 (pipeline_bus_handler), (gst_pipeline_change_state),
10280 (gst_pipeline_get_scheduler), (gst_pipeline_get_bus):
10281 * gst/gstpipeline.h:
10283 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
10284 (gst_queue_finalize), (gst_queue_getcaps), (gst_queue_link_sink),
10285 (gst_queue_link_src), (gst_queue_bufferalloc),
10286 (gst_queue_locked_flush), (gst_queue_handle_sink_event),
10287 (gst_queue_is_empty), (gst_queue_is_filled), (gst_queue_chain),
10288 (gst_queue_loop), (gst_queue_handle_src_event),
10289 (gst_queue_handle_src_query), (gst_queue_src_activate),
10290 (gst_queue_change_state):
10292 * gst/gstscheduler.c: (gst_scheduler_init),
10293 (gst_scheduler_dispose), (gst_scheduler_create_task),
10294 (gst_scheduler_factory_create):
10295 * gst/gstscheduler.h:
10296 * gst/gststructure.c: (gst_structure_get_type),
10297 (gst_structure_copy_conditional):
10298 * gst/gststructure.h:
10299 * gst/gsttaginterface.h:
10300 * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
10301 (gst_task_init), (gst_task_dispose), (gst_task_create),
10302 (gst_task_get_state), (gst_task_start), (gst_task_stop),
10308 * gst/schedulers/Makefile.am:
10309 * gst/schedulers/cothreads_compat.h:
10310 * gst/schedulers/entryscheduler.c:
10311 * gst/schedulers/faircothreads.c:
10312 * gst/schedulers/faircothreads.h:
10313 * gst/schedulers/fairscheduler.c:
10314 * gst/schedulers/gstbasicscheduler.c:
10315 * gst/schedulers/gstoptimalscheduler.c:
10316 * gst/schedulers/gthread-cothreads.h:
10317 * gst/schedulers/threadscheduler.c:
10318 (gst_thread_scheduler_task_get_type),
10319 (gst_thread_scheduler_task_class_init),
10320 (gst_thread_scheduler_task_init),
10321 (gst_thread_scheduler_task_start),
10322 (gst_thread_scheduler_task_stop),
10323 (gst_thread_scheduler_task_pause), (gst_thread_scheduler_get_type),
10324 (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
10325 (gst_thread_scheduler_init), (gst_thread_scheduler_create_task),
10326 (gst_thread_scheduler_setup), (gst_thread_scheduler_reset),
10328 * libs/gst/Makefile.am:
10329 * libs/gst/bytestream/bytestream.c: (gst_bytestream_get_next_buf):
10330 * libs/gst/bytestream/filepad.c: (gst_file_pad_init),
10331 (gst_file_pad_parent_set):
10332 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
10333 (gst_dp_event_from_packet):
10334 * tests/complexity.c: (main):
10335 * tests/mass_elements.c: (main):
10336 * testsuite/states/locked.c: (message_received), (main):
10337 * testsuite/states/parent.c: (main):
10338 * tools/gst-inspect.c: (print_element_flag_info),
10339 (print_implementation_info), (print_pad_info):
10340 * tools/gst-launch.c: (check_intr), (play_handler), (event_loop),
10342 * tools/gst-md5sum.c: (event_loop), (main):
10343 * tools/gst-typefind.c: (main):
10344 * tools/gst-xmlinspect.c: (print_element_info):
10346 Added GstBus for mainloop integration.
10347 Added GstMessage for sending notifications on the bus.
10348 Added GstTask as an abstraction for pipeline entry points.
10350 Removed Schedulers.
10351 Simplified GstQueue for multithreaded core.
10352 Made _link threadsafe, removed old capsnego.
10353 Added STREAM_LOCK and PREROLL_LOCK in GstPad.
10354 Added pad blocking functions.
10355 Reworked scheduling functions in GstPad to prepare for
10356 scheduling updates soon.
10357 Moved events out of data stream.
10358 Simplified GstEvent types.
10359 Added return values to push/pull.
10360 Removed clocking from GstElement.
10361 Added prototypes for state change function for next merge.
10362 Removed iterate from bins and state change management.
10363 Fixed some elements, disabled others for now.
10364 Fixed -inspect and -launch.
10365 Added check for GstBus.
10367 2005-03-10 Wim Taymans <wim@fluendo.com>
10369 * docs/design/part-MT-refcounting.txt:
10370 * docs/design/part-clocks.txt:
10371 * docs/design/part-gstelement.txt:
10372 * docs/design/part-gstobject.txt:
10373 * docs/design/part-standards.txt:
10374 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
10375 (gst_bin_remove_func), (gst_bin_remove):
10379 * testsuite/clock/clock1.c: (main):
10380 * testsuite/clock/clock2.c: (gst_clock_debug), (element_wait),
10382 * testsuite/dlopen/loadgst.c: (do_test):
10383 * testsuite/refcounting/bin.c: (add_remove_test1),
10384 (add_remove_test2), (main):
10385 * testsuite/refcounting/element.c: (main):
10386 * testsuite/refcounting/element_pad.c: (main):
10387 * testsuite/refcounting/pad.c: (main):
10388 * tools/gst-launch.c: (sigint_handler_sighandler):
10389 * tools/gst-typefind.c: (main):
10391 Added doc about clock.
10392 removed gst_bin_iterate_recurse_up(), marked methods
10394 Fix more testsuites.
10396 2005-03-09 Wim Taymans <wim@fluendo.com>
10398 * gst/gstpad.c: (gst_pad_get_direction),
10399 (_gst_pad_default_fixate_foreach), (gst_pad_collectv),
10400 (gst_pad_collect_valist):
10401 * testsuite/bins/interface.c: (main):
10402 * testsuite/caps/audioscale.c: (test_caps):
10403 * testsuite/caps/caps.c: (test1), (test2), (test3):
10404 * testsuite/caps/deserialize.c: (main):
10405 * testsuite/caps/enumcaps.c: (main):
10406 * testsuite/caps/filtercaps.c: (main):
10407 * testsuite/caps/intersect2.c: (main):
10408 * testsuite/caps/random.c: (main):
10409 * testsuite/caps/renegotiate.c: (my_fixate), (main):
10410 * testsuite/caps/sets.c: (check_caps):
10411 * testsuite/caps/simplify.c: (check_caps), (main):
10412 * testsuite/caps/subtract.c: (check_caps):
10413 Fix _pad_get_direction wrt ghostpads.
10414 Fix caps testsuite.
10416 2005-03-09 Wim Taymans <wim@fluendo.com>
10418 * check/Makefile.am:
10419 * check/gst/gstbin.c: (START_TEST), (gst_bin_suite), (main):
10420 * check/gst/gstsystemclock.c: (START_TEST), (gst_clock_debug),
10421 (ok_callback), (error_callback), (gst_systemclock_suite), (main):
10422 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_index_func),
10423 (gst_bin_set_clock_func), (gst_bin_get_clock_func),
10424 (gst_bin_add_func), (gst_bin_add), (gst_bin_remove_func),
10425 (gst_bin_remove), (gst_bin_iterate_recurse_up),
10426 (bin_element_is_sink), (gst_bin_iterate_sinks),
10427 (gst_bin_iterate_all_by_interface):
10429 * gst/gstelement.c: (gst_element_init), (gst_element_error_full),
10430 (gst_element_change_state), (gst_element_dispose),
10431 (gst_element_finalize), (gst_element_set_loop_function):
10432 * gst/gstelement.h:
10433 * gst/gstiterator.c: (find_custom_fold_func):
10434 * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
10435 (gst_pad_collectv), (gst_pad_collect_valist),
10436 (gst_pad_template_new):
10437 * gst/gstpipeline.c: (gst_pipeline_class_init),
10438 (gst_pipeline_dispose), (gst_pipeline_set_property),
10439 (gst_pipeline_get_property), (gst_pipeline_get_clock_func),
10440 (gst_pipeline_get_clock), (gst_pipeline_use_clock),
10441 (gst_pipeline_set_clock), (gst_pipeline_auto_clock):
10443 * gst/schedulers/entryscheduler.c:
10444 * gst/schedulers/gstbasicscheduler.c:
10445 (gst_basic_scheduler_cothreaded_chain),
10446 (gst_basic_scheduler_chain_add_element):
10447 * testsuite/bins/interface.c: (main):
10449 Added GstSystemClock test.
10450 Implemented clock distribution code in GstBin.
10451 Implemented iterate sinks method for future use.
10452 Rearranged gstelement.h
10453 Fix GstIterator comparison bug.
10454 Moved some code to GstPipeline, mostly clocking related.
10456 2005-03-09 Wim Taymans <wim@fluendo.com>
10459 * gst/gst_private.h:
10460 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
10461 (gst_bin_remove_func), (gst_bin_remove),
10462 (gst_bin_get_by_name_recurse_up):
10463 * gst/gstclock.c: (gst_clock_id_ref), (gst_clock_id_unref),
10464 (gst_clock_id_compare_func), (gst_clock_id_wait),
10465 (gst_clock_id_wait_async), (gst_clock_init),
10466 (gst_clock_adjust_unlocked), (gst_clock_get_time):
10467 * gst/gstelement.h:
10468 * gst/gstinfo.c: (_gst_debug_init):
10470 * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
10471 (gst_pad_collectv), (gst_pad_collect_valist), (gst_pad_query):
10473 Bump version number, we're now 0.9.0
10474 Add future debugging category.
10475 Fix NULL _unref() in _get_by_name_recurse_up
10476 Rearrange gstpad.h.
10479 2005-03-08 Wim Taymans <wim@fluendo.com>
10481 * gst/elements/gstaggregator.c: (gst_aggregator_class_init):
10482 * gst/elements/gstfakesink.c: (gst_fakesink_class_init):
10483 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
10484 * gst/elements/gstfdsink.c: (gst_fdsink_class_init):
10485 * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init):
10486 * gst/elements/gstfilesink.c: (gst_filesink_class_init):
10487 * gst/elements/gstfilesrc.c: (gst_filesrc_class_init):
10488 * gst/elements/gstidentity.c: (gst_identity_class_init):
10489 * gst/elements/gstmd5sink.c: (gst_md5sink_class_init):
10490 * gst/elements/gstmultifilesrc.c: (gst_multifilesrc_class_init):
10491 * gst/elements/gstshaper.c: (gst_shaper_class_init):
10492 * gst/elements/gststatistics.c: (gst_statistics_class_init):
10493 * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_getcaps),
10495 * gst/gstelement.c: (gst_element_class_init),
10496 (gst_element_base_class_init), (gst_element_init),
10497 (gst_element_get_random_pad), (gst_element_wait_state_change),
10498 (gst_element_change_state), (gst_element_dispose),
10499 (gst_element_finalize), (gst_element_set_loop_function):
10500 * gst/gstelement.h:
10501 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_link_src):
10502 * gst/gstthread.c: (gst_thread_class_init),
10503 (gst_thread_release_children_locks), (gst_thread_change_state):
10504 * gst/schedulers/gstbasicscheduler.c:
10505 (gst_basic_scheduler_loopfunc_wrapper),
10506 (gst_basic_scheduler_chain_wrapper),
10507 (gst_basic_scheduler_src_wrapper),
10508 (gst_basic_scheduler_remove_element):
10509 * gst/schedulers/gstoptimalscheduler.c: (schedule_group):
10510 Remove threadsafe properties. Fix elements because GObject
10511 complains when installing a property before declaring a
10512 set/get_property handler.
10513 Rearrange gstelement.h file, use STATE macros for state locks.
10514 Free mutexes in the finalize method instead of dispose.
10516 2005-03-08 Wim Taymans <wim@fluendo.com>
10518 * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
10519 * gst/gstthread.c: (gst_thread_release_children_locks):
10520 Added parentage check.
10521 Fix build og GstThread again.
10523 2005-03-08 Wim Taymans <wim@fluendo.com>
10525 * docs/design/part-MT-refcounting.txt:
10526 * docs/design/part-conventions.txt:
10527 * docs/design/part-gstobject.txt:
10528 * docs/design/part-relations.txt:
10529 * docs/design/part-standards.txt:
10530 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
10531 (gst_bin_remove_func), (gst_bin_remove), (gst_bin_iterate_recurse),
10532 (gst_bin_get_by_name), (gst_bin_get_by_interface),
10533 (gst_bin_iterate_all_by_interface):
10536 * gst/gstelement.c: (gst_element_class_init),
10537 (gst_element_change_state), (gst_element_set_loop_function):
10538 * gst/gstelement.h:
10539 * gst/gstiterator.c:
10540 * gst/gstobject.c: (gst_object_class_init), (gst_object_ref),
10541 (gst_object_unref), (gst_object_sink), (gst_object_dispose),
10542 (gst_object_dispatch_properties_changed), (gst_object_set_name),
10543 (gst_object_set_parent), (gst_object_unparent),
10544 (gst_object_check_uniqueness):
10546 Docs updates, clean up some headers.
10548 2005-03-07 Wim Taymans <wim@fluendo.com>
10550 * check/.cvsignore:
10551 * check/Makefile.am:
10552 * check/gst-libs/.cvsignore:
10553 * check/gst-libs/gdp.c: (START_TEST), (gst_object_suite), (main):
10554 * check/gst/.cvsignore:
10555 * check/gst/gstbus.c: (pound_bus_with_messages), (pull_messages),
10556 (START_TEST), (gstbus_suite), (main):
10557 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite), (main):
10558 * check/gst/gstdata.c: (START_TEST), (thread_ref), (thread_unref),
10559 (gst_data_suite), (main):
10560 * check/gst/gstiterator.c: (make_list_of_ints), (START_TEST),
10561 (add_fold_func), (gstiterator_suite), (main):
10562 * check/gst/gstobject.c: (gst_fake_object_get_type), (START_TEST),
10563 (thread_name_object), (thread_name_object_default),
10564 (gst_object_name_compare), (gst_object_suite), (main):
10565 * check/gst/gstpad.c: (START_TEST), (thread_link_unlink),
10566 (gst_pad_suite), (main):
10567 * check/gstcheck.c: (gst_check_log_message_func),
10568 (gst_check_log_critical_func), (gst_check_init):
10569 * check/gstcheck.h:
10570 * check/pipelines/simple_launch_lines.c: (setup_pipeline),
10571 (run_pipeline), (START_TEST), (simple_launch_lines_suite), (main):
10574 2005-03-07 Wim Taymans <wim@fluendo.com>
10576 * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
10577 (gst_list_iterator_next), (gst_list_iterator_resync),
10578 (gst_list_iterator_free), (gst_iterator_new_list),
10579 (gst_iterator_pop), (gst_iterator_next), (gst_iterator_resync),
10580 (gst_iterator_free), (gst_iterator_push), (filter_next),
10581 (filter_resync), (filter_uninit), (filter_free),
10582 (gst_iterator_filter), (gst_iterator_fold), (foreach_fold_func),
10583 (gst_iterator_foreach), (find_custom_fold_func),
10584 (gst_iterator_find_custom):
10585 * gst/gstiterator.h:
10586 Added missing files.
10588 2005-03-07 Wim Taymans <wim@fluendo.com>
10592 * docs/design/part-MT-refcounting.txt:
10593 * docs/design/part-conventions.txt:
10594 * docs/design/part-gstobject.txt:
10595 * docs/design/part-relations.txt:
10596 * examples/mixer/mixer.c: (main):
10597 * examples/thread/thread.c: (eos), (main):
10599 * gst/autoplug/gstsearchfuncs.c: (gst_autoplug_caps_intersect):
10600 * gst/autoplug/gstspider.c: (gst_spider_identity_plug),
10601 (gst_spider_plug_from_srcpad):
10602 * gst/autoplug/gstspideridentity.c: (gst_spider_identity_getcaps),
10603 (gst_spider_identity_change_state),
10604 (gst_spider_identity_sink_loop_type_finding):
10605 * gst/elements/gstfakesrc.c: (gst_fakesrc_loop):
10606 * gst/elements/gstidentity.c: (gst_identity_init):
10607 * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_getcaps),
10608 (gst_tee_link), (gst_tee_request_new_pad), (gst_tee_chain):
10609 * gst/elements/gsttypefindelement.c: (free_entry):
10612 * gst/gstbin.c: (gst_bin_init), (gst_bin_get_clock_func),
10613 (gst_bin_set_clock_func), (gst_bin_auto_clock),
10614 (gst_bin_set_index), (gst_bin_set_element_sched),
10615 (gst_bin_unset_element_sched), (gst_bin_add_func), (gst_bin_add),
10616 (gst_bin_remove_func), (gst_bin_remove), (iterate_child),
10617 (gst_bin_iterate_elements), (iterate_child_recurse),
10618 (gst_bin_iterate_recurse), (gst_bin_dispose), (compare_name),
10619 (gst_bin_get_by_name), (gst_bin_get_by_name_recurse_up),
10620 (compare_interface), (gst_bin_get_by_interface),
10621 (gst_bin_iterate_all_by_interface), (gst_bin_iterate_func):
10623 * gst/gstbuffer.c: (gst_buffer_get_type), (_gst_buffer_sub_free),
10624 (gst_buffer_default_free), (gst_buffer_default_copy),
10625 (gst_buffer_new), (gst_buffer_get_caps), (gst_buffer_set_caps),
10626 (gst_buffer_create_sub):
10628 * gst/gstcaps.c: (gst_caps_get_type), (gst_caps_new_empty),
10629 (_gst_caps_free), (gst_caps_make_writable), (gst_caps_ref),
10630 (gst_caps_unref), (gst_static_caps_get),
10631 (gst_caps_remove_and_get_structure), (gst_caps_append),
10632 (gst_caps_append_structure), (gst_caps_remove_structure),
10633 (gst_caps_copy_nth), (gst_caps_set_simple),
10634 (gst_caps_set_simple_valist), (gst_caps_is_fixed_foreach),
10635 (gst_structure_is_equal_foreach), (gst_caps_is_subset),
10636 (gst_caps_structure_intersect_field), (gst_caps_intersect),
10637 (gst_caps_structure_subtract_field), (gst_caps_subtract),
10638 (gst_caps_normalize_foreach), (gst_caps_compare_structures),
10639 (gst_caps_structure_figure_out_union),
10640 (gst_caps_switch_structures), (gst_caps_do_simplify),
10641 (gst_caps_replace), (gst_caps_from_string),
10642 (gst_caps_copy_conditional):
10644 * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_ref),
10645 (_gst_clock_id_free), (gst_clock_id_unref),
10646 (gst_clock_id_compare_func), (gst_clock_id_wait),
10647 (gst_clock_id_wait_async), (gst_clock_class_init),
10648 (gst_clock_init), (gst_clock_dispose), (gst_clock_adjust_unlocked),
10649 (gst_clock_get_time), (gst_clock_set_time_adjust),
10650 (gst_clock_set_property), (gst_clock_get_property):
10653 * gst/gstcpu.c: (_gst_cpu_initialize_i386), (gst_cpu_get_flags):
10654 * gst/gstdata.c: (gst_data_is_writable), (gst_data_copy_on_write):
10656 * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
10657 (gst_element_requires_clock), (gst_element_provides_clock),
10658 (gst_element_set_clock), (gst_element_clock_wait),
10659 (gst_element_wait), (gst_element_set_time_delay),
10660 (gst_element_is_indexable), (gst_element_add_pad),
10661 (gst_element_add_ghost_pad), (gst_element_remove_pad),
10662 (pad_compare_name), (gst_element_get_static_pad),
10663 (gst_element_request_pad), (gst_element_get_request_pad),
10664 (gst_element_get_pad), (iterate_pad), (gst_element_iterate_pads),
10665 (gst_element_class_get_pad_template_list),
10666 (gst_element_class_get_pad_template), (gst_element_error_func),
10667 (gst_element_get_random_pad), (gst_element_get_event_masks),
10668 (gst_element_send_event), (gst_element_seek),
10669 (gst_element_get_query_types), (gst_element_query),
10670 (gst_element_get_formats), (gst_element_convert),
10671 (gst_element_is_locked_state), (gst_element_set_locked_state),
10672 (gst_element_sync_state_with_parent), (gst_element_change_state),
10673 (gst_element_finalize), (gst_element_yield),
10674 (gst_element_interrupt), (gst_element_set_scheduler),
10675 (gst_element_get_scheduler), (gst_element_set_loop_function):
10676 * gst/gstelement.h:
10678 * gst/gstformat.c: (_gst_format_initialize), (gst_format_register),
10679 (gst_format_get_by_nick), (gst_format_get_details),
10680 (gst_format_iterate_definitions):
10682 * gst/gstindex.c: (gst_index_gtype_resolver):
10685 * gst/gstmemchunk.c: (gst_mem_chunk_alloc), (gst_mem_chunk_alloc0),
10686 (gst_mem_chunk_free):
10687 * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
10688 (gst_object_ref), (gst_object_unref), (gst_object_sink),
10689 (gst_object_replace), (gst_object_dispose), (gst_object_finalize),
10690 (gst_object_dispatch_properties_changed),
10691 (gst_object_set_name_default), (gst_object_set_name),
10692 (gst_object_get_name), (gst_object_set_name_prefix),
10693 (gst_object_get_name_prefix), (gst_object_set_parent),
10694 (gst_object_get_parent), (gst_object_unparent),
10695 (gst_object_check_uniqueness), (gst_object_save_thyself),
10696 (gst_object_restore_thyself), (gst_object_real_restore_thyself),
10697 (gst_object_set_property), (gst_object_get_property),
10698 (gst_object_get_path_string):
10700 * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
10701 (gst_real_pad_init), (gst_real_pad_get_property),
10702 (gst_pad_custom_new), (gst_pad_get_direction),
10703 (gst_pad_set_active), (gst_pad_is_active),
10704 (gst_pad_set_event_function), (gst_pad_is_linked),
10705 (gst_pad_link_free), (gst_pad_link_intersect),
10706 (gst_pad_link_fixate), (gst_pad_set_caps),
10707 (gst_pad_try_set_caps_nonfixed), (gst_pad_set_pad_template),
10708 (gst_pad_get_real_parent), (gst_pad_add_ghost_pad),
10709 (gst_pad_remove_ghost_pad), (_gst_pad_default_fixate_foreach),
10710 (gst_pad_link_unnegotiate), (gst_pad_proxy_fixate),
10711 (gst_pad_get_caps), (gst_pad_peer_get_caps),
10712 (gst_pad_get_pad_template_caps), (gst_pad_get_peer),
10713 (gst_pad_realize), (gst_pad_get_allowed_caps),
10714 (gst_real_pad_dispose), (gst_real_pad_finalize),
10715 (gst_pad_collectv), (gst_pad_collect_valist),
10716 (gst_pad_template_dispose), (gst_pad_template_new),
10717 (gst_pad_get_internal_links):
10719 * gst/gstpipeline.c: (gst_pipeline_dispose),
10720 (gst_pipeline_change_state):
10721 * gst/gstpipeline.h:
10723 * gst/gstpluginfeature.c: (gst_plugin_feature_get_name),
10724 (gst_plugin_feature_set_rank), (gst_plugin_feature_get_rank):
10725 * gst/gstpluginfeature.h:
10726 * gst/gstprobe.c: (gst_probe_dispatcher_dispatch):
10727 * gst/gstquery.c: (_gst_query_type_initialize),
10728 (gst_query_type_register), (gst_query_type_get_by_nick),
10729 (gst_query_type_get_details), (gst_query_type_iterate_definitions):
10731 * gst/gstqueue.c: (gst_queue_link_sink), (gst_queue_link_src):
10732 * gst/gstscheduler.c: (gst_scheduler_add_element),
10733 (gst_scheduler_factory_create):
10734 * gst/gststructure.c: (gst_structure_set_parent_refcount),
10735 (gst_structure_free), (gst_structure_set_name),
10736 (gst_structure_id_set_value), (gst_structure_set_value),
10737 (gst_structure_set_valist), (gst_structure_remove_field),
10738 (gst_structure_remove_fields),
10739 (gst_structure_remove_fields_valist),
10740 (gst_structure_remove_all_fields), (gst_structure_foreach),
10741 (gst_structure_map_in_place),
10742 (gst_caps_structure_fixate_field_nearest_int),
10743 (gst_caps_structure_fixate_field_nearest_double):
10744 * gst/gststructure.h:
10745 * gst/gstsystemclock.c: (gst_system_clock_class_init),
10746 (gst_system_clock_init), (gst_system_clock_dispose),
10747 (gst_system_clock_async_thread),
10748 (gst_system_clock_id_wait_unlocked), (gst_system_clock_id_wait),
10749 (gst_system_clock_id_wait_async), (gst_system_clock_id_unschedule):
10750 * gst/gstsystemclock.h:
10751 * gst/gsttag.c: (gst_tag_list_add_value_internal),
10752 (gst_tag_list_copy_foreach), (structure_foreach_wrapper):
10753 * gst/gsttaginterface.c:
10754 * gst/gstthread.c: (gst_thread_dispose),
10755 (gst_thread_release_children_locks), (gst_thread_change_state),
10756 (gst_thread_main_loop):
10757 * gst/gsttrashstack.h:
10758 * gst/gsttypefind.c: (gst_type_find_factory_dispose):
10760 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
10761 (gst_element_request_pad), (gst_element_get_pad_from_template),
10762 (gst_element_request_compatible_pad),
10763 (gst_element_get_compatible_pad_filtered),
10764 (gst_element_get_compatible_pad), (gst_element_state_get_name),
10765 (gst_element_link_pads_filtered), (gst_element_link_filtered),
10766 (gst_element_link_many), (gst_element_link),
10767 (gst_element_link_pads), (gst_element_unlink_pads),
10768 (gst_element_unlink_many), (gst_element_unlink),
10769 (gst_pad_can_link_filtered), (gst_pad_can_link),
10770 (gst_pad_use_fixed_caps), (gst_pad_get_fixed_caps_func),
10771 (gst_object_default_error), (gst_bin_add_many),
10772 (gst_bin_remove_many), (gst_element_populate_std_props),
10773 (gst_element_class_install_std_props), (gst_buffer_merge),
10774 (gst_buffer_stamp), (intersect_caps_func), (gst_pad_proxy_getcaps),
10775 (link_fold_func), (gst_pad_proxy_setcaps):
10777 * gst/gstvalue.c: (gst_value_deserialize_string):
10778 * gst/parse/grammar.y:
10779 * gst/schedulers/gstbasicscheduler.c:
10780 (gst_basic_scheduler_cothreaded_chain),
10781 (gst_basic_scheduler_chain_recursive_add),
10782 (gst_basic_scheduler_pad_link):
10783 * gst/schedulers/gstoptimalscheduler.c:
10784 (get_group_schedule_function),
10785 (gst_opt_scheduler_state_transition),
10786 (gst_opt_scheduler_add_element), (element_get_reachables_func):
10787 * libs/gst/bytestream/bytestream.c:
10788 * libs/gst/dataprotocol/dataprotocol.c:
10789 (gst_dp_header_from_buffer):
10792 * tests/threadstate/threadstate2.c: (eos):
10793 * tools/gst-compprep.c: (main):
10794 * tools/gst-inspect.c: (print_field), (print_element_flag_info),
10795 (print_pad_info), (print_children_info):
10796 * tools/gst-launch.c: (idle_func), (main):
10797 * tools/gst-md5sum.c: (idle_func), (main):
10798 * tools/gst-xmlinspect.c: (print_element_info):
10799 First THREADED backport attempt, focusing on adding locks and
10800 making sure the API is threadsafe. Needs more work. More docs
10803 2005-02-24 Andy Wingo <wingo@pobox.com>
10805 * tests/bench-complexity.scm:
10806 * tests/complexity.gnuplot: New files, good for running complexity
10809 * tests/Makefile.am:
10810 * tests/complexity.c: New test, sets up N elements, at each level
10811 teeing into M streams per element. Eeeenteresting.
10813 * tests/mass_elements.gnuplot: gnuplot file for the mass_elements
10814 benchmark. Run as gnuplot mass_elements.gnuplot > foo.ps, after
10815 running bench-mass_elements.scm.
10817 * tests/bench-mass_elements.scm: New script, runs mass_elements
10818 for various numbers of identities, outputting the results to a
10819 file. Requires guile 1.6. Just for testing.
10821 2005-02-23 Thomas Vander Stichele <thomas at apestaart dot org>
10823 * gst/schedulers/fairscheduler.c:
10824 compile with debug disabled
10826 2005-02-22 Thomas Vander Stichele <thomas at apestaart dot org>
10829 hunting season on 0.9 is now OPEN