1 2005-11-17 Wim Taymans <wim@fluendo.com>
3 * gst/gstbin.c: (gst_bin_provide_clock_func),
4 (gst_bin_sort_iterator_new):
5 And unref the child too..
7 2005-11-17 Wim Taymans <wim@fluendo.com>
9 * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
10 (gst_bin_sort_iterator_new), (gst_bin_iterate_sorted):
11 Refactor the sort iterator so it can be used while holding the
13 Make clock selection select a clock closest to the source.
15 2005-11-17 Michael Smith <msmith@fluendo.com>
17 * gst/gstclock.c: (gst_clock_init), (gst_clock_adjust_unlocked),
18 (gst_clock_set_rate_offset), (gst_clock_get_rate_offset):
20 Anonymous structs are a gcc (and some other compilers) extension, so
21 don't use them. Since this is only for ABI-compatibility, and our
22 API/ABI freeze is over in a few days, this whole thing will only
23 last a few days, so don't bother trying to think up a meaningful
26 2005-11-17 Andy Wingo <wingo@pobox.com>
28 * gst/gstclock.h (GstClock): Add rate and offset properties,
29 preserving ABI stability. Add rate/offset accessors. Will file bug
32 * gst/gstclock.c (gst_clock_adjust_unlocked): Implement using rate
33 and offset, trying to keep precision and avoiding
35 (gst_clock_set_rate_offset, gst_clock_get_rate_offset): New
36 functions. Make gst_clock_set_time_adjust obsolete.
37 (gst_clock_set_time_adjust): Note that this function is obsolete.
40 * gst/base/gstbasetransform.h: Make the ABI-stability hack
41 greppable by using GST_PADDING-1+1.
43 2005-11-17 Torsten Schoenfeld <kaffeetisch at gmx dot net>
45 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
47 * gst/gstmessage.c: (gst_message_parse_clock_lost):
48 Assertion should check for CLOCK_LOST, not NEW_CLOCK (#321648).
50 * gst/gstpadtemplate.h:
51 * gst/gstpluginfeature.h:
52 Don't use c++ style comments in headers (#321638).
54 2005-11-16 Andy Wingo <wingo@pobox.com>
56 * gst/net/gstnettimepacket.c (gst_net_time_packet_send): Free
59 * check/net/gstnettimeprovider.c: Check to see that the time
60 provider actually provides times. Works, yo!
62 2005-11-16 Wim Taymans <wim@fluendo.com>
67 * check/elements/fakesrc.c: (GST_START_TEST):
68 Set element to NULL before disposing it.
70 2005-11-16 Andy Wingo <wingo@pobox.com>
72 * gst/net/Makefile.am:
74 * gst/net/gstnettimeprovider.c:
75 * gst/net/gstnettimeprovider.h: Use the timepacket stuff in the
76 provider, include it from gstnet.h, and add it to the build.
78 * gst/net/gstnettimepacket.h:
79 * gst/net/gstnettimepacket.c: New files, abstracts out the packet
80 sending and receiving.
82 2005-11-16 Wim Taymans <wim@fluendo.com>
85 Enable valgrind check.
87 * gst/elements/gstfakesrc.c: (gst_fake_src_alloc_parent),
88 (gst_fake_src_alloc_buffer):
91 2005-11-16 Wim Taymans <wim@fluendo.com>
93 * gst/net/gstnettimeprovider.c: (gst_net_time_provider_finalize):
94 Call parent finalize too.
96 2005-11-16 Wim Taymans <wim@fluendo.com>
99 Enable valgrind check that should work fine now.
101 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
102 * gst/gstqueue.c: (gst_queue_init):
103 Fix memleaks in pad allocation.
105 2005-11-16 Andy Wingo <wingo@pobox.com>
107 * gst/net/Makefile.am:
108 * gst/net/gstnet.h: New part of core to hold network elements and
109 objects. Put in core because it exposes API that applications want
110 to use. The library is named libgstnet-tempname right now because
111 of the existing libgstnet in gst-plugins-base. Solution is
112 probably to rename the one in plugins-base; will file a bug for
115 * gst/net/gstnettimeprovider.c:
116 * gst/net/gstnettimeprovider.h: New object to export a GstClock's
117 get_time call over the network.
120 * gst/Makefile.am (lib_LTLIBRARIES): Add gstnet to the build.
123 * check/net/gstnettimeprovider.c: A most minimal test suite. Will
124 get additions shortly.
126 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
128 * gst/gstpad.c: (gst_pad_new_from_static_template):
130 add gst_pad_new_from_static_template functions
131 * gst/check/gstcheck.c: (gst_check_setup_src_pad),
132 (gst_check_setup_sink_pad):
133 * gst/elements/gsttee.c: (gst_tee_init):
136 2005-11-16 Wim Taymans <wim@fluendo.com>
138 * gst/gstpad.c: (gst_pad_pause_task):
139 Removed warning, it's not really an error either.
141 2005-11-16 Wim Taymans <wim@fluendo.com>
143 * gst/base/gstbasetransform.c:
144 (gst_base_transform_prepare_output_buf),
145 (gst_base_transform_event):
146 Check if the caps are NULL, this can happen if the element
147 is shutting down and the pad caps are set to NULL.
149 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
151 * gst/elements/gsttee.c: (gst_tee_init):
152 fix pad tempalte leak in tee
154 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
156 * gst/glib-compat.c: (g_value_dup_gst_object):
158 * gst/gstpad.c: (gst_pad_set_property):
159 use gst_object_ref when setting the pad template; this will
160 trigger the pad template leaks on GLib 2.6 and the slaves
162 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
164 * gst/glib-compat.c: (gst_flags_get_first_value):
166 * gst/gstregistryxml.c:
167 remove functions copied from GLib 2.6
169 2005-11-16 Michael Smith <msmith@fluendo.com>
172 Don't link against VALGRIND_LIBS. That was always the wrong thing to
173 do, but only breaks with newer valgrind versions. We're not a
174 valgrind tool, we have no link-time dependencies on libcoregrind.
176 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
178 * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
183 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
185 * gst/base/gstbasesrc.c: (gst_base_src_init):
186 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
187 * gst/gstqueue.c: (gst_queue_init):
188 * gst/gstregistryxml.c: (load_feature):
189 Revert all these unrefs, they don't even pass make check !
191 2005-11-15 Johan Dahlin <johan@gnome.org>
193 * gst/base/gstbasesrc.c: (gst_base_src_init):
194 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
195 * gst/gstqueue.c: (gst_queue_init):
196 Free pad templates, fixes a couple of leaks.
198 2005-11-15 Daniel Fischer <dan at f3c dot com>
200 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
202 * gst/gstpad.c: (gst_pad_get_property):
203 GST_PAD_PAD_TEMPLATE(pad) gets the pad template, while
204 GST_PAD_TEMPLATE(pad) does a cast. We want the former here.
207 2005-11-15 Wim Taymans <wim@fluendo.com>
212 2005-11-15 Andy Wingo <wingo@pobox.com>
214 * gst/gstelement.c (gst_element_set_base_time): Add debugging.
216 * gst/gstpipeline.c (gst_pipeline_set_new_stream_time): Document
217 using GST_CLOCK_TIME_NONE to disable base time management.
218 (do_pipeline_seek, gst_pipeline_change_state): Don't reset stream
219 time if it was NONE before.
220 (gst_pipeline_change_state): Only munge the base time if
221 stream_time != GST_CLOCK_TIME_NONE.
223 * check/gst/gstpipeline.c (test_base_time): Punt around the
224 problem of the probe not being called, because that's not the
225 issue I'm looking at. Add a check that setting stream_time to NONE
226 disables base time management.
228 2005-11-15 Wim Taymans <wim@fluendo.com>
230 * gst/base/gstbasesink.c: (gst_base_sink_change_state):
231 segment_stop == -1 at startup.
233 * gst/base/gstbasetransform.c: (gst_base_transform_event),
234 (gst_base_transform_change_state):
235 Init segment values at start.
237 2005-11-15 Wim Taymans <wim@fluendo.com>
239 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
240 0 segment values are 0 in any format.
242 * gst/base/gstbasetransform.c: (gst_base_transform_event):
243 * gst/base/gstbasetransform.h:
244 Parse newsegment correctly in basetransform
246 * gst/elements/gstidentity.c: (gst_identity_transform_ip):
247 Sync to clock using updated segment values.
249 2005-11-15 Andy Wingo <wingo@pobox.com>
251 * check/gst/gstpipeline.c (test_base_time): Add check that the
252 base time and stream time are reset correctly.
254 2005-11-15 Wim Taymans <wim@fluendo.com>
256 * docs/design/part-TODO.txt:
257 Some more TODO items.
259 2005-11-15 Andy Wingo <wingo@pobox.com>
261 * gst/elements/gstfakesrc.c (gst_fake_src_create): It's not an
262 error if the user selected "no clock" as the clocking method.
264 * check/gst/gstpipeline.c (test_base_time): New test for buffer
265 timestamps with live capture.
267 * gst/elements/gstfakesrc.c (gst_fake_src_create): If the datarate
268 is 0 but we are a live source, timestamp the buffers using the
271 2005-11-14 Stefan Kost <ensonic@users.sf.net>
273 * docs/gst/gstreamer-sections.txt:
280 2005-11-14 Wim Taymans <wim@fluendo.com>
283 add suppressions from Wim's Debian machine
285 2005-11-14 Thomas Vander Stichele <thomas at apestaart dot org>
288 add suppressions from Andy's AMD64 Ubuntu machine
290 2005-11-14 Andy Wingo <wingo@pobox.com>
292 * gst/gstpad.c (gst_pad_set_active): Change docs; parent's
293 STATE_LOCK not necessary. Fixes #311489.
295 * gst/gsterror.c (FILE_A_BUG): Be polite *and* helpful. Fixes
298 * gst/gstindex.c (gst_index_add_object): Note in the docs that
299 this function is not implemented.
301 2005-11-14 Julien MOUTTE <julien@moutte.net>
303 * gst/base/gstbasetransform.c:
304 (gst_base_transform_prepare_output_buf):
305 Ref the source pad caps while we need them.
308 2005-11-11 Wim Taymans <wim@fluendo.com>
310 * docs/gst/gstreamer-sections.txt:
311 Added some docs for GstCollectData.
313 * gst/base/gstadapter.c:
314 Some small code example fix.
316 * gst/base/gstcollectpads.c:
317 * gst/base/gstcollectpads.h:
320 2005-11-11 Thomas Vander Stichele <thomas at apestaart dot org>
322 * configure.ac: back to HEAD
324 === release 0.9.5 ===
326 2005-11-11 Thomas Vander Stichele <thomas at apestaart dot org>
329 releasing 0.9.5, "Bike Lunch Day"
331 2005-11-11 Wim Taymans <wim@fluendo.com>
333 * gst/gstbuffer.c: (_gst_buffer_copy):
336 * gst/gstcaps.c: (gst_caps_is_equal):
338 Make _is_equal fast in the trivial cases.
340 * gst/gstminiobject.c:
341 * gst/gstminiobject.h:
342 More docs. Spifify .h file.
347 2005-11-11 Wim Taymans <wim@fluendo.com>
349 * gst/base/gstbasetransform.c:
350 (gst_base_transform_prepare_output_buf),
351 (gst_base_transform_handle_buffer):
353 If we're processing a buffer and need to allocate an output
354 buffer, we cannot accept a format change. If we did get a
355 format change, we have to alloc a buffer ourselves of the
358 2005-11-11 Wim Taymans <wim@fluendo.com>
360 * gst/gstpad.c: (gst_pad_get_caps), (gst_pad_peer_get_caps):
361 While checking the flag for reentrancy in the gstcaps function
362 is nice to detect recursive invocations, it also makes it
363 impossible to call getcaps from multiple threads, which must be
364 possible. So, checking for recursive calls has to go.
366 2005-11-11 Michael Smith <msmith@fluendo.com>
368 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
369 Don't sync on buffers that fall partially outside our current
370 segment. Prevents an assertion failure/abort playing some files.
372 2005-11-10 Andy Wingo <wingo@pobox.com>
374 * check/gst/gstbin.c (test_message_state_changed_children): Style
377 * gst/gstbus.c (poll_destroy, poll_func, gst_bus_poll): Implement
378 gst_bus_poll with the signal watch. Ensures that poll and a signal
379 watch see the same messages.
381 * check/gst/gstbus.c (test_watch_with_poll): New test, checks that
382 a poll and a watch at the same time get the same messages.
384 2005-11-10 Thomas Vander Stichele <thomas at apestaart dot org>
386 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps):
387 * gst/gstcaps.c: (gst_caps_intersect):
388 Don't call gst_caps_do_simplify - it doesn't respect order of caps
391 2005-11-10 Wim Taymans <wim@fluendo.com>
393 * docs/design/part-TODO.txt:
396 2005-11-10 Wim Taymans <wim@fluendo.com>
398 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
399 * gst/base/gstbasesrc.c: (gst_base_src_wait),
400 (gst_base_src_do_sync), (gst_base_src_get_range):
401 Implement clock sync in base class.
403 2005-11-10 Thomas Vander Stichele <thomas at apestaart dot org>
405 patch by: Tim-Philipp Müller <tim at centricular dot net>
407 * gst/gststructure.c: (gst_structure_parse_field),
408 (gst_structure_from_string):
409 Forward-port a 0.8 patch to handle escaped spaces in structure string,
410 so that gst_parse_launch() can deal with spaces in filtered link
412 * check/gst/capslist.h:
413 * check/gst/gststructure.c: (GST_START_TEST):
414 add unit tests for this change
416 2005-11-10 Wim Taymans <wim@fluendo.com>
418 * docs/gst/gstreamer-sections.txt:
421 Fix docs, move some STATE macros to private.
423 2005-11-10 Wim Taymans <wim@fluendo.com>
425 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
426 Added check for bug #317341
430 Some more spiffifying.
432 * gst/gstghostpad.c: (gst_ghost_pad_do_link):
433 Call peer linkfunction if we are a source pad. Totally fixes
437 Update docs, source pads should call the peer linkfunction
438 so they can atomically perform the pad link.
440 2005-11-09 Wim Taymans <wim@fluendo.com>
444 Uber-spiffy-spiffify some more.
446 2005-11-09 Tim-Philipp Müller <tim at centricular dot net>
448 * gst/base/gstcollectpads.c: (gst_collectpads_add_pad):
449 * gst/elements/gstfilesink.c: (gst_file_sink_init):
450 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
451 * gst/gstghostpad.c: (gst_ghost_pad_set_internal),
452 (gst_ghost_pad_init), (gst_ghost_pad_new_notarget):
453 * gst/gstpad.c: (gst_pad_init):
454 Use GST_DEBUG_FUNCPTR() more extensively.
456 2005-11-09 Wim Taymans <wim@fluendo.com>
458 * gst/gstobject.c: (gst_object_class_init):
462 2005-11-09 Edward Hervey <edward@fluendo.com>
464 * gst/gsttypefindfactory.c:
467 2005-11-09 Edward Hervey <edward@fluendo.com>
469 * gst/base/gsttypefindhelper.c:
474 2005-11-09 Wim Taymans <wim@fluendo.com>
483 2005-11-09 Wim Taymans <wim@fluendo.com>
489 2005-11-09 Wim Taymans <wim@fluendo.com>
491 * docs/gst/gstreamer-sections.txt:
492 Moved the message async delivery private lock and cond
493 to the private section.
499 2005-11-09 Edward Hervey <edward@fluendo.com>
501 * docs/gst/gstreamer-sections.txt:
504 Document GstURIHandler
506 2005-11-09 Wim Taymans <wim@fluendo.com>
508 * gst/gstiterator.c: (gst_iterator_fold), (gst_iterator_foreach),
509 (gst_iterator_find_custom):
513 2005-11-09 Wim Taymans <wim@fluendo.com>
516 Document another field.
518 * gst/gststructure.c:
519 * gst/gststructure.h:
522 2005-11-09 Wim Taymans <wim@fluendo.com>
527 2005-11-09 Wim Taymans <wim@fluendo.com>
529 * docs/gst/gstreamer-sections.txt:
530 Added some new macros.
537 2005-11-09 Wim Taymans <wim@fluendo.com>
539 * docs/design/part-TODO.txt:
540 Some more items for the TODO
546 2005-11-09 Andy Wingo <wingo@pobox.com>
548 * gst/base/gstbasesink.c: Add the beginning of docs here -- have
549 to work on something else now tho...
551 * gst/base/gstadapter.c: More adapter docs.
553 * gst/elements/gstfilesink.c (gst_file_sink_start)
554 (gst_file_sink_stop): New functions, replace the state change
556 (gst_file_sink_class_init): Hook up the start and stop functions.
557 (gst_file_sink_base_init): Don't set the state change handler any
558 more. It was a bit ugly too, being set from here...
559 (gst_file_sink_get_property, gst_file_sink_set_property):
561 (gst_file_sink_set_location): More robust check that doesn't call
564 2005-11-08 Tim-Philipp Müller <tim at centricular dot net>
566 * gst/base/gstbasetransform.c: (gst_base_transform_event):
567 Hold STREAM_LOCK while pushing newsegment or tag events as well.
569 2005-11-08 Wim Taymans <wim@fluendo.com>
571 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
572 (gst_base_sink_do_sync), (gst_base_sink_handle_event),
573 (gst_base_sink_chain), (gst_base_sink_change_state):
574 * gst/base/gstbasesink.h:
575 * gst/base/gstbasesrc.h:
578 Avoid excessive typechecking in macros.
580 * gst/gstminiobject.c: (gst_mini_object_get_type),
581 (gst_mini_object_init), (gst_mini_object_new),
582 (gst_mini_object_free):
583 * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
584 (gst_object_finalize):
585 Remove cruft code, optimize alloc_trace.
587 2005-11-07 Thomas Vander Stichele <thomas at apestaart dot org>
589 * docs/faq/gst-uninstalled:
590 fix up PS1 for systems that try to reset it
592 2005-11-07 Wim Taymans <wim@fluendo.com>
594 * gst/base/gstbasesrc.c: (gst_base_src_init),
595 (gst_base_src_get_range):
596 Set the segment_end to -1 initially. Fixed typefind.
598 2005-11-07 Tim-Philipp Müller <tim at centricular dot net>
600 * gst/base/gstadapter.c:
601 Debug category should be 'adapter', not 'GstAdapter'.
603 * gst/base/gstcollectpads.c: (gst_collectpads_base_init),
604 (gst_collectpads_class_init), (gst_collectpads_init),
605 (gst_collectpads_peek), (gst_collectpads_pop),
606 (gst_collectpads_event), (gst_collectpads_chain):
607 Add debug category and some debugging output. Use boilerplate
608 macros. Remove some extraneous words from docs.
610 2005-11-05 Andy Wingo <wingo@pobox.com>
612 * gst/base/gstpushsrc.c: Shorten by 30% via use of boilerplate
615 2005-11-04 Stefan Kost <ensonic@users.sf.net>
617 * docs/gst/gstreamer-sections.txt:
620 * gst/gstminiobject.h:
625 2005-11-04 Wim Taymans <wim@fluendo.com>
627 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
628 Small update to stop at the configured segment_end
631 2005-11-04 Stefan Kost <ensonic@users.sf.net>
637 2005-11-04 Edward Hervey <edward@fluendo.com>
639 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
640 Check if we are doing a segment seek and have arrived at the
643 2005-11-04 Wim Taymans <wim@fluendo.com>
645 * gst/gstbus.c: (gst_bus_post), (gst_bus_set_sync_handler):
646 Don't leak a mutex unlock in case of an error.
651 2005-11-04 Wim Taymans <wim@fluendo.com>
653 * gst/gstbus.c: (gst_bus_class_init), (gst_bus_init),
655 Get the context to wake up only once.
657 2005-11-03 Wim Taymans <wim@fluendo.com>
659 * check/states/sinks.c: (GST_START_TEST):
660 Uncomment fixed check.
662 * docs/design/part-TODO.txt:
665 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
666 (gst_base_sink_handle_object), (gst_base_sink_do_sync),
667 (gst_base_sink_get_position):
668 If we are going to PLAYING, post the right pending state
669 when we post the intermediate paused message.
671 * gst/gstelement.c: (gst_element_continue_state),
672 (gst_element_set_state_func), (gst_element_change_state):
673 Don't post state changes that were between the same state
676 2005-11-03 Stefan Kost <ensonic@users.sf.net>
678 * docs/gst/gstreamer-sections.txt:
681 * gst/gstminiobject.h:
684 more docs and doc style fixes
686 2005-11-03 Stefan Kost <ensonic@users.sf.net>
688 * docs/gst/gstreamer-sections.txt:
690 * gst/gstminiobject.c:
693 2005-11-03 Andy Wingo <wingo@pobox.com>
695 * check/states/sinks.c (test_livesrc_sink): Add checks that the
696 state-changed messages actually have the right order and the right
699 2005-11-03 Wim Taymans <wim@fluendo.com>
701 * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
702 Added some more checks. Specifically the case where NO_PREROLL
703 elements are in the pipeline.
705 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
706 (gst_base_sink_handle_object), (gst_base_sink_do_sync),
707 (gst_base_sink_get_position):
708 Post READY->PAUSED state change messages too.
709 Fix bug where VOID was posted as pending state...
711 * gst/gstbin.c: (gst_bin_recalc_state):
712 use _element_continue_state() to continue the state change.
714 * gst/gstelement.c: (gst_element_continue_state),
715 (gst_element_commit_state), (gst_element_set_state_func),
716 (gst_element_change_state), (gst_element_change_state_func):
717 Lots of state change cleanups, assign the STATE_RETURN in
718 a new continue_state() function that also propagates the
719 last return value from a state change to the app.
720 Update some debug statements with proper category.
722 2005-11-03 Wim Taymans <wim@fluendo.com>
724 * docs/design/part-events.txt:
725 * docs/design/part-gstpipeline.txt:
726 * docs/design/part-messages.txt:
727 * docs/design/part-overview.txt:
728 * docs/design/part-seeking.txt:
729 * docs/design/part-states.txt:
730 * docs/design/part-trickmodes.txt:
731 * docs/manual/advanced-position.xml:
735 People think !! is ugly, this looks better.
737 * gst/gstpad.c: (gst_pad_set_blocked_async):
738 Remove !! since it's fixed elsewhere now.
740 2005-11-03 Tim-Philipp Müller <tim at centricular dot net>
742 * gst/gstminiobject.h:
744 Add !! to _FLAG_IS_SET macros to make the result boolean.
746 2005-11-03 Edward Hervey <edward@fluendo.com>
748 * gst/gstpad.c: (gst_pad_set_blocked_async):
749 comparing a flag and a gboolean rarely returns coherent results...
750 Added two characters (!!) to make that work correctly.
752 2005-11-03 Tim-Philipp Müller <tim at centricular dot net>
754 * gst/gstbus.c: (gst_bus_class_init):
757 * gst/gstqueue.c: (gst_queue_loop):
758 Don't assume a miniobject that isn't a buffer is an
759 event (it could be that there is a refcounting
760 problem somewhere and the pointer is stale and
761 refers to an already destroyed miniobject).
763 2005-11-03 Julien MOUTTE <julien@moutte.net>
765 * gst/gstpad.c: (gst_pad_alloc_buffer): Fix some typos.
767 2005-11-03 Tim-Philipp Müller <tim at centricular dot net>
769 * docs/manual/advanced-position.xml:
770 Update seek example and explanations to current 0.9 API.
772 * gst/elements/gsttypefindelement.c:
773 (gst_type_find_element_activate):
774 Remove FIXME comment now that the found caps
777 2005-11-03 Thomas Vander Stichele <thomas at apestaart dot org>
779 * gst/gstregistryxml.c: (load_feature):
780 Add another GST_STR_NULL instance
782 2005-11-02 Edward Hervey <edward@fluendo.com>
784 * gst/gstpad.c: (handle_pad_block):
785 Follow-up to Wim's patch, solves deadlock for blocked and flushing pads
787 2005-11-02 Wim Taymans <wim@fluendo.com>
792 * gst/gstelement.c: (gst_element_commit_state):
796 Mention that the returned element is reffed in the docs.
798 2005-11-02 Wim Taymans <wim@fluendo.com>
800 * gst/gstpad.c: (gst_pad_alloc_buffer), (handle_pad_block),
801 (gst_pad_push), (gst_pad_push_event):
802 Unlock blocked pads when they are flushed.
804 2005-11-02 Thomas Vander Stichele <thomas at apestaart dot org>
807 * docs/gst/gstreamer-sections.txt:
810 * gst/gstregistry.c: (gst_registry_scan_path_level):
811 fix for a nasty little missed situation where an installed plug-in
812 which was in the cache did not get overridden by an uninstalled one
813 which was earlier in the plugin path because the newly created plugin
814 for the uninstalled one (not in the registry) didn't get its
815 ->registered set to TRUE
817 2005-11-02 Tim-Philipp Müller <tim at centricular dot net>
819 * gst/base/gstcollectpads.c: (gst_collectpads_set_function),
820 (gst_collectpads_add_pad), (gst_collectpads_remove_pad),
821 (gst_collectpads_is_active), (gst_collectpads_collect),
822 (gst_collectpads_collect_range), (gst_collectpads_start),
823 (gst_collectpads_stop), (gst_collectpads_peek),
824 (gst_collectpads_pop), (gst_collectpads_available),
825 (gst_collectpads_read), (gst_collectpads_flush):
826 Guard public API with assertions.
829 Fix docs for gst_pad_set_link_function().
831 2005-11-02 Johan Dahlin <johan@gnome.org>
833 * gst/elements/gsttypefindelement.c (gst_type_find_element_activate):
834 Unref found_caps after we used it.
836 2005-11-02 Tim-Philipp Müller <tim at centricular dot net>
838 * gst/base/gstcollectpads.c: (gst_collectpads_peek):
839 Don't try to ref NULL.
841 2005-11-02 Thomas Vander Stichele <thomas at apestaart dot org>
843 * win32/common/config.h.in:
844 provide a GST_FUNCTION that just gives a string for now
846 2005-11-02 Thomas Vander Stichele <thomas at apestaart dot org>
848 * win32/common/gstenumtypes.c: (register_gst_object_flags),
849 (gst_object_flags_get_type), (register_gst_bin_flags),
850 (gst_bin_flags_get_type), (register_gst_buffer_flag),
851 (gst_buffer_flag_get_type), (register_gst_bus_flags),
852 (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
853 (gst_bus_sync_reply_get_type), (register_gst_clock_return),
854 (gst_clock_return_get_type), (register_gst_clock_entry_type),
855 (gst_clock_entry_type_get_type), (register_gst_clock_flags),
856 (gst_clock_flags_get_type), (register_gst_state),
857 (gst_state_get_type), (register_gst_state_change_return),
858 (gst_state_change_return_get_type), (register_gst_state_change),
859 (gst_state_change_get_type), (register_gst_element_flags),
860 (gst_element_flags_get_type), (register_gst_core_error),
861 (gst_core_error_get_type), (register_gst_library_error),
862 (gst_library_error_get_type), (register_gst_resource_error),
863 (gst_resource_error_get_type), (register_gst_stream_error),
864 (gst_stream_error_get_type), (register_gst_event_type),
865 (gst_event_type_get_type), (register_gst_seek_type),
866 (gst_seek_type_get_type), (register_gst_seek_flags),
867 (gst_seek_flags_get_type), (register_gst_format),
868 (gst_format_get_type), (register_gst_index_certainty),
869 (gst_index_certainty_get_type), (register_gst_index_entry_type),
870 (gst_index_entry_type_get_type),
871 (register_gst_index_lookup_method),
872 (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
873 (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
874 (gst_index_resolver_method_get_type), (register_gst_index_flags),
875 (gst_index_flags_get_type), (register_gst_debug_level),
876 (gst_debug_level_get_type), (register_gst_debug_color_flags),
877 (gst_debug_color_flags_get_type), (register_gst_iterator_result),
878 (gst_iterator_result_get_type), (register_gst_iterator_item),
879 (gst_iterator_item_get_type), (register_gst_message_type),
880 (gst_message_type_get_type), (register_gst_mini_object_flags),
881 (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
882 (gst_pad_link_return_get_type), (register_gst_flow_return),
883 (gst_flow_return_get_type), (register_gst_activate_mode),
884 (gst_activate_mode_get_type), (register_gst_pad_direction),
885 (gst_pad_direction_get_type), (register_gst_pad_flags),
886 (gst_pad_flags_get_type), (register_gst_pad_presence),
887 (gst_pad_presence_get_type), (register_gst_pad_template_flags),
888 (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
889 (gst_pipeline_flags_get_type), (register_gst_plugin_error),
890 (gst_plugin_error_get_type), (register_gst_plugin_flags),
891 (gst_plugin_flags_get_type), (register_gst_rank),
892 (gst_rank_get_type), (register_gst_query_type),
893 (gst_query_type_get_type), (register_gst_tag_merge_mode),
894 (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
895 (gst_tag_flag_get_type), (register_gst_task_state),
896 (gst_task_state_get_type), (register_gst_alloc_trace_flags),
897 (gst_alloc_trace_flags_get_type),
898 (register_gst_type_find_probability),
899 (gst_type_find_probability_get_type), (register_gst_uri_type),
900 (gst_uri_type_get_type), (register_gst_parse_error),
901 (gst_parse_error_get_type):
902 * win32/common/gstversion.h:
905 2005-11-01 Luca Ognibene <luogni@tin.it>
908 fix docs. popt is dead, long live GOption.
910 2005-10-31 Wim Taymans <wim@fluendo.com>
915 2005-10-31 Andy Wingo <wingo@pobox.com>
919 * gst/gstqueue.c (gst_queue_chain): Fix downstream leaky mode.
921 * gst/gstobject.c (gst_object_dispatch_properties_changed): No
922 need to serialize property notifications on GLib 2.8. GLib 2.6 has
923 the possibility of deadlocks here if code calling notify() or
924 set() has a lock that can be taken in another notify handler (ABBA
925 with class lock and e.g. python GIL state lock).
927 2005-10-28 Julien MOUTTE <julien@moutte.net>
929 * gst/gstbus.c: Doc updates.
931 2005-10-28 Wim Taymans <wim@fluendo.com>
933 * docs/design/part-TODO.txt:
935 * gst/gstsystemclock.c:
936 * gst/gstsystemclock.h:
939 2005-10-28 Edward Hervey <edward@fluendo.com>
941 * docs/gst/gstreamer-docs.sgml:
942 * docs/gst/gstreamer-sections.txt:
943 the GstURIType documentation page is private, it only defines GstURIType
944 which should be defined in the GstURIHandler page
946 2005-10-28 Thomas Vander Stichele <thomas at apestaart dot org>
948 * gst/gstbin.c: (gst_bin_class_init):
951 Documentation updates.
953 2005-10-28 Wim Taymans <wim@fluendo.com>
955 * docs/gst/gstreamer-sections.txt:
958 Documented the clocks.
960 2005-10-28 Stefan Kost <ensonic@users.sf.net>
962 * docs/gst/gstreamer-sections.txt:
963 move some macros to private sections
964 * gst/gstminiobject.c:
965 * gst/gstminiobject.h:
966 add descriptions provided by ds and some more
968 mark macro as to be removed
970 2005-10-28 Wim Taymans <wim@fluendo.com>
972 * docs/design/part-TODO.txt:
975 * gst/gstiterator.c: (gst_iterator_fold),
976 (gst_iterator_find_custom):
980 2005-10-28 Wim Taymans <wim@fluendo.com>
982 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
983 (gst_base_transform_init):
986 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_loop):
987 An EOS event marks the queue as completely filled.
989 2005-10-27 Wim Taymans <wim@fluendo.com>
991 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
992 (gst_base_sink_do_sync), (gst_base_sink_get_position):
995 * gst/base/gstbasetransform.c: (gst_base_transform_finalize),
996 (gst_base_transform_init), (gst_base_transform_buffer_alloc),
997 (gst_base_transform_event), (gst_base_transform_getrange),
998 (gst_base_transform_chain):
999 * gst/base/gstbasetransform.h:
1001 Protect transform and concurrent buffer alloc with a new lock.
1002 Try not to break ABI/API.
1004 2005-10-27 Wim Taymans <wim@fluendo.com>
1006 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
1007 (gst_base_src_init), (gst_base_src_query),
1008 (gst_base_src_default_newsegment),
1009 (gst_base_src_configure_segment), (gst_base_src_do_seek),
1010 (gst_base_src_send_event), (gst_base_src_event_handler),
1011 (gst_base_src_pad_get_range), (gst_base_src_loop),
1012 (gst_base_src_unlock), (gst_base_src_default_negotiate),
1013 (gst_base_src_start), (gst_base_src_deactivate),
1014 (gst_base_src_activate_push), (gst_base_src_change_state):
1015 Move some stuff around and cleanup things.
1017 2005-10-27 Tim-Philipp Müller <tim at centricular dot net>
1019 * gst/base/gstbasesrc.c: (gst_base_src_query):
1020 Add missing break statements.
1022 2005-10-27 Wim Taymans <wim@fluendo.com>
1024 * check/gst/gstbin.c: (GST_START_TEST):
1025 An extra refcount is taken in basesrc.
1027 * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
1028 (gst_base_src_get_range), (gst_base_src_pad_get_range),
1029 (gst_base_src_loop):
1030 Small cleanups, check for flushing after being unlocked from the
1031 LIVE_LOCK. take refcounts correctly (not yet everywhere).
1032 Don't send out EOS when going to READY.
1034 2005-10-27 Wim Taymans <wim@fluendo.com>
1036 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
1037 (gst_base_sink_get_position):
1040 * gst/gstbin.c: (message_check), (bin_replace_message),
1041 (bin_remove_messages), (is_eos), (gst_bin_add_func),
1042 (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
1043 (bin_query_duration_init), (bin_query_duration_fold),
1044 (bin_query_duration_done), (bin_query_generic_fold),
1046 * tools/gst-launch.c: (main):
1049 2005-10-26 Stefan Kost <ensonic@users.sf.net>
1051 * examples/controller/audio-example.c: (main):
1052 * examples/queue/queue.c: (event_loop):
1053 * gst/base/gstbasetransform.h:
1054 * gst/gstelement.c: (gst_element_send_event):
1056 * gst/gstpad.c: (gst_pad_send_event):
1059 changing log priority in error situations
1061 2005-10-25 Wim Taymans <wim@fluendo.com>
1063 * gst/gstbin.c: (message_check), (bin_replace_message),
1064 (bin_remove_messages), (is_eos), (gst_bin_add_func),
1065 (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
1066 (bin_query_duration_init), (bin_query_duration_fold),
1067 (bin_query_duration_done), (bin_query_generic_fold),
1069 Some doc and debug updates.
1070 Cache previously requested query DURATION for speed. invalidate
1071 cached duration if element posts a DURATION message.
1073 2005-10-25 Wim Taymans <wim@fluendo.com>
1075 * docs/design/part-TODO.txt:
1078 * gst/gstbin.c: (message_check), (bin_replace_message),
1079 (bin_remove_messages), (is_eos), (gst_bin_add_func),
1080 (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
1081 (bin_query_duration_init), (bin_query_duration_fold),
1082 (bin_query_duration_done), (bin_query_generic_fold),
1084 Handle SEGMENT_START/DONE messages correctly.
1085 More evolved query algorithm that handles duration queries
1088 * gst/gstelement.c: (gst_element_send_event), (gst_element_query),
1089 (gst_element_get_state_func), (gst_element_abort_state),
1090 (gst_element_commit_state), (gst_element_lost_state):
1091 Some more debugging.
1096 2005-10-25 Wim Taymans <wim@fluendo.com>
1098 * gst/base/gstbasesink.c: (gst_base_sink_get_position):
1099 Don't use invalid stream_time.
1101 * gst/gstevent.c: (gst_event_new_newsegment):
1102 stream_time in newsegment cannot be undefined.
1104 2005-10-24 Wim Taymans <wim@fluendo.com>
1109 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
1111 Fix potential deadlock when QUEUE_LOCK is taken before STREAM_LOCK.
1113 2005-10-24 Stefan Kost <ensonic@users.sf.net>
1115 * docs/libs/tmpl/gstdparam.sgml:
1116 * docs/libs/tmpl/gstdplinint.sgml:
1117 * docs/libs/tmpl/gstdpman.sgml:
1118 * docs/libs/tmpl/gstdpsmooth.sgml:
1119 * docs/libs/tmpl/gstunitconvert.sgml:
1122 2005-10-24 Thomas Vander Stichele <thomas at apestaart dot org>
1127 === release 0.9.4 ===
1129 2005-10-23 Thomas Vander Stichele <thomas at apestaart dot org>
1132 releasing 0.9.4, "Tyrannosaurus Rex"
1134 2005-10-23 Tim-Philipp Müller <tim at centricular dot net>
1136 * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
1137 (gst_file_sink_get_current_offset):
1138 Use fseeko() and ftello() if available. When falling back on
1139 lseek() to get the current offset, fflush() first to make sure
1140 everything is up-to-date and we get the right offset.
1142 2005-10-23 Thomas Vander Stichele <thomas at apestaart dot org>
1144 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
1145 * gst/base/gstbasesrc.c: (gst_base_src_loop):
1146 * gst/gsterror.c: (_gst_stream_errors_init):
1148 * gst/gstqueue.c: (gst_queue_loop):
1150 remove prematurely added error category and clean up the instances
1152 2005-10-21 Wim Taymans <wim@fluendo.com>
1154 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
1155 (gst_base_sink_get_position), (gst_base_sink_query),
1156 (gst_base_sink_change_state):
1157 Simply set the right flag when going to playing, that's all
1158 we need to do instead of calling a function inside the object
1159 lock (that could take the lock as well and deadlock)
1161 2005-10-21 Wim Taymans <wim@fluendo.com>
1163 * gst/base/gstbasesrc.c: (gst_base_src_do_seek),
1164 (gst_base_src_loop):
1165 Don't warn, the peer element knows what to do best when
1166 the seek failed, it might try something else.
1168 2005-10-21 Wim Taymans <wim@fluendo.com>
1170 * gst/base/gstbasesrc.c: (gst_base_src_init),
1171 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
1174 2005-10-21 Wim Taymans <wim@fluendo.com>
1176 * docs/design/part-segments.txt:
1179 * gst/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
1180 Correctly set caps, even on the subbufer.
1182 2005-10-21 Wim Taymans <wim@fluendo.com>
1184 * docs/gst/gstreamer-docs.sgml:
1185 * docs/gst/gstreamer-sections.txt:
1192 * gst/gsttask.c: (gst_task_finalize), (gst_task_func):
1196 And 2% more doc coverage.
1198 2005-10-21 Andy Wingo <wingo@pobox.com>
1200 * gst/base/gstbasesrc.c (gst_base_src_query): Clean up percent
1203 2005-10-20 Wim Taymans <wim@fluendo.com>
1205 * gst/gsterror.c: (gst_error_get_message):
1208 * gst/gststructure.c:
1213 2005-10-20 Wim Taymans <wim@fluendo.com>
1218 Another 1% more coverage.
1220 2005-10-20 Wim Taymans <wim@fluendo.com>
1222 * docs/gst/gstreamer-sections.txt:
1223 * gst/gstelement.c: (gst_element_get_state_func),
1224 (gst_element_abort_state), (gst_element_commit_state),
1225 (gst_element_lost_state):
1227 * gst/gstquery.c: (gst_query_set_position),
1228 (gst_query_parse_position), (gst_query_set_duration),
1229 (gst_query_parse_duration), (gst_query_new_convert):
1231 Yay! 1% more docs coverage.
1233 2005-10-20 Wim Taymans <wim@fluendo.com>
1236 * gst/gstquery.c: (gst_query_set_position),
1237 (gst_query_parse_position), (gst_query_set_duration),
1238 (gst_query_parse_duration), (gst_query_new_convert):
1240 * gst/gstutils.c: (gst_element_query_convert):
1242 Docs and consistency fixes.
1244 2005-10-20 Wim Taymans <wim@fluendo.com>
1250 2005-10-20 Wim Taymans <wim@fluendo.com>
1252 * gst/gstbin.c: (message_check), (bin_replace_message),
1253 (bin_remove_messages), (is_eos), (gst_bin_add_func),
1254 (update_degree), (gst_bin_sort_iterator_next),
1255 (gst_bin_change_state_func), (gst_bin_dispose), (bin_bus_handler):
1256 Reworked the message handling a bit, cache the messages instead of
1257 only the senders. alows us to do more in the future.
1259 2005-10-20 Wim Taymans <wim@fluendo.com>
1261 * docs/design/part-TODO.txt:
1264 * gst/base/gstbasesink.c: (gst_base_sink_get_position),
1265 (gst_base_sink_query):
1266 Don't use clock time to report position when in EOS.
1268 2005-10-20 Tim-Philipp Müller <tim at centricular dot net>
1270 * tools/gst-inspect.c: (print_interfaces),
1271 (print_element_properties_info), (print_element_info):
1272 Fix interface output with gst-inspect -a; don't print
1273 newlines after double/float properties.
1275 2005-10-20 Wim Taymans <wim@fluendo.com>
1277 * gst/base/gstbasesink.c: (gst_base_sink_get_position),
1278 (gst_base_sink_query):
1279 Speed up current position calculation.
1281 * gst/base/gstbasesrc.c: (gst_base_src_query),
1282 (gst_base_src_default_newsegment):
1283 Correctly set stream position in newsegment.
1285 * gst/gstbin.c: (gst_bin_add_func), (add_to_queue),
1286 (update_degree), (gst_bin_sort_iterator_next),
1287 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free):
1288 * gst/gstmessage.c: (gst_message_new_custom):
1289 Clean up debugging info
1291 * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
1292 (gst_queue_loop), (gst_queue_handle_src_query):
1295 2005-10-19 Wim Taymans <wim@fluendo.com>
1297 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
1298 (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
1299 Fix query handling again.
1301 2005-10-19 Wim Taymans <wim@fluendo.com>
1303 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
1304 (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
1305 * gst/base/gstbasesrc.c: (gst_base_src_query):
1306 * gst/elements/gstfilesink.c: (gst_file_sink_query):
1307 * gst/elements/gsttypefindelement.c:
1308 (gst_type_find_handle_src_query), (find_element_get_length),
1309 (gst_type_find_element_activate):
1312 * gst/gstquery.c: (gst_query_new_position),
1313 (gst_query_set_position), (gst_query_parse_position),
1314 (gst_query_new_duration), (gst_query_set_duration),
1315 (gst_query_parse_duration), (gst_query_set_segment),
1316 (gst_query_parse_segment):
1318 Bundling query position/duration is not a good idea since duration
1319 does not change much and we don't want to recalculate it for every
1320 position query, so they are separated again..
1321 Base value in segment query is not needed.
1323 * gst/gstqueue.c: (gst_queue_handle_src_query):
1324 * gst/gstutils.c: (gst_element_query_position),
1325 (gst_element_query_duration), (gst_pad_query_position),
1326 (gst_pad_query_duration):
1328 Updates for query API change.
1329 Added some docs here and there.
1331 2005-10-19 Thomas Vander Stichele <thomas at apestaart dot org>
1333 * check/gst/gstbin.c: (GST_START_TEST):
1334 * check/gst/gstghostpad.c: (GST_START_TEST):
1335 * check/pipelines/cleanup.c: (GST_START_TEST):
1336 wait on thread to die so we can check refcount correctly
1338 2005-10-18 Wim Taymans <wim@fluendo.com>
1340 * check/pipelines/stress.c: (GST_START_TEST):
1341 Make check a little more time consuming.
1343 2005-10-18 Wim Taymans <wim@fluendo.com>
1345 * check/Makefile.am:
1346 * check/pipelines/stress.c: (GST_START_TEST),
1347 (simple_launch_lines_suite), (main):
1348 Small state change torture test.
1350 * docs/design/part-states.txt:
1351 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
1352 (gst_base_sink_handle_object), (gst_base_sink_event), (do_playing),
1353 (gst_base_sink_change_state):
1354 Never take state lock from streaming thread, clean up ugly
1355 hacks. Unfortunatly core does not yet support nice ways to
1358 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_recalc_state),
1360 Start state recalc if a STATE_DIRTY message is posted, but only
1361 on the toplevel bin.
1363 * gst/gstelement.c: (gst_element_sync_state_with_parent),
1364 (gst_element_get_state_func), (gst_element_abort_state),
1365 (gst_element_commit_state), (gst_element_lost_state),
1366 (gst_element_set_state_func), (gst_element_change_state):
1368 State variables are now protected with the LOCK, the state
1369 lock is only used to serialize _set_state().
1371 2005-10-18 Wim Taymans <wim@fluendo.com>
1373 * check/gst/gstbin.c: (GST_START_TEST):
1374 * check/gst/gstmessage.c: (GST_START_TEST):
1375 * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
1376 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_recalc_func),
1378 * gst/gstelement.c: (gst_element_abort_state),
1379 (gst_element_commit_state), (gst_element_lost_state):
1380 * gst/gstmessage.c: (gst_message_new_state_changed),
1381 (gst_message_new_state_dirty), (gst_message_new_segment_start),
1382 (gst_message_new_segment_done), (gst_message_new_duration),
1383 (gst_message_parse_state_changed),
1384 (gst_message_parse_segment_start),
1385 (gst_message_parse_segment_done), (gst_message_parse_duration):
1387 * tools/gst-launch.c: (event_loop):
1388 Seriously, this is better than a previous commit as we only need
1389 to notify the fact that an element changed state in a streaming
1390 thread, marking the state of the parents dirty, hence the
1391 STATE_DIRTY message instead of abusing a boolean in a STATE_CHANGE
1394 2005-10-18 Wim Taymans <wim@fluendo.com>
1396 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_get_state_func),
1397 (gst_bin_recalc_func):
1398 * gst/gstelement.c: (gst_element_set_clock),
1399 (gst_element_abort_state), (gst_element_lost_state):
1400 Cleanups, prepare for state change fixes.
1402 2005-10-18 Wim Taymans <wim@fluendo.com>
1405 * gst/gstelement.c: (gst_element_class_init),
1406 (gst_element_set_state), (gst_element_set_state_func):
1408 Pending ABI changes.
1409 GThreadPool in GstBinClass to monitor async state changes.
1410 state_cookie in GstElement to detect concurrent gst/set state.
1411 set_state is now virtual too in case a very complicated element
1412 has to be constructed.
1414 2005-10-18 Wim Taymans <wim@fluendo.com>
1416 * check/gst/gstbin.c: (GST_START_TEST):
1417 * check/gst/gstmessage.c: (GST_START_TEST):
1418 * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
1419 * gst/gstbin.c: (bin_bus_handler):
1420 * gst/gstelement.c: (gst_element_commit_state),
1421 (gst_element_lost_state):
1422 * gst/gstmessage.c: (gst_message_new_state_changed),
1423 (gst_message_new_segment_start), (gst_message_new_segment_done),
1424 (gst_message_new_duration), (gst_message_parse_state_changed),
1425 (gst_message_parse_segment_start),
1426 (gst_message_parse_segment_done), (gst_message_parse_duration):
1428 * tools/gst-launch.c: (event_loop):
1429 Make messages future proof.
1430 state-change gets a flag if it was a message comming from the
1432 segment-start/stop can also be specified in other formats.
1433 A message to notify an app that a pipeline changed playback
1435 Also fix a GstMessage leak in -launch
1437 2005-10-18 Andy Wingo <wingo@pobox.com>
1439 * gst/gstelement.c (gst_element_dispose): More helpful message.
1441 2005-10-18 Thomas Vander Stichele <thomas at apestaart dot org>
1443 reviewed by: <delete if not using a buddy>
1445 * common/gtk-doc.mak:
1447 2005-10-18 Thomas Vander Stichele <thomas at apestaart dot org>
1449 * gst/gstregistry.c: (gst_registry_scan_path_level):
1450 unref a plug-in we get that was already initialized
1452 2005-10-18 Stefan Kost <ensonic@users.sf.net>
1454 * docs/gst/gstreamer-sections.txt:
1455 * docs/libs/gstreamer-libs-sections.txt:
1460 2005-10-17 Andy Wingo <wingo@pobox.com>
1462 * gst/base/gstcollectpads.c (gst_collectpads_chain): Slight
1465 * gst/Makefile.am (gstenumtypes.c): Threadsafe now.
1467 * gst/gstevent.c (gst_event_new, gst_event_finalize): LOG.
1469 * gst/gstelement.c (gst_element_get_state_func): s/INFO/DEBUG/.
1470 (gst_element_get_state_func): Better debug message.
1471 (gst_element_commit_state): s/INFO/DEBUG/.
1472 (gst_element_lost_state, gst_element_change_state):
1474 * gst/gstmessage.c (gst_message_init): s/INFO/LOG/.
1475 (gst_message_new_custom): s/INFO/LOG/.
1477 2005-10-17 Michael Smith <msmith@fluendo.com>
1479 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
1480 Check if end time is valid using end time, not start time.
1482 2005-10-17 Stefan Kost <ensonic@users.sf.net>
1484 * check/gst-libs/controller.c: (GST_START_TEST),
1485 (gst_controller_suite):
1486 * libs/gst/controller/gstcontroller.c:
1487 (gst_controlled_property_set_interpolation_mode):
1488 * libs/gst/controller/gstcontroller.h:
1489 * libs/gst/controller/gstinterpolation.c:
1490 * testsuite/controller/.cvsignore:
1491 * testsuite/controller/Makefile.am:
1492 * testsuite/controller/interpolator.c:
1493 merge controller testsuites
1495 remove mem-chunk from docs
1497 2005-10-17 Thomas Vander Stichele <thomas at apestaart dot org>
1499 * gst/gstmemchunk.c:
1500 * gst/gstmemchunk.h:
1501 * gst/gsttrashstack.c:
1502 * gst/gsttrashstack.h:
1503 out. get out. you're fired. to the Attic !
1505 2005-10-17 Thomas Vander Stichele <thomas at apestaart dot org>
1507 * gst/gstcaps.c: (gst_caps_intersect):
1508 fix signedness issues in a (hopefully) correct way
1509 * gst/gstelement.c: (gst_element_pads_activate):
1511 * gst/gstobject.c: (gst_object_set_parent):
1514 2005-10-17 Julien MOUTTE <julien@moutte.net>
1516 * gst/gstvalue.h: Fix prototypes.
1518 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
1520 * docs/gst/gstreamer-sections.txt:
1521 * gst/gst.c: (gst_version_string):
1523 * gst/gstversion.h.in:
1524 * win32/common/libgstreamer.def:
1525 add gst_version_string ()
1527 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
1531 * gst/gst.c: (init_post):
1532 * win32/common/config.h.in:
1534 * gst/gstcaps.c: (gst_caps_intersect):
1535 use gint64, the range could be bigger than a guint
1537 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
1540 document potential problem in 2038
1542 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
1544 * gst/gstcaps.c: (gst_caps_intersect):
1545 Fix guint j diving under 0
1547 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
1550 * win32/common/config.h:
1551 * win32/common/config.h.in:
1552 check for process.h, declares getpid() on Windows
1554 include process.h if we have it
1555 * gst/gstmemchunk.c: (populate), (gst_mem_chunk_new):
1556 * gst/gstmemchunk.h:
1557 fix signedness issues
1558 * win32/common/libgstreamer.def:
1561 2005-10-16 Julien MOUTTE <julien@moutte.net>
1563 * gst/gstcaps.c: (gst_caps_intersect): Fix a bad bug with a simple
1564 fix. Because of unsigned ints, caps intersection was going nuts and
1565 trying to access structures with G_MAXUINT index. That fixes
1566 videotestsrc ! ffmpegcolorspace ! fakesink
1567 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked): logs
1570 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
1573 use the gettext macro
1574 * gst/elements/gstelements.c:
1576 * gst/indexers/gstindexers.c:
1577 update for GST_PACKAGE_NAME, GST_PACKAGE_ORIGIN
1578 * win32/common/config.h:
1580 * win32/common/config.h.in:
1581 add the template to generate config.h
1582 * win32/common/gstenumtypes.c:
1583 * win32/common/gstversion.h:
1586 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
1588 * gst/gst.c: (gst_version):
1589 * gst/gstversion.h.in:
1592 2005-10-15 Tim-Philipp Müller <tim at centricular dot net>
1595 Oops, add missing closing bracket.
1597 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
1600 use common m4's for argument checking
1602 2005-10-15 Tim-Philipp Müller <tim at centricular dot net>
1604 * docs/gst/gstreamer-sections.txt:
1606 Add GST_EVENT_TYPE_NAME() macro.
1608 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
1611 * gst/gstpluginfeature.c:
1613 privatize more symbols
1615 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
1618 add srcdir, builddir includes to GST_ALL_CFLAGS, since
1619 everything that uses GStreamer API should have the includes
1621 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
1623 * docs/gst/gstreamer-sections.txt:
1624 * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
1626 give each value a _get_type, removes the DATA exports
1628 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
1632 remove _gst_registry_auto_load, not used anymore
1633 * gst/gstbin.c: (gst_bin_get_type):
1635 * gst/gstelement.c: (gst_element_get_type):
1637 * gst/gstobject.c: (gst_object_get_type):
1639 * gst/gstpad.c: (gst_pad_get_type):
1641 make _get_type functions similar, fixes data export from library
1643 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
1646 correctly make conditionals
1647 * gst/elements/Makefile.am:
1648 * gst/elements/gstelements.c:
1649 fix typo causing fdsrc not to build
1651 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
1653 * testsuite/Makefile.am:
1654 * testsuite/bytestream/.cvsignore:
1655 * testsuite/bytestream/Makefile.am:
1656 * testsuite/bytestream/filepadsink.c:
1657 * testsuite/bytestream/gstbstest.c:
1658 * testsuite/bytestream/test1.c:
1659 * testsuite/bytestream/testfile1:
1660 * testsuite/caps/normalisation.c:
1661 * testsuite/caps/random.c: (main):
1662 * testsuite/cleanup/.cvsignore:
1663 * testsuite/cleanup/Makefile.am:
1664 * testsuite/cleanup/cleanup1.c:
1665 * testsuite/cleanup/cleanup2.c:
1666 * testsuite/cleanup/cleanup3.c:
1667 * testsuite/cleanup/cleanup4.c:
1668 * testsuite/cleanup/cleanup5.c:
1669 * testsuite/controller/interpolator.c:
1670 * testsuite/debug/printf_extension.c: (main):
1671 * testsuite/elements/tee.c:
1672 * testsuite/negotiation/.cvsignore:
1673 * testsuite/negotiation/Makefile.am:
1674 * testsuite/negotiation/pad_link.c:
1675 * testsuite/pad/Makefile.am:
1676 * testsuite/pad/chainnopull.c:
1677 * testsuite/pad/getnopush.c:
1678 * testsuite/pad/link.c:
1679 * testsuite/refcounting/sched.c: (create_pipeline):
1680 * testsuite/registry/Makefile.am:
1681 * testsuite/registry/gst-print-formats.c:
1682 * testsuite/schedulers/.cvsignore:
1683 * testsuite/schedulers/142183-2.c:
1684 * testsuite/schedulers/142183.c:
1685 * testsuite/schedulers/143777-2.c:
1686 * testsuite/schedulers/143777.c:
1687 * testsuite/schedulers/147713.c:
1688 * testsuite/schedulers/147819.c:
1689 * testsuite/schedulers/147894-2.c:
1690 * testsuite/schedulers/147894.c:
1691 * testsuite/schedulers/Makefile.am:
1692 * testsuite/schedulers/group_link.c:
1693 * testsuite/schedulers/queue_link.c:
1694 * testsuite/schedulers/relink.c:
1695 * testsuite/schedulers/unlink.c:
1696 * testsuite/schedulers/unref.c:
1697 * testsuite/schedulers/useless_iteration.c:
1698 * testsuite/states/bin.c:
1699 clean out/remove some stuff from the testsuite directories
1701 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
1704 check for some headers
1705 * gst/elements/Makefile.am:
1706 * gst/elements/gstelements.c:
1707 don't compile fdsrc without sys/socket.h
1708 * gst/indexers/Makefile.am:
1709 * gst/indexers/gstindexers.c: (plugin_init):
1710 don't compile fileindex without mmap
1712 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
1719 * check/Makefile.am:
1720 * docs/gst/Makefile.am:
1721 * examples/helloworld/Makefile.am:
1723 * gst/base/Makefile.am:
1724 * gst/check/Makefile.am:
1725 * gst/elements/Makefile.am:
1726 * gst/indexers/Makefile.am:
1727 * gst/parse/Makefile.am:
1728 * libs/gst/controller/Makefile.am:
1729 * libs/gst/dataprotocol/Makefile.am:
1730 * examples/helloworld/helloworld.c: (event_loop):
1731 compile fixes, though it's not being compiled currently
1733 2005-10-14 Tim-Philipp Müller <tim at centricular dot net>
1735 * check/gst/gsttag.c: (test_date_tags), (gst_tag_suite):
1736 Add some simple tests for the new taglist date API.
1738 2005-10-14 Tim-Philipp Müller <tim at centricular dot net>
1740 * gst/elements/gstfakesink.c: (gst_fake_sink_render):
1741 * gst/elements/gstfakesrc.c: (gst_fake_src_create):
1742 Beautify 'last-message' output: print 'none' for buffer timestamps
1743 and durations if none is set; improve alignment with next messages.
1745 2005-10-14 Tim-Philipp Müller <tim at centricular dot net>
1747 * gst/gstpluginfeature.c: (gst_plugin_feature_check_version):
1748 * gst/gstpluginfeature.h:
1749 * gst/gstregistry.c: (gst_default_registry_check_feature_version):
1750 * gst/gstregistry.h:
1751 * docs/gst/gstreamer-sections.txt:
1752 Add new API to check plugin feature version requirements.
1754 * check/gst/gstplugin.c: (test_version_checks), (gst_plugin_suite):
1755 Some basic tests for the above.
1757 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
1759 * gst/gststructure.c: (gst_structure_to_string):
1760 guard against NULL printf - happens when for example
1761 a message structure with GstClock gets serialized
1763 2005-10-13 Tim-Philipp Müller <tim at centricular dot net>
1765 * gst/base/gstcollectpads.c: (gst_collectpads_event):
1766 Fix presumable copy'n'pasto.
1768 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
1770 * gst/elements/gstfakesrc.h:
1771 * gst/elements/gstfilesrc.c: (gst_file_src_create_read):
1772 * gst/elements/gsttypefindelement.c:
1774 * gst/elements/gstfilesink.c: (gst_file_sink_render):
1775 I wonder if this could actually write +2GB files before
1777 2005-10-13 Andy Wingo <wingo@pobox.com>
1779 * libs/gst/dataprotocol/dataprotocol.c (gst_dp_packet_from_caps):
1780 Fix Timmeke Waymans bug.
1781 (gst_dp_caps_from_packet): Make sure we pass a NUL-terminated
1782 string of the proper length to gst_caps_from_string. There's a
1783 potential for, before this fix, that this could cause someone
1784 connecting over the network to cause a segfault if the payload is
1787 2005-10-13 Stefan Kost <ensonic@users.sf.net>
1789 * docs/design/draft-push-pull.txt:
1790 * docs/design/part-overview.txt:
1791 * docs/random/TODO-pre-0.9:
1792 * docs/random/old/ChangeLog.gstreamer:
1793 * gst/base/gstpushsrc.c:
1797 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
1799 * gst/glib-compat.c: (gst_flags_get_first_value):
1800 * gst/glib-compat.h:
1801 * gst/gstvalue.c: (gst_value_deserialize_int_helper),
1802 (gst_value_compare_double), (gst_value_serialize_flags):
1803 GLib 2.6 g_flags_get_first_value has a bug that triggers an
1806 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
1808 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
1809 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
1811 * tools/gst-launch.c: (event_loop):
1812 print out clock nicely
1814 2005-10-13 Tim-Philipp Müller <tim at centricular dot net>
1816 * docs/gst/gstreamer-sections.txt:
1818 * gst/gsttaglist.c: (_gst_tag_initialize), (gst_tag_list_get_date),
1819 (gst_tag_list_get_date_index):
1820 Added gst_tag_list_get_date() and gst_tag_list_get_date_index().
1821 GST_TAG_DATE now has a tag type of GST_TYPE_DATE (#170777).
1823 2005-10-13 Julien MOUTTE <julien@moutte.net>
1825 * gst/base/gstcollectpads.c: (gst_collectpads_event),
1826 (gst_collectpads_chain):
1827 * gst/base/gstcollectpads.h: Handle newsegment and store informations
1830 2005-10-13 Stefan Kost <ensonic@users.sf.net>
1832 * docs/gst/gstreamer-sections.txt:
1835 * tools/gst-inspect.c: (main):
1836 * tools/gst-launch.c: (main):
1837 * tools/gst-run.c: (main):
1838 * tools/gst-xmlinspect.c: (main):
1839 fix GOption context leaks
1842 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
1846 * win32/common/config.h:
1848 * win32/vs6/grammar.dsp:
1849 * win32/vs6/libgstelements.dsp:
1850 * win32/vs6/libgstreamer.dsp:
1853 2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
1855 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
1856 * gst/base/gstbasesrc.c: (gst_base_src_query):
1857 fix more guint64<->gdouble conversions
1859 2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
1862 add win32-update target
1863 * win32/common/gstconfig.h:
1864 * win32/common/gstenumtypes.c:
1865 * win32/common/gstenumtypes.h:
1866 * win32/common/gstversion.h:
1867 add files that visual studio can't generate
1869 2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
1872 add a win32-update target
1875 2005-10-12 Wim Taymans <wim@fluendo.com>
1877 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
1878 (reset_degree), (gst_bin_dispose), (bin_bus_handler):
1879 * gst/gstelement.c: (gst_element_commit_state),
1880 (gst_element_set_state):
1881 Protect flags with proper lock.
1882 unref provided cached clock in dispose.
1884 2005-10-12 Stefan Kost <ensonic@users.sf.net>
1887 * gst/gstminiobject.h:
1889 * win32/gstenumtypes.c: (gst_mini_object_flags_get_type):
1890 removed unused flags from miniobject
1893 2005-10-12 Wim Taymans <wim@fluendo.com>
1895 * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
1896 (gst_file_sink_event), (gst_file_sink_render):
1897 Flush before seeking.
1899 2005-10-12 Andy Wingo <wingo@pobox.com>
1901 * gst/gst.c (gst_init_check): Ignore unknown options, as has
1902 always been the case.
1904 2005-10-12 Stefan Kost <ensonic@users.sf.net>
1906 * check/gst/gstbin.c: (GST_START_TEST):
1907 * docs/gst/gstreamer-sections.txt:
1908 * gst/base/gstbasesink.c: (gst_base_sink_init):
1909 * gst/base/gstbasesrc.c: (gst_base_src_init),
1910 (gst_base_src_get_range), (gst_base_src_check_get_range),
1911 (gst_base_src_start), (gst_base_src_stop):
1912 * gst/base/gstbasesrc.h:
1913 * gst/elements/gstfakesrc.c: (gst_fake_src_set_property):
1914 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
1915 (bin_element_is_sink), (reset_degree), (gst_bin_element_set_state),
1919 * gst/gstbus.c: (gst_bus_post), (gst_bus_set_flushing):
1921 * gst/gstelement.c: (gst_element_is_locked_state),
1922 (gst_element_set_locked_state), (gst_element_commit_state),
1923 (gst_element_set_state):
1925 * gst/gstindex.c: (gst_index_init):
1927 * gst/gstminiobject.h:
1928 * gst/gstobject.c: (gst_object_init), (gst_object_sink),
1929 (gst_object_set_parent):
1931 * gst/gstpad.c: (gst_pad_set_blocked_async), (gst_pad_is_blocked),
1932 (gst_pad_get_caps_unlocked), (gst_pad_set_caps):
1934 * gst/gstpadtemplate.h:
1935 * gst/gstpipeline.c: (gst_pipeline_provide_clock_func),
1936 (gst_pipeline_use_clock), (gst_pipeline_auto_clock):
1937 * gst/gstpipeline.h:
1938 * gst/indexers/gstfileindex.c: (gst_file_index_load),
1939 (gst_file_index_commit):
1940 * testsuite/bytestream/filepadsink.c: (gst_fp_sink_init):
1941 * testsuite/pad/link.c: (gst_test_src_init),
1942 (gst_test_filter_init), (gst_test_sink_init):
1943 * testsuite/states/locked.c: (main):
1944 renamed GST_FLAGS macros to GST_OBJECT_FLAGS
1945 moved bitshift from macro to enum definition
1947 2005-10-12 Wim Taymans <wim@fluendo.com>
1949 * gst/base/gstbasesink.c: (gst_base_sink_handle_buffer):
1950 * gst/elements/gstfilesink.c: (gst_file_sink_event),
1951 (gst_file_sink_render):
1952 Some more debugging info.
1954 2005-10-12 Wim Taymans <wim@fluendo.com>
1956 * docs/design/part-states.txt:
1957 * tools/gst-launch.c: (main):
1959 Revert non-intentional change.
1961 2005-10-12 Wim Taymans <wim@fluendo.com>
1963 * check/gst/gstbin.c: (GST_START_TEST):
1964 * check/gst/gstelement.c: (GST_START_TEST):
1965 * check/gst/gstevent.c: (GST_START_TEST), (test_event):
1966 * check/gst/gstghostpad.c: (GST_START_TEST):
1967 * check/gst/gstpipeline.c: (GST_START_TEST):
1968 * check/pipelines/simple_launch_lines.c: (run_pipeline):
1969 * check/states/sinks.c: (GST_START_TEST):
1970 * gst/elements/gsttypefindelement.c: (stop_typefinding):
1971 * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
1972 (gst_bin_remove_func), (gst_bin_get_state_func),
1973 (gst_bin_recalc_state), (gst_bin_change_state_func),
1975 * gst/gstelement.c: (gst_element_get_state_func),
1976 (gst_element_get_state), (gst_element_abort_state),
1977 (gst_element_commit_state), (gst_element_set_state),
1978 (gst_element_change_state), (gst_element_change_state_func):
1980 * gst/gstpipeline.c: (gst_pipeline_class_init), (do_pipeline_seek),
1981 (gst_pipeline_provide_clock_func):
1982 * gst/gstutils.c: (gst_element_link_pads_filtered):
1983 * tools/gst-launch.c: (main):
1984 * tools/gst-typefind.c: (main):
1985 Use GstClockTime in _get_state() instead of GTimeVal.
1986 Remove old code in gstutils.c
1988 2005-10-12 Andy Wingo <wingo@pobox.com>
1990 * gst/gstregistry.h (gst_registry_scan_paths): Not implemented, so
1993 * gst/gstpad.c (gst_pad_pause_task): Actually return FALSE if
1994 there is no task. Shouldn't affect any code, as nothing in our
1995 plugins checks this return value.
1996 (gst_pad_stop_task): Also take the stream lock if the pad has no
1999 2005-10-12 Wim Taymans <wim@fluendo.com>
2001 * gst/gstpad.c: (pre_activate), (post_activate),
2002 (gst_pad_activate_pull), (gst_pad_activate_push):
2003 Cleanup activation code. Reset old state if
2006 2005-10-12 Wim Taymans <wim@fluendo.com>
2008 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
2009 (gst_base_sink_change_state):
2010 No need to prerol after receiving EOS.
2012 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
2013 * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler):
2014 * gst/elements/gstidentity.c: (gst_identity_event):
2015 Print events more verbosely.
2017 2005-10-12 Wim Taymans <wim@fluendo.com>
2019 * check/Makefile.am:
2020 * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
2021 * check/states/sinks2.c:
2022 Moved sinks2 testcode in sinks check.
2024 * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
2025 (gst_bin_remove_func), (gst_bin_recalc_state),
2026 (gst_bin_change_state_func), (bin_bus_handler):
2027 Fix potential race condition when _get_state() iterated over an
2028 ASYNC element right before it posted a state completion.
2031 Do proper cast here.
2033 * gst/gstevent.c: (gst_event_new_newsegment),
2034 (gst_event_parse_newsegment):
2035 A playback rate of 0.0 is not allowed.
2037 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
2039 * win32/common/config.h:
2040 * win32/common/dirent.c: (_topendir), (_treaddir), (_tclosedir),
2041 (_trewinddir), (_ttelldir), (_tseekdir):
2042 * win32/common/dirent.h:
2043 * win32/common/gtchar.h:
2044 * win32/common/libgstbase.def:
2045 * win32/common/libgstreamer.def:
2046 * win32/vs6/grammar.dsp:
2047 * win32/vs6/gst_inspect.dsp:
2048 * win32/vs6/gst_launch.dsp:
2049 * win32/vs6/gstreamer.dsw:
2050 * win32/vs6/libgstbase.dsp:
2051 * win32/vs6/libgstelements.dsp:
2052 * win32/vs6/libgstreamer.dsp:
2053 Visual Studio 6 project files, and a new common directory.
2056 2005-10-11 Wim Taymans <wim@fluendo.com>
2058 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
2059 (gst_base_sink_do_sync), (gst_base_sink_query),
2060 (gst_base_sink_change_state):
2061 * gst/base/gstbasesink.h:
2062 Correctly parse newsegment info.
2064 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
2066 * gst/gst.c: (init_post):
2067 split plugin paths correctly
2069 2005-10-11 Wim Taymans <wim@fluendo.com>
2071 * check/gst/gstevent.c: (GST_START_TEST):
2072 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
2073 (gst_base_sink_change_state):
2074 * gst/base/gstbasesrc.c: (gst_base_src_default_newsegment):
2075 * gst/base/gstbasetransform.c: (gst_base_transform_event):
2076 * gst/elements/gstfilesink.c: (gst_file_sink_event):
2077 * gst/gstevent.c: (gst_event_new_newsegment),
2078 (gst_event_parse_newsegment):
2080 Added extra flag to newsegment for future API freeze.
2081 Updated check and base elements.
2083 2005-10-11 Julien MOUTTE <julien@moutte.net>
2085 * gst/base/gstcollectpads.c: (gst_collectpads_init),
2086 (gst_collectpads_add_pad), (gst_collectpads_pop),
2087 (gst_collectpads_event), (gst_collectpads_chain):
2088 * gst/base/gstcollectpads.h: Handle EOS correctly.
2090 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
2092 * tools/gst-launch.c: (main):
2093 more null protecting
2095 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
2097 * gst/gst-i18n-lib.h:
2098 check for ENABLE_NLS, not GETTEXT_PACKAGE
2099 * gst/gstregistry.c: (gst_registry_add_plugin),
2100 (gst_registry_scan_path_level),
2101 (_gst_registry_remove_cache_plugins):
2102 protect possibly NULL strings
2103 * gst/parse/types.h:
2104 config.h already included before
2105 * tools/gst-inspect.c: (main):
2106 sys/wait.h also doesn�t exist on mingw, so change the ifdef check
2107 check for ENABLE_NLS, not GETTEXT_PACKAGE
2108 * tools/gst-launch.c: (main):
2109 check for ENABLE_NLS, not GETTEXT_PACKAGE
2111 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
2114 if we don't have glib, fail before testing 2.8
2115 * gst/base/gstbasetransform.c: (gst_base_transform_change_state):
2116 fix a leak, should fix plugins-base testsuite
2118 2005-10-11 Andy Wingo <wingo@pobox.com>
2120 * gst/gstpad.c (pre_activate): Renamed from pre_activate_switch,
2121 take the mode we're going to as an arg. Go head and set the mode
2122 and flushing flags now, so that if the activate function starts a
2123 thread all the flags will be in the right state.
2124 (post_activate): Renamed also. Just handle making sure streaming
2125 finishes for the deactivation case, and setting the deactivated
2127 (gst_pad_set_active): Complain loudly if deactivation fails.
2128 (gst_pad_activate_pull): Adapt to pre/post_activate changes.
2129 (gst_pad_activate_push): Adapt to pre/post_activate changes,
2130 remove the terrible hack.
2132 2005-10-11 Wim Taymans <wim@fluendo.com>
2134 * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
2135 (is_eos), (gst_bin_add_func), (gst_bin_remove_func),
2136 (gst_bin_recalc_state), (gst_bin_change_state_func),
2137 (gst_bin_dispose), (bin_bus_handler):
2139 Prepare to make current EOS message queue more generic.
2142 * gst/gstevent.c: (gst_event_new_newsegment),
2143 (gst_event_parse_newsegment):
2145 Rename base to stream_time.
2150 2005-10-11 Wim Taymans <wim@fluendo.com>
2152 * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
2153 (gst_bin_add_func), (gst_bin_remove_func), (gst_bin_recalc_state),
2154 (gst_bin_change_state_func), (bin_bus_handler):
2156 Work on proper clock selection.
2158 2005-10-11 Edward Hervey <edward@fluendo.com>
2160 * libs/gst/controller/gstcontroller.c: (gst_controller_remove_properties_list):
2161 * libs/gst/controller/gstcontroller.h:
2162 Added GList* version of _remove_properties() in order to be able to wrap
2165 2005-10-11 Wim Taymans <wim@fluendo.com>
2167 * docs/design/part-states.txt:
2170 * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_recalc_state),
2171 (gst_bin_change_state_func), (bin_bus_handler):
2172 Doc updates. Don't distribute the same clock over and over again.
2178 * gst/gstpad.c: (gst_flow_get_name), (gst_flow_to_quark),
2179 (gst_pad_get_type), (gst_pad_push), (gst_pad_push_event),
2180 (gst_pad_send_event):
2182 Make probe emission threadsafe again.
2183 Register quarks and move _get_name() from utils.
2186 * gst/gstpipeline.c: (gst_pipeline_class_init),
2187 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
2188 Only redistribute the clock of it changed.
2190 * gst/gstsystemclock.h:
2195 Moved the _flow_get_name() to GstPad.
2197 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
2199 * check/gst-libs/gdp.c: (GST_START_TEST):
2200 * check/gst/gstcaps.c: (GST_START_TEST):
2201 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc),
2202 (gst_dp_dump_byte_array), (gst_dp_header_from_buffer),
2203 (gst_dp_packet_from_caps):
2204 fix more valgrind warnings before turning up the heat
2206 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
2208 * gst/parse/grammar.y:
2209 some cleanup before the hacking
2211 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
2213 * gst/base/gstbasesrc.c: (gst_base_src_query):
2215 * gst/gstutils.c: (gst_guint64_to_gdouble),
2216 (gst_gdouble_to_guint64), (gst_util_uint64_scale):
2218 externalize, basesrc uses it
2219 obviously the implementation needs testing
2221 2005-10-10 Wim Taymans <wim@fluendo.com>
2223 * tests/sched/Makefile.am:
2224 * tests/sched/sort.c: (make_pipeline1), (make_pipeline2),
2225 (make_pipeline3), (make_pipeline4), (print_elem), (main):
2227 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
2229 * gst/gstutils.c: (guint64_to_gdouble), (gst_util_uint64_scale):
2230 apparently converting from guint64 to double is not implemented
2233 2005-10-10 Wim Taymans <wim@fluendo.com>
2235 * check/Makefile.am:
2236 * check/generic/states.c: (GST_START_TEST):
2237 * check/gst/gstbin.c: (GST_START_TEST):
2238 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
2239 * check/states/sinks.c: (GST_START_TEST):
2240 * check/states/sinks2.c: (GST_START_TEST), (gst_object_suite),
2242 Check fixes, use API as stated in design docs, remove hacks.
2244 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
2245 (gst_base_sink_change_state):
2246 Catch stopping our task while we're shutting down.
2248 * gst/gstbin.c: (gst_bin_init), (gst_bin_add_func),
2249 (gst_bin_remove_func), (gst_bin_get_state_func),
2250 (gst_bin_recalc_state), (gst_bin_change_state_func),
2253 * gst/gstelement.c: (gst_element_init),
2254 (gst_element_get_state_func), (gst_element_abort_state),
2255 (gst_element_commit_state), (gst_element_lost_state),
2256 (gst_element_set_state), (gst_element_change_state),
2257 (gst_element_change_state_func):
2259 New state change algorithm (see #318116)
2261 * gst/gstpipeline.c: (gst_pipeline_class_init),
2262 (gst_pipeline_init), (gst_pipeline_set_property),
2263 (gst_pipeline_get_property), (do_pipeline_seek),
2264 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
2265 * gst/gstpipeline.h:
2266 Remove crude state change hacks.
2271 * tools/gst-launch.c: (main):
2272 Fixes for state change. Needs some more work to fully use the
2275 2005-10-10 Andy Wingo <wingo@pobox.com>
2277 * tests/Makefile.am (noinst_PROGRAMS): No more init.c.
2279 * gst/gst.c (G_OPTION_FLAG_NO_ARG): Apparently GLib 2.8 requires
2280 this flag, but it's not even in GLib 2.6. Odd. Hack around the
2283 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
2285 * gst/gstiterator.c: (gst_iterator_new):
2286 Fix my previous commit: GTypes passed to gst_iterator_new()
2287 can be fundamental types.
2289 2005-10-10 Wim Taymans <wim@fluendo.com>
2291 * gst/gstelement.c: (gst_element_iterate_pad_list),
2292 (gst_element_iterate_pads), (gst_element_iterate_src_pads),
2293 (gst_element_iterate_sink_pads):
2294 Use src/sink pads lists for the respective iterators instead
2297 2005-10-10 Andy Wingo <wingo@pobox.com>
2299 Merged in popt removal + GOption addition patch from Ronald, bug
2302 * docs/gst/gstreamer-sections.txt: Add STATE_(UN)LOCK_FULL, move
2303 GstElement macros around, remove popt-related symbols, add goption
2306 * configure.ac: Remove popt checks, require GLib 2.6 for GOption.
2308 * docs/gst/Makefile.am:
2309 * docs/libs/Makefile.am: No POPT_CFLAGS.
2311 * examples/manual/Makefile.am:
2312 * docs/manual/basics-init.xml: Doc updates with an example.
2314 * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
2315 (gst_init), (parse_one_option), (parse_goption_arg):
2316 * gst/gst.h: Removed gst_init_with_popt_table and friends. Took a
2317 bit of hand merging and debugging to get the GOption stuff working
2320 * tests/Makefile.am:
2321 * tools/Makefile.am:
2322 * tools/gst-inspect.c: (main):
2323 * tools/gst-launch.c: (main):
2324 * tools/gst-run.c: (main):
2325 * tools/gst-xmlinspect.c: (main): Thanks Ronald!
2327 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
2329 * gst/gstiterator.c: (gst_iterator_new):
2330 Add assertions to make sure passed GType is likely to really
2331 be a GType (as the compiler won't catch it if the size and
2332 GType arguments get mixed up, see #318447).
2334 2005-10-10 Josef Zlomek <josef dot zlomek at xeris dot cz>
2336 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
2338 * gst/gstbin.c: (gst_bin_iterate_sorted):
2339 Pass GType and size arguments to gst_iterator_new() in the right
2340 order (maybe we should make _new() take the GType as first argument
2341 just like _new_list()?) (#318447).
2344 2005-10-10 Wim Taymans <wim@fluendo.com>
2346 * gst/gstelement.c: (gst_element_finalize):
2347 And free the GStaticRecMutex too
2349 2005-10-10 Andy Wingo <wingo@pobox.com>
2351 * gst/gstelement.c (gst_element_init, gst_element_finalize):
2352 Allocate and free the mutex properly.
2354 * gst/gstelement.h (GST_STATE_UNLOCK_FULL, GST_STATE_LOCK_FULL):
2356 (GstElement): The state_lock is now recursive. Rebuild your
2357 plugins, suckers. Old macros adapted.
2359 * docs/gst/gstreamer-sections.txt: Doc updates.
2362 * gst/gstutils.c (g_static_rec_cond_timed_wait)
2363 (g_static_rec_cond_wait): Ported from state changes patch, while
2364 we wait on bug #317802 to be solved in a well-distributed GLib.
2366 * gst/gstelement.c (gst_element_change_state_func): Renamed from
2367 gst_element_change_state, variable name changes.
2368 (gst_element_change_state): Split out of gst_element_set_state in
2369 preparation for the state change merge. Doesn't pay attention to
2370 the 'transition' argument.
2371 (gst_element_set_state): Updates, hopefully purely cosmetic.
2372 (gst_element_sync_state_with_parent): MT-safety. Ported from the
2374 (gst_element_get_state_func): Renamed from get_state, cosmetic
2377 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
2379 * gst/elements/gstelements.c:
2380 * win32/GStreamer.vcproj:
2382 * win32/dirent.c: (_tseekdir):
2383 * win32/gst-inspect.vcproj:
2384 * win32/gst-launch.vcproj:
2385 * win32/gstconfig.h:
2386 * win32/gstelements.vcproj:
2387 * win32/gstenumtypes.c: (gst_object_flags_get_type):
2388 * win32/gstreamer.def:
2390 updates for the win32 build (patch from Sebastien Moutte)
2392 2005-10-10 Andy Wingo <wingo@pobox.com>
2394 * gst/gstbin.c (gst_bin_get_state_func): Renamed from
2395 gst_bin_get_state, cleaned up (but no logic changes).
2396 (bin_element_is_sink): Comment updates.
2397 (sink_iterator_filter): Remove needless cast.
2398 (gst_bin_iterate_sinks): Doc update.
2399 (gst_bin_change_state_func): Renamed from gst_bin_change_state,
2400 cleaned up (but no logic changes).
2402 * check/states/sinks.c (test_src_sink): Cleanups from the state
2404 (test_livesrc_sink): Sync on the state.
2406 * check/pipelines/simple_launch_lines.c (run_pipeline): Merge from
2407 the state change patch.
2409 * check/gst/gstghostpad.c (test_ghost_pads): Merge from the state
2412 * check/gst/gstbin.c: Merge in some style fixes and additional
2413 checks from Wim's state change patch.
2415 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
2417 * gst/base/gsttypefindhelper.c: (helper_find_peek),
2418 (gst_type_find_helper):
2419 Check whether we have the requested data already in our list of
2420 cached buffers before pulling a new buffer; also make the buffer
2421 list a GSList. Speeds up typefinding by ca. 5-10% altogether.
2423 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
2428 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
2429 don't use long long, it's not portable. Replacing with
2430 gint64 seems to work; let's hope no skeletons fall out of the closet.
2432 2005-10-10 Andy Wingo <wingo@pobox.com>
2434 * autogen.sh (CONFIGURE_DEF_OPT): No more --plugin-buiddir, yay
2436 2005-10-09 Stefan Kost <ensonic@users.sf.net>
2438 * docs/gst/gstreamer-sections.txt:
2443 * gst/gstmessage.c: (gst_message_parse_state_changed):
2446 more docs, fix compilation
2448 2005-10-09 Philippe Khalaf <burger@speedy.org>
2450 Fixed a few forgotten variables on previous commit
2452 2005-10-09 Tim-Philipp Müller <tim at centricular dot net>
2454 * gst/base/gsttypefindhelper.c: (helper_find_peek):
2455 Fix evil typefind crasher: getrange() might return a short
2456 buffer at the end of a file, but gst_type_find_peek() must
2457 either return the full data as requested or NULL, but
2458 never a short buffer.
2460 2005-10-09 Thomas Vander Stichele <thomas at apestaart dot org>
2462 * gst/gstmessage.c: (gst_message_new_state_changed),
2463 (gst_message_parse_state_changed):
2465 don't use "new", it's a C++ keyword
2467 2005-10-08 Wim Taymans <wim@fluendo.com>
2469 * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_query):
2470 * gst/gstelement.c: (gst_element_post_message):
2471 * gst/gstpipeline.c: (gst_pipeline_change_state):
2472 Small docs and debug updates.
2474 2005-10-08 Stefan Kost <ensonic@users.sf.net>
2476 * docs/gst/gstreamer-sections.txt:
2477 * gst/gstelementfactory.c:
2482 2005-10-08 Wim Taymans <wim@fluendo.com>
2484 * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_change_state),
2485 (gst_bin_dispose), (bin_bus_handler):
2486 Fix typos, add comments.
2487 Clear EOS list when going to PAUSED from any direction and do it
2488 in a threadsafe way.
2489 Get base time in a threadsafe way too.
2490 Fix confusing debug in the change_state function.
2491 Various other small cleanups.
2493 * gst/gstelement.c: (gst_element_post_message):
2494 Fix very verbose bus posting code.
2496 * gst/gstpipeline.c: (gst_pipeline_class_init),
2497 (gst_pipeline_set_property), (gst_pipeline_get_property),
2498 (gst_pipeline_change_state):
2499 Small ARG_ -> PROP_ cleanup
2501 2005-10-08 Wim Taymans <wim@fluendo.com>
2503 * gst/gstbin.c: (is_eos), (bin_bus_handler):
2504 Do a less CPU demanding EOS check because we can.
2506 2005-10-08 Wim Taymans <wim@fluendo.com>
2508 * libs/gst/dataprotocol/dataprotocol.c:
2509 (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
2510 (gst_dp_packet_from_event):
2511 * libs/gst/dataprotocol/dataprotocol.h:
2512 * libs/gst/dataprotocol/dp-private.h:
2513 It's about time we bump the version number.
2514 Since event types don't fit in the guint8 anymore describing
2515 the payload type, make payload type 16 bits wide.
2517 2005-10-08 Wim Taymans <wim@fluendo.com>
2519 * docs/design/part-TODO.txt:
2520 * docs/design/part-clocks.txt:
2521 * docs/design/part-events.txt:
2522 * docs/design/part-gstbin.txt:
2523 * docs/design/part-gstelement.txt:
2524 * docs/design/part-gstpipeline.txt:
2525 * docs/design/part-live-source.txt:
2526 * docs/design/part-messages.txt:
2527 * docs/design/part-overview.txt:
2528 * docs/design/part-states.txt:
2531 2005-10-08 Wim Taymans <wim@fluendo.com>
2535 Fix event quark registration.
2536 Add some space between events so we can insert them in the
2539 2005-10-08 Wim Taymans <wim@fluendo.com>
2541 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
2542 (gst_base_sink_handle_buffer):
2549 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
2550 (gst_queue_set_property), (gst_queue_get_property):
2552 Remove old unused properties.
2554 2005-10-08 Stefan Kost <ensonic@users.sf.net>
2555 * docs/gst/gstreamer-sections.txt:
2558 * gst/gstminiobject.c:
2559 * gst/gstminiobject.h:
2563 lots of new docs and doc fixes
2565 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
2567 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_load_file):
2569 * gst/gstregistry.c: (gst_registry_lookup_locked),
2570 (gst_registry_scan_path_level):
2571 * gst/gstregistryxml.c: (load_plugin):
2572 Only ever load one plugin for a given plugin basename.
2573 This ensures correct overriding of GST_PLUGIN_PATH over
2574 GST_PLUGIN_SYSTEM_PATH and of home dir plugins over
2575 system installed plugins.
2577 2005-10-08 Wim Taymans <wim@fluendo.com>
2579 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
2580 (gst_base_sink_do_sync), (gst_base_sink_handle_buffer):
2581 Prepare for doing QOS.
2583 2005-10-08 Wim Taymans <wim@fluendo.com>
2585 * check/gst/gstbin.c: (GST_START_TEST):
2586 * check/pipelines/cleanup.c: (GST_START_TEST):
2587 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
2588 Allow new clock message too.
2590 2005-10-08 Wim Taymans <wim@fluendo.com>
2592 * gst/gstmessage.c: (gst_message_new_error),
2593 (gst_message_new_warning), (gst_message_new_tag),
2594 (gst_message_new_state_changed), (gst_message_new_clock_provide),
2595 (gst_message_new_clock_lost), (gst_message_new_new_clock),
2596 (gst_message_new_segment_start), (gst_message_new_segment_done),
2597 (gst_message_parse_state_changed),
2598 (gst_message_parse_clock_provide), (gst_message_parse_clock_lost),
2599 (gst_message_parse_new_clock):
2601 Also carry the clock in question.
2603 2005-10-08 Wim Taymans <wim@fluendo.com>
2605 * gst/gstmessage.c: (gst_message_new_custom),
2606 (gst_message_new_eos), (gst_message_new_error),
2607 (gst_message_new_warning), (gst_message_new_tag),
2608 (gst_message_new_state_changed), (gst_message_new_clock_provide),
2609 (gst_message_new_new_clock), (gst_message_new_segment_start),
2610 (gst_message_new_segment_done), (gst_message_parse_state_changed),
2611 (gst_message_parse_clock_provide), (gst_message_parse_new_clock):
2614 Added clock related messages.
2616 * gst/gstpipeline.c: (gst_pipeline_change_state):
2617 Post message when the clock changed.
2619 * tools/gst-launch.c: (event_loop):
2622 2005-10-08 Tim-Philipp Müller <tim at centricular dot net>
2624 * tools/gst-inspect.c: (print_element_properties_info):
2625 Can't pass NULL strings to g_print() on windows.
2627 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
2630 * docs/gst/Makefile.am:
2631 * docs/gst/gstreamer-docs.sgml:
2632 * docs/gst/running.xml:
2633 * docs/version.entities.in:
2634 add a chapter on running GStreamer.
2635 document GST_DEBUG and GST_PLUGIN* env vars
2637 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
2642 remove PLUGINS_BUILDDIR stuff
2643 * gst/gst.c: (init_post):
2644 reorder parsing of GST_PLUGIN_PATH and GST_PLUGIN_SYSTEM_PATH
2646 remove, it was condescending and not needed
2648 2005-10-08 Wim Taymans <wim@fluendo.com>
2650 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
2651 (gst_base_sink_handle_object), (gst_base_sink_event),
2652 (gst_base_sink_wait), (gst_base_sink_handle_event),
2653 (gst_base_sink_change_state):
2654 * gst/base/gstbasesink.h:
2655 Repost EOS message while going to PLAYING if still EOS.
2656 Make sure that when receiving a FLUSH_START we don't attempt
2657 to sync on the clock anymore.
2659 2005-10-08 Wim Taymans <wim@fluendo.com>
2661 * tools/gst-launch.c: (event_loop):
2662 Better message printout.
2664 2005-10-08 Wim Taymans <wim@fluendo.com>
2666 * gst/gstbin.c: (gst_bin_child_proxy_get_child_by_index),
2667 (gst_bin_child_proxy_get_children_count):
2668 * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
2669 (gst_child_proxy_lookup), (gst_child_proxy_get_property),
2670 (gst_child_proxy_get_valist), (gst_child_proxy_set_property),
2671 (gst_child_proxy_set_valist):
2672 * gst/parse/grammar.y:
2673 Make ChildProxy threadsafe and fix mem leaks.
2675 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
2677 * gst/gst.c: (init_post):
2678 debug the GST_PLUGIN_ env vars
2680 2005-10-08 Wim Taymans <wim@fluendo.com>
2682 * check/gst/gstbin.c: (GST_START_TEST):
2683 * check/gst/gstmessage.c: (GST_START_TEST):
2684 * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
2685 * gst/gstelement.c: (gst_element_commit_state),
2686 (gst_element_lost_state):
2687 * gst/gstmessage.c: (gst_message_new_state_changed),
2688 (gst_message_parse_state_changed):
2690 * tools/gst-launch.c: (event_loop):
2691 Added extra field to STATE_CHANGE message with the pending
2692 state, which will be different from the new state soon.
2694 2005-10-08 Wim Taymans <wim@fluendo.com>
2696 * gst/gstbus.c: (gst_bus_pop):
2698 * gst/gstsystemclock.c: (gst_system_clock_async_thread):
2699 Small cleanups and doc updates.
2701 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
2703 * gst/gst.c: (init_pre):
2704 * gst/gstbin.c: (gst_bin_add_func):
2705 log distributing clocks and base time
2706 * gst/gstregistry.c: (gst_registry_add_plugin),
2707 (gst_registry_scan_path_level), (gst_registry_scan_path):
2708 clean up the debugging output a little
2709 * gst/gstutils.c: (gst_element_state_get_name):
2710 warn about a memleak (I've actually seen this be used, though
2711 it was probably a bug)
2713 2005-10-07 Wim Taymans <wim@fluendo.com>
2715 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
2716 (gst_base_src_init), (gst_base_src_default_newsegment),
2717 (gst_base_src_newsegment), (gst_base_src_do_seek),
2718 (gst_base_src_loop), (gst_base_src_start):
2719 * gst/base/gstbasesrc.h:
2720 Make the newsegment event customizable by subclasses.
2722 2005-10-07 Wim Taymans <wim@fluendo.com>
2724 * gst/gstevent.c: (gst_event_new_buffersize),
2725 (gst_event_parse_buffersize):
2727 New event for future idea.
2729 2005-10-07 Andy Wingo <wingo@pobox.com>
2731 * gst/gstelement.c (gst_element_post_message): Doc update.
2733 * docs/gst/gstreamer-sections.txt: Update.
2735 * gst/gstmessage.c (gst_message_new_application): Made into a
2736 function like honest API calls.
2737 (gst_message_new_element): New message type.
2739 * gst/gstmessage.h (enum): Add GST_MESSAGE_ELEMENT type.
2741 * check/elements/fakesrc.c (test_no_preroll): New check, checks
2742 that setting a live fakesrc to PAUSED returns NO_PREROLL both
2745 * gst/base/gstbasesrc.c (gst_base_src_change_state): Allow a
2746 NO_PREROLL from gst_element_change_state to fall through.
2748 2005-10-07 Wim Taymans <wim@fluendo.com>
2750 * gst/gstghostpad.c: (gst_ghost_pad_get_internal),
2751 (gst_ghost_pad_do_activate_push):
2752 Activating a ghostpad with no internal pad in push mode
2755 2005-10-07 Thomas Vander Stichele <thomas at apestaart dot org>
2758 there's no point in wrapping FLAG_SET/_UNSET in STMT macros.
2759 Fixes compilation on Windows.
2761 2005-10-07 Michael Smith <msmith@fluendo.com>
2763 * tools/gst-inspect.c:
2764 Print out feature and plugin count at the end when printing out
2767 2005-10-04 Michael Smith <msmith@fluendo.com>
2769 * gst/gsterror.c: (_gst_stream_errors_init):
2770 Add another error string used in a few existing plugins.
2773 * gst/gstpluginfeature.c: (gst_plugin_feature_load):
2774 * tools/gst-inspect.c: (print_element_info):
2775 When a feature disappears from a plugin (and the feature exists in
2776 the cached registry file), things went horribly wrong. This isn't a
2777 complete fix, we should actually be removing the 'missing' features
2778 from the features list when we load the actual plugin. That's not
2781 2005-10-04 Johan Dahlin <johan@gnome.org>
2783 * check/gst/gstiterator.c: (GST_START_TEST):
2784 * gst/gstbin.c: (gst_bin_iterate_elements),
2785 (gst_bin_iterate_recurse), (gst_bin_iterate_sorted):
2786 * gst/gstelement.c: (gst_element_iterate_pads):
2787 * gst/gstformat.c: (gst_format_iterate_definitions):
2788 * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
2789 (gst_iterator_new_list), (gst_iterator_filter):
2790 * gst/gstiterator.h:
2791 * gst/gstquery.c: (gst_query_type_iterate_definitions):
2792 Add a GType to GstIterator, update callsites and tests.
2794 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
2796 * gst/gstpad.c: (gst_pad_event_default_dispatch):
2797 give events a chance to be handled by event probes when the pad
2800 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
2802 * gst/gstevent.c: (gst_event_type_get_name),
2803 (gst_event_type_to_quark), (gst_event_finalize), (gst_event_new):
2805 add string representations for event types
2807 2005-10-06 Wim Taymans <wim@fluendo.com>
2809 * gst/elements/gstfilesink.c: (gst_file_sink_close_file):
2810 Don't use NULL pointers.
2812 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
2814 * gst/gst_private.h:
2818 * gst/gstpluginfeature.c:
2819 widen the debug category in output to fit the biggest one we have
2820 add a bus category and use it
2821 play with the colors
2822 fix up some categories
2824 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
2826 * gst/gstghostpad.c: (gst_ghost_pad_internal_do_activate_push):
2827 add push activation of sink ghost pads.
2828 Andye, please verify
2830 2005-10-05 Thomas Vander Stichele <thomas at apestaart dot org>
2832 * gst/gstutils.c: (gst_element_link_pads):
2833 fix a bug in the case where neither element has a pad
2834 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
2835 add a test for that case
2837 2005-10-05 Thomas Vander Stichele <thomas at apestaart dot org>
2839 * gst/gstpad.c: (gst_pad_push), (gst_pad_push_event):
2840 emit have-data before checking for peers. This allows
2841 for probe handlers to connect elements. This helps autopluggers.
2842 * check/gst/gstpad.c: (GST_START_TEST), (_probe_handler),
2844 add six checks, linked/unlinked with no/true/false probe
2846 2005-10-04 Wim Taymans <wim@fluendo.com>
2848 * gst/elements/gstfakesink.c: (gst_fake_sink_get_property),
2849 (gst_fake_sink_event), (gst_fake_sink_preroll),
2850 (gst_fake_sink_render), (gst_fake_sink_change_state):
2851 * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler),
2852 (gst_fake_src_get_property), (gst_fake_src_create),
2853 (gst_fake_src_stop):
2854 * gst/elements/gstidentity.c: (gst_identity_stop):
2855 Protect last_message with lock.
2857 2005-10-04 Edward Hervey <edward@fluendo.com>
2860 Added precision in the comments for GST_FORMAT_DEFAULT
2862 2005-10-04 Tim-Philipp Müller <tim at centricular dot net>
2864 * tools/gst-launch.c: (main):
2865 Don't try to run erroneous pipelines.
2867 2005-10-04 Julien MOUTTE <julien@moutte.net>
2869 * gst/gstbus.c: We don't need this header.
2871 2005-10-03 Thomas Vander Stichele <thomas at apestaart dot org>
2876 === release 0.9.3 ===
2878 2005-10-03 Thomas Vander Stichele <thomas at apestaart dot org>
2882 Releasing 0.9.3, "Unregistered"
2884 2005-10-03 Andy Wingo <wingo@pobox.com>
2886 * gst/gstpad.c (gst_pad_activate_push): There is a race condition
2887 whereby calling a pad's activatepush() function can start a thread
2888 that starts to push or pull before the pad gets the FLUSHING flag
2889 unset. Hack around it by holding the stream lock until the flag is
2890 set. Need to replace this with a proper solution. Together with
2891 the ghost pad fixes, this fixes mp3 playing/tagreading.
2893 * docs/design/part-gstghostpad.txt: Add a note about activation of
2894 proxy pads outside of ghost pads.
2896 * gst/gstghostpad.c: Implement the ghost pad activation design.
2898 2005-10-02 Andy Wingo <wingo@pobox.com>
2900 * gst/gstobject.h (GST_OBJECT_REFCOUNT_VALUE): Just use the int.
2901 It is volatile, after all.
2903 * docs/design/part-gstghostpad.txt: Flesh out activation with
2906 * gst/base/gstbasesrc.c (gst_base_src_init): Use
2909 2005-10-02 Tim-Philipp Müller <tim at centricular dot net>
2912 Fix (unused) AM_CONDITIONAL tests.
2914 2005-10-01 Alessandro Decina <alessandro at nnva dot org>
2916 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
2918 * gst/gstutils.c: (gst_pad_query_convert):
2919 Add assertion that makes sure src_val is >=0, just like
2920 gst_query_new_convert() has. (#315895)
2922 2005-09-30 Edward Hervey <edward@fluendo.com>
2924 * gst/elements/gsttee.c: (gst_tee_do_push), (gst_tee_handle_buffer):
2925 Let's not iterate pads we're not interested in, it avoids getting
2926 sky-high refcounts on sinkpad.
2928 2005-09-30 Wim Taymans <wim@fluendo.com>
2930 * gst/gstelement.c: (gst_element_set_state),
2931 (gst_element_change_state):
2932 Small tweak, element in ASYNC remains ASYNC.
2934 2005-09-30 Wim Taymans <wim@fluendo.com>
2936 * gst/base/gstbasesink.c: (gst_base_sink_change_state):
2937 Only error is an error.
2939 * gst/gstbin.c: (gst_bin_change_state):
2942 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_chain):
2943 Also call pad_block in pad alloc.
2945 * gst/gstutils.c: (gst_flow_get_name):
2948 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
2950 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
2951 (gst_base_src_get_range):
2952 Fix documentation typos. Add some more debug info.
2954 2005-09-29 David Schleef <ds@schleef.org>
2956 * gst/gstplugin.c: (gst_plugin_load_file): Make some error messages
2957 more end-user friendly.
2958 * tools/gst-inspect.c: (main): Check if command-line argument is
2959 a file and attempt to load that file as a plugin.
2961 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
2963 * check/gst/gstbin.c:
2964 * check/states/sinks.c:
2965 fix tests for the new warning
2966 * check/gst/gstpipeline.c:
2967 add a test for pipeline and bus interaction
2969 elements should be NULL if they get disposed; add a warning if not
2971 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
2974 for 2.6 refcounting, make debug log more correct by printing
2975 the actual refcounts at the time of swap (Wim)
2977 2005-09-29 Andy Wingo <wingo@pobox.com>
2979 * gst/gstbus.c (gst_bus_remove_signal_watch): New function,
2980 removes signal watches previously added via
2981 gst_bus_add_signal_watch.
2982 (gst_bus_add_signal_watch): Don't return the source id, just store
2983 it on the bus if there wasn't an id already.
2985 * gst/gstbus.h (GstBus): Add a couple new fields. API changes for
2986 add_signal_watch and remove_signal_watch.
2988 2005-09-29 Edward Hervey <edward@fluendo.com>
2990 * libs/gst/controller/gstcontroller.c: (gst_controller_new_list):
2991 Better if we actually iterate the list :)
2993 2005-09-29 Wim Taymans <wim@fluendo.com>
2995 * check/gst/gstbin.c: (GST_START_TEST):
2996 Change for new bus API.
2998 * check/gst/gstbus.c: (message_func_eos), (message_func_app),
2999 (send_messages), (GST_START_TEST), (gstbus_suite):
3000 Change for new bus signal API.
3002 * gst/gstbus.c: (gst_bus_class_init), (gst_bus_have_pending),
3003 (gst_bus_source_prepare), (gst_bus_source_check),
3004 (gst_bus_create_watch), (gst_bus_add_watch_full),
3005 (gst_bus_add_watch), (gst_bus_poll), (gst_bus_async_signal_func),
3006 (gst_bus_sync_signal_handler), (gst_bus_add_signal_watch):
3008 Remove support for multiple GSources operating on different
3009 message types as it is too complex and unneeded when using
3011 Added support for receiving signals from the bus.
3013 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
3015 * docs/libs/tmpl/gstdataprotocol.sgml:
3016 * docs/manual/advanced-dataaccess.xml:
3017 * gst/elements/gstcapsfilter.c:
3019 rename filter-caps to caps property
3021 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
3023 * gst/gstvalue.c: (gst_value_deserialize_fraction):
3024 More robust fraction string parsing.
3026 * docs/pwg/appendix-porting.xml:
3027 Mention gst_pad_use_explicit_caps() => gst_pad_use_fixed_caps()
3029 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
3031 * gst/gstcaps.c: (gst_caps_do_simplify):
3032 Thou shalt not free a structure and then continue using it
3033 in the next loop iteration.
3035 * check/gst/gstcaps.c: (check_fourcc_list), (test_simplify),
3037 Add test case for caps simplification.
3039 2005-09-29 Wim Taymans <wim@fluendo.com>
3041 * check/gst/gstbin.c: (GST_START_TEST):
3044 2005-09-29 Wim Taymans <wim@fluendo.com>
3046 * check/gst/gstbin.c: (GST_START_TEST):
3049 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
3050 (add_to_queue), (clear_queue), (reset_degree), (update_degree),
3051 (find_element), (gst_bin_sort_iterator_next),
3052 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
3053 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
3054 (gst_bin_change_state), (gst_bin_dispose):
3055 A bin does not have a bus, it gets the bus from the parent.
3057 * gst/gstelement.c: (gst_element_requires_clock),
3058 (gst_element_provides_clock), (gst_element_is_indexable),
3059 (gst_element_is_locked_state), (gst_element_change_state),
3060 (gst_element_set_bus_func):
3063 * gst/gstpipeline.c: (gst_pipeline_class_init),
3064 (gst_pipeline_init), (gst_pipeline_provide_clock_func):
3065 The pipeline provides a bus.
3067 2005-09-28 Johan Dahlin <johan@gnome.org>
3069 * gst/gstmessage.c (gst_message_parse_state_changed): Use
3070 gst_structure_get_enum instead of gst_structure_get_int
3072 * gst/gststructure.c (gst_structure_get_enum): Impl.
3074 * gst/gststructure.h (gst_structure_get_enum): Add
3076 * docs/gst/gstreamer-sections.txt: Ditto
3078 * gst/gstmessage.c (gst_message_new_state_changed): Use
3079 GST_TYPE_STATE instead of G_TYPE_INT, mainly for language bindings
3080 which does introspection.
3081 Reviewed by Christian Schaller
3083 2005-09-28 Stefan Kost <ensonic@users.sf.net>
3085 * gst/gstinfo.c: (gst_debug_log_default):
3086 don't do dummy g_strdup()s
3087 * libs/gst/controller/gstcontroller.c:
3088 (on_object_controlled_property_changed),
3089 (gst_controlled_property_new), (gst_controller_new_valist),
3090 (gst_controller_new_list),
3091 (gst_controller_remove_properties_valist), (gst_controller_set),
3092 (gst_controller_get), (gst_controller_sync_values),
3093 (gst_controller_get_value_array), (_gst_controller_class_init),
3094 (gst_controller_get_type):
3095 * libs/gst/controller/gstcontroller.h:
3096 * libs/gst/controller/gstinterpolation.c:
3097 (gst_controlled_property_find_timed_value_node):
3098 convert // to /**/ comments
3100 2005-09-28 Wim Taymans <wim@fluendo.com>
3102 * gst/gstbus.c: (marshal_VOID__MINIOBJECT), (gst_bus_class_init),
3103 (gst_bus_post), (poll_func), (gst_bus_async_signal_func),
3104 (gst_bus_sync_signal_handler):
3106 Added async-message and sync-message signals to the bus.
3107 Added helper BusFunc to emit signals for all posted messages.
3109 * gst/gstmessage.c: (gst_message_type_get_name),
3110 (gst_message_type_to_quark), (gst_message_get_type):
3112 Register quarks for message names.
3114 2005-09-28 Stefan Kost <ensonic@users.sf.net>
3116 * docs/libs/gstreamer-libs-sections.txt:
3117 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
3118 (gst_controller_new_list):
3119 * libs/gst/controller/gstcontroller.h:
3120 added another constructor for language bindings
3122 2005-09-28 Thomas Vander Stichele <thomas at apestaart dot org>
3124 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
3128 * gst/gstinfo.c: (_gst_debug_init):
3129 slightly more readable color for refcount debugging
3131 2005-09-28 Wim Taymans <wim@fluendo.com>
3133 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
3134 (add_to_queue), (clear_queue), (reset_degree), (update_degree),
3135 (find_element), (gst_bin_sort_iterator_next),
3136 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
3137 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
3138 (gst_bin_change_state), (gst_bin_dispose):
3139 Small doc fixes. get_clock -> provide_clock.
3141 * gst/gstelement.c: (gst_element_class_init),
3142 (gst_element_provides_clock), (gst_element_provide_clock),
3143 (gst_element_get_clock), (gst_element_commit_state),
3144 (gst_element_lost_state):
3146 Make get/set_clock() symetric. Add provide_clock vmethod since
3147 that is actually what this function does.
3149 * gst/gstpipeline.c: (gst_pipeline_class_init),
3150 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func),
3151 (gst_pipeline_get_clock):
3152 get_clock -> provide_clock.
3154 2005-09-28 Andy Wingo <wingo@pobox.com>
3156 * gst/base/gstbasesrc.c (gst_base_src_unlock): Comment a bit in
3157 lieu of real docs...
3159 * gst/elements/gstfdsrc.c: Cleaned up a bit.
3161 2005-09-28 Tim-Philipp Müller <tim at centricular dot net>
3163 * gst/elements/gstcapsfilter.c:
3164 * gst/elements/gstfakesink.c:
3165 * gst/elements/gstfakesrc.c:
3166 * gst/elements/gstfdsink.c:
3167 * gst/elements/gstfdsrc.c:
3168 * gst/elements/gstfilesink.c:
3169 * gst/elements/gstfilesrc.c:
3170 * gst/elements/gstidentity.c:
3171 * gst/elements/gsttee.c:
3172 * gst/elements/gsttypefindelement.c:
3173 Make element details static.
3175 2005-09-28 Wim Taymans <wim@fluendo.com>
3177 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
3178 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
3179 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
3180 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
3181 (gst_bin_change_state), (gst_bin_dispose):
3182 Some documentation updates.
3183 Clean up dispose handlers.
3185 * gst/gstobject.c: (gst_object_ref), (gst_object_unref):
3186 * gst/gstpad.c: (gst_pad_dispose):
3187 Clean up dispose handler.
3189 * gst/gstpipeline.c: (gst_pipeline_change_state):
3190 Removed spurious UNLOCK.
3192 2005-09-27 Stefan Kost <ensonic@users.sf.net>
3194 * docs/gst/gstreamer-sections.txt:
3195 * gst/base/gstbasesrc.h:
3200 * gst/gstpipeline.c:
3201 * gst/gstpipeline.h:
3204 added two new functions to the docs
3205 documents all undocumented GstXXXFlags
3206 completed some incomplete docs
3208 2005-09-27 Thomas Vander Stichele <thomas at apestaart dot org>
3210 * gst/gstbin.c: (gst_bin_dispose):
3211 * gst/gstelement.c: (gst_element_dispose):
3212 remove now useless and leaky resurrection code in dispose
3213 * gst/base/gstbasesrc.c: (gst_base_src_init):
3214 * gst/gstelementfactory.c: (gst_element_factory_create):
3215 * gst/gstobject.c: (gst_object_set_parent):
3218 2005-09-27 Wim Taymans <wim@fluendo.com>
3220 * docs/design/part-TODO.txt:
3223 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
3224 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
3225 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
3226 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
3227 (gst_bin_change_state):
3229 Remove element variable, we keep element info in the iterator now.
3231 2005-09-27 Andy Wingo <wingo@pobox.com>
3233 * libs/gst/dataprotocol/dataprotocol.c: Fix error-checking return
3236 2005-09-27 Wim Taymans <wim@fluendo.com>
3238 * check/gst/gstbin.c: (GST_START_TEST):
3239 Enable check that works now.
3241 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
3242 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
3243 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
3244 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
3245 (gst_bin_change_state):
3247 Redid the state change algorithm using a topological sort algo.
3248 Handles all cases correctly.
3249 Exposed iterator for state change order.
3252 Temp storage for state changes. Need to get rid of this soon.
3254 2005-09-27 Wim Taymans <wim@fluendo.com>
3256 * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_do_push):
3257 * gst/gstutils.c: (intersect_caps_func), (gst_pad_proxy_getcaps),
3258 (link_fold_func), (gst_pad_proxy_setcaps):
3259 Leak fixes, the fold functions need to unref the passed object and
3260 _get_parent_*() returns ref to parent.
3262 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
3264 * check/gst/gstbuffer.c: (test_make_writable):
3265 Plug leak in test case and fix 'make check-valgrind'
3267 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
3269 * gst/gstbuffer.c: (gst_subbuffer_init):
3270 Set READONLY flag on subbuffers, so that gst_buffer_make_writable()
3271 works correctly in all circumstances (we could have just copied
3272 the parent buffer's readonly flag, but conceptually it seems
3273 cleaner to mark all subbuffers as read-only). (based on patch
3274 by Alessandro Decina, #314710).
3276 * check/gst/gstbuffer.c: (create_read_only_buffer),
3277 (test_make_writable), (test_subbuffer_make_writable),
3279 Add some tests for gst_buffer_make_writable().
3281 2005-09-27 Wim Taymans <wim@fluendo.com>
3283 * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_change_state):
3284 use gst_object_has_ancestor().
3286 * gst/gstobject.c: (gst_object_has_ancestor):
3288 gst_object_has_ancestor() copied from gstbin.c as it is a
3291 * tests/instantiate/create.c: (create_all_elements):
3292 * tests/lat.c: (handoff_src), (handoff_sink):
3293 * tests/sched/runxml.c: (main):
3294 * tests/seeking/seeking1.c: (main):
3295 * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
3297 Fix compilation of some tests.
3299 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
3302 Remove comment. GST_TYPE_G_ERROR is here to stay,
3303 G_TYPE_ERROR has been WONTFIX'ed by the GLib folks
3306 2005-09-26 Wim Taymans <wim@fluendo.com>
3308 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
3309 Added check that shows error in state change order.
3311 2005-09-26 Wim Taymans <wim@fluendo.com>
3313 * gst/gstbin.c: (gst_bin_change_state):
3314 Make state change function use 3 queues again, we were
3315 adding elements in the wrong order.
3317 * gst/gstghostpad.c: (gst_ghost_pad_do_unlink):
3320 * gst/gstpad.c: (gst_pad_dispose):
3321 Added some debug info first.
3323 2005-09-26 Tim-Philipp Müller <tim at centricular dot net>
3325 * docs/design/draft-push-pull.txt:
3326 * docs/design/part-events.txt:
3327 * docs/design/part-overview.txt:
3328 * docs/design/part-scheduling.txt:
3329 Replace all _pull_region() with _pull_range()
3331 2005-09-26 Andy Wingo <wingo@pobox.com>
3333 * gst/gstvalue.c (_gst_value_initialize): Better fakeout.
3335 * check/gst-libs/controller.c: Update for controller api change.
3338 * tests/Makefile.am:
3339 * tests/memchunk: Remove memchunk benchmark stuff, this is taken
3340 over by GLib bug 118439.
3342 * gst/base/gstbasesink.c (gst_base_sink_wait): Factor out the wait
3343 routines to a function.
3345 * docs/libs/gstreamer-libs-sections.txt: I am a good person today.
3347 * libs/gst/controller/gsthelper.c:
3348 * libs/gst/controller/gstcontroller.h (gst_controller_sync_values)
3349 (gst_object_sync_values): Renamed from sink_values. Ugh.
3351 * libs/gst/controller/gsthelper.c: Update for __gst_controller_key.
3353 * libs/gst/controller/gstcontroller.c (__gst_controller_key):
3354 Renamed from controller_key, as it is exported.
3356 * gst/gstvalue.c (_gst_value_initialize): Fake out the compiler.
3358 2005-09-26 Thomas Vander Stichele <thomas at apestaart dot org>
3363 * gst/gstpadtemplate.h:
3366 * gst/gstqueryutils.c:
3367 * gst/gstqueryutils.h:
3368 remove queryutils headers after moving the two used functions
3369 to gstquery. also fixes build problem for gstsiddec
3371 2005-09-26 Michael Smith <msmith@fluendo.com>
3373 * tools/gst-launch.1.in:
3374 Correct documentation in manpage of debug syntax
3376 2005-09-26 Wim Taymans <wim@fluendo.com>
3378 * gst/base/gstbasesrc.c: (gst_base_src_get_range),
3379 (gst_base_src_is_seekable), (gst_base_src_change_state):
3380 Some more debugging info.
3382 2005-09-25 Stefan Kost <ensonic@users.sf.net>
3384 * docs/gst/gstreamer-sections.txt:
3385 * gst/base/gstbasetransform.h:
3389 2005-09-25 Stefan Kost <ensonic@users.sf.net>
3391 * docs/gst/.cvsignore:
3392 * docs/gst/tmpl/.cvsignore:
3393 * docs/gst/tmpl/gstpipeline.sgml:
3394 * docs/gst/tmpl/gstplugin.sgml:
3395 * gst/gstpipeline.c:
3398 inlined the last two docs files
3399 removed the tmpl directory from cvs (no more conflicts here!)
3401 2005-09-25 Stefan Kost <ensonic@users.sf.net>
3403 * docs/gst/gstreamer-sections.txt:
3404 * docs/gst/tmpl/.cvsignore:
3405 * docs/gst/tmpl/gstpad.sgml:
3406 * docs/gst/tmpl/gstpadtemplate.sgml:
3408 * gst/gstpad.c: (gst_pad_class_init), (gst_pad_dispose),
3409 (gst_pad_finalize), (gst_pad_set_pad_template):
3411 * gst/gstpadtemplate.c: (gst_pad_template_get_type),
3412 (gst_pad_template_class_init), (gst_pad_template_init),
3413 (gst_pad_template_dispose), (name_is_valid),
3414 (gst_static_pad_template_get), (gst_pad_template_new),
3415 (gst_static_pad_template_get_caps), (gst_pad_template_get_caps),
3416 (gst_pad_template_pad_created):
3417 * gst/gstpadtemplate.h:
3418 inlined two more docs
3419 factored gstpadtemplate out of gstpad
3421 2005-09-24 Tim-Philipp Müller <tim at centricular dot net>
3423 * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
3424 (test_children_state_change_order_semi_sink):
3425 Fix test case: we can't rely on a fixed state change order when
3426 going from READY => PAUSED because the sink might commit its
3427 new state first when the first buffer created by the source
3428 reaches the sink before the source has finished its change state.
3429 (Test case still fails at times, see #316856, comment 5 onwards)
3431 2005-09-24 Wim Taymans <wim@fluendo.com>
3433 * docs/design/part-events.txt:
3434 * docs/design/part-gstbus.txt:
3435 * docs/design/part-gstpipeline.txt:
3436 * docs/design/part-messages.txt:
3437 * docs/design/part-overview.txt:
3438 * docs/design/part-segments.txt:
3445 * gst/gstiterator.c:
3446 Various documentation updates.
3448 2005-09-24 Thomas Vander Stichele <thomas at apestaart dot org>
3451 Well, that's embarassing. Luckily we weren't using
3452 GST_CLOCK_DIFF anywhere.
3454 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
3456 * common/gtk-doc.mak:
3457 don't fail on building XML, FC4 slave shows a bunch of doc
3458 missing bits that I don't get
3460 * gst/gstpipeline.c:
3461 * gst/gststructure.c:
3464 2005-09-23 Tim-Philipp Müller <tim at centricular dot net>
3466 * docs/design/part-gstbin.txt:
3467 * docs/design/part-gstbus.txt:
3469 Add blurb about how the bus goes into flushing mode and
3470 drops all messages when its bin goes from READY into NULL
3473 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
3475 * docs/gst/gstreamer-sections.txt:
3476 * gst/gststructure.c: (gst_structure_get_clock_time):
3477 * gst/gststructure.h:
3478 add a method to get a GstClockTime out of a structure
3480 2005-09-23 Tim-Philipp Müller <tim at centricular dot net>
3482 * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
3483 (test_children_state_change_order_semi_sink), (gst_bin_suite):
3484 Added test to check state change order in bins (can still be made
3485 to fail here under heavy disk load; bails out with 'Push on pad
3486 fakesink:sink0, but it was not activated in push mode').
3488 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_change_state):
3489 Fix state change order when there is only a semi sink (#316856)
3491 * gst/gstbus.c: (gst_bus_class_init):
3492 Use _class_peek_parent(), not _class_ref(); fix docs to say
3493 'default main context' instead of 'mainloop' where that is
3496 * gst/gstelement.c: (gst_element_commit_state),
3497 (gst_element_set_state):
3498 Fix typos in debug messages
3500 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
3503 * gst/gstpad.c: (gst_pad_class_init), (gst_pad_chain):
3504 * gst/gstpluginfeature.c:
3507 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
3508 change an assert into an error until it gets fixed properly
3510 2005-09-23 Stefan Kost <ensonic@users.sf.net>
3512 * docs/gst/gstreamer-sections.txt:
3513 * docs/gst/tmpl/.cvsignore:
3514 * docs/gst/tmpl/gstelement.sgml:
3515 * docs/gst/tmpl/gstinfo.sgml:
3516 * docs/gst/tmpl/gstobject.sgml:
3521 * gst/gstobject.c: (gst_object_class_init):
3523 inlined 3 more biiiig doc files and added some missing docs on the fly
3525 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
3527 * check/gst/.cvsignore:
3528 * check/gst/gstplugin.c: (GST_START_TEST), (gst_plugin_suite):
3529 * gst/gstregistryxml.c: (load_plugin),
3530 (gst_registry_xml_save_plugin):
3531 put back source in registry. add checks for find_plugin.
3532 * testsuite/states/bin.c: (assert_state), (empty_bin),
3533 (test_adding_one_element), (main):
3534 * testsuite/states/locked.c: (main):
3535 some compile/run fixes
3537 2005-09-22 Thomas Vander Stichele <thomas at apestaart dot org>
3539 * check/gst/gstvalue.c: (GST_START_TEST):
3540 fix leaks in the test itself
3542 2005-09-22 Wim Taymans <wim@fluendo.com>
3544 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
3545 (gst_base_sink_send_event), (gst_base_sink_peer_query),
3546 (gst_base_sink_query):
3547 Prepare for more accurate position reporting and query
3550 * gst/gstelement.c: (gst_element_send_event),
3551 (gst_element_set_state):
3554 2005-09-22 Wim Taymans <wim@fluendo.com>
3556 * gst/gstquery.c: (gst_query_new_segment), (gst_query_set_segment),
3557 (gst_query_parse_segment):
3560 Add segment query for future use.
3562 2005-09-22 Wim Taymans <wim@fluendo.com>
3564 * gst/gstbin.c: (gst_bin_add_func):
3565 Some more debug info.
3567 * gst/gstelement.c: (gst_element_send_event):
3571 Don't know how flags got broken.
3576 2005-09-22 Tim-Philipp Müller <tim at centricular dot net>
3578 * check/gst/gstvalue.c: (test_date), (gst_value_suite):
3579 Add simplistic test suite for GST_TYPE_DATE serialisation and
3582 2005-09-22 Tim-Philipp Müller <tim at centricular dot net>
3584 * docs/gst/gstreamer-sections.txt:
3585 * gst/gststructure.c: (gst_structure_set_valist),
3586 (gst_structure_get_date):
3587 * gst/gststructure.h:
3588 * gst/gstvalue.c: (gst_value_set_date), (gst_value_get_date),
3589 (gst_date_copy), (gst_value_compare_date),
3590 (gst_value_serialize_date), (gst_value_deserialize_date),
3591 (gst_value_transform_date_string),
3592 (gst_value_transform_string_date), (_gst_value_initialize):
3594 Add GST_TYPE_DATE, a boxed type that wraps GDate, and the usual
3595 bunch of utility functions along with a hack that checks that
3596 developers don't accidentally use G_TYPE_DATE where GST_TYPE_DATE
3597 is required. Part of the grand scheme in #170777.
3599 2005-09-22 Andy Wingo <wingo@pobox.com>
3601 * gst/gstconfig.h.in: Psych out gtk-doc.
3603 * docs/gst/gstreamer-sections.txt: Add GST_HAVE_GLIB_2_8.
3605 * check/Makefile.am (check_PROGRAMS): Add gstplugin to the tests.
3607 * tools/gst-inspect.c (print_element_list): Plug some
3608 inconsequential leaks.
3610 * gst/gstregistry.c (gst_registry_get_default): Doc.
3612 * check/gst/gstplugin.c:
3613 * gst/gsttypefindfactory.c (gst_type_find_factory_call_function):
3614 * gst/gstelementfactory.c (gst_element_factory_create):
3615 * gst/gstindexfactory.c (gst_index_factory_create): Update for
3618 * gst/gstpluginfeature.c (gst_plugin_feature_list_free): Doc.
3619 (gst_plugin_feature_load): Doc, don't eat refs.
3621 * gst/gstplugin.c (gst_plugin_load): Doc, don't eat refs.
3622 (gst_plugin_list_free): Doc.
3623 (gst_plugin_load_file): Doc updates.
3625 * gst/gstbuffer.c (gst_buffer_get_caps): Like all our _get
3626 accessors returning refcounted objects, return a ref.
3628 * check/gst/gstbuffer.c (GST_START_TEST): Use refcount-idempotent
3629 accessor for caps. IDEMPOTENCE. Oh yes.
3631 2005-09-21 Francis Labonte <francis_labonte at hotmail dot com>
3633 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
3635 * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
3636 (_gst_debug_register_funcptr):
3637 Add mutex to serialise access to the hash table with
3638 the function pointer => function name string mapping;
3639 make that hash table static scope (#316809).
3641 * gst/registries/.cvsignore:
3642 Remove left-over file.
3644 2005-09-21 Tim-Philipp Müller <tim at centricular dot net>
3646 * docs/pwg/appendix-porting.xml:
3647 And something about newsegment events and caps-on-buffers to
3648 the porting guide (feel free to improve).
3650 2005-09-21 Andy Wingo <wingo@pobox.com>
3652 * check/gst/gstutils.c (test_buffer_probe_n_times): Add tests for
3653 data and event probes on the same pad.
3654 (test_buffer_probe_once): Test that removing probes from within
3655 the probe functions works.
3657 2005-09-21 Andy Wingo <wingo@pobox.com>
3659 * check/gst/gstutils.c: New file.
3660 (test_buffer_probe_n_times): A simple buffer probe test. More to
3663 * gst/gstutils.c (gst_pad_add_buffer_probe): Connect to
3664 have-data::buffer, not have-data.
3665 (gst_pad_add_event_probe): Likewise for have-data::event.
3666 (gst_pad_add_data_probe): More docs. The part about 'resolving the
3667 peer' isn't quite right yet though.
3668 (gst_pad_remove_buffer_probe, gst_pad_remove_event_probe)
3669 (gst_pad_remove_data_probe): Change to take the guint handler_id
3670 as their arg, not the function+data, which is more glib-like.
3672 * gst/gstpad.c (gst_pad_emit_have_data_signal): Add a detail to
3673 the signal emission to indicate if the data is a buffer or an
3675 (gst_pad_get_type): Initialize buffer and event quarks.
3676 (gst_pad_class_init): have-data is now a detailed signal, yes it
3679 2005-09-21 Tim-Philipp Müller <tim at centricular dot net>
3681 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
3682 * gst/gstutils.c: (gst_util_set_value_from_string),
3683 (gst_util_set_object_arg):
3684 Don't put functional code in g_return_if_fail() or
3685 g_return_val_if_fail() statements, otherwise things will
3686 break when G_DISABLE_CHECKS is defined during compilation.
3688 2005-09-21 Stefan Kost <ensonic@users.sf.net>
3690 * docs/gst/tmpl/.cvsignore:
3691 * docs/gst/tmpl/gstvalue.sgml:
3694 inlied another one and added some obvious docs
3696 2005-09-21 Wim Taymans <wim@fluendo.com>
3698 * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
3699 (gst_fdsrc_init), (gst_fdsrc_start), (gst_fdsrc_stop),
3700 (gst_fdsrc_unlock), (gst_fdsrc_set_property),
3701 (gst_fdsrc_get_property), (gst_fdsrc_create):
3702 * gst/elements/gstfdsrc.h:
3703 Properly implement fdsrc. Removed signal and timeout,
3704 better implemented somewhere else.
3706 2005-09-21 Stefan Kost <ensonic@users.sf.net>
3708 * docs/gst/tmpl/.cvsignore:
3709 * docs/gst/tmpl/gstimplementsinterface.sgml:
3710 * gst/gstinterface.c:
3713 2005-09-21 Stefan Kost <ensonic@users.sf.net>
3715 * docs/gst/gstreamer-sections.txt:
3716 * docs/gst/tmpl/.cvsignore:
3717 * docs/gst/tmpl/gstenumtypes.sgml:
3718 remove obsolete doc file
3720 2005-09-21 David Schleef <ds@schleef.org>
3722 * gst/gstelementfactory.c: (gst_element_factory_make): Drink a
3723 little beer, fix a little leak.
3725 2005-09-21 Stefan Kost <ensonic@users.sf.net>
3727 * docs/gst/gstreamer-docs.sgml:
3728 * docs/gst/gstreamer-sections.txt:
3729 * docs/gst/tmpl/.cvsignore:
3734 * gst/gstindex.c: (gst_index_class_init):
3736 * gst/gstindexfactory.c: (gst_index_factory_get_type),
3737 (gst_index_factory_class_init), (gst_index_factory_init),
3738 (gst_index_factory_finalize), (gst_index_factory_new),
3739 (gst_index_factory_destroy), (gst_index_factory_find),
3740 (gst_index_factory_create), (gst_index_factory_make):
3741 * gst/gstindexfactory.h:
3742 * gst/gstpluginfeature.c:
3743 * gst/gstpluginfeature.h:
3744 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
3745 more docs inlined, splitted gstindex.{c,h}
3747 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
3749 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
3752 2005-09-20 Tim-Philipp Müller <tim at centricular dot net>
3754 * gst/elements/gstfilesink.c: (gst_file_sink_init):
3755 Set sync to FALSE by default.
3757 2005-09-20 Wim Taymans <wim@fluendo.com>
3759 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
3760 (gst_base_sink_init):
3761 Make sync property settable from subclass.
3763 * gst/elements/gstfakesink.c: (gst_fake_sink_init),
3764 (gst_fake_sink_change_state):
3765 Set sync to FALSE by default.
3767 2005-09-20 Wim Taymans <wim@fluendo.com>
3769 * gst/gstbus.c: (poll_func), (poll_timeout), (gst_bus_poll):
3770 * tools/gst-launch.c: (main):
3771 The timeout handler should have lower priority than the source
3772 so we don't timeout before popping a message with 0 timeout.
3773 Dump error messages after failed state change.
3775 2005-09-20 Tim-Philipp Müller <tim at centricular dot net>
3777 * tools/gst-inspect.c: (print_element_properties_info):
3780 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
3782 * check/gst/gstevent.c:
3783 * gst/elements/gstfakesink.c:
3784 * gst/elements/gstfakesink.h:
3785 remove the sync property from fakesink.
3786 has the side effect of setting sync TRUE
3787 for fakesink, which is a change. Anyone who knows how
3788 to fix this nicely in a GObject-y way, feel free.
3790 2005-09-20 Stefan Kost <ensonic@users.sf.net>
3792 * docs/gst/gstreamer-docs.sgml:
3793 remove probe refsection
3795 2005-09-20 Stefan Kost <ensonic@users.sf.net>
3797 * check/Makefile.am:
3798 disable valgrinding the controller test again
3799 * docs/gst/gstreamer-sections.txt:
3800 update for api-changes
3802 2005-09-20 Wim Taymans <wim@fluendo.com>
3804 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
3805 (gst_base_sink_set_property), (gst_base_sink_get_property),
3806 (gst_base_sink_do_sync):
3807 * gst/base/gstbasesink.h:
3808 Added sync property to basesink to disable clock sync.
3810 2005-09-20 Andy Wingo <wingo@pobox.com>
3812 * gst/gstelementfactory.c (gst_element_factory_create): Avoid
3813 eating the caller's refcount.
3815 * gst/gstobject.h (GST_OBJECT_REFCOUNT)
3816 (GST_OBJECT_REFCOUNT_VALUE): Conditionally fondle the right
3819 * gst/gstconfig.h.in (GST_HAVE_GLIB_2_8):
3820 * configure.ac (GST_HAVE_GLIB_2_8_DEFINE): Make the availability
3821 of GLib 2.8 public, so we can know which refcount to check in
3824 * gst/gstobject.c: Use the GST_HAVE_GLIB_2_8 define.
3825 (gst_object_init): Only set the gst refcount if we're going ahead
3826 with the refcount hack.
3828 2005-09-20 Stefan Kost <ensonic@users.sf.net>
3830 * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
3831 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
3832 more leaks plumbed, added more debug-logging
3836 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
3839 remove include of gstmemchunk.h
3841 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
3843 * gst/gstclock.c: (_gst_clock_id_free):
3844 Commit from the Political Party For More Atomic CVS Commits,
3845 so that people don't waste too much of their day fishing
3846 out obvious leaks out of massive commits.
3847 Oh, and fix a pretty damn obvious leak in the memchunk
3850 2005-09-20 Stefan Kost <ensonic@users.sf.net>
3852 * check/Makefile.am:
3853 * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
3854 plug mem-leak, re-add to valgrindable tests
3856 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
3859 unbreak the build for those who have chronic arthritis
3860 and typing "make check" is just too taxing on the hands
3862 2005-09-20 Andy Wingo <wingo@pobox.com>
3864 * gst/gst.h: Re-add marshal to gst.h's include list -- if we
3865 really want it out, you should fix plugins at the same time.
3867 2005-09-19 Stefan Kost <ensonic@users.sf.net>
3870 * docs/gst/gstreamer-sections.txt:
3872 added missing symbols to api docs
3873 disable ref-count hack if we have glib >= 2.8
3875 2005-09-19 David Schleef <ds@schleef.org>
3877 * docs/gst/Makefile.am: Ignore a few more internal headers
3878 * docs/gst/gstreamer-docs.sgml: Remove old sections
3879 * docs/gst/gstreamer-sections.txt: Remove old sections
3880 * docs/gst/tmpl/gstobject.sgml: update
3881 * docs/gst/tmpl/gstplugin.sgml: update
3882 * docs/gst/tmpl/gstpluginfeature.sgml: update
3883 * docs/random/ds/0.9-suggested-changes: update.
3884 * gst/Makefile.am: remove memchunk and trashstack, since they're
3886 * gst/gst.c: (gst_deinit): rename gst_registry_deinit to _cleanup
3887 * gst/gst.h: don't include some headers
3888 * gst/gstchildproxy.c: add gstmarshal.h
3889 * gst/gstclock.c: Don't use memchunks
3890 * gst/gstminiobject.c: Add some docs
3891 * gst/gstobject.c: remove DESTROYED flag, since it's redundant
3892 * gst/gstobject.h: same
3893 * gst/gstplugin.c: include gstmacros.h
3894 * gst/gstplugin.h: don't include gstmacros.h, since it's private
3895 * gst/gstquery.c: don't use memchunks
3896 * gst/gstregistry.c: rename gst_registry_deinit()
3897 * gst/gstregistry.h: same
3899 2005-09-19 David Schleef <ds@schleef.org>
3901 * docs/libs/gstreamer-libs-docs.sgml: Remove docs for getbits
3902 * docs/libs/gstreamer-libs-sections.txt:
3903 * docs/libs/tmpl/gstgetbits.sgml:
3904 * docs/libs/tmpl/gstputbits.sgml:
3906 2005-09-19 Tim-Philipp Müller <tim at centricular dot net>
3908 * win32/gstenumtypes.c:
3909 * win32/gstenumtypes.h:
3912 2005-09-19 Wim Taymans <wim@fluendo.com>
3914 * gst/gstpipeline.c: (do_pipeline_seek), (gst_pipeline_send_event):
3915 Automatically PAUSE and RESUME a pipeline when a flushing seek
3918 2005-09-19 Andy Wingo <wingo@pobox.com>
3920 * gst/gstregistry.h: Spacing fixen.
3922 2005-09-19 Wim Taymans <wim@fluendo.com>
3924 * gst/base/gstbasesrc.c: (gst_base_src_change_state):
3925 Handle state change failure more correctly.
3927 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
3929 * check/Makefile.am:
3930 * check/pipelines/cleanup.c: (run_pipeline):
3931 * check/pipelines/simple_launch_lines.c: (run_pipeline),
3933 enable cleanup again after fixing the leak
3935 some more info on docs
3937 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
3939 * check/Makefile.am:
3940 re-enable tests now that leaks are plugged
3942 * check/gst/gstbin.c:
3943 * check/gst/gstpipeline.c:
3944 add some more tests while fixing leaks
3946 make sure binaries are uptodate when valgrinding/gdbing
3948 * gst/gstelementfactory.c:
3949 remove a ref too many, and add a FIXME for when we get
3950 round to disposing of classes
3952 fix the refcounting when loading a plugin from a file and
3953 the code pretends that the pointer is the same even though
3954 of course it can change
3955 * gst/gstpluginfeature.c:
3956 unref plugins marked cached (a bit confusing as a name)
3957 as the docs state should be done
3958 various doc additions to explain refcounting
3959 * gst/gstregistry.c:
3960 * gst/gstregistryxml.c:
3963 2005-09-19 Wim Taymans <wim@fluendo.com>
3965 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
3966 * check/gst/gstbus.c: (message_func_eos), (message_func_app),
3967 (send_messages), (GST_START_TEST), (gstbus_suite):
3968 * check/gst/gstpipeline.c: (GST_START_TEST):
3969 * check/pipelines/cleanup.c: (run_pipeline):
3970 * check/pipelines/simple_launch_lines.c: (run_pipeline),
3972 * gst/gstbus.c: (gst_bus_have_pending), (gst_bus_source_prepare),
3973 (gst_bus_source_check), (gst_bus_source_dispatch),
3974 (gst_bus_create_watch), (gst_bus_add_watch_full),
3975 (gst_bus_add_watch), (poll_func), (poll_timeout), (gst_bus_poll):
3977 * tools/gst-launch.c: (event_loop):
3978 * tools/gst-md5sum.c: (event_loop):
3979 GstBusHandler -> GstBusFunc, return value has the same meaning as
3980 any other GSource (FALSE == remove source).
3981 _add_watch() and _add_watch_full() now take a MessageType mask to
3982 only handle specific types of messages.
3983 _poll() returns the GstMessage instead of the message type to avoid
3985 _have_pending() takes a MessageType mask now too.
3986 Added testsuite for multiple bus watches.
3987 Fix testsuites and applications for new bus API.
3989 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
3991 * check/Makefile.am:
3992 mark a bunch of the tests as to fix until we fix them
3994 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
3997 use GST_PLUGIN settings for valgrind tests as well, so we're
3998 valgrinding the correct thing
3999 * gst/gst.c: (init_post):
4002 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
4004 * gst/gst.c: (init_post), (gst_deinit):
4005 * gst/gstelementfactory.c: (gst_element_factory_class_init),
4006 (gst_element_factory_finalize), (gst_element_factory_cleanup):
4007 * gst/gstindex.c: (gst_index_factory_class_init),
4008 (gst_index_factory_finalize):
4009 * gst/gstobject.c: (gst_object_dispose):
4010 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
4011 (gst_plugin_load_file), (gst_plugin_desc_free):
4012 * gst/gstpluginfeature.c: (gst_plugin_feature_class_init),
4013 (gst_plugin_feature_finalize):
4014 * gst/gstregistry.c: (gst_registry_class_init),
4015 (gst_registry_init), (gst_registry_finalize),
4016 (gst_registry_get_default), (gst_registry_deinit):
4017 * gst/gstregistry.h:
4018 * gst/gstregistryxml.c: (load_feature), (load_plugin):
4019 various cleanups and memleak plugging. make valgrind is happy now.
4021 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
4024 add a check-valgrind target
4026 2005-09-18 David Schleef <ds@schleef.org>
4028 * tools/gst-inspect.c: Revert the GOption code.
4030 2005-09-17 David Schleef <ds@schleef.org>
4032 * check/Makefile.am: Fix environment variables.
4033 * check/gst/gstplugin.c: Fix for API changes.
4034 * tools/gst-inspect.c: Fix for API changes.
4035 * tools/gst-xmlinspect.c: Fix for API changes.
4036 * gst/gstelementfactory.c:
4039 * gst/gstpluginfeature.c:
4040 * gst/gstpluginfeature.h:
4041 * gst/gstregistry.c:
4042 * gst/gstregistry.h:
4043 * gst/gstregistryxml.c:
4044 * gst/gsttypefind.c:
4045 * gst/gsttypefindfactory.c:
4046 * gst/indexers/gstfileindex.c:
4047 * gst/indexers/gstmemindex.c:
4048 * gst/schedulers/Makefile.am:
4049 Change registry to keep track of both plugins and features,
4050 removing the feature tracking from plugins themselves.
4052 2005-09-16 Thomas Vander Stichele <thomas at apestaart dot org>
4054 * check/Makefile.am:
4055 * tools/gst-register.1.in:
4058 2005-09-15 David Schleef <ds@schleef.org>
4060 * check/gst/gstplugin.c:
4061 * gst/gstelementfactory.c:
4063 * gst/gstpluginfeature.c:
4064 * gst/gstregistry.c:
4065 Getting tired of debugging. Disabled all the unreffing of
4066 plugins and features, which fixes the segfaults, but of
4067 course leaks like crazy. At least playbin works.
4069 2005-09-15 David Schleef <ds@schleef.org>
4071 * check/gst/gstplugin.c: (register_check_elements),
4072 (GST_START_TEST), (peek), (suggest), (gst_plugin_suite):
4074 * gst/elements/gsttypefindelement.c: Fix refcounting.
4075 * gst/gsttypefind.c:
4076 * gst/gsttypefindfactory.c:
4077 * gst/gsttypefindfactory.h:
4079 2005-09-15 David Schleef <ds@schleef.org>
4081 * gst/gstindex.c: get refcounting correct.
4082 * gst/gstregistry.c: Handle the case where a feature/plugin is
4085 2005-09-15 David Schleef <ds@schleef.org>
4087 * check/Makefile.am:
4088 * check/gst/gstplugin.c: Add test
4089 * gst/gstplugin.c: Fix problems noticed by testsuite
4091 * gst/gstregistry.c:
4092 * gst/gstregistry.h:
4094 2005-09-15 David Schleef <ds@schleef.org>
4096 * gst/gstplugin.c: Implement semi-decent recounting and locking
4097 in plugins and plugin features.
4099 * gst/gstpluginfeature.c:
4100 * gst/gstpluginfeature.h:
4101 * gst/gstregistry.c:
4103 2005-09-15 Michael Smith <msmith@fluendo.com>
4105 * gst/gstregistry.c: (gst_registry_get_feature_list):
4106 Implement this. Makes oggdemux work; decodebin still broken.
4108 2005-09-14 David Schleef <ds@schleef.org>
4110 * configure.ac: Add -no-undefined to GST_PLUGIN_LDFLAGS (bug
4112 * gst/base/Makefile.am: Add -no-undefined to LDFLAGS for libs
4113 * gst/check/Makefile.am:
4114 * libs/gst/controller/Makefile.am:
4115 * libs/gst/dataprotocol/Makefile.am:
4117 2005-09-14 David Schleef <ds@schleef.org>
4119 * configure.ac: Remove getbits library. Nothing uses it, and
4120 it should be in something like liboil if someone did want
4122 * libs/gst/Makefile.am:
4123 * libs/gst/getbits/Makefile.am:
4124 * libs/gst/getbits/gbtest.c:
4125 * libs/gst/getbits/getbits.c:
4126 * libs/gst/getbits/getbits.h:
4127 * libs/gst/getbits/gstgetbits_generic.c:
4128 * libs/gst/getbits/gstgetbits_i386.s:
4129 * libs/gst/getbits/gstgetbits_inl.h:
4131 2005-09-14 David Schleef <ds@schleef.org>
4133 * gst/Makefile.am: Dist glib-compat.h
4135 2005-09-14 David Schleef <ds@schleef.org>
4137 * configure.ac: Remove gst/registries, since it's no longer used.
4138 * gst/registries/Makefile.am:
4139 * gst/registries/gstlibxmlregistry.c:
4140 * gst/registries/gstlibxmlregistry.h:
4141 * gst/registries/gstxmlregistry.c:
4142 * gst/registries/gstxmlregistry.h:
4143 * gst/registries/registrytest.c:
4145 2005-09-14 David Schleef <ds@schleef.org>
4147 * gst/glib-compat.h:
4148 * gst/gstregistryxml.c:
4149 Convergence is near. Seriously.
4151 2005-09-14 David Schleef <ds@schleef.org>
4153 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
4154 * gst/glib-compat.h:
4155 Attempt #4 to appease the buildbots.
4157 2005-09-14 David Schleef <ds@schleef.org>
4159 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
4162 2005-09-14 David Schleef <ds@schleef.org>
4164 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
4167 2005-09-14 David Schleef <ds@schleef.org>
4169 * gst/Makefile.am: Oh yeah, libgstreamer.so needs to contain
4172 2005-09-14 David Schleef <ds@schleef.org>
4174 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
4175 * gst/glib-compat.h: Add some functions that are in newer versions
4176 of glib than we care to require.
4177 * gst/gstregistryxml.c: Use them.
4179 2005-09-14 David Schleef <ds@schleef.org>
4181 * po/POTFILES.in: remove gst-register.c
4183 2005-09-14 David Schleef <ds@schleef.org>
4185 * docs/gst/gstreamer-docs.sgml:
4186 * docs/gst/gstreamer-sections.txt:
4187 * docs/gst/gstreamer.types:
4188 * docs/gst/tmpl/gstelement.sgml:
4189 * docs/gst/tmpl/gstplugin.sgml:
4190 * docs/gst/tmpl/gstpluginfeature.sgml:
4191 Documentation updates for registry changes.
4193 2005-09-14 David Schleef <ds@schleef.org>
4195 * gst/gstregistryxml.c: Copy g_mkdir_with_parent() from glib,
4196 because we don't require glib-2.8.
4198 2005-09-14 David Schleef <ds@schleef.org>
4200 * gst/gstregistryxml.c: Added. Essentially moved out of the
4201 registries directory.
4203 2005-09-14 David Schleef <ds@schleef.org>
4205 * check/Makefile.am:
4206 * check/generic/states.c:
4210 * gst/gst_private.h:
4211 * gst/gstelementfactory.c:
4216 * gst/gstpluginfeature.c:
4217 * gst/gstpluginfeature.h:
4218 * gst/gstregistry.c:
4219 * gst/gstregistry.h:
4220 * gst/gstregistrypool.c: remove
4221 * gst/gstregistrypool.h: remove
4222 * gst/gsttypefind.c:
4223 * gst/gsttypefindfactory.c:
4225 * tools/Makefile.am:
4226 * tools/gst-compprep.c:
4227 * tools/gst-inspect.c:
4228 * tools/gst-register.c: remove
4229 * tools/gst-xmlinspect.c:
4230 Registry rewrite. Changes registry from being a file created
4231 by a tool into a simple cache file created automatically by
4232 libgstreamer. Removed gst-register (because it's no longer
4233 needed). Remove registry pools, because we only have one
4234 registry implementation (XML). Fix up other subsystems as
4237 2005-09-13 Michael Smith <msmith@fluendo.com>
4239 * gst/gstconfig.h.in:
4240 Don't Use windows linking attributes for MinGW. Fixes #316157
4242 2005-09-13 Thomas Vander Stichele <thomas at apestaart dot org>
4244 * gst/gstutils.c: (set_state_async_thread_func),
4245 (gst_element_set_state_async):
4246 Apparently people think it's better if this function doesn't
4247 try to set the state to whatever state was asked for on the first
4248 call to this function for any object. Seriously.
4250 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
4252 * check/gst/gstpipeline.c: (GST_START_TEST):
4253 * docs/gst/gstreamer-sections.txt:
4254 * gst/gstutils.c: (set_state_async_thread_func),
4255 (gst_element_set_state_async):
4257 add a "gst_element_set_state_async" method that
4258 sets the state and starts a thread to make sure the state
4259 change completes as best as it can
4261 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
4263 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
4264 codify design+behaviour in testsuite after discussion
4266 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
4268 * docs/gst/tmpl/gstelement.sgml:
4269 * docs/manual/appendix-quotes.xml:
4271 * gst/gstelement.c: (gst_element_set_state):
4274 2005-09-12 Jan Schmidt <thaytan@mad.scientist.com>
4276 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
4277 (gst_base_transform_prepare_output_buf),
4278 (gst_base_transform_handle_buffer):
4279 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip),
4280 (gst_capsfilter_prepare_buf):
4281 Remove the requirement for sub-classes to call the parent
4282 implementation of prepare_output_buffer with a wrapper function.
4285 * gst/gsttagsetter.h:
4288 2005-09-11 Stefan Kost <ensonic@users.sf.net>
4290 * docs/gst/gstreamer-sections.txt:
4293 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
4295 * docs/gst/gstreamer-sections.txt:
4296 * docs/gst/tmpl/gstelement.sgml:
4297 * docs/gst/tmpl/gstplugin.sgml:
4298 * gst/gstminiobject.c:
4300 docs now stop throwing warnings
4302 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
4304 * docs/gst/gstreamer-sections.txt:
4305 * docs/gst/gstreamer.types:
4306 * docs/gst/tmpl/gstpad.sgml:
4307 * docs/gst/tmpl/gsttypes.sgml:
4308 * gst/base/gstadapter.h:
4309 * gst/base/gstbasesink.h:
4310 * gst/base/gstbasesrc.h:
4320 * gst/gststructure.c:
4321 * gst/registries/gstlibxmlregistry.h:
4322 various documentation fixes
4324 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
4326 * docs/gst/gstreamer-sections.txt:
4327 * docs/gst/tmpl/gstvalue.sgml:
4328 rearrange gstvalue section
4329 * gst/gstutils.c: (gst_element_state_get_name):
4331 * gst/gstvalue.c: (_gst_value_initialize):
4335 2005-09-10 Jan Schmidt <thaytan@mad.scientist.com>
4337 * check/gst-libs/controller.c:
4339 * gst/base/gstbasetransform.c:
4340 (gst_base_transform_default_prepare_buf),
4341 (gst_base_transform_handle_buffer):
4342 * gst/base/gstbasetransform.h:
4343 Some more basetransform changes and fixes to enable sub-classes
4344 that modify buffer metadata only.
4345 * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
4346 (gst_capsfilter_init), (gst_capsfilter_transform_ip),
4347 (gst_capsfilter_prepare_buf):
4348 If the output pad has fixed allowed caps and input buffers
4349 don't have any, set the fixed caps on outgoing buffers.
4351 2005-09-09 Jan Schmidt <thaytan@mad.scientist.com>
4352 * check/elements/identity.c: (GST_START_TEST):
4353 Make the error a little clearer when the test fails because
4354 identity made a copy of the buffer.
4355 * docs/gst/gstreamer-sections.txt:
4356 New symbols in gstbasetransform.h
4357 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
4358 (gst_base_transform_init), (gst_base_transform_transform_size),
4359 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
4360 (gst_base_transform_default_prepare_buf),
4361 (gst_base_transform_get_unit_size),
4362 (gst_base_transform_buffer_alloc),
4363 (gst_base_transform_handle_buffer), (gst_base_transform_chain),
4364 (gst_base_transform_change_state),
4365 (gst_base_transform_set_passthrough),
4366 (gst_base_transform_set_in_place),
4367 (gst_base_transform_is_in_place):
4368 * gst/base/gstbasetransform.h:
4369 Change BaseTransform to separate in_place operate from same_caps
4370 output. in_place implies that the element can perform the transform
4371 on incoming buffers in-place, even if the caps on the output are
4373 Sub-class elements can now implement special buffer allocation
4374 methods for outgoing buffers if they wish to.
4375 Big documentation addition.
4376 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip):
4377 * gst/elements/gstelements.c:
4378 Changes for basetransform modifications.
4379 * gst/elements/Makefile.am:
4380 * gst/elements/gstfdsrc.c: (gst_fdsrc_init), (gst_fdsrc_create):
4381 Compile fix. Extra debug output.
4383 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
4385 * check/gst/gstpad.c: (GST_START_TEST), (name_is_valid),
4387 add tests for valid pad naming
4388 * gst/check/gstcheck.c: (gst_check_log_message_func),
4389 (gst_check_log_critical_func):
4391 remove printing of code, it is fragile when the code contains
4392 % and the line number is enough info
4393 * gst/check/gstcheck.h:
4394 * gst/gstpad.c: (gst_pad_template_new):
4397 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
4400 say what CHECK flags we use
4401 * docs/libs/gstreamer-libs.types:
4402 * libs/gst/controller/Makefile.am:
4403 * libs/gst/controller/gst-controller.c:
4404 * libs/gst/controller/gst-controller.h:
4405 * libs/gst/controller/gst-helper.c:
4406 * libs/gst/controller/gst-interpolation.c:
4407 * libs/gst/controller/gstcontroller.c:
4408 * libs/gst/controller/gsthelper.c:
4409 * libs/gst/controller/gstinterpolation.c:
4410 * tools/gst-inspect.c: (print_plugin_info):
4411 we don't use dashes in header names
4413 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
4415 * check/Makefile.am:
4416 * check/gst/.cvsignore:
4417 * check/gst/gstpipeline.c: (pop_messages), (GST_START_TEST),
4418 (gst_pipeline_suite), (main):
4419 adding a test for pipelines and state changes
4420 * gst/gstutils.c: (get_state_func):
4422 * gstreamer.spec.in:
4425 2005-09-08 Michael Smith <msmith@fluendo.com>
4427 * gst/elements/gstfilesrc.c: (gst_file_src_map_region),
4428 (gst_file_src_map_small_region), (gst_file_src_create_mmap),
4429 (gst_file_src_is_seekable), (gst_file_src_get_size),
4430 (gst_file_src_start):
4431 * gst/elements/gstfilesrc.h:
4432 Various fixes for unseekable, unmmapable, and non-normal files, so
4433 that fallback to read() rather than mmap() works.
4434 * gst/gstevent.c: (gst_event_new_newsegment):
4435 Allow newsegment events with segment_start == segment_end, as will
4436 correctly happen if you use filesrc on a zero-size file, for
4439 2005-09-07 Jan Schmidt <thaytan@mad.scientist.com>
4441 * gst/gstplugin.c: (gst_plugin_load_file):
4442 Call g_module_close when we don't load the module
4444 * gst/registries/gstlibxmlregistry.c:
4445 (gst_xml_registry_get_property):
4446 Port leak fix from 0.8
4448 2005-09-07 Stefan Kost <ensonic@users.sf.net>
4450 * docs/gst/gstreamer-docs.sgml:
4451 * docs/gst/tmpl/.cvsignore:
4452 * docs/gst/tmpl/gsttrace.sgml:
4453 * docs/gst/tmpl/gsttrashstack.sgml:
4462 * gst/gsttaginterface.c:
4463 * gst/gsttaginterface.h:
4466 * gst/gsttagsetter.c:
4467 * gst/gsttagsetter.h:
4470 * gst/gsttrashstack.c:
4471 renamed gsttag -> gsttaglist, gsttaginterface -> gsttagsetter
4472 inlined docs for gsttrace, gsttrashstack
4474 2005-09-07 Stefan Kost <ensonic@users.sf.net>
4477 * gst/elements/gstbufferstore.h:
4478 * gst/elements/gsttypefindelement.c:
4479 * gst/elements/gsttypefindelement.h:
4481 * gst/gsttypefind.c:
4482 * gst/gsttypefind.h:
4483 * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type),
4484 (gst_type_find_factory_class_init), (gst_type_find_factory_init),
4485 (gst_type_find_factory_dispose),
4486 (gst_type_find_factory_unload_thyself),
4487 (gst_type_find_load_plugin), (gst_type_find_factory_get_list),
4488 (gst_type_find_factory_get_caps),
4489 (gst_type_find_factory_get_extensions),
4490 (gst_type_find_factory_call_function):
4491 * gst/gsttypefindfactory.h:
4492 * gst/registries/gstlibxmlregistry.c:
4493 * gst/registries/gstxmlregistry.c:
4494 splitted gsttypefind into gsttypefind, gsttypefindfactory
4496 2005-09-07 Andy Wingo <wingo@pobox.com>
4498 * gst/base/gstbasesink.c (gst_base_sink_activate_pull): Fix a race
4499 condition whereby the pad's task function is entered before the
4500 pad_mode variable was set.
4502 2005-09-07 Jan Schmidt <thaytan@mad.scientist.com>
4504 * gst/gstpad.c: (gst_pad_alloc_buffer):
4505 Catch misbehaving pad_alloc functions that don't
4506 set up caps and do it for them.
4508 2005-09-07 Stefan Kost <ensonic@users.sf.net>
4510 * check/pipelines/simple_launch_lines.c: (run_pipeline):
4512 * docs/gst/tmpl/.cvsignore:
4513 * docs/gst/tmpl/gstmemchunk.sgml:
4514 * docs/gst/tmpl/gstparse.sgml:
4515 * docs/gst/tmpl/gsttaglist.sgml:
4516 * docs/gst/tmpl/gsttagsetter.sgml:
4517 * docs/gst/tmpl/gsttypefind.sgml:
4518 * docs/gst/tmpl/gsttypefindfactory.sgml:
4519 * gst/gstmemchunk.c:
4522 * gst/gsttaginterface.c:
4523 * gst/gsttypefind.c:
4524 * gst/gsttypefind.h:
4527 === release 0.9.2 ===
4529 2005-09-06 Thomas Vander Stichele <thomas at apestaart dot org>
4534 releasing 0.9.2, "South"
4536 2005-09-05 Andy Wingo <wingo@pobox.com>
4538 * gst/registries/gstxmlregistry.h:
4539 * gst/registries/gstxmlregistry.c: Um... resurrect...
4541 * gst/registries/gstxmlregistry.h:
4542 * gst/registries/gstxmlregistry.c: and update to newer API.
4543 Incidentally they should be a bit faster now that they don't have
4546 2005-09-05 Andy Wingo <wingo@pobox.com>
4548 * gst/registries/gstxmlregistry.h:
4549 * gst/registries/gstxmlregistry.c: Remove from CVS, they were
4550 replaced by the libxml registry a while back
4552 2005-09-03 Thomas Vander Stichele <thomas at apestaart dot org>
4554 * docs/gst/tmpl/gstplugin.sgml:
4555 * gst/elements/gstelements.c:
4557 * gst/gstplugin.c: (gst_plugin_register_func),
4558 (gst_plugin_desc_copy), (gst_plugin_desc_free),
4559 (gst_plugin_get_source):
4561 * gst/registries/gstlibxmlregistry.c: (load_plugin),
4562 (gst_xml_registry_save_plugin):
4563 * gst/registries/gstxmlregistry.c: (gst_xml_registry_parse_plugin),
4564 (gst_xml_registry_save_plugin):
4565 * tools/gst-inspect.c: (print_plugin_info):
4566 add a "source" plugin description field, to represent the source
4567 module this plugin is a part of. By default GST_PLUGIN_DEFINE
4568 will set it to PACKAGE, which is automake's idea of the name of
4571 2005-09-03 Thomas Vander Stichele <thomas at apestaart dot org>
4577 * docs/faq/Makefile.am:
4578 * docs/gst/tmpl/gstelement.sgml:
4579 * docs/gst/tmpl/gsttypes.sgml:
4580 * docs/htmlinstall.mak:
4581 * docs/manual/Makefile.am:
4582 * docs/pwg/Makefile.am:
4583 reorganize doc build a little
4584 split out docbook and gtk-doc stuff
4585 have two separate --enable's and enable them through autogen
4586 but disable by default in configure (to be similar to other
4588 * gstreamer.spec.in:
4589 clean up docs install
4609 2005-09-03 Tim-Philipp Müller <tim at centricular dot net>
4611 * gst/base/gstbasesink.c: (gst_base_sink_pad_buffer_alloc):
4614 * gst/elements/gstfakesink.c: (gst_fake_sink_init),
4615 (gst_fake_sink_change_state):
4616 Make state change function thread-safe.
4618 * gst/gstpad.c: (gst_pad_alloc_buffer):
4619 Set offset on generic buffer allocated by fallback.
4621 2005-09-03 Stefan Kost <ensonic@users.sf.net>
4623 * docs/gst/gstreamer-sections.txt:
4624 * docs/gst/tmpl/gstelement.sgml:
4626 * libs/gst/controller/gst-controller.c:
4627 (gst_controlled_property_set_interpolation_mode),
4628 (gst_controlled_property_new),
4629 (gst_controller_find_controlled_property):
4630 run the wingo-magic script against the docs
4632 2005-09-02 Stefan Kost <ensonic@users.sf.net>
4634 * docs/gst/gstreamer-docs.sgml:
4635 * docs/gst/gstreamer-sections.txt:
4636 * docs/gst/tmpl/.cvsignore:
4637 * docs/gst/tmpl/gstelementdetails.sgml:
4638 * docs/gst/tmpl/gstelementfactory.sgml:
4641 * gst/gstelementfactory.c:
4642 * gst/gstelementfactory.h:
4643 merged elementdetails docs into elementfactory docs
4646 2005-09-02 Andy Wingo <wingo@pobox.com>
4648 * gst/gstelement.h: Add magical pixie dust to make glib-mkenums
4649 consider this enum an enum and not a flags.
4651 2005-09-02 Stefan Kost <ensonic@users.sf.net>
4653 * docs/gst/gstreamer-docs.sgml:
4654 * docs/gst/tmpl/.cvsignore:
4655 * docs/gst/tmpl/gstghostpad.sgml:
4656 * docs/gst/tmpl/gstiterator.sgml:
4657 * docs/gst/tmpl/gstmacros.sgml:
4658 * docs/gst/tmpl/gstrealpad.sgml:
4659 * docs/gst/tmpl/gstregistry.sgml:
4660 * docs/gst/tmpl/gstregistrypool.sgml:
4661 * docs/gst/tmpl/gststructure.sgml:
4662 * docs/gst/tmpl/gstsystemclock.sgml:
4663 * docs/gst/tmpl/gsttrace.sgml:
4664 * gst/gstghostpad.c:
4666 * gst/gstmemchunk.c:
4667 * gst/gstmemchunk.h:
4669 * gst/gstregistry.c:
4670 * gst/gstregistrypool.c:
4671 * gst/gststructure.c:
4672 * gst/gstsystemclock.c:
4675 2005-09-02 Andy Wingo <wingo@pobox.com>
4677 * gst/gstelement.h (GstState): Renamed from GstElementState,
4678 changed to be a normal enum instead of flags.
4679 (GstStateChangeReturn): Renamed from GstElementStateReturn, names
4680 munged to be GST_STATE_CHANGE_*.
4681 (GST_STATE_CHANGE): Renamed from GST_STATE_TRANSITION, updated to
4682 work with the new state representation.
4683 (GstStateChange): New enumeration of possible state transitions.
4684 Replaces GST_STATE_FOO_TO_BAR with GST_STATE_CHANGE_FOO_TO_BAR.
4685 (GstElementClass::change_state): Pass the GstStateChange along as
4686 an argument. Helps language bindings, so they don't have to use
4687 tricky lock-needing macros like GST_STATE_CHANGE ().
4689 * scripts/update-states (file): New script. Run it on a file to
4690 update it for state naming and API changes. Updates files in
4693 * All files updated for the new API.
4695 2005-09-02 Thomas Vander Stichele <thomas at apestaart dot org>
4697 * gst/gsttrace.c: (gst_trace_flush), (gst_trace_text_flush):
4698 * gst/gstutils.c: (gst_util_set_value_from_string),
4699 (gst_util_set_object_arg):
4700 fix a bunch of unchecked return values
4701 * tools/gst-complete.c: (main):
4702 * gstreamer.spec.in:
4705 2005-09-01 Wim Taymans <wim@fluendo.com>
4707 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
4708 (gst_base_sink_event), (gst_base_sink_do_sync),
4709 (gst_base_sink_handle_event):
4710 * gst/base/gstbasesink.h:
4711 Handle newsegments more correctly.
4716 * gst/gstevent.c: (gst_event_new_newsegment):
4717 A newsegment cannot have a start_time of -1
4719 2005-09-01 Tim-Philipp Müller <tim at centricular dot net>
4721 * win32/gstenumtypes.c:
4722 * win32/gstenumtypes.h:
4725 2005-08-31 Stefan Kost <ensonic@users.sf.net>
4727 * libs/gst/controller/gst-controller.c:
4728 (gst_controlled_property_set_interpolation_mode),
4729 (gst_controlled_property_new):
4732 2005-08-31 Thomas Vander Stichele <thomas at apestaart dot org>
4734 * docs/faq/gst-uninstalled:
4739 * gst/gstutils.c: (gst_element_link_filtered):
4741 add gst_element_link_filtered
4743 2005-08-31 Stefan Kost <ensonic@users.sf.net>
4745 * docs/gst/gstreamer-docs.sgml:
4746 * docs/gst/gstreamer-sections.txt:
4747 * docs/gst/tmpl/.cvsignore:
4748 * docs/gst/tmpl/gsterror.sgml:
4749 * docs/gst/tmpl/gstfilter.sgml:
4750 * docs/gst/tmpl/gsturihandler.sgml:
4751 * docs/gst/tmpl/gsturitype.sgml:
4752 * docs/gst/tmpl/gstutils.sgml:
4753 * docs/gst/tmpl/gstxml.sgml:
4761 inlined more docs, fixed double id-ref
4763 2005-08-31 Wim Taymans <wim@fluendo.com>
4765 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
4766 (gst_base_transform_handle_buffer):
4767 Passthrough elements don't need the caps as they don't care.
4769 2005-08-31 Wim Taymans <wim@fluendo.com>
4771 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
4772 (gst_base_transform_handle_buffer), (gst_base_transform_chain):
4773 Don't leak refcounts on buffers.
4775 2005-08-31 Wim Taymans <wim@fluendo.com>
4777 * gst/base/gstbasetransform.c: (gst_base_transform_configure_caps),
4778 (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
4779 (gst_base_transform_chain), (gst_base_transform_change_state):
4780 * gst/base/gstbasetransform.h:
4781 Handle the case where we are not negotiated more gracefully.
4783 2005-08-31 Tim-Philipp Müller <tim at centricular dot net>
4785 * gst/elements/gstfilesrc.c: (gst_mmap_buffer_init),
4786 (gst_file_src_map_region):
4787 Set READONLY flag on mmap'ed buffers, otherwise
4788 gst_buffer_make_writable() won't work properly (#314708).
4790 2005-08-31 Wim Taymans <wim@fluendo.com>
4792 * gst/base/gstbasetransform.c: (gst_base_transform_handle_buffer):
4793 passthrough elements can even do inplace on non writable
4794 buffers (as they don't touch them).
4796 2005-08-31 Stefan Kost <ensonic@users.sf.net>
4798 * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
4799 (gst_test_mono_source_set_property),
4800 (gst_test_mono_source_class_init), (GST_START_TEST),
4801 (gst_controller_suite):
4802 more tests (hehe I have the most)
4804 describe popping messages whenusing mulltiple sources
4805 * libs/gst/controller/gst-controller.c:
4806 (gst_controlled_property_set_interpolation_mode),
4807 (gst_controlled_property_new):
4808 * libs/gst/controller/gst-controller.h:
4809 * libs/gst/controller/gst-interpolation.c:
4810 implement boolean properties
4812 2005-08-31 Wim Taymans <wim@fluendo.com>
4814 * gst/gstminiobject.c: (gst_mini_object_ref):
4815 Cannot assert that the refcount has to be positive
4816 since a disposed object can be resurrected.
4818 2005-08-31 Wim Taymans <wim@fluendo.com>
4820 * gst/gstpad.c: (gst_pad_init):
4821 Revert change, need to first fix badly behaving
4824 2005-08-30 Wim Taymans <wim@fluendo.com>
4826 * check/elements/fakesrc.c: (setup_fakesrc):
4827 * check/elements/identity.c: (setup_identity):
4828 Activate pads before using them.
4830 2005-08-30 Wim Taymans <wim@fluendo.com>
4832 * gst/base/gstadapter.c: (gst_adapter_flush):
4833 Flushing out 0 bytes is ok for this function.
4835 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
4836 no newsegment gives a warning and sets the start/stop to
4839 * gst/base/gstbasetransform.c: (gst_base_transform_change_state),
4840 (gst_base_transform_set_passthrough):
4843 * gst/gstminiobject.c: (gst_mini_object_ref):
4844 Check refcount here too.
4846 * gst/gstpad.c: (gst_pad_init):
4847 Pads are initially flushing and refusing data.
4849 * gst/gstutils.c: (gst_element_link_pads_filtered):
4850 When adding a capsfilter element make sure it has the
4851 same state as the parent bin.
4853 2005-08-30 Stefan Kost <ensonic@users.sf.net>
4855 * docs/gst/tmpl/.cvsignore:
4856 * docs/gst/tmpl/gstformat.sgml:
4857 * docs/gst/tmpl/gstversion.sgml:
4861 * gst/gstversion.h.in:
4862 more docs and two more inlined
4864 2005-08-30 Wim Taymans <wim@fluendo.com>
4866 * gst/elements/gstfilesink.c: (gst_file_sink_class_init):
4867 Don't sync to clock.
4869 2005-08-30 Stefan Kost <ensonic@users.sf.net>
4871 * docs/gst/gstreamer-sections.txt:
4872 ultral33t func10ns deserve to appear in the docs actually
4873 * docs/gst/tmpl/.cvsignore:
4874 * docs/gst/tmpl/gstcompat.sgml:
4875 * docs/gst/tmpl/gstconfig.sgml:
4876 * gst/check/gstcheck.c:
4878 * gst/gstconfig.h.in:
4881 2005-08-30 Stefan Kost <ensonic@users.sf.net>
4883 * docs/gst/tmpl/.cvsignore:
4884 * docs/gst/tmpl/gstquery.sgml:
4885 * docs/gst/tmpl/gstutils.sgml:
4888 inlined and extended docs
4890 2005-08-30 Stefan Kost <ensonic@users.sf.net>
4892 * check/gst-libs/controller.c: (GST_START_TEST),
4893 (gst_controller_suite):
4895 * docs/gst/tmpl/gstutils.sgml:
4896 * docs/libs/gstreamer-libs-sections.txt:
4897 * docs/libs/tmpl/gstdataprotocol.sgml:
4899 * examples/controller/audio-example.c: (main):
4900 controller example works now
4903 * tools/gst-inspect.c: (print_element_properties_info):
4904 show param spec flags
4906 2005-08-29 Andy Wingo <wingo@pobox.com>
4908 * gst/gstutils.c (gst_util_uint64_scale): New 3733t funct10n.
4910 2005-08-28 Andy Wingo <wingo@pobox.com>
4912 * gst/gstutils.h (GST_BOILERPLATE_FULL): Prototype instance_init
4913 as having two arguments instead of just one. Allows superclasses
4914 to access information on subclasses -- see the terrible for() loop
4915 in gtype.c:g_type_create_instance for the reason why. All callers
4918 2005-08-27 Stefan Kost <ensonic@users.sf.net>
4920 * docs/design/part-messages.txt:
4922 * docs/gst/tmpl/.cvsignore:
4923 * docs/gst/tmpl/gstcaps.sgml:
4924 * docs/gst/tmpl/gstclock.sgml:
4931 added descriptions for bus and message
4932 inline caps and clock docs
4934 2005-08-27 Stefan Kost <ensonic@users.sf.net>
4940 2005-08-27 Stefan Kost <ensonic@users.sf.net>
4942 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
4945 2005-08-26 Andy Wingo <wingo@pobox.com>
4947 * check/pipelines/simple_launch_lines.c (run_pipeline): Check
4948 element_set_state's return val.
4949 (test_2_elements): Add test that's been disabled for months.
4951 * gst/elements/gstfakesink.c: Cleanups. Add can-activate-push and
4952 can-activate-pull properties.
4954 * gst/elements/gstfakesrc.c: Cleanups. Add can-activate-push and
4955 can-activate-pull properties. Implement is_seekable so fakesrc can
4956 operate in pull mode.
4958 * gst/base/gstbasesink.c (GstBaseSink): Remove has-loop, has-chain
4960 (gst_base_sink_activate, gst_base_sink_activate_pull)
4961 (gst_base_sink_activate_push): Make activation mode choosing work.
4963 (gst_base_sink_chain, gst_base_sink_loop): Assert activation mode
4964 is right. Make pull mode work. Post an eos before pausing in pull
4966 (gst_base_sink_change_state): Pay attention to the core's
4967 change_state() return val.
4969 * gst/base/gstbasesrc.c (GstBaseSrc): Remove has-loop,
4970 has-getrange properties. Cleanups.
4972 * gst/base/gstbasesrc.h (GstBaseSrc): Remove has_loop,
4973 has_getrange and replace with can_activate_pull and
4976 * gst/base/gstbasesink.h (GstBaseSink): Rearrange fields, add
4977 locking comments. Remove has_loop, has_chain and replace with
4978 can_activate_pull and can_activate_push.
4980 2005-08-26 Jan Schmidt <thaytan@mad.scientist.com>
4983 * examples/Makefile.am:
4984 * examples/metadata/Makefile.am:
4985 * examples/metadata/read-metadata.c: (message_loop),
4986 (have_pad_handler), (make_pipeline), (print_tag), (main):
4987 Add metadata reading example that loops over a list of filenames,
4988 dumping any tags found.
4990 * gst/gstbus.c: (gst_bus_dispose):
4991 * gst/gstelement.c: (gst_element_dispose):
4992 Release a few potentially-held references in dispose.
4994 2005-08-26 Stefan Kost <ensonic@users.sf.net>
4996 * docs/gst/tmpl/gstminiobject.sgml:
4997 do *not* add tmpl/*.sgml files to CVS!
4999 2005-08-26 Stefan Kost <ensonic@users.sf.net>
5001 * libs/gst/bytestream/.cvsignore:
5002 * libs/gst/bytestream/Makefile.am:
5003 * libs/gst/bytestream/adapter.c:
5004 * libs/gst/bytestream/adapter.h:
5005 * libs/gst/bytestream/bytestream.c:
5006 * libs/gst/bytestream/bytestream.h:
5007 * libs/gst/bytestream/filepad.c:
5008 * libs/gst/bytestream/filepad.h:
5009 removing obsolete files
5011 2005-08-26 Stefan Kost <ensonic@users.sf.net>
5013 * docs/gst/gstreamer-docs.sgml:
5014 * docs/libs/gstreamer-libs-docs.sgml:
5015 disabed additional index entries again, as this makes docs-gen just
5016 slow and they aren't useful yet
5017 * docs/libs/gstreamer-libs-sections.txt:
5018 little -section.txt cleanup for libs
5020 2005-08-26 Thomas Vander Stichele <thomas at apestaart dot org>
5022 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
5023 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size),
5024 fix up some debugging
5025 (gst_base_transform_get_unit_size),
5026 (gst_base_transform_buffer_alloc), (gst_base_transform_event),
5027 (gst_base_transform_handle_buffer):
5028 * gst/base/gstbasetransform.h:
5029 handle and store timed NEWSEGMENT events so that subclasses that
5030 calculate time by counting samples have a segment_start time they
5031 need to add to their timestamps - see audioresample
5033 2005-08-26 Stefan Kost <ensonic@users.sf.net>
5036 removed ';' from the end of macro defs
5037 * docs/gst/gstreamer-docs.sgml:
5038 * docs/gst/gstreamer-sections.txt:
5039 * docs/gst/tmpl/.cvsignore:
5041 * gst/gstelement.c: (gst_element_class_init),
5042 (gst_element_set_state), (activate_pads),
5043 (gst_element_save_thyself):
5044 * gst/gstevent.c: (gst_event_new_newsegment):
5046 * gst/gstiterator.c:
5047 * gst/gstiterator.h:
5050 * gst/gstutils.c: (gst_pad_query_convert):
5052 fixed parameter name mismatches between source, header and docs
5053 added some more docs, resolved the last batch of unused elements in
5054 docs (now someone needs to doc them)
5056 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
5058 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_rebuild):
5059 * gst/registries/gstxmlregistry.c: (gst_xml_registry_rebuild):
5060 don't walk through the plugins backwards. Where is all this
5061 reversed logic coming from ?
5063 2005-08-25 Wim Taymans <wim@fluendo.com>
5065 * gst/base/gstbasetransform.c: (gst_base_transform_init),
5066 (gst_base_transform_transform_size),
5067 (gst_base_transform_configure_caps),
5068 (gst_base_transform_get_unit_size),
5069 (gst_base_transform_buffer_alloc),
5070 (gst_base_transform_change_state):
5071 * gst/base/gstbasetransform.h:
5072 Cache caps unit_size.
5073 Make sure we cannot negotiate up and downstream at the
5076 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
5078 * gst/gst.c: (init_pre), (init_post):
5079 register the installed plugin path after the env var
5080 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_save):
5081 * gst/registries/gstxmlregistry.c: (gst_xml_registry_save):
5082 don't reverse order of paths; conserve the order of GST_PLUGIN_PATH
5083 directories, so the tests can prefer uninstalled over installed
5085 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
5087 * gst/base/gstbasetransform.h:
5092 2005-08-25 Wim Taymans <wim@fluendo.com>
5094 * gst/gstbin.c: (bin_bus_handler):
5095 Be a bit more conservative about the posted message.
5097 * gst/gstbus.c: (gst_bus_post):
5098 Some cleanups, warn wrong return values.
5100 2005-08-25 Jan Schmidt <thaytan@mad.scientist.com>
5102 * check/gst/gstbin.c: (GST_START_TEST):
5103 * gst/gstbin.c: (bin_bus_handler):
5104 * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
5105 (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
5106 (gst_message_new_warning), (gst_message_new_tag),
5107 (gst_message_new_state_changed), (gst_message_new_segment_start),
5108 (gst_message_new_segment_done), (gst_message_new_custom):
5110 * tools/gst-launch.c: (event_loop):
5111 * tools/gst-md5sum.c: (event_loop):
5112 Revert unpopular change for GST_MESSAGE_SRC to GObject.
5114 2005-08-25 Wim Taymans <wim@fluendo.com>
5116 * check/generic/states.c: (GST_START_TEST):
5117 Cleanup can be done at the end.
5119 * gst/gsttask.c: (gst_task_get_type), (gst_task_finalize),
5120 (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
5121 (gst_task_get_state), (gst_task_start), (gst_task_pause):
5122 Oh boy.. Thanks for finding this, Thomas.
5124 2005-08-25 Stefan Kost <ensonic@users.sf.net>
5126 * docs/gst/gstreamer.types:
5129 2005-08-25 Stefan Kost <ensonic@users.sf.net>
5131 * docs/gst/gstreamer-docs.sgml:
5132 * docs/gst/gstreamer-sections.txt:
5133 * docs/gst/tmpl/.cvsignore:
5135 * gst/gstiterator.c:
5137 * gst/registries/gstxmlregistry.h:
5138 added missing classes and symbols (123 more to go)
5139 removed removed symbols from section file
5140 fixed many doc-comments
5142 2005-08-24 Wim Taymans <wim@fluendo.com>
5144 * check/generic/states.c: (GST_START_TEST):
5145 Make sure all tasks are stopped.
5147 * check/gst/gstbin.c: (GST_START_TEST):
5148 Unref after usage for proper valgrinding.
5150 * gst/gstpad.c: (gst_pad_finalize), (gst_pad_stop_task):
5151 Really wait for the task to stop before destroying the
5154 * gst/gstqueue.c: (gst_queue_sink_activate_push),
5155 (gst_queue_src_activate_push):
5156 Small cleanups. Don't stop the task when we did not start
5159 * gst/gsttask.c: (gst_task_get_type), (gst_task_init),
5160 (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
5161 (gst_task_get_state), (gst_task_start), (gst_task_pause),
5164 Protect the stream lock with the object lock.
5165 Disallow setting the stream lock when running.
5166 Add cleanup_all to wait for the threadpool to finish.
5167 Remove code to autoallocate a mutex if none was provided.
5168 Add _join() to wait for a task to stop.
5169 Protect the thread pool with a global lock.
5171 2005-08-24 Wim Taymans <wim@fluendo.com>
5173 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
5174 (gst_base_sink_get_times), (gst_base_sink_do_sync),
5175 (gst_base_sink_handle_buffer), (gst_base_sink_change_state):
5176 * gst/base/gstbasesink.h:
5177 Handle newsegment events correctly.
5178 Drop buffers out of the segment range.
5180 2005-08-22 Andy Wingo <wingo@pobox.com>
5182 * gst/gstutils.h (GST_BOILERPLATE_WITH_INTERFACE): New ghetto
5183 macro, implements an interface and gstimplementsinterface for a
5186 2005-08-24 Thomas Vander Stichele <thomas at apestaart dot org>
5188 * check/Makefile.am:
5189 * check/generic/states.c: (GST_START_TEST), (states_suite), (main):
5190 add a test that does a bunch of state changes on elements
5191 needs some fixing for valgrind
5192 * check/states/sinks.c: (gst_object_suite):
5195 add prototype for gst_caps_is_equal_fixed
5197 * gst/gstregistrypool.c:
5200 2005-08-24 Andy Wingo <wingo@pobox.com>
5202 * gst/gstquery.c (gst_query_new_convert): Spew if we try to
5203 convert a negative value. Doesn't make much sense. Mostly this is
5204 here to force callers to ensure -1 maps to -1.
5206 2005-08-24 Jan Schmidt <thaytan@mad.scientist.com>
5208 * docs/pwg/advanced-types.xml:
5209 Well done to Michael for catching my deliberate introduction
5210 of this spelling mistake.
5211 * gst/gstbin.c: (gst_bin_remove_func), (bin_bus_handler):
5213 Add GST_ELEMENT_UNPARENTING to prevent races so that we can
5214 unlink pads before removing the element from the bin.
5216 2005-08-24 Andy Wingo <wingo@pobox.com>
5218 * gst/gst.c (parse_debug_list): Accept e.g. GST_DEBUG=4 to mean
5219 the same thing as GST_DEBUG=*:4.
5220 (parse_debug_level, parse_debug_category): New helper parsers.
5222 2005-08-24 Thomas Vander Stichele <thomas at apestaart dot org>
5224 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
5225 (gst_base_transform_transform_size), (gst_base_transform_getcaps),
5226 (gst_base_transform_setcaps), (gst_base_transform_get_unit_size),
5227 (gst_base_transform_buffer_alloc),
5228 (gst_base_transform_handle_buffer):
5229 use gboolean return values and pointers to size so we can use the
5230 full GST_BUFFER_SIZE range (guint) for buffer sizes
5231 use GstPadDirection for transform_caps
5232 * gst/base/gstbasetransform.h:
5233 rename get_size to get_unit_size since that's what it is
5234 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_caps):
5235 use GstPadDirection for transform_caps
5236 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
5238 cleanup and debugging
5240 2005-08-24 Stefan Kost <ensonic@users.sf.net>
5242 * gst/gstelement.c: (gst_element_class_init),
5243 (gst_element_set_state), (activate_pads),
5244 (gst_element_save_thyself):
5245 * tools/gst-compprep.c: (main):
5246 * tools/gst-inspect.c: (print_element_properties_info):
5247 * tools/gst-xmlinspect.c: (print_element_properties):
5248 Fixed long standing mem-leak
5250 2005-08-24 Jan Schmidt <thaytan@mad.scientist.com>
5252 * check/gst/gstbin.c: (GST_START_TEST):
5253 * gst/gstbin.c: (bin_bus_handler):
5254 * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
5255 (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
5256 (gst_message_new_warning), (gst_message_new_tag),
5257 (gst_message_new_state_changed), (gst_message_new_segment_start),
5258 (gst_message_new_segment_done), (gst_message_new_custom):
5260 * tools/gst-launch.c: (event_loop):
5261 * tools/gst-md5sum.c: (event_loop):
5262 Change GST_MESSAGE_SRC to be a GObject rather than a GstObject, so
5263 that applications can sensibly post custom messages with references
5264 to their own objects.
5266 2005-08-24 Andy Wingo <wingo@pobox.com>
5268 * gst/gstpad.c (gst_pad_fixate_caps): Check if the caps is fixed
5271 2005-08-24 Wim Taymans <wim@fluendo.com>
5273 * gst/base/gstbasetransform.c: (gst_base_transform_init),
5274 (gst_base_transform_transform_caps),
5275 (gst_base_transform_transform_size),
5276 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
5277 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
5278 (gst_base_transform_handle_buffer):
5279 * gst/base/gstbasetransform.h:
5280 Many fixes and new features added by Thomas. Can now also do
5281 transforms with variable sizes and a custom fixate_caps function.
5283 2005-08-24 Wim Taymans <wim@fluendo.com>
5285 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
5289 Cast to ClockTime before formatting to time.
5294 2005-08-24 Stefan Kost <ensonic@users.sf.net>
5296 * check/gst-libs/controller.c: (GST_START_TEST),
5297 (gst_controller_suite):
5298 * docs/gst/tmpl/gstcaps.sgml:
5299 * docs/gst/tmpl/gstghostpad.sgml:
5300 * docs/gst/tmpl/gstquery.sgml:
5301 * docs/gst/tmpl/gstutils.sgml:
5302 * libs/gst/controller/gst-helper.c: (gst_object_set_controller),
5303 (gst_object_sink_values), (gst_object_get_value_arrays),
5304 (gst_object_get_value_array):
5305 gracefully handle helper method calls to objects that are not beeing
5306 controlled, added test case for that
5308 2005-08-23 Wim Taymans <wim@fluendo.com>
5310 * gst/gstevent.c: (_gst_event_copy), (gst_event_new_custom),
5311 (gst_event_new_newsegment), (gst_event_parse_newsegment),
5312 (gst_event_new_tag), (gst_event_parse_tag), (gst_event_new_qos),
5313 (gst_event_parse_qos), (gst_event_new_seek),
5314 (gst_event_parse_seek):
5316 Some more debugging output and doc cleanups.
5318 * gst/gstqueue.c: (gst_queue_handle_sink_event):
5319 Fix possible deadlock.
5321 2005-08-23 Stefan Kost <ensonic@users.sf.net>
5323 * docs/gst/gstreamer-docs.sgml:
5324 * docs/gst/gstreamer-sections.txt:
5325 * docs/gst/gstreamer.types:
5326 * docs/gst/tmpl/.cvsignore:
5331 added 100 symbols from gstreamer-unused.txt to the right sections
5332 fixed more broken comments
5333 added GstBus to docs
5335 2005-08-23 Stefan Kost <ensonic@users.sf.net>
5337 * docs/gst/gstreamer-sections.txt:
5338 * docs/gst/tmpl/.cvsignore:
5339 * docs/gst/tmpl/gstbin.sgml:
5340 * docs/gst/tmpl/gstbuffer.sgml:
5341 * gst/base/gstbasesrc.c:
5342 * gst/gstbin.c: (gst_bin_get_type), (gst_bin_class_init):
5345 * tools/gst-launch.1.in:
5346 inlined more doc comments, added missing comments and fixed comments
5349 2005-08-23 Thomas Vander Stichele <thomas at apestaart dot org>
5351 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
5355 * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_alloc_buffer):
5357 * gst/gststructure.c: (gst_caps_structure_fixate_field_boolean):
5358 * gst/gststructure.h:
5359 add a fixate function for booleans; add a FIXME that these func
5360 names should probably be gst_structure_fixate_*
5362 2005-08-23 Stefan Kost <ensonic@users.sf.net>
5364 * docs/gst/gstreamer-docs.sgml:
5365 * docs/gst/gstreamer-sections.txt:
5367 * gst/gstbin.c: (gst_bin_get_type),
5368 (gst_bin_child_proxy_get_child_by_index),
5369 (gst_bin_child_proxy_get_children_count),
5370 (gst_bin_child_proxy_init):
5371 * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
5372 (gst_child_proxy_get_child_by_index),
5373 (gst_child_proxy_get_children_count), (gst_child_proxy_lookup),
5374 (gst_child_proxy_get_property), (gst_child_proxy_get_valist),
5375 (gst_child_proxy_get), (gst_child_proxy_set_property),
5376 (gst_child_proxy_set_valist), (gst_child_proxy_set),
5377 (gst_child_proxy_child_added), (gst_child_proxy_child_removed),
5378 (gst_child_proxy_base_init), (gst_child_proxy_get_type):
5379 * gst/gstchildproxy.h:
5380 * gst/parse/grammar.y:
5381 * tools/gst-inspect.c: (print_interfaces),
5382 (print_element_properties_info), (print_element_info):
5383 ported gstchildproxy over from 0.8
5384 ported gst-inspect fixes and enhancements over from 0.8
5386 2005-08-22 Wim Taymans <wim@fluendo.com>
5388 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
5389 (gst_base_transform_handle_buffer):
5390 Also call the transform function if we have ANY caps.
5392 * gst/gstpipeline.c: (gst_pipeline_set_new_stream_time):
5395 2005-08-22 Jan Schmidt <thaytan@mad.scientist.com>
5397 * gst/base/gstbasesrc.c: (gst_base_src_event_handler)
5398 Don't pretend to handle seek events if the source is not seekable
5400 2005-08-22 Jan Schmidt <thaytan@mad.scientist.com>
5402 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
5403 Remove extra parameter to debug output
5405 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
5406 (gst_base_src_do_seek), (gst_base_src_activate_push):
5407 Fix seek event handling.
5409 * gst/gstpipeline.c: (gst_pipeline_change_state):
5410 * gst/gstqueue.c: (gst_queue_handle_sink_event),
5411 (gst_queue_src_activate_push):
5412 Don't start the src pad task on FLUSH_STOP if the pad
5416 2005-08-22 Wim Taymans <wim@fluendo.com>
5418 * check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
5419 Added check for gst_static_caps_get() refcounting.
5421 2005-08-22 Wim Taymans <wim@fluendo.com>
5423 * gst/gstcaps.c: (gst_static_caps_get), (gst_caps_to_string):
5424 Make _static_caps_get() refcounting sane.
5426 * gst/gstelement.c: (gst_element_set_state):
5427 Add g_return_val_if_fail() to protect against segfaults.
5429 2005-08-22 Stefan Kost <ensonic@users.sf.net>
5431 * docs/gst/tmpl/gstevent.sgml:
5434 inlined remaining docs, added missing doc comments
5436 2005-08-22 Thomas Vander Stichele <thomas at apestaart dot org>
5438 * check/gst/gstbin.c: (GST_START_TEST):
5439 since we don't know when preroll is done, use refcount range
5441 * gst/check/gstcheck.h:
5442 add macro for checking refcount range
5444 2005-08-21 Thomas Vander Stichele <thomas at apestaart dot org>
5446 * check/Makefile.am:
5447 clean up environment for when registry gets built versus
5448 when actual tests are run; valgrind seems to not report
5449 leaks if GST_PLUGIN_PATH is set to some specific values
5450 * check/gst/gstbin.c: (GST_START_TEST):
5451 add more refcounting checks; maybe this exposes a
5454 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
5455 * gst/check/gstcheck.h:
5456 * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_get_state),
5457 (gst_bin_change_state):
5458 * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_chain):
5459 add/fix debugging/whitespace
5461 2005-08-21 Jan Schmidt <thaytan@mad.scientist.com>
5463 * check/gst/gstevent.c: (event_probe), (test_event),
5465 Er, don't call gst_bin_watch_for_state_change you idiot.
5467 2005-08-21 Jan Schmidt <thaytan@mad.scientist.com>
5469 * check/Makefile.am:
5470 Use CHECK_CFLAGS and CHECK_LIBS
5471 * check/gst/gstevent.c: (event_probe), (test_event),
5474 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
5475 (gst_base_src_start), (gst_base_src_stop),
5476 (gst_base_src_activate_push), (gst_base_src_activate_pull),
5477 (gst_base_src_change_state):
5478 Sprinkle gst_base_src_stop liberally around error paths to fix
5479 problems reusing a source after failed state changes.
5480 * gst/base/gsttypefindhelper.c: (helper_find_peek),
5481 (helper_find_suggest), (gst_type_find_helper):
5482 Extra debug output. Don't segfault on GST_PAD_GETRANGEFUNC = NULL
5484 * docs/gst/tmpl/gstevent.sgml:
5485 Migrate part of the docs from the SGML file. Wait for ensonic to
5486 tell me how I did it wrong ;)
5487 * tools/gst-typefind.c: (main):
5488 Extra robustness to state changes between files.
5490 2005-08-21 Thomas Vander Stichele <thomas at apestaart dot org>
5492 * check/Makefile.am:
5493 don't valgrind the controller test - it's leaking - Stefan, HELP
5494 * gst/check/gstcheck.c: (gst_check_message_error),
5495 (gst_check_chain_func), (gst_check_setup_element),
5496 (gst_check_teardown_element), (gst_check_setup_src_pad),
5497 (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
5498 (gst_check_teardown_sink_pad):
5499 * gst/check/gstcheck.h:
5500 add a bunch of methods to set up elements, and src and sink pads
5501 * check/elements/fakesrc.c: (setup_fakesrc), (cleanup_fakesrc):
5502 * check/elements/identity.c: (setup_identity), (cleanup_identity),
5507 whitespace/doc fixes
5509 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
5512 make GST_ELEMENT_ERROR not do GST_ERROR_OBJECT - these errors should
5513 be handled by the application and not always printed as well
5515 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
5517 * check/Makefile.am:
5519 * gst/check/gstcheck.c: (gst_check_message_error):
5520 * gst/check/gstcheck.h:
5521 add a fail_unless_equals_int
5522 add fail_unless for error messages
5524 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
5526 * check/Makefile.am:
5528 * common/Makefile.am:
5531 factor out some of the common stuff so we can use it
5533 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
5535 * check/Makefile.am:
5536 * check/gst/gstiterator.c: (GST_START_TEST):
5537 * check/gst/gstsystemclock.c: (GST_START_TEST),
5538 (gst_systemclock_suite):
5539 * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
5543 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
5545 * check/elements/.cvsignore:
5546 * check/elements/gstfakesrc.c:
5547 rename to name of element
5548 * check/elements/identity.c: (chain_func), (event_func),
5549 (setup_identity), (cleanup_identity), (GST_START_TEST),
5550 (identity_suite), (main):
5551 add a test for identity
5552 * check/Makefile.am:
5553 * pkgconfig/Makefile.am:
5554 * pkgconfig/gstreamer-check.pc.in:
5555 * pkgconfig/gstreamer-check-uninstalled.pc.in:
5559 move the check stuff to a library that gets installed
5560 * check/gst-libs/controller.c: (GST_START_TEST):
5561 * check/gst-libs/gdp.c:
5562 * check/gst/gst.c: (GST_START_TEST):
5563 * check/gst/gstbin.c:
5564 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
5565 * check/gst/gstbus.c:
5566 * check/gst/gstcaps.c: (GST_START_TEST):
5567 * check/gst/gstelement.c:
5568 * check/gst/gstghostpad.c:
5569 * check/gst/gstiterator.c:
5570 * check/gst/gstmessage.c:
5571 * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST):
5572 * check/gst/gstobject.c:
5573 * check/gst/gstpad.c: (GST_START_TEST):
5574 * check/gst/gststructure.c: (GST_START_TEST):
5575 * check/gst/gstsystemclock.c: (GST_START_TEST),
5576 (gst_systemclock_suite):
5577 * check/gst/gsttag.c: (gst_tag_suite):
5578 * check/gst/gstvalue.c:
5579 * check/pipelines/cleanup.c:
5580 * check/pipelines/simple_launch_lines.c:
5581 * check/states/sinks.c:
5582 change include statement
5584 * docs/gst/gstreamer-sections.txt:
5585 * docs/gst/tmpl/gstpad.sgml:
5586 document more pad stuff
5587 * gst/gstminiobject.c: (gst_mini_object_ref),
5588 (gst_mini_object_unref):
5591 2005-08-19 Stefan Kost <ensonic@users.sf.net>
5593 * docs/gst/tmpl/gst.sgml:
5595 eliminate another tmpl file, fix spelling in the long-description
5597 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
5599 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
5600 (test_event), (timediff), (gstevents_suite):
5601 Should fix build on 64-bit arch's
5603 2005-08-18 Andy Wingo <wingo@pobox.com>
5605 Make sure that when a pipeline goes to PLAYING, that data has
5606 actually hit the sink.
5608 * check/states/sinks.c (test_sink): A sink that doesn't get any
5609 data shouldn't return SUCCESS for going to either PLAYING or
5610 PAUSED. Test also the return values on the way back down.
5612 * gst/gstelement.c (gst_element_set_state): When changing the
5613 state of an element currently changing state asynchronously, go to
5614 lost-state after commiting the pending state. Makes future calls
5615 to get_state continue to return ASYNC.
5617 * gst/base/gstbasesink.c (gst_base_sink_change_state): Return
5618 ASYNC when going to PLAYING if we still don't have preroll, as can
5619 happen with live sources.
5621 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
5623 * docs/pwg/advanced-types.xml:
5624 Hack long paragraph into 2 chunks as a workaround for buggy
5625 jadetex version in sid and breezy that loops infinitely and
5628 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
5630 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
5631 (test_event), (timediff), (gstevents_suite):
5632 Provide more error margin in clock measurements to allow for
5633 g_get_current_time inaccuracies.
5635 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
5637 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
5638 (test_event), (timediff), (gstevents_suite):
5639 Fix error message output so I might be able to tell why the
5640 test works here but fails on the build farm.
5642 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
5644 * check/Makefile.am:
5645 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
5646 (test_event), (timediff), (gstevents_suite), (main):
5649 * docs/design/part-seeking.txt:
5652 * docs/gst/tmpl/gstevent.sgml:
5653 * docs/gst/tmpl/gstfakesrc.sgml:
5656 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
5657 Treat a buffer-without-newsegment the same as a receiving
5658 a newsegment not in time format, and disable syncing to the clock
5661 * gst/gstbus.c: (gst_bus_set_sync_handler):
5662 Assert if anyone tries to replace the existing sync_handler for bus,
5663 as only the owner should be setting it.
5666 Have a fixed set of custom event enums with events identified by
5667 their structure name (as in 0.8), rather than a free-for-all
5668 allowing collisions between enum values from different plugins.
5670 * gst/gstpad.c: (gst_pad_class_init):
5673 * gst/gstqueue.c: (gst_queue_handle_sink_event):
5674 Handle out-of-band downstream events from the sending thread.
5676 2005-08-17 Andy Wingo <wingo@pobox.com>
5678 * gst/gstpipeline.c (gst_pipeline_change_state): Interpret
5679 play-timeout==0 to mean no timeout at all. In that case, don't
5680 bother with a get_state or a warning, just return directly, even
5683 * gst/base/gstbasetransform.c: Debug changes.
5686 * gst/gstutils.c (gst_bin_watch_for_state_change): Add function to
5687 ensure bins post state change messages. A bit of a hack but I can't
5688 think of a way to avoid it.
5690 * check/gst/gstbin.c (test_watch_for_state_change): Added test.
5692 2005-08-16 Andy Wingo <wingo@pobox.com>
5694 * gst/base/gstadapter.h:
5695 * gst/base/gstadapter.c (gst_adapter_take): New function, like
5696 peek() but you own the data. Not terribly efficient atm.
5698 2005-08-16 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5700 * gst/gstutils.c: (gst_element_found_tags_for_pad), (push_and_ref),
5701 (gst_element_found_tags):
5703 Add two utility functions for tag handling.
5705 2005-08-16 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5707 * docs/manual/advanced-dataaccess.xml:
5708 * docs/manual/basics-helloworld.xml:
5709 Fix docs to use _bin_add() before _link(), which fixes the examples
5710 with recent core versions (reported by Madhan Raj M
5711 <raj_madan@rediffmail.com>, #313199).
5713 2005-08-16 Wim Taymans <wim@fluendo.com>
5715 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
5716 Added subtract checks.
5718 * docs/design/part-events.txt:
5719 Some more docs about newsegment
5721 * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
5724 * gst/gstcaps.c: (gst_caps_to_string):
5725 Add comments, cleanups.
5727 * gst/gstelement.c: (gst_element_save_thyself):
5730 * gst/gstvalue.c: (gst_value_collect_int_range),
5731 (gst_string_unwrap), (gst_value_union_int_int_range),
5732 (gst_value_union_int_range_int_range),
5733 (gst_value_intersect_int_int_range),
5734 (gst_value_intersect_int_range_int_range),
5735 (gst_value_intersect_double_double_range),
5736 (gst_value_intersect_double_range_double_range),
5737 (gst_value_intersect_list), (gst_value_subtract_int_int_range),
5738 (gst_value_subtract_int_range_int),
5739 (gst_value_subtract_double_range_double),
5740 (gst_value_subtract_double_range_double_range),
5741 (gst_value_subtract_from_list), (gst_value_subtract_list),
5742 (gst_value_can_compare), (gst_value_compare_fraction):
5743 Cleanups, add comments, remove unneeded asserts.
5745 2005-08-15 Thomas Vander Stichele <thomas at apestaart dot org>
5747 * tools/gst-launch.c: (event_loop):
5748 don't convert NULL structures to strings
5750 2005-08-15 Stefan Kost <ensonic@users.sf.net>
5752 * docs/gst/gstreamer-sections.txt:
5753 made some defines private
5754 * docs/gst/tmpl/gstconfig.sgml:
5755 * docs/gst/tmpl/gstqueue.sgml:
5756 * docs/gst/tmpl/gsttaglist.sgml:
5757 * docs/gst/tmpl/gsttypes.sgml:
5758 * docs/gst/tmpl/gstutils.sgml:
5759 * docs/pwg/appendix-porting.xml:
5760 * gst/base/gstbasesink.h:
5761 * gst/base/gstbasesrc.c:
5762 * gst/base/gstbasesrc.h:
5763 * gst/elements/gstfakesink.c: (gst_fake_sink_class_init):
5764 * gst/elements/gstfakesrc.c: (gst_fake_src_class_init):
5765 * gst/gstelement.c: (gst_element_class_init):
5766 * gst/gstpad.c: (gst_pad_class_init):
5767 * gst/gstqueue.c: (gst_queue_class_init):
5768 * gst/gstxml.c: (gst_xml_class_init):
5769 documented all undocumented signal inline
5770 * libs/gst/controller/gst-controller.h:
5773 2005-08-15 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5775 * docs/pwg/appendix-porting.xml:
5776 Document _set_link_function -> _set_setcaps_function.
5778 2005-08-15 Thomas Vander Stichele <thomas at apestaart dot org>
5780 * check/Makefile.am:
5781 add a .check target for running the check
5782 * check/gst-libs/controller.c: (GST_START_TEST):
5784 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
5785 complete checks for gstbuffer; would be nice if I could get the
5786 gcov stuff to work so I can see if I actually completed gstbuffer.c
5788 add ASSERT_BUFFER_REFCOUNT
5790 2005-08-13 Tim-Philipp Müller <tim at centricular dot net>
5792 * docs/gst/gstreamer-sections.txt:
5793 * gst/gsttag.c: (_gst_tag_initialize), (gst_tag_register):
5795 Add GST_TAG_LANGUAGE_CODE as we have in 0.8, and don't
5796 spew out a warning if a tag that is already registered
5797 is re-registered, unless it is re-registered with a
5798 different type (#308438).
5800 2005-08-12 Tim-Philipp Müller <tim at centricular dot net>
5802 * docs/pwg/appendix-porting.xml:
5803 * docs/pwg/building-state.xml:
5804 Add some paragraphs about state changes in 0.9 to the PWG
5805 and the porting guide, in particular about the new meaning
5806 of GST_STATE_PAUSED and how to write state change functions
5807 with concurrent access by multiple threads in mind.
5809 2005-08-11 Stefan Kost <ensonic@users.sf.net>
5811 * docs/gst/gstreamer-docs.sgml:
5812 * docs/libs/gstreamer-libs-docs.sgml:
5813 added deprecation and since indexes
5814 * libs/gst/controller/gst-controller.c:
5815 * libs/gst/controller/gst-helper.c:
5819 2005-08-11 Wim Taymans <wim@fluendo.com>
5821 * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked),
5822 (gst_proxy_pad_set_target), (gst_proxy_pad_get_target),
5823 (gst_proxy_pad_dispose), (gst_ghost_pad_do_activate_push),
5824 (gst_ghost_pad_do_link), (gst_ghost_pad_set_internal),
5825 (gst_ghost_pad_new_notarget), (gst_ghost_pad_get_target),
5826 (gst_ghost_pad_set_target):
5827 Actually implement (re)setting the target on a ghostpad
5828 as described in the docs.
5830 2005-08-10 Tim-Philipp Müller <tim at centricular dot net>
5832 * gst/gst.c: (gst_init_check_with_popt_table), (init_pre):
5833 Check whether GST_DEBUG_NO_COLOR environment variable is
5834 set and disable coloured debug output if that is the case.
5836 2005-08-10 Tim-Philipp Müller <tim at centricular dot net>
5838 * gst/base/gsttypefindhelper.c: (helper_find_peek),
5839 (gst_type_find_helper):
5840 The memory returned by gst_type_find_peek() needs to
5841 stay valid until the end of a typefind function, and
5842 typefind functions may keep results from different
5843 offsets around, so we can't just unref the buffer from
5844 the previous _peek(), but have to save all buffers
5845 returned by _peek() until typefinding is done and only
5848 2005-08-09 Tim-Philipp Müller <tim at centricular dot net>
5850 * docs/gst/gstreamer-sections.txt:
5852 New macros: GST_ROUND_UP_2() through GST_ROUND_UP_64().
5854 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5856 * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
5857 Fix a pretty good memleak.
5859 2005-08-08 Tim-Philipp Müller <tim at centricular dot net>
5861 * gst/gstiterator.h:
5862 Fix wrong include and 'make distcheck'.
5864 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5866 * gst/gstbin.c: (bin_bus_handler):
5867 Use gst_element_post_message() instead.
5869 2005-08-08 Tim-Philipp Müller <tim at centricular dot net>
5871 * gst/base/gstadapter.h:
5872 * gst/base/gstbasesink.h:
5873 * gst/base/gstbasesrc.h:
5874 * gst/base/gstbasetransform.h:
5875 * gst/base/gstcollectpads.h:
5876 * gst/base/gstpushsrc.h:
5877 * gst/gstiterator.h:
5878 Add padding to our base elements' class and instance structs and
5879 to GstIterator (you will need to rebuild all plugins and apps!)
5881 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5883 * gst/gstbin.c: (bin_bus_handler):
5884 Make default message forwarding from child->bus to bin->bus
5885 threadsafe and make it not emit warnings if the parent has no bus.
5887 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5889 * gst/gstelement.c: (activate_pads):
5890 On paused->ready, set pad->caps to NULL, as is the documented
5891 behaviour in this state change. Fixes playback of series of
5892 media files when visualization is enabled in Totem.
5894 2005-08-07 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5896 * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
5897 Allow NULL as filter-caps (which means "any").
5899 2005-08-05 Stefan Kost <ensonic@users.sf.net>
5901 * docs/libs/gstreamer-libs-sections.txt:
5902 * libs/gst/controller/gst-controller.c:
5903 * libs/gst/controller/gst-controller.h:
5904 * libs/gst/controller/gst-helper.c:
5905 adding more entries to the docs and fix small doc-bugs
5907 2005-08-05 Stefan Kost <ensonic@users.sf.net>
5909 * docs/gst/gstreamer-docs.sgml:
5910 * docs/gst/gstreamer-sections.txt:
5911 * docs/gst/gstreamer.types:
5912 * docs/gst/tmpl/gstbasesink.sgml:
5913 * docs/gst/tmpl/gstbasesrc.sgml:
5914 * docs/gst/tmpl/gstbasetransform.sgml:
5915 * docs/gst/tmpl/gstfakesrc.sgml:
5916 * gst/base/gstcollectpads.c:
5917 * gst/base/gstcollectpads.h:
5918 * libs/gst/controller/gst-controller.c:
5919 * libs/gst/controller/gst-controller.h:
5920 * libs/gst/controller/gst-helper.c:
5921 * libs/gst/controller/gst-interpolation.c:
5922 * libs/gst/controller/lib.c:
5923 added long/short desc for controller docs
5924 added collectpads base class docs
5925 added correct includes to base-class docs
5927 2005-08-05 Stefan Kost <ensonic@users.sf.net>
5929 * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
5930 (gst_test_mono_source_set_property),
5931 (gst_test_mono_source_class_init), (GST_START_TEST),
5932 (gst_controller_suite):
5933 * docs/gst/gstreamer-docs.sgml:
5934 * docs/gst/gstreamer-sections.txt:
5935 * docs/gst/gstreamer.types:
5936 * docs/libs/gstreamer-libs-docs.sgml:
5937 * docs/libs/gstreamer-libs-sections.txt:
5938 * gst/base/gstadapter.c:
5939 * libs/gst/controller/gst-controller.c:
5940 (gst_controlled_property_new), (gst_controlled_property_free),
5941 (gst_controller_new_valist),
5942 (gst_controller_remove_properties_valist),
5943 (gst_controller_sink_values), (_gst_controller_finalize):
5944 * libs/gst/controller/gst-controller.h:
5945 * libs/gst/controller/gst-helper.c:
5946 (gst_object_control_properties), (gst_object_uncontrol_properties),
5947 (gst_object_get_controller), (gst_object_set_controller),
5948 (gst_object_sink_values), (gst_object_get_value_arrays),
5949 (gst_object_get_value_array):
5950 more tests (and fixes) for the controller
5951 more docs for the controller
5952 integrated companies docs for the adapter
5954 2005-08-05 Thomas Vander Stichele <thomas at apestaart dot org>
5956 * check/elements/gstfakesrc.c: (setup_fakesrc), (cleanup_fakesrc),
5957 (GST_START_TEST), (fakesrc_suite):
5958 add tests for sizetype
5960 2005-08-04 Andy Wingo <wingo@pobox.com>
5962 * gst/elements/gstcapsfilter.c: Reimplement using basetransform,
5963 fixes buffer_alloc proxying among other things.
5965 * gst/base/gstbasetransform.c:
5966 * gst/base/gstbasetransform.h:
5967 Revert patch to gstbasetransform from 7-28 removing
5970 * gst/base/gstbasetransform.h (GstBaseTransformClass.get_size):
5971 * gst/base/gstbasetransform.c (gst_base_transform_get_size):
5972 Semantics changed, should return not the size of the output buffer
5973 but the byte size of a buffer with a given caps.
5975 * gst/base/gstbasetransform.c (gst_base_transform_getcaps): Better
5977 (gst_base_transform_configure_caps): Don't set out_size here: (in,
5978 out) are not the pad caps until setcaps finishes.
5979 (gst_base_transform_buffer_alloc): Proxy the buffer_alloc for the
5980 not-in-place case as well. Deal with changing from in-place to
5981 not-in-place within calling pad_alloc_buffer. Still a bit
5982 concerned about the overhead here...
5984 2005-08-03 Andy Wingo <wingo@pobox.com>
5986 * gst/base/gstbasetransform.c (gst_base_transform_setcaps): Not
5987 fixating is an error.
5989 2005-08-04 Edward Hervey <edward@fluendo.com>
5991 * gst/base/gstadapter.h:
5992 Added gst_adapter_get_type() to the header
5994 2005-08-03 Stefan Kost <ensonic@users.sf.net>
5996 * check/Makefile.am:
5997 * check/gst-libs/controller.c:
5998 * libs/gst/controller/gst-controller.c:
5999 (gst_controller_new_valist):
6000 added check test suite for the controller
6001 * gst/base/gstpushsrc.c:
6004 2005-08-03 Stefan Kost <ensonic@users.sf.net>
6006 * docs/gst/Makefile.am:
6007 * docs/gst/gstreamer-docs.sgml:
6008 * docs/gst/gstreamer-sections.txt:
6009 * docs/gst/gstreamer.types:
6010 * docs/gst/tmpl/gstfakesrc.sgml:
6012 * gst/base/gstbasesink.c:
6013 * gst/base/gstbasesink.h:
6014 * gst/base/gstbasesrc.c:
6015 * gst/base/gstbasesrc.h:
6016 * gst/base/gstbasetransform.c:
6017 * gst/base/gstpushsrc.c:
6018 * gst/base/gstpushsrc.h:
6019 add short/long description docs to base classes
6020 add pushsrc to the docs
6021 remove consolidated doc fragments
6023 2005-08-03 Stefan Kost <ensonic@users.sf.net>
6026 * docs/libs/Makefile.am:
6027 * docs/libs/gstreamer-libs-docs.sgml:
6028 * docs/libs/gstreamer-libs-sections.txt:
6029 * docs/libs/gstreamer-libs.types:
6030 * examples/Makefile.am:
6031 * examples/controller/.cvsignore:
6032 * examples/controller/Makefile.am:
6033 * examples/controller/audio-example.c: (main):
6034 * libs/gst/Makefile.am:
6035 * libs/gst/controller/.cvsignore:
6036 * libs/gst/controller/Makefile.am:
6037 * libs/gst/controller/gst-controller.c:
6038 (on_object_controlled_property_changed), (gst_timed_value_compare),
6039 (gst_timed_value_find),
6040 (gst_controlled_property_set_interpolation_mode),
6041 (gst_controlled_property_new), (gst_controlled_property_free),
6042 (gst_controller_find_controlled_property),
6043 (gst_controller_new_valist), (gst_controller_new),
6044 (gst_controller_remove_properties_valist),
6045 (gst_controller_remove_properties), (gst_controller_set),
6046 (gst_controller_set_from_list), (gst_controller_unset),
6047 (gst_controller_get), (gst_controller_get_all),
6048 (gst_controller_sink_values), (gst_controller_get_value_arrays),
6049 (gst_controller_get_value_array),
6050 (gst_controller_set_interpolation_mode),
6051 (_gst_controller_finalize), (_gst_controller_init),
6052 (_gst_controller_class_init), (gst_controller_get_type):
6053 * libs/gst/controller/gst-controller.h:
6054 * libs/gst/controller/gst-helper.c: (g_object_control_properties),
6055 (g_object_uncontrol_properties), (g_object_get_controller),
6056 (g_object_set_controller), (g_object_sink_values),
6057 (g_object_get_value_arrays), (g_object_get_value_array):
6058 * libs/gst/controller/gst-interpolation.c:
6059 (gst_controlled_property_find_timed_value_node),
6060 (interpolate_none_get), (interpolate_trigger_get),
6061 (interpolate_trigger_get_value_array):
6062 * libs/gst/controller/lib.c: (gst_controller_init):
6063 * pkgconfig/Makefile.am:
6064 * pkgconfig/gstreamer-control-uninstalled.pc.in:
6065 * pkgconfig/gstreamer-control.pc.in:
6066 * testsuite/Makefile.am:
6067 * testsuite/controller/.cvsignore:
6068 * testsuite/controller/Makefile.am:
6069 * testsuite/controller/interpolator.c: (main):
6070 added controller code
6071 removed dparam pc files
6073 2005-08-01 Jan Schmidt <thaytan@mad.scientist.com>
6074 * gst/base/gstcollectpads.c: (gst_collectpads_finalize),
6075 (gst_collectpads_stop):
6076 Broadcast the condition when shutting down, to make sure we wake all
6077 threads up. Shut down pads on finalize, for safety.
6079 2005-08-01 Jan Schmidt <thaytan@mad.scientist.com>
6080 * gst/base/gstbasetransform.c: (gst_base_transform_init),
6081 (gst_base_transform_handle_buffer),
6082 (gst_base_transform_change_state):
6083 Handle PAUSED->READY->PAUSED transition after negotiation
6085 * gst/gstmessage.c: (gst_message_init):
6086 Extra piece of debug for new messages.
6088 2005-08-01 Stefan Kost <ensonic@users.sf.net>
6091 * docs/gst/tmpl/gstbasesrc.sgml:
6092 * docs/gst/tmpl/gstelement.sgml:
6093 * docs/gst/tmpl/gstevent.sgml:
6094 * docs/gst/tmpl/gstfakesrc.sgml:
6095 * docs/gst/tmpl/gstformat.sgml:
6096 * docs/gst/tmpl/gstghostpad.sgml:
6097 * docs/gst/tmpl/gstpad.sgml:
6098 * docs/gst/tmpl/gstquery.sgml:
6099 * docs/gst/tmpl/gststructure.sgml:
6100 * docs/gst/tmpl/gsttaglist.sgml:
6101 * docs/gst/tmpl/gstvalue.sgml:
6102 * docs/libs/gstreamer-libs-docs.sgml:
6103 * docs/libs/gstreamer-libs-sections.txt:
6104 * docs/libs/gstreamer-libs.types:
6105 * libs/gst/Makefile.am:
6106 * libs/gst/control/.cvsignore:
6107 * libs/gst/control/Makefile.am:
6108 * libs/gst/control/control.c:
6109 * libs/gst/control/control.h:
6110 * libs/gst/control/dparam.c:
6111 * libs/gst/control/dparam.h:
6112 * libs/gst/control/dparam_smooth.c:
6113 * libs/gst/control/dparam_smooth.h:
6114 * libs/gst/control/dparamcommon.h:
6115 * libs/gst/control/dparammanager.c:
6116 * libs/gst/control/dparammanager.h:
6117 * libs/gst/control/dplinearinterp.c:
6118 * libs/gst/control/dplinearinterp.h:
6119 * libs/gst/control/unitconvert.c:
6120 * libs/gst/control/unitconvert.h:
6121 * testsuite/Makefile.am:
6122 * testsuite/dynparams/.cvsignore:
6123 * testsuite/dynparams/Makefile.am:
6124 * testsuite/dynparams/dparamstest.c:
6125 * tools/Makefile.am:
6126 * tools/gst-inspect.c: (print_element_info), (main):
6127 * tools/gst-xmlinspect.c: (print_element_info), (main):
6128 deactivate and remove dparams (libgstcontrol)
6130 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
6132 * gst/elements/gsttypefindelement.c:
6133 (gst_type_find_element_have_type), (gst_type_find_element_init),
6134 (stop_typefinding), (gst_type_find_element_handle_event),
6135 (gst_type_find_element_chain), (gst_type_find_element_getrange):
6136 * gst/elements/gsttypefindelement.h:
6137 Set caps on all outgoing buffers, not just the first one.
6139 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
6141 * gst/elements/gsttypefindelement.c:
6142 (gst_type_find_element_have_type),
6143 (gst_type_find_element_check_set_buffer_caps),
6144 (gst_type_find_element_init), (stop_typefinding),
6145 (gst_type_find_element_handle_event),
6146 (gst_type_find_element_chain), (gst_type_find_element_getrange):
6147 * gst/elements/gsttypefindelement.h:
6148 Set caps on first outgoing buffer when we've found the type.
6150 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
6152 * docs/gst/gstreamer-docs.sgml:
6153 * docs/gst/gstreamer-sections.txt:
6154 * docs/gst/tmpl/gstscheduler.sgml:
6155 * docs/gst/tmpl/gstschedulerfactory.sgml:
6156 Remove some old cruft from docs.
6158 2005-07-31 Tim-Philipp Müller <tim at centricular dot net>
6161 Fix inline docs for GstPadLinkReturn.
6163 * gst/gststructure.c: (gst_structure_has_name):
6164 * gst/gststructure.h:
6165 * docs/gst/gstreamer-sections.txt:
6166 New API: gst_structure_has_name().
6168 2005-07-30 Tim-Philipp Müller <tim at centricular dot net>
6171 Use AC_SYS_LARGEFILE, which will set _FILE_OFFSET_BITS=64
6172 and _LARGEFILE_SOURCE in config.h as required. Do not
6173 export those flags in our .pc files any longer (#142209).
6175 Remove unused GST_DISABLE_OMEGA_COTHREADS stuff.
6177 * gst/elements/gstfilesink.c: (gst_file_sink_class_init),
6178 (gst_file_sink_do_seek), (gst_file_sink_event),
6179 (gst_file_sink_get_current_offset), (gst_file_sink_render):
6180 Redo seek/tell calls with large file support in mind; add some
6181 debugging messages; add log message that tells us when large
6182 file support is unavailable or not enabled for some reason.
6184 * gst/elements/gstfilesrc.c: (gst_file_src_class_init):
6185 Add log message that tells us when large file support
6186 is unavailable or not enabled for some reason.
6188 2005-07-29 Wim Taymans <wim@fluendo.com>
6190 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
6191 Added test for removing an element with ghostpad from a bin.
6192 Fixed test as current implementation does the right thing.
6194 * gst/gstghostpad.c: (gst_proxy_pad_class_init),
6195 (gst_proxy_pad_do_query_type), (gst_proxy_pad_do_event),
6196 (gst_proxy_pad_do_query), (gst_proxy_pad_do_internal_link),
6197 (gst_proxy_pad_do_bufferalloc), (gst_proxy_pad_do_activate),
6198 (gst_proxy_pad_do_activatepull), (gst_proxy_pad_do_activatepush),
6199 (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
6200 (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
6201 (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
6202 (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target),
6203 (gst_proxy_pad_get_target), (gst_proxy_pad_init),
6204 (gst_proxy_pad_dispose), (gst_proxy_pad_finalize),
6205 (gst_ghost_pad_class_init), (gst_ghost_pad_do_activate_push),
6206 (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
6207 (gst_ghost_pad_set_internal), (gst_ghost_pad_dispose),
6208 (gst_ghost_pad_new_notarget), (gst_ghost_pad_new),
6209 (gst_ghost_pad_get_target), (gst_ghost_pad_set_target):
6210 * gst/gstghostpad.h:
6211 Clean up ghostpads, remove properties for internal stuff.
6214 Prepare for switching targets, not all use cases work yet.
6216 2005-07-29 Wim Taymans <wim@fluendo.com>
6218 * docs/design/part-gstghostpad.txt:
6221 * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
6222 (gst_bin_remove_func):
6223 Unlinking pads while holding the bin LOCK is not a good
6226 * gst/gstpad.c: (gst_pad_class_init),
6227 (gst_pad_link_check_hierarchy), (gst_pad_get_caps_unlocked),
6228 (gst_pad_accept_caps), (gst_pad_set_caps), (gst_pad_send_event):
6229 No prob setting template after creating the pad.
6231 2005-07-29 Jan Schmidt <thaytan@mad.scientist.com>
6233 * gst/gstbus.c: (gst_bus_set_flushing), (gst_bus_pop),
6234 (gst_bus_peek), (gst_bus_source_dispatch),
6235 (gst_bus_add_watch_full), (poll_handler), (poll_timeout),
6236 (poll_destroy), (poll_destroy_timeout), (gst_bus_poll):
6237 gst_bus_poll may be called from other threads. Handle
6238 this nicely by not making poll_data disappear off the
6239 stack once gst_bus_poll returns.
6240 gst_bus_peek now increments the refcount on the returned
6243 2005-07-29 Wim Taymans <wim@fluendo.com>
6245 * docs/design/part-gstghostpad.txt:
6246 Overview of current GhostPad datastructures and use
6247 cases for changing the target.
6249 2005-07-28 Wim Taymans <wim@fluendo.com>
6251 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
6252 Added checks for hierarchy consistency whan adding linked
6255 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
6256 Added check to test element scheduling without bin/pipeline.
6258 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
6259 First add elements to bin, then link.
6261 * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
6262 (gst_bin_remove_func):
6263 Unlink pads from elements added/removed from bin to maintain
6264 hierarchy consistency.
6266 2005-07-28 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
6268 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
6269 (gst_base_transform_handle_buffer):
6270 * gst/base/gstbasetransform.h:
6271 Remove broken delay_configure (fixes renegotiation of software
6272 scaling pipelines); remove some leftover printf()s.
6274 2005-07-28 Wim Taymans <wim@fluendo.com>
6276 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
6277 Added some more tests for wrong hierarchy
6279 * docs/design/part-overview.txt:
6282 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_dispose):
6285 * gst/gstelement.c: (gst_element_remove_pad), (gst_element_seek),
6286 (gst_element_dispose):
6289 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
6290 (gst_pad_link_check_hierarchy), (gst_pad_link_prepare),
6291 (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
6292 (gst_pad_set_caps), (gst_pad_send_event):
6293 Check for correct hierarchy when linking pads. Moving to
6294 strict requirement for ghostpads when linking elements in
6298 Clean ups. Added WRONG_HIERARCHY return value.
6300 2005-07-28 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
6302 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
6303 Better debug if no transform is possible.
6305 2005-07-27 Wim Taymans <wim@fluendo.com>
6307 * docs/random/wtay/network-transp:
6310 2005-07-27 Wim Taymans <wim@fluendo.com>
6312 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
6313 (gst_dp_event_from_packet):
6314 Fix serialization of seek events.
6316 2005-07-27 Wim Taymans <wim@fluendo.com>
6318 * check/gst-libs/gdp.c: (GST_START_TEST):
6319 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
6320 Fix compilation and fix event serialization.
6322 2005-07-27 Wim Taymans <wim@fluendo.com>
6325 * docs/design/part-TODO.txt:
6326 * docs/design/part-events.txt:
6329 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
6330 (gst_base_sink_event), (gst_base_sink_do_sync),
6331 (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
6332 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
6333 (gst_base_src_do_seek), (gst_base_src_event_handler),
6334 (gst_base_src_loop):
6335 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
6336 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
6337 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
6338 (gst_base_transform_event), (gst_base_transform_handle_buffer),
6339 (gst_base_transform_set_passthrough),
6340 (gst_base_transform_is_passthrough):
6341 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
6342 * gst/elements/gstfilesink.c: (gst_file_sink_event):
6348 * gst/gstelement.c: (gst_element_seek):
6350 Update gst_element_seek.
6352 * gst/gstevent.c: (gst_event_finalize), (_gst_event_copy),
6353 (gst_event_new), (gst_event_new_custom), (gst_event_get_structure),
6354 (gst_event_new_flush_start), (gst_event_new_flush_stop),
6355 (gst_event_new_eos), (gst_event_new_newsegment),
6356 (gst_event_parse_newsegment), (gst_event_new_tag),
6357 (gst_event_parse_tag), (gst_event_new_filler), (gst_event_new_qos),
6358 (gst_event_parse_qos), (gst_event_new_seek),
6359 (gst_event_parse_seek), (gst_event_new_navigation):
6361 Make GstEvent use GstStructure. Add parsing code, make sure the
6362 API is sufficiently generic.
6363 Mark possible directions of events and serialization.
6365 * gst/gstmessage.c: (gst_message_init), (gst_message_finalize),
6366 (_gst_message_copy), (gst_message_new_segment_start),
6367 (gst_message_new_segment_done), (gst_message_new_custom),
6368 (gst_message_parse_segment_start),
6369 (gst_message_parse_segment_done):
6372 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
6373 (gst_pad_set_caps), (gst_pad_send_event):
6374 Update for new events.
6375 Catch events sent in wrong directions.
6377 * gst/gstqueue.c: (gst_queue_link_src),
6378 (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
6379 (gst_queue_handle_src_query):
6384 Remove event code from this file.
6386 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
6387 (gst_dp_event_from_packet):
6390 2005-07-27 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
6392 * gst/base/gstbasetransform.c: (gst_base_transform_getcaps),
6393 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
6394 (gst_base_transform_get_size), (gst_base_transform_handle_buffer):
6395 Make debugging actually useful.
6397 2005-07-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
6399 * gst/gstpad.c: (fixate_value), (gst_pad_default_fixate),
6400 (gst_pad_fixate_caps):
6401 Implement default fixation once again, so that gst_pad_fixate()
6402 actually does anything at all. This probably needs to be some
6403 sort of a last resort, and use profile-based fixation first, but
6404 since that doesn't exist yet, this is the best we have. Fixes
6405 visualization in Totem.
6407 2005-07-22 Wim Taymans <wim@fluendo.com>
6409 * docs/design/part-events.txt:
6412 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
6413 (gst_base_sink_do_sync), (gst_base_sink_activate_push),
6414 (gst_base_sink_activate_pull):
6417 * gst/elements/gstfakesrc.c: (gst_fake_src_class_init),
6418 (gst_fake_src_create):
6419 Fix handoff marshall.
6421 * gst/elements/gstidentity.c: (gst_identity_class_init),
6422 (gst_identity_transform_ip):
6423 We're a real inplace element.
6425 * gst/gstbus.c: (gst_bus_post):
6426 Added some comments.
6428 * tests/lat.c: (fakesrc), (fakesink), (simple), (queue), (main):
6429 * tests/muxing/case1.c: (main):
6430 * tests/sched/dynamic-pipeline.c: (main):
6431 * tests/sched/interrupt1.c: (main):
6432 * tests/sched/interrupt2.c: (main):
6433 * tests/sched/interrupt3.c: (main):
6434 * tests/sched/runxml.c: (main):
6435 * tests/sched/sched-stress.c: (main):
6436 * tests/seeking/seeking1.c: (event_received), (main):
6437 * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
6439 * tests/threadstate/threadstate3.c: (main):
6440 * tests/threadstate/threadstate4.c: (main):
6441 * tests/threadstate/threadstate5.c: (main):
6444 2005-07-21 Wim Taymans <wim@fluendo.com>
6446 * docs/design/part-seeking.txt:
6447 Some small additions.
6449 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
6450 (gst_base_sink_get_times), (gst_base_sink_do_sync),
6451 (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
6452 * gst/base/gstbasesink.h:
6453 discont values are gint64, handle the math correctly.
6455 * gst/base/gstbasesrc.c: (gst_base_src_loop):
6456 Make the basesrc report error if the source pad is not linked.
6458 * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
6459 (gst_queue_loop), (gst_queue_handle_src_query),
6460 (gst_queue_src_activate_push):
6461 Make queue collect data even if the srcpad is not linked.
6462 Start pushing out data as soon as it is linked.
6464 * gst/gstutils.c: (gst_element_unlink), (gst_flow_get_name):
6466 Added gst_flow_get_name() to ease error reporting.
6468 2005-07-20 Wim Taymans <wim@fluendo.com>
6470 * gst/gstmessage.c: (gst_message_new_segment_start),
6471 (gst_message_new_segment_done), (gst_message_parse_segment_start),
6472 (gst_message_parse_segment_done):
6474 Added a bunch of messages for advanced seeking.
6476 * gst/parse/grammar.y:
6477 * libs/gst/control/dparammanager.c: (gst_dpman_set_parent),
6478 (gst_dpman_state_changed):
6479 Fix some new-pad -> pad-added signals
6481 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
6483 * docs/manual/appendix-porting.xml:
6484 * docs/pwg/appendix-porting.xml:
6485 Document new-pad/state-change signal renames and the FixedList
6488 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
6490 * docs/manual/advanced-autoplugging.xml:
6491 * docs/manual/basics-helloworld.xml:
6492 * docs/manual/basics-pads.xml:
6493 * docs/random/ds/0.9-suggested-changes:
6494 * gst/gstelement.c: (gst_element_class_init), (gst_element_seek):
6499 * gst/gststructure.c: (gst_structure_value_get_generic_type),
6500 (gst_structure_parse_array), (gst_structure_parse_value):
6501 * gst/gstvalue.c: (gst_type_is_fixed),
6502 (gst_value_list_prepend_value), (gst_value_list_append_value),
6503 (gst_value_list_get_size), (gst_value_list_get_value),
6504 (gst_value_transform_array_string), (gst_value_serialize_array),
6505 (gst_value_deserialize_array), (gst_value_intersect_array),
6506 (gst_value_is_fixed), (_gst_value_initialize):
6508 GstElement::new-pad -> pad-added, GstElement::state-change ->
6509 state-changed, GstValueFixedList -> GstValueArray, add format and
6510 flags as their own arguments in gst_element_seek() (should improve
6511 "bindeability"), remove function generators since they don't work
6512 under a whole bunch of compilers (they were deprecated already
6515 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
6517 * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
6518 (_gst_debug_register_funcptr):
6520 Fix illegal cast on some platforms (#309253).
6522 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
6524 * gst/gstmessage.c: (gst_message_new_custom):
6526 Add _new_custom, make _new_application a macro to _new_custom.
6528 2005-07-20 Wim Taymans <wim@fluendo.com>
6530 * gst/base/gstbasesrc.c: (gst_base_src_init),
6531 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
6532 * gst/base/gstbasesrc.h:
6533 Add a gboolean to decide when to push out a discont.
6535 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
6536 (gst_queue_loop), (gst_queue_handle_src_query),
6537 (gst_queue_sink_activate_push), (gst_queue_src_activate_push),
6538 (gst_queue_set_property), (gst_queue_get_property):
6541 * tests/threadstate/threadstate1.c: (main):
6542 Make a thread test compile and run... very silly..
6545 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
6547 * docs/manual/appendix-porting.xml:
6548 Mention removal of libgstgconf-0.9.la and existence of gconf
6551 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
6553 * docs/pwg/advanced-clock.xml:
6554 * docs/pwg/appendix-porting.xml:
6555 * docs/pwg/intro-preface.xml:
6556 * docs/pwg/other-base.xml:
6557 * docs/pwg/other-manager.xml:
6558 * docs/pwg/other-nton.xml:
6559 * docs/pwg/other-ntoone.xml:
6560 * docs/pwg/other-oneton.xml:
6562 Document base classes, update sections of n-to-1 and 1-to-n (muxer,
6563 demuxer), remove n-to-n (was never written), fix some code examples
6564 and links and update the porting section to include all this.
6566 2005-07-19 Wim Taymans <wim@fluendo.com>
6568 * gst/gstqueue.c: (gst_queue_init), (gst_queue_handle_sink_event),
6569 (gst_queue_chain), (gst_queue_loop), (gst_queue_handle_src_event),
6570 (gst_queue_handle_src_query), (gst_queue_sink_activate_push),
6571 (gst_queue_src_activate_push), (gst_queue_change_state),
6572 (gst_queue_get_property):
6574 Propagate GstFlowReturn more intelligently upstream and output
6575 an ERROR/EOS when streaming stopped due to fatal error.
6577 2005-07-19 Wim Taymans <wim@fluendo.com>
6579 * tools/gst-launch.c: (check_intr), (event_loop), (main):
6580 Don't block forever for the state change to complete, the
6581 pipeline already did with a sensible timeout.
6583 2005-07-19 Wim Taymans <wim@fluendo.com>
6585 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
6586 Make sure we never call the create function is we
6589 2005-07-19 Andy Wingo <wingo@pobox.com>
6591 * gst/parse/parse.l: Attempt to solve bug #172815.
6593 2005-07-19 Wim Taymans <wim@fluendo.com>
6595 * docs/design/part-clocks.txt:
6596 * docs/design/part-events.txt:
6597 * gst/base/gstbasesrc.c: (gst_base_src_do_seek):
6599 Only update the seeking values when we are not
6602 2005-07-19 Jan Schmidt <thaytan@mad.scientist.com>
6604 * gst/base/gstbasesrc.c: (gst_base_src_loop):
6605 Oops, ignore the result of gst_pad_push_event here.
6607 2005-07-19 Jan Schmidt <thaytan@mad.scientist.com>
6609 * gst/base/gstbasesrc.c: (gst_base_src_loop),
6610 (gst_base_src_activate_push):
6611 Send discont event from the loop function, as pads
6612 aren't activated yet in the activate_push handler.
6614 * gst/gstbin.c: (bin_bus_handler):
6615 Don't leak element name.
6617 2005-07-18 Andy Wingo <wingo@pobox.com>
6619 * configure.ac: Use AS_LIBTOOL_TAGS.
6621 2005-07-18 Wim Taymans <wim@fluendo.com>
6623 * docs/gst/gstreamer.types:
6624 Remove deleted types.
6626 2005-07-18 Wim Taymans <wim@fluendo.com>
6628 * check/elements/gstfakesrc.c: (GST_START_TEST):
6631 * gst/gst.c: (gst_init_get_popt_table), (init_pre), (init_post),
6632 (init_popt_callback):
6634 * gst/gst_private.h:
6635 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_add_func),
6636 (gst_bin_remove_func), (gst_bin_get_state), (gst_bin_change_state):
6639 * gst/gstconfig.h.in:
6640 * gst/gstelement.c: (gst_element_class_init),
6641 (gst_element_set_base_time), (gst_element_get_base_time),
6642 (iterator_fold_with_resync), (gst_element_change_state),
6643 (gst_element_dispose), (gst_element_get_bus):
6645 * gst/gstelementfactory.h:
6646 * gst/gsterror.c: (_gst_core_errors_init):
6649 * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
6651 * gst/gstinfo.c: (_gst_debug_init):
6652 * gst/gstmessage.c: (_gst_message_copy):
6654 * gst/gstminiobject.h:
6657 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
6658 (gst_pad_set_caps), (gst_pad_start_task), (gst_pad_stop_task):
6661 * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
6662 (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
6663 (gst_pipeline_get_last_stream_time):
6664 * gst/gstpipeline.h:
6665 * gst/gstpluginfeature.h:
6667 * gst/gstscheduler.c:
6668 * gst/gstscheduler.h:
6669 * gst/gststructure.h:
6670 * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
6671 (gst_task_finalize), (gst_task_func), (gst_task_create),
6672 (gst_task_set_lock), (gst_task_get_state), (gst_task_start),
6673 (gst_task_stop), (gst_task_pause):
6675 * gst/gsttypefind.h:
6677 * gst/registries/gstlibxmlregistry.c: (load_feature),
6678 (gst_xml_registry_load), (gst_xml_registry_save_feature):
6679 * gst/registries/gstxmlregistry.c:
6680 (gst_xml_registry_start_element), (gst_xml_registry_save_feature):
6681 * gst/schedulers/threadscheduler.c:
6682 * libs/gst/control/dparammanager.h:
6683 * tools/gst-inspect.c: (print_element_list),
6684 (print_plugin_features), (print_element_features):
6685 * tools/gst-xmlinspect.c: (print_element_list),
6686 (print_plugin_info), (main):
6687 Removed plugable schedulers.
6688 Removed Scheduler/Manager from elements.
6689 Removed gsttypes.h, rearranged includes.
6690 Removed dependency pad<->element, element<>pipeline, and
6691 various others, fix includes.
6692 implement gst_pad_get_parent() with gst_object_get_parent()
6693 Make GstTask sefcontained.
6694 Fix _get_state() on GstBin, it did not return ASYNC with a 0
6696 Fix endless loop in iterator_fold_with_resync.
6699 2005-07-18 Wim Taymans <wim@fluendo.com>
6705 2005-07-18 Wim Taymans <wim@fluendo.com>
6710 2005-07-18 Wim Taymans <wim@fluendo.com>
6716 2005-07-18 Wim Taymans <wim@fluendo.com>
6718 * docs/design/part-dynamic.txt:
6719 * docs/design/part-events.txt:
6720 * docs/design/part-seeking.txt:
6721 Some more docs in the works.
6723 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
6724 (gst_base_transform_getcaps), (gst_base_transform_configure_caps),
6725 (gst_base_transform_setcaps), (gst_base_transform_get_size),
6726 (gst_base_transform_buffer_alloc), (gst_base_transform_event),
6727 (gst_base_transform_handle_buffer),
6728 (gst_base_transform_sink_activate_push),
6729 (gst_base_transform_src_activate_pull),
6730 (gst_base_transform_set_passthrough),
6731 (gst_base_transform_is_passthrough):
6734 * gst/gstbus.c: (gst_bus_source_dispatch), (gst_bus_poll):
6737 * gst/gstevent.c: (gst_event_finalize):
6740 * gst/gstutils.c: (gst_element_unlink),
6741 (gst_pad_get_parent_element), (gst_pad_proxy_getcaps),
6742 (gst_pad_proxy_setcaps):
6744 Add _get_parent_element() to get a pads parent as an element.
6746 2005-07-18 Wim Taymans <wim@fluendo.com>
6748 * check/gst/gstbin.c: (GST_START_TEST):
6751 2005-07-18 Wim Taymans <wim@fluendo.com>
6753 * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
6754 (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
6755 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
6756 (gst_base_sink_event), (gst_base_sink_do_sync),
6757 (gst_base_sink_chain), (gst_base_sink_loop),
6758 (gst_base_sink_deactivate), (gst_base_sink_activate_push),
6759 (gst_base_sink_activate_pull), (gst_base_sink_change_state):
6761 Fix logic for returning ASYNC when not prerolled.
6763 2005-07-18 Wim Taymans <wim@fluendo.com>
6765 * gst/gstqueue.c: (gst_queue_handle_sink_event):
6766 Fix nasty refcount bug.
6768 2005-07-16 Philippe Khalaf <burger@speedy.org>
6770 * gst/elements/gstfdsrc.c:
6771 * gst/elements/gstfdsrc.h:
6772 * gst/elements/gstelements.c:
6773 * gst/elements/Makefile.am:
6774 Ported fdsrc to 0.9.
6776 2005-07-16 Wim Taymans <wim@fluendo.com>
6778 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
6779 (gst_base_sink_do_sync):
6782 2005-07-16 Wim Taymans <wim@fluendo.com>
6784 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
6785 (gst_base_sink_event), (gst_base_sink_get_times),
6786 (gst_base_sink_do_sync), (gst_base_sink_change_state):
6787 * gst/base/gstbasesink.h:
6788 Store and use discont values when syncing buffers as described
6791 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
6792 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start),
6793 (gst_base_src_activate_push):
6794 Push discont event when starting.
6796 * gst/elements/gstidentity.c: (gst_identity_transform):
6799 * gst/gstbin.c: (gst_bin_change_state):
6800 Small cleanups in base_time distribution.
6802 * gst/gstelement.c: (gst_element_set_base_time),
6803 (gst_element_get_base_time), (gst_element_change_state):
6805 Added methods for the base_time of the element.
6808 * gst/gstpipeline.c: (gst_pipeline_send_event),
6809 (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
6810 (gst_pipeline_get_last_stream_time):
6811 * gst/gstpipeline.h:
6813 Handle seeking as described in design doc, remove stream_time
6815 Cleanups clock and stream_time selection code. Added accessors
6816 for the stream_time.
6819 2005-07-16 Andy Wingo <wingo@pobox.com>
6821 * gst/gsterror.c (_gst_core_errors_init): Use the magic word
6824 2005-07-16 Wim Taymans <wim@fluendo.com>
6826 * check/gst/gstbin.c: (GST_START_TEST):
6827 Make elements silent as the deep_notify refs the
6828 parent, which might make the test fail.
6830 * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
6831 Don't hold the lock for too long.
6833 2005-07-16 Tim-Philipp Müller <tim at centricular dot net>
6835 * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
6836 Don't unref the caps we passed to gst_caps_make_writable() after
6837 passing them. gst_caps_make_writable() will do that for us.
6839 2005-07-15 Andy Wingo <wingo@pobox.com>
6841 * gst/gstcaps.h (gst_caps_is_simple): Removed deprecated macro
6844 * gst/elements/gstidentity.c (marshal_VOID__MINIOBJECT): Write our
6845 own marshalling function for the handoff signal. Properly type the
6846 buffer as a buffer. Fixes some warnings. Should do a more general
6848 (gst_identity_class_init): Plug into the right marshaller.
6850 2005-07-15 Wim Taymans <wim@fluendo.com>
6852 * docs/design/part-TODO.txt:
6853 * docs/design/part-clocks.txt:
6854 * docs/design/part-element-sink.txt:
6855 * docs/design/part-events.txt:
6856 * docs/design/part-gstpipeline.txt:
6857 Updated docs, mostly DISCONT related.
6859 2005-07-15 Tim-Philipp Müller <tim at centricular dot net>
6861 * docs/pwg/building-pads.xml:
6862 s/GST_PAD_LINK_REFUSED/FALSE/ in gst_my_filter_setcaps()
6864 2005-07-15 Andy Wingo <wingo@pobox.com>
6866 * tools/gst-typefind.c: Update, add copyright block.
6868 * gst/base/gstbasesrc.c (gst_base_src_default_negotiate):
6869 Normalize and truncate caps before fixation.
6872 * gst/gstcaps.c (gst_caps_truncate): New function, destructively
6873 discards all but the first structure from its argument.
6875 2005-07-15 Wim Taymans <wim@fluendo.com>
6877 * gst/base/gstbasetransform.c: (gst_base_transform_init),
6878 (gst_base_transform_transform_caps), (gst_base_transform_getcaps),
6879 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
6880 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
6881 (gst_base_transform_handle_buffer), (gst_base_transform_getrange),
6882 (gst_base_transform_chain), (gst_base_transform_change_state),
6883 (gst_base_transform_set_passthrough),
6884 (gst_base_transform_is_passthrough):
6885 * gst/base/gstbasetransform.h:
6886 Make passthrough work using the bufferpools.
6887 Changed API a bit, subclasses have to write into a buffer
6888 provided by the base class.
6889 More debug info in nego functions.
6891 * gst/elements/gstidentity.c: (gst_identity_init),
6892 (gst_identity_transform):
6893 Port to new base class.
6895 2005-07-15 Wim Taymans <wim@fluendo.com>
6897 * gst/gstmessage.c: (gst_message_new_state_changed):
6898 * tools/gst-launch.c: (event_loop), (main):
6899 Totally dump messages in -launch with the -m option.
6900 Fix message name for State messages,
6902 2005-07-14 Wim Taymans <wim@fluendo.com>
6904 * gst/base/gstbasesrc.c: (gst_base_src_loop):
6905 Post error messages on errors.
6907 2005-07-14 Wim Taymans <wim@fluendo.com>
6909 * gst/gstcaps.c: (gst_caps_do_simplify):
6913 Define error for stream stopped.
6915 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
6916 (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange):
6917 Do proper return values.
6919 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
6920 (gst_pad_set_caps), (gst_pad_chain), (gst_pad_push),
6921 (gst_pad_get_range):
6922 Better return values.
6925 Reorganise return values, add macro to check for fatal errors.
6927 * gst/gstqueue.c: (gst_queue_chain):
6928 Return proper GstFlowReturn values,
6930 2005-07-14 Thomas Vander Stichele <thomas at apestaart dot org>
6932 * docs/gst/gstreamer-sections.txt:
6933 * docs/gst/gstreamer.types:
6934 * docs/gst/tmpl/gst.sgml:
6935 * docs/gst/tmpl/gstbasesink.sgml:
6936 * docs/gst/tmpl/gstbasesrc.sgml:
6937 * docs/gst/tmpl/gstbasetransform.sgml:
6938 * docs/gst/tmpl/gstbin.sgml:
6939 * docs/gst/tmpl/gstbuffer.sgml:
6940 * docs/gst/tmpl/gstcaps.sgml:
6941 * docs/gst/tmpl/gstclock.sgml:
6942 * docs/gst/tmpl/gstcompat.sgml:
6943 * docs/gst/tmpl/gstconfig.sgml:
6944 * docs/gst/tmpl/gstelement.sgml:
6945 * docs/gst/tmpl/gstelementdetails.sgml:
6946 * docs/gst/tmpl/gstelementfactory.sgml:
6947 * docs/gst/tmpl/gstenumtypes.sgml:
6948 * docs/gst/tmpl/gsterror.sgml:
6949 * docs/gst/tmpl/gstevent.sgml:
6950 * docs/gst/tmpl/gstfakesink.sgml:
6951 * docs/gst/tmpl/gstfakesrc.sgml:
6952 * docs/gst/tmpl/gstfilesink.sgml:
6953 * docs/gst/tmpl/gstfilesrc.sgml:
6954 * docs/gst/tmpl/gstfilter.sgml:
6955 * docs/gst/tmpl/gstformat.sgml:
6956 * docs/gst/tmpl/gstghostpad.sgml:
6957 * docs/gst/tmpl/gstimplementsinterface.sgml:
6958 * docs/gst/tmpl/gstindex.sgml:
6959 * docs/gst/tmpl/gstindexfactory.sgml:
6960 * docs/gst/tmpl/gstinfo.sgml:
6961 * docs/gst/tmpl/gstiterator.sgml:
6962 * docs/gst/tmpl/gstmacros.sgml:
6963 * docs/gst/tmpl/gstmemchunk.sgml:
6964 * docs/gst/tmpl/gstminiobject.sgml:
6965 * docs/gst/tmpl/gstobject.sgml:
6966 * docs/gst/tmpl/gstpad.sgml:
6967 * docs/gst/tmpl/gstpadtemplate.sgml:
6968 * docs/gst/tmpl/gstparse.sgml:
6969 * docs/gst/tmpl/gstpipeline.sgml:
6970 * docs/gst/tmpl/gstplugin.sgml:
6971 * docs/gst/tmpl/gstpluginfeature.sgml:
6972 * docs/gst/tmpl/gstquery.sgml:
6973 * docs/gst/tmpl/gstqueue.sgml:
6974 * docs/gst/tmpl/gstregistry.sgml:
6975 * docs/gst/tmpl/gstregistrypool.sgml:
6976 * docs/gst/tmpl/gstscheduler.sgml:
6977 * docs/gst/tmpl/gstschedulerfactory.sgml:
6978 * docs/gst/tmpl/gststructure.sgml:
6979 * docs/gst/tmpl/gstsystemclock.sgml:
6980 * docs/gst/tmpl/gsttaglist.sgml:
6981 * docs/gst/tmpl/gsttagsetter.sgml:
6982 * docs/gst/tmpl/gsttrace.sgml:
6983 * docs/gst/tmpl/gsttrashstack.sgml:
6984 * docs/gst/tmpl/gsttypefind.sgml:
6985 * docs/gst/tmpl/gsttypefindfactory.sgml:
6986 * docs/gst/tmpl/gsttypes.sgml:
6987 * docs/gst/tmpl/gsturihandler.sgml:
6988 * docs/gst/tmpl/gsturitype.sgml:
6989 * docs/gst/tmpl/gstutils.sgml:
6990 * docs/gst/tmpl/gstvalue.sgml:
6991 * docs/gst/tmpl/gstversion.sgml:
6992 * docs/gst/tmpl/gstxml.sgml:
6993 * docs/libs/tmpl/gstcontrol.sgml:
6994 * docs/libs/tmpl/gstdataprotocol.sgml:
6995 * docs/libs/tmpl/gstdparam.sgml:
6996 * docs/libs/tmpl/gstdplinint.sgml:
6997 * docs/libs/tmpl/gstdpman.sgml:
6998 * docs/libs/tmpl/gstdpsmooth.sgml:
6999 * docs/libs/tmpl/gstgetbits.sgml:
7000 * docs/libs/tmpl/gstunitconvert.sgml:
7001 * gst/base/gstpushsrc.c: (gst_push_src_get_type),
7002 (gst_push_src_base_init), (gst_push_src_class_init),
7003 (gst_push_src_init), (gst_push_src_create):
7004 * gst/base/gstpushsrc.h:
7005 * gst/elements/gstelements.c:
7006 * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type),
7007 (gst_fake_sink_base_init), (gst_fake_sink_class_init),
7008 (gst_fake_sink_init), (gst_fake_sink_set_property),
7009 (gst_fake_sink_get_property), (gst_fake_sink_get_times),
7010 (gst_fake_sink_event), (gst_fake_sink_preroll),
7011 (gst_fake_sink_render), (gst_fake_sink_change_state):
7012 * gst/elements/gstfakesink.h:
7013 * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
7014 (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
7015 (gst_fake_src_base_init), (gst_fake_src_class_init),
7016 (gst_fake_src_init), (gst_fake_src_event_handler),
7017 (gst_fake_src_alloc_parent), (gst_fake_src_set_property),
7018 (gst_fake_src_get_property), (gst_fake_src_prepare_buffer),
7019 (gst_fake_src_alloc_buffer), (gst_fake_src_get_size),
7020 (gst_fake_src_create_buffer), (gst_fake_src_create),
7021 (gst_fake_src_start), (gst_fake_src_stop):
7022 * gst/elements/gstfakesrc.h:
7023 * gst/elements/gstfilesink.c: (_do_init),
7024 (gst_file_sink_base_init), (gst_file_sink_class_init),
7025 (gst_file_sink_init), (gst_file_sink_dispose),
7026 (gst_file_sink_set_location), (gst_file_sink_set_property),
7027 (gst_file_sink_get_property), (gst_file_sink_open_file),
7028 (gst_file_sink_close_file), (gst_file_sink_query),
7029 (gst_file_sink_event), (gst_file_sink_render),
7030 (gst_file_sink_change_state), (gst_file_sink_uri_get_type),
7031 (gst_file_sink_uri_get_protocols), (gst_file_sink_uri_get_uri),
7032 (gst_file_sink_uri_set_uri), (gst_file_sink_uri_handler_init):
7033 * gst/elements/gstfilesink.h:
7034 * gst/elements/gstfilesrc.c: (_do_init), (gst_file_src_base_init),
7035 (gst_file_src_class_init), (gst_file_src_init),
7036 (gst_file_src_finalize), (gst_file_src_set_location),
7037 (gst_file_src_set_property), (gst_file_src_get_property),
7038 (gst_file_src_map_region), (gst_file_src_map_small_region),
7039 (gst_file_src_create_mmap), (gst_file_src_create_read),
7040 (gst_file_src_create), (gst_file_src_is_seekable),
7041 (gst_file_src_get_size), (gst_file_src_start), (gst_file_src_stop),
7042 (gst_file_src_uri_get_type), (gst_file_src_uri_get_protocols),
7043 (gst_file_src_uri_get_uri), (gst_file_src_uri_set_uri),
7044 (gst_file_src_uri_handler_init):
7045 * gst/elements/gstfilesrc.h:
7046 more autistic cleanliness in functions/names/defines
7048 2005-07-13 Andy Wingo <wingo@pobox.com>
7050 * gst/base/gstbasesrc.c (gst_base_src_start): Post an error if the
7051 source couldn't negotiate.
7053 * gst/parse/grammar.y: Revert 1.54->1.55, so we now do filtered
7057 * gst/gstutils.c (gst_element_link_pads_filtered): New old
7058 function. I am channeling Hades. Put your boots on suckers!!!
7060 2005-07-13 Thomas Vander Stichele <thomas at apestaart dot org>
7062 * testsuite/caps/Makefile.am:
7063 * testsuite/caps/value_compare.c:
7064 * testsuite/caps/value_intersect.c:
7065 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
7066 move two testsuite apps over to the check dir
7068 2005-07-12 Wim Taymans <wim@fluendo.com>
7070 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
7071 Added more debug info in the negotiate process.
7074 Prepare for segment playback.
7076 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps):
7082 * tools/gst-launch.c: (main):
7083 NULL pipeline on errors.
7085 2005-07-12 Andy Wingo <wingo@pobox.com>
7087 * gst/gstbuffer.c (_gst_buffer_copy): Copy the buffer whether or
7088 not it comes from a malloc region. Make sure our copy gets freed.
7090 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
7092 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
7093 * check/gst/gstmessage.c: (GST_START_TEST):
7094 * check/gst/gststructure.c: (GST_START_TEST),
7095 (gst_structure_suite), (main):
7097 * gst/gstelement.c: (gst_element_message_full):
7098 clean up GError and debug string now that they get copied
7099 * gst/gstmessage.c: (gst_message_new_error),
7100 (gst_message_new_warning), (gst_message_parse_error),
7101 (gst_message_parse_warning):
7102 use GST_TYPE_G_ERROR for structure_new, and take copies of
7103 arguments, so that we don't mess up refcounting
7105 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
7107 * check/Makefile.am:
7108 add per-test valgrind targets
7109 * check/gst-libs/gdp.c: (GST_START_TEST),
7110 (gst_data_protocol_suite), (main):
7113 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
7115 * check/Makefile.am:
7116 instate more valgrindable tests
7117 * check/elements/gstfakesrc.c: (chain_func), (event_func),
7118 (GST_START_TEST), (fakesrc_suite):
7119 * check/gst/gstpad.c: (GST_START_TEST):
7120 * check/gst/gststructure.c: (GST_START_TEST):
7122 * docs/gst/tmpl/gstminiobject.sgml:
7123 * gst/gstpad.c: (gst_pad_finalize):
7124 fix the static mutex leak
7126 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
7128 * check/Makefile.am:
7129 add two more tests for valgrinding
7130 * check/gst/gstvalue.c: (GST_START_TEST):
7131 test refcount of deserialized buffer, found a leak
7132 * docs/gst/gstreamer-docs.sgml:
7133 * docs/gst/gstreamer-sections.txt:
7134 * docs/gst/gstreamer.types:
7135 * docs/gst/tmpl/gstminiobject.sgml:
7136 add miniobject to docs
7137 * gst/gstminiobject.c:
7139 * gst/gstvalue.c: (gst_value_deserialize_buffer),
7140 (gst_string_unwrap):
7141 fix a hard-to-find invalid write for one of the tests
7142 fix a leak for deserialized buffers
7144 2005-07-11 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7146 * docs/pwg/advanced-events.xml:
7147 * docs/pwg/advanced-request.xml:
7148 * docs/pwg/advanced-scheduling.xml:
7149 * docs/pwg/appendix-porting.xml:
7150 * docs/pwg/building-boiler.xml:
7151 * docs/pwg/intro-preface.xml:
7152 * docs/pwg/other-ntoone.xml:
7153 Rewrite scheduling-chapter for scheduling model in 0.9. Add lots
7154 of example code and explanation for pad activation, loop() and
7155 getrange() functions and a bit more. Remove old comments pointing
7157 * examples/pwg/Makefile.am:
7158 Add loop/getrange examples.
7160 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
7163 check for valgrind binary + some fixes
7165 valgrind suppressions for the tests
7166 * check/Makefile.am:
7167 add a valgrind: target that valgrinds the unit tests
7168 * check/gst/gst.c: (GST_START_TEST), (gst_suite):
7169 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
7170 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
7171 * check/gst/gstghostpad.c:
7173 * check/gst/gstdata.c:
7175 * check/gst/gstminiobject.c: (GST_START_TEST), (thread_ref),
7176 (thread_unref), (gst_mini_object_suite), (main):
7178 * gst/gst.c: (gst_deinit):
7180 add a method to clean up.
7181 * gst/gstsystemclock.c: (gst_system_clock_dispose),
7182 (gst_system_clock_obtain):
7183 allow for disposing the system clock.
7184 * tools/gst-launch.c: (main):
7187 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
7189 * docs/gst/tmpl/gstbasesrc.sgml:
7190 * docs/gst/tmpl/gstfakesrc.sgml:
7191 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
7192 (gst_base_src_init), (gst_base_src_set_property),
7193 (gst_base_src_get_property), (gst_base_src_get_range),
7194 (gst_base_src_start):
7195 * gst/base/gstbasesrc.h:
7196 add num-buffers property
7197 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
7198 (gst_fakesrc_init), (gst_fakesrc_set_property),
7199 (gst_fakesrc_get_property), (gst_fakesrc_create),
7200 (gst_fakesrc_start):
7201 remove num-buffers property
7203 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
7205 * docs/gst/gstreamer-sections.txt:
7206 * docs/gst/tmpl/gstbasesink.sgml:
7207 * docs/gst/tmpl/gstbasesrc.sgml:
7208 * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
7209 (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
7210 (gst_base_sink_finalize), (gst_base_sink_set_clock),
7211 (gst_base_sink_set_property), (gst_base_sink_get_property),
7212 (gst_base_sink_handle_object), (gst_base_sink_event),
7213 (gst_base_sink_do_sync), (gst_base_sink_handle_event),
7214 (gst_base_sink_handle_buffer), (gst_base_sink_chain),
7215 (gst_base_sink_loop), (gst_base_sink_deactivate),
7216 (gst_base_sink_activate_push), (gst_base_sink_activate_pull),
7217 (gst_base_sink_change_state):
7218 * gst/base/gstbasesink.h:
7219 * gst/base/gstbasesrc.h:
7220 * gst/elements/gstfakesink.c: (gst_fakesink_get_times):
7221 * gst/elements/gstfilesink.c: (gst_filesink_class_init),
7222 (gst_filesink_init):
7223 more macro splitting
7225 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
7227 * gst/gstelement.c: (gst_element_get_bus):
7229 * tools/gst-launch.c: (check_intr), (event_loop):
7232 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
7234 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
7237 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
7239 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
7240 (gst_base_src_finalize):
7241 add finalize method and clean up properly
7242 * gst/gstpipeline.c: (gst_pipeline_dispose):
7245 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
7247 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST),
7249 add more things to check
7250 * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
7254 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
7256 * check/elements/gstfakesrc.c: (chain_func), (event_func),
7257 (GST_START_TEST), (fakesrc_suite):
7258 * check/gst-libs/gdp.c: (GST_START_TEST):
7259 * check/gst/gst.c: (GST_START_TEST):
7260 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
7261 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
7262 * check/gst/gstbus.c: (GST_START_TEST):
7263 * check/gst/gstcaps.c: (GST_START_TEST):
7264 * check/gst/gstdata.c: (GST_START_TEST):
7265 * check/gst/gstelement.c: (GST_START_TEST):
7266 * check/gst/gstghostpad.c: (GST_START_TEST):
7267 * check/gst/gstiterator.c: (GST_START_TEST):
7268 * check/gst/gstmessage.c: (GST_START_TEST):
7269 * check/gst/gstobject.c: (GST_START_TEST):
7270 * check/gst/gstpad.c: (GST_START_TEST):
7271 * check/gst/gststructure.c: (GST_START_TEST):
7272 * check/gst/gstsystemclock.c: (GST_START_TEST),
7273 (gst_systemclock_suite):
7274 * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
7275 * check/gst/gstvalue.c: (GST_START_TEST):
7276 * check/pipelines/cleanup.c: (GST_START_TEST):
7277 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
7278 * check/states/sinks.c: (GST_START_TEST):
7279 * check/gstcheck.c: (gst_check_init):
7281 add debugging category
7282 use GST_START_TEST now, so we add a debug line
7284 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
7286 * check/gst/gstbin.c: (START_TEST), (gst_bin_suite):
7287 add test for state change message on a bin
7288 * check/gst/gstelement.c: (START_TEST), (gst_element_suite):
7290 * gst/gstbin.c: (gst_bin_init):
7291 * gst/gstbus.c: (gst_bus_init), (gst_bus_post):
7292 * gst/gstelement.c: (gst_element_post_message),
7293 (gst_element_set_state):
7294 * gst/gstelementfactory.c: (gst_element_factory_create):
7295 * gst/gstmessage.c: (gst_message_new):
7296 * gst/gstscheduler.c:
7297 various debugging additions and cleanups
7299 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
7301 * check/Makefile.am:
7302 * check/gst/gstelement.c: (START_TEST), (gst_element_suite),
7304 adding tests for elements
7305 * gst/gstelement.c: (gst_element_dispose):
7307 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
7309 * gst/registries/gstlibxmlregistry.c: (load_feature):
7310 plug more leaks. A simple gst_init() now is leakfree, yay.
7312 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
7314 * gst/registries/gstlibxmlregistry.c: (read_string), (load_paths),
7315 (gst_xml_registry_load):
7316 plug another memleak
7318 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
7321 use GST_SET_ERROR_CFLAGS
7323 change to ERROR_CFLAGS
7325 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
7328 make GST_ERROR_CFLAGS overridable and re-enable Werror
7330 add a note about error CFLAGS
7331 * docs/gst/tmpl/gstfakesrc.sgml:
7332 * gst/elements/gstfakesrc.c:
7333 comment out some unused code
7334 * gst/gst.c: (split_and_iterate):
7335 * gst/registries/gstlibxmlregistry.c: (load_pad_template),
7339 2005-07-07 Thomas Vander Stichele <thomas at apestaart dot org>
7341 * common/Makefile.am:
7342 * common/gtk-doc.mak:
7343 * docs/gst/Makefile.am:
7344 factor out gtk-doc.mak
7346 2005-07-07 Wim Taymans <wim@fluendo.com>
7348 * gst/schedulers/threadscheduler.c: (gst_thread_scheduler_func),
7349 (gst_thread_scheduler_dispose):
7350 Unlock the STREAM_LOCK completely.
7352 2005-07-07 Thomas Vander Stichele <thomas at apestaart dot org>
7354 * check/Makefile.am:
7355 * check/elements/.cvsignore:
7356 * check/elements/gstfakesrc.c: (chain_func), (event_func),
7357 (START_TEST), (fakesrc_suite), (main):
7358 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
7359 (gst_fakesrc_set_property), (gst_fakesrc_get_property),
7360 (gst_fakesrc_create), (gst_fakesrc_start):
7361 * gst/elements/gstfakesrc.h:
7362 adding a first element test
7364 2005-07-07 Andy Wingo <wingo@pobox.com>
7366 * gst/gstbus.c (gst_bus_have_pending): Remove intensely irritating
7369 2005-07-07 Wim Taymans <wim@fluendo.com>
7375 2005-07-07 Wim Taymans <wim@fluendo.com>
7377 * gst/base/gstbasesrc.c: (gst_base_src_get_range),
7378 (gst_base_src_default_negotiate), (gst_base_src_negotiate):
7379 Allow subclasses to implement their own negotiation.
7381 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
7383 * docs/design/part-gstbin.txt:
7384 * docs/design/part-gstpipeline.txt:
7385 Update design notes to reflect the movement of
7386 responsibility for bus handling from GstPipeline to
7389 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
7392 Remove unnecessary queue2/3/4 examples.
7394 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
7396 * examples/Makefile.am:
7397 * examples/helloworld/helloworld.c: (event_loop), (main):
7398 * examples/queue/queue.c: (event_loop), (main):
7399 * examples/queue2/queue2.c: (main):
7400 Update a couple of the examples to work again.
7402 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
7403 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_event):
7404 Spelling corrections and extra debug.
7406 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init), (is_eos),
7407 (gst_bin_add_func), (bin_element_is_sink), (gst_bin_get_state),
7408 (gst_bin_change_state), (gst_bin_dispose), (bin_bus_handler):
7410 * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
7411 (gst_pipeline_change_state):
7412 * gst/gstpipeline.h:
7413 Move the bus handler for children to the GstBin, and create a
7414 separate bus for receiving messages from children to the one the
7415 bus sends 'upwards' on.
7417 2005-07-06 Wim Taymans <wim@fluendo.com>
7420 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
7421 (gst_base_sink_handle_object), (gst_base_sink_loop),
7422 (gst_base_sink_change_state):
7423 * gst/base/gstbasesink.h:
7424 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
7425 (gst_base_src_init), (gst_base_src_setcaps),
7426 (gst_base_src_getcaps), (gst_base_src_loop),
7427 (gst_base_src_default_negotiate), (gst_base_src_negotiate),
7428 (gst_base_src_start), (gst_base_src_change_state):
7429 * gst/base/gstbasesrc.h:
7430 Make basesrc negotiate.
7431 Handle the case where preroll fails in basesink.
7434 2005-07-06 Wim Taymans <wim@fluendo.com>
7436 * gst/gstpad.c: (gst_pad_fixate_caps), (gst_pad_accept_caps):
7437 Implement the fixate function.
7438 Clean up acceptcaps.
7440 2005-07-06 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7442 * docs/pwg/building-filterfactory.xml:
7444 Remove never-written filter-factory chapter; I'll add the various
7445 base classes to part 4 ("other element types") later on.
7447 2005-07-06 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7449 * docs/pwg/advanced-negotiation.xml:
7450 * docs/pwg/building-boiler.xml:
7451 * docs/pwg/building-pads.xml:
7453 * examples/pwg/Makefile.am:
7454 Add a chapter on caps negotiation, simplify the original code
7455 samples a bit w.r.t. caps negotiation, add link to the advanced
7456 section. Add a bunch of examples showing different use cases of
7457 different types of caps negotiation. Upstream renegotiation isn't
7458 fully documented yet since nobody knows how that works.
7460 2005-07-06 Thomas Vander Stichele <thomas at apestaart dot org>
7462 * check/gst/gstpad.c:
7464 * gst/gstpad.c: (gst_pad_get_internal_links_default):
7465 if pad has no parent, return NULL as list of internal links
7467 2005-07-05 Andy Wingo <wingo@pobox.com>
7469 * gst/elements/gstfilesrc.c:
7470 * gst/elements/gstfakesrc.c:
7471 * gst/base/gstpushsrc.c:
7472 * gst/base/gstbasesrc.h:
7473 * gst/base/gstbasesrc.c: s/BASESRC/BASE_SRC/g.
7475 2005-07-05 Stefan Kost <ensonic@users.sf.net>
7478 better report generation target (lcov needs a patch)
7480 2005-07-05 Andy Wingo <wingo@pobox.com>
7482 * gst/elements, testsuite: Null if we got it...
7484 2005-07-05 Wim Taymans <wim@fluendo.com>
7487 * libs/gst/dataprotocol/Makefile.am:
7488 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_validate_packet):
7489 * libs/gst/dataprotocol/dataprotocol.h:
7490 * pkgconfig/Makefile.am:
7491 * pkgconfig/gstreamer-dataprotocol-uninstalled.pc.in:
7492 * pkgconfig/gstreamer-dataprotocol.pc.in:
7493 Ported dataprotol to 0.9.
7494 Added pkgconfig files.
7496 2005-07-05 Andy Wingo <wingo@pobox.com>
7498 * gst/base/gstbasetransform.c (gst_base_transform_setcaps):
7499 Default to returning TRUE for the case when tranform_caps returns
7500 a fixed caps, like for identity or volume.
7502 * check/gst/gstbus.c (pound_bus_with_messages):
7503 * check/gst/gstmessage.c (START_TEST):
7504 * check/pipelines/simple_launch_lines.c (got_handoff): Application
7507 * gst/base/gstbasetransform.c (gst_base_transform_setcaps): More
7508 logic weaks here: always run transform_caps, trying passthrough
7509 operation only if the original caps intersects with the transform.
7511 * gst/gstpad.c (gst_pad_link_check_compatible_unlocked): Debug
7512 source and sink caps.
7514 * gst/base/gstbasetransform.c (gst_base_transform_getcaps):
7515 Intersect the peer caps with the pad template before going into
7517 (gst_base_transform_transform_caps): More debugging.
7519 * gst/gstmessage.h (gst_message_new_application): Take a GstObject
7522 2005-07-04 Edward Hervey <edward@fluendo.com>
7526 (gst_pad_add_*_probe): now returns the signal id for better wrapping
7529 2005-07-04 Andy Wingo <wingo@pobox.com>
7531 * check/gst/gstpad.c: Only set explicit caps on pads.
7533 2005-07-01 Andy Wingo <wingo@pobox.com>
7535 * tests/network-clock.scm: Commentary update.
7537 * gst/elements/gstidentity.c (PROP_DUPLICATE): Gone daddy gone.
7538 Didn't really make sense, not implementable with basetransform,
7540 (gst_identity_transform): Unref inbuf via make_writable. Feeble
7541 attempt at implementing the sync property, needs an unlock method.
7543 * gst/base/gstbasetransform.c (gst_base_transform_transform_caps):
7544 New func, by default returns the same caps (the identity
7546 (gst_base_transform_getcaps): Uses transform_caps to return
7548 (gst_base_transform_setcaps): Complicated logic to get caps on
7549 both pads, even if they are different, and to call set_caps once
7550 for every time both pads get their caps set.
7551 (gst_base_transform_handle_buffer): Give the ref to the transform
7552 function. Allows in-place modification of the buffer.
7554 * gst/base/gstbasetransform.h (transform_caps): New class method.
7555 Given caps on one side, what can I do on the other.
7556 (set_caps): Take two caps, one for each side of the element.
7559 * gst/gstpad.c (gst_pad_fixate_caps): Change prototype to modify
7560 caps in place. This is safe because we can check the mutability of
7561 the caps, and a good idea because fixate functions are just called
7562 as a matter of last resort. (Not actually implemented.)
7563 (gst_pad_set_caps): If the caps we're setting is actually the same
7564 as the existing pad caps, just update the pointer without calling
7565 setcaps. Assert that caps is either NULL or fixed, as per the
7568 * gst/gstghostpad.c: Update for fixate changes.
7570 2005-07-02 Andy Wingo <wingo@pobox.com>
7573 * gst/gstcaps.h (gst_static_caps_get): Not const return, having
7574 two refcounts makes it immutable, which is enough. Doc more.
7576 2005-07-02 Jan Schmidt <thaytan@mad.scientist.com>
7578 * gst/gstpad.c: (gst_pad_emit_have_data_signal):
7579 Put the mini_object into GValue as a mini_object,
7580 not a gpointer, since that's how we declared
7583 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7585 * examples/pwg/Makefile.am:
7588 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7590 * docs/pwg/building-testapp.xml:
7592 * examples/pwg/Makefile.am:
7595 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7598 * examples/Makefile.am:
7599 * examples/pwg/Makefile.am:
7600 * examples/pwg/extract.pl:
7601 Enable building the PWG examples.
7602 * docs/pwg/advanced-interfaces.xml:
7603 Add URI interface stub.
7604 * docs/pwg/advanced-types.xml:
7605 * docs/pwg/other-autoplugger.xml:
7606 * docs/pwg/appendix-porting.xml:
7608 Add porting guide (mostly stubs), remove autoplugging (see ADM).
7609 * docs/pwg/building-boiler.xml:
7610 * docs/pwg/building-chainfn.xml:
7611 * docs/pwg/building-pads.xml:
7612 * docs/pwg/building-props.xml:
7613 * docs/pwg/building-state.xml:
7614 * docs/pwg/building-testapp.xml:
7615 Update the building-*.xml parts for 0.9 changes. All examples
7616 code blocks compile in examples/pwg/*.
7618 2005-06-30 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7620 * docs/manual/advanced-autoplugging.xml:
7621 * docs/manual/appendix-checklist.xml:
7622 * docs/manual/appendix-integration.xml:
7623 * docs/manual/highlevel-components.xml:
7624 Fix playbin/decodebin examples, update docs a bit, mention bus
7625 instead of signals in various places, mention kmplayer and
7626 kaffeine since they have a working GStreamer backend in the KDE
7629 2005-06-30 Wim Taymans <wim@fluendo.com>
7632 * docs/design/draft-ghostpads.txt:
7633 * docs/design/draft-push-pull.txt:
7634 * docs/design/draft-query.txt:
7635 * docs/design/part-TODO.txt:
7636 * docs/design/part-query.txt:
7637 Added CHANGES-0.9 doc, updated status of other docs.
7642 2005-06-30 Wim Taymans <wim@fluendo.com>
7644 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
7645 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
7646 (gst_base_sink_change_state):
7647 * gst/base/gstbasesink.h:
7648 Some tweaks, only EOS and a buffer complete a preroll.
7650 2005-06-30 Andy Wingo <wingo@pobox.com>
7652 * gst/gstghostpad.c (gst_ghost_pad_do_activate_push): Proxy
7653 activate_push down to the internal pad as well.
7655 2005-06-30 Torsten Schoenfeld <kaffeetisch@gmx.de>
7657 Reviewed by: Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7659 * gst/gsttaginterface.c:
7660 Some documentation fixes (#307394 and #307397).
7662 2005-06-30 Antoine Tremblay <hexa00@gmail.com>
7664 Reviewed by: Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7666 * gst/gstvalue.c: (gst_value_intersect_list):
7667 Fix memleak (#309125).
7669 2005-06-30 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7671 * docs/manual/advanced-dataaccess.xml:
7672 Fix fakesrc example to compile; doesn't work, bug somewhere...?
7673 * docs/manual/basics-pads.xml:
7674 Add reference for filtered caps to above chapter.
7676 2005-06-30 Wim Taymans <wim@fluendo.com>
7678 * gst/gstbin.c: (clear_queue), (remove_all_from_queue),
7679 (gst_bin_change_state):
7681 Lame attempt at making the state change function a bit
7684 2005-06-30 Wim Taymans <wim@fluendo.com>
7686 * docs/design/part-clocks.txt:
7687 * docs/design/part-element-sink.txt:
7688 * docs/design/part-events.txt:
7689 * docs/design/part-preroll.txt:
7690 * docs/design/part-states.txt:
7691 Some more tweeks and additions to the docs.
7693 2005-06-30 Wim Taymans <wim@fluendo.com>
7695 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
7696 (default_have_data), (gst_pad_class_init), (gst_pad_init),
7697 (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
7698 (gst_pad_check_pull_range), (gst_pad_get_range),
7699 (gst_pad_pull_range), (gst_pad_push_event), (gst_pad_send_event):
7701 * gst/gstutils.c: (gst_atomic_int_set), (gst_pad_add_data_probe),
7702 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
7703 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
7704 (gst_pad_remove_buffer_probe):
7705 Removed atomic operations, use existing LOCK.
7706 Move exception handling out of main code path.
7708 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7710 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
7711 (silly_return_true_function), (gst_pad_class_init),
7712 (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
7713 (gst_pad_get_range), (gst_pad_pull_range), (gst_pad_push_event),
7714 (gst_pad_send_event):
7715 Fix accumulator, add default value by using _emitv() instead
7716 of _emit() for signal emission.
7718 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7720 * docs/manual/advanced-dataaccess.xml:
7721 * examples/manual/Makefile.am:
7723 * gst/gstpad.c: (_gst_do_pass_data_accumulator):
7726 2005-06-29 Tim-Philipp Müller <tim at centricular dot net>
7728 * gst/elements/gstfilesink.c: (gst_filesink_render):
7729 Simplify code so that we don't have to handle short
7730 writes and return GST_FLOW_ERROR if an error occured.
7732 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7734 * docs/gst/gstreamer-docs.sgml:
7737 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7739 * docs/gst/gstreamer-sections.txt:
7740 * docs/gst/tmpl/gstpad.sgml:
7741 * docs/gst/tmpl/gstprobe.sgml:
7743 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
7744 (gst_pad_class_init), (gst_pad_init), (gst_pad_chain),
7745 (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
7746 (gst_pad_push_event), (gst_pad_send_event):
7748 * gst/gstutils.c: (gst_pad_add_data_probe),
7749 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
7750 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
7751 (gst_pad_remove_buffer_probe):
7753 Remove old probes, add new g-signal-based probes and some utility
7756 2005-06-29 Edward Hervey <edward@fluendo.com>
7758 * gst/gstelementfactory.c:
7761 Moved gst_element_factory_can_[sink|src]_caps() to gstutils and added
7762 the definition to the header file.
7764 2005-06-29 Andy Wingo <wingo@pobox.com>
7766 * docs/gst/Makefile.am (scan-build.stamp): Totally only check
7767 plugins from the source directory.
7769 2005-06-29 Wim Taymans <wim@fluendo.com>
7771 * docs/gst/tmpl/gstbuffer.sgml:
7772 * docs/gst/tmpl/gstclock.sgml:
7773 Some fixings for blantently wrong text.
7775 2005-06-29 Thomas Vander Stichele <thomas at apestaart dot org>
7777 * check/Makefile.am:
7778 * gst/gst.c: (add_path_func), (init_pre):
7779 * gst/gstregistry.c: (gst_registry_add_path):
7780 add A GST_PLUGIN_PATH_ONLY env var; if it is set, it will
7781 only scan the GST_PLUGIN_PATH locations, and not add
7784 2005-06-29 Thomas Vander Stichele <thomas at apestaart dot org>
7786 * docs/gst/gstreamer-sections.txt:
7787 * docs/gst/tmpl/gstbasesrc.sgml:
7794 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7796 * docs/manual/advanced-autoplugging.xml:
7797 Fix autoplugging example.
7799 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7801 * docs/manual/advanced-autoplugging.xml:
7802 * docs/manual/mime-world.fig:
7803 Try to get autoplugging working, fix type detection. Fix text
7804 in hello-world image.
7806 2005-06-29 Wim Taymans <wim@fluendo.com>
7808 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
7809 (gst_base_sink_change_state):
7813 map SIGNAL and BROADCAST to the right function.
7816 Remove redundant braces.
7818 * gst/gstpad.c: (gst_pad_set_caps):
7819 Don't call setcaps function when reseting caps to NULL.
7821 * gst/gstsystemclock.c: (gst_system_clock_dispose),
7822 (gst_system_clock_async_thread), (gst_system_clock_id_wait_async),
7823 (gst_system_clock_id_unschedule):
7824 Use BROADCAST as this is what we do.
7826 2005-06-29 Wim Taymans <wim@fluendo.com>
7828 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
7829 We are actually prerolling before commiting the state
7832 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7834 * docs/manual/advanced-clocks.xml:
7835 * docs/manual/advanced-interfaces.xml:
7836 * docs/manual/advanced-metadata.xml:
7837 * docs/manual/advanced-position.xml:
7838 * docs/manual/advanced-schedulers.xml:
7839 * docs/manual/advanced-threads.xml:
7840 * docs/manual/appendix-porting.xml:
7841 * docs/manual/basics-bins.xml:
7842 * docs/manual/basics-bus.xml:
7843 * docs/manual/basics-elements.xml:
7844 * docs/manual/basics-helloworld.xml:
7845 * docs/manual/basics-pads.xml:
7846 * docs/manual/highlevel-components.xml:
7847 * docs/manual/manual.xml:
7848 * docs/manual/thread.fig:
7849 Update (until threads/scheduling) Application Development Manual;
7850 remove GstThread, add GstBus, add simple porting checklist, add
7851 documentation for tag writing, clocks, make all examples until this
7852 part compile and run.
7853 * examples/manual/Makefile.am:
7854 Update from changes to Application Development Manual; add bus
7855 example, remove thread example.
7857 2005-06-28 Wim Taymans <wim@fluendo.com>
7859 * gst/gstbus.c: (gst_bus_post), (gst_bus_have_pending),
7860 (gst_bus_set_flushing), (gst_bus_pop), (gst_bus_peek),
7861 (gst_bus_source_dispatch):
7862 Add debugging messages.
7863 Make internal methods static.
7864 Handle the case where the bus is flushed in the handler.
7866 * gst/gstelement.c: (gst_element_get_bus):
7867 Fix refcount in _get_bus();
7869 * gst/gstpipeline.c: (gst_pipeline_change_state),
7870 (gst_pipeline_get_clock_func):
7871 Clock refcounting fixes.
7872 Handle the case where preroll timed out more gracefully.
7874 * gst/gstsystemclock.c: (gst_system_clock_dispose):
7875 Clean up the internal thread in dispose. This is needed
7876 for subclasses that actually get disposed.
7878 * gst/schedulers/threadscheduler.c:
7879 (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
7880 (gst_thread_scheduler_dispose):
7881 Free thread pool in dispose.
7883 2005-06-28 Andy Wingo <wingo@pobox.com>
7885 * tests/network-clock-utils.scm (debug, print-event): New utils.
7887 * tests/network-clock.scm (*debug*, *with-graph*): New parameters.
7888 (*packet-loss*): Unified loss probability.
7889 (network-time): Report out-of-band events.
7891 * tests/plot-data: Add support for out-of-band events. Hack it
7892 into this script instead of passing it down the pipe; should fix
7895 2005-06-28 Wim Taymans <wim@fluendo.com>
7897 * docs/gst/gstreamer.types:
7898 * docs/gst/tmpl/gstbasesrc.sgml:
7899 * docs/gst/tmpl/gstpad.sgml:
7902 2005-06-28 Wim Taymans <wim@fluendo.com>
7904 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
7905 (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_acceptcaps),
7906 (gst_proxy_pad_do_fixatecaps):
7907 Correctly proxy the check_pull_range function.
7909 2005-06-28 Andy Wingo <wingo@pobox.com>
7911 * tests/network-clock.scm: Removed need for slib.
7913 2005-06-28 Wim Taymans <wim@fluendo.com>
7915 * gst/base/gstbasesink.c: (gst_basesink_set_pad_functions),
7916 (gst_basesink_preroll_queue_flush):
7917 * gst/base/gstbasesrc.c: (gst_basesrc_set_dataflow_funcs):
7918 * gst/elements/gsttee.c: (gst_tee_update_pad_functions):
7919 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
7920 (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
7921 (gst_proxy_pad_set_property):
7924 * gst/gstqueue.c: (gst_queue_init):
7925 The deprecated pad loop function is removed now.
7927 2005-06-28 Andy Wingo <wingo@pobox.com>
7929 * tests/network-clock.scm (*timeout*, *send-loss*, *recv-loss*):
7930 New parameters, simulate network packet loss.
7932 * tests/network-clock-utils.scm: Initialize the RNG.
7934 2005-06-28 Wim Taymans <wim@fluendo.com>
7936 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_flush),
7937 (gst_basesink_event), (gst_basesink_deactivate):
7938 Flushing the preroll queue always needs to unlock the waiters.
7940 2005-06-28 Edward Hervey <edward@fluendo.com>
7942 * gst/gstpipeline.c: (gst_pipeline_send_event):
7943 Wheen a seek was successful on a pipeline, set the stream_time to the
7944 seek offset in order to have a synchronized stream_time.
7946 2005-06-28 Wim Taymans <wim@fluendo.com>
7948 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
7949 (gst_proxy_pad_do_getrange), (gst_proxy_pad_do_checkgetrange),
7950 (gst_proxy_pad_do_getcaps), (gst_proxy_pad_do_acceptcaps),
7951 (gst_proxy_pad_do_fixatecaps):
7952 Call wrapper function instead of just calling the function
7953 pointers. This takes care of any locking and whatmore.
7955 2005-06-28 Wim Taymans <wim@fluendo.com>
7957 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push),
7958 (gst_pad_pull_range):
7960 CONNECTED -> LINKED.
7962 2005-06-28 Andy Wingo <wingo@pobox.com>
7964 * *.c: Don't cast to GST_OBJECT when reffing or unreffing. Large
7965 source-munging commit!!!
7967 * gst/gstobject.c (gst_object_unref, gst_object_ref)
7968 (gst_object_sink): Take gpointer arguments, not GstObject --
7969 avoids casts. Like GLib.
7971 * gst/gstghostpad.c (gst_proxy_pad_do_activate): Don't proxy
7974 2005-06-27 Andy Wingo <wingo@pobox.com>
7976 * gst/base/gsttypefindhelper.c (gst_type_find_helper): Unref any
7979 * gst/gsttrace.c (gst_alloc_trace_list_sorted): New helper,
7980 returns a sorted copy of the trace list.
7981 (gst_alloc_trace_print_live): New API, only prints traces with
7982 live objects. Sort the list.
7983 (gst_alloc_trace_print_all): Sort the list.
7984 (gst_alloc_trace_print): Align columns.
7986 * gst/elements/gstttypefindelement.c:
7987 * gst/elements/gsttee.c:
7988 * gst/base/gstbasesrc.c:
7989 * gst/base/gstbasesink.c:
7990 * gst/base/gstbasetransform.c:
7991 * gst/gstqueue.c: Adapt for pad activation changes.
7993 * gst/gstpipeline.c (gst_pipeline_init): Unref after parenting
7995 (gst_pipeline_dispose): Drop ref on sched.
7997 * gst/gstpad.c (gst_pad_init): Set the default activate func.
7998 (gst_pad_activate_default): Push mode by default.
7999 (pre_activate_switch, post_activate_switch): New stubs, things to
8000 do before and after switching activation modes on pads.
8001 (gst_pad_set_active): Take a boolean and not a mode, dispatch to
8002 the pad's activate function to choose which mode to activate.
8003 Shortcut on deactivation and call the right function directly.
8004 (gst_pad_activate_pull): New API, (de)activates a pad in pull
8006 (gst_pad_activate_push): New API, same for push mode.
8007 (gst_pad_set_activate_function)
8008 (gst_pad_set_activatepull_function)
8009 (gst_pad_set_activatepush_function): Setters for new API.
8011 * gst/gstminiobject.c (gst_mini_object_new, gst_mini_object_free):
8012 Trace all miniobjects.
8013 (gst_mini_object_make_writable): Unref the arg if we copy, like
8014 gst_caps_make_writable.
8016 * gst/gstmessage.c (_gst_message_initialize): No trace init.
8018 * gst/gstghostpad.c (gst_proxy_pad_do_activate)
8019 (gst_proxy_pad_do_activatepull, gst_proxy_pad_do_activatepush):
8020 Adapt for new pad API.
8022 * gst/gstevent.c (_gst_event_initialize): Don't initialize trace.
8025 * gst/gstelement.c (gst_element_iterate_src_pads)
8026 (gst_element_iterate_sink_pads): New API functions.
8028 * gst/gstelement.c (iterator_fold_with_resync): New utility,
8029 should fold into gstiterator.c in some form.
8030 (gst_element_pads_activate): Simplified via use of fold and
8031 delegation of decisions to gstpad->activate.
8033 * gst/gstbus.c (gst_bus_source_finalize): Set the bus to NULL,
8036 * gst/gstbuffer.c (_gst_buffer_initialize): Ref the buffer type
8037 class once in init, like gstmessage. Didn't run into this issue
8038 but it seems correct. Don't initialize a trace, gstminiobject does
8041 * check/pipelines/simple_launch_lines.c (test_stop_from_app): New
8042 test, runs fakesrc ! fakesink, stopping on ::handoff via a message
8044 (assert_live_count): New util function, uses alloc traces to check
8047 * check/gst/gstghostpad.c (test_ghost_pads): More refcount checks.
8048 To be modified when unlink drops the internal pad.
8050 2005-06-27 Wim Taymans <wim@fluendo.com>
8052 * gst/gstbin.c: (gst_bin_get_state), (gst_bin_iterate_state_order),
8053 (gst_bin_change_state):
8054 Cleanup the get_state() function a little, make sure it
8055 iterates the same set of elements.
8056 Added stub iterate_state_order().
8058 2005-06-27 Thomas Vander Stichele <thomas at apestaart dot org>
8060 * docs/gst/gstreamer-docs.sgml:
8061 * docs/gst/gstreamer-sections.txt:
8062 * docs/gst/gstreamer.types:
8063 * docs/gst/tmpl/gstbasesink.sgml:
8064 * docs/gst/tmpl/gstbasesrc.sgml:
8065 * docs/gst/tmpl/gstbasetransform.sgml:
8066 * docs/gst/tmpl/gstelement.sgml:
8067 * docs/gst/tmpl/gstiterator.sgml:
8068 * gst/base/gstbasesrc.c:
8069 * gst/base/gstbasesrc.h:
8070 * gst/base/gstbasetransform.h:
8072 * gst/gstiterator.h:
8073 adding basetransform and iterator docs
8075 2005-06-27 Andy Wingo <wingo@pobox.com>
8077 * docs/design/part-activation.txt: Notes on how activation should
8078 work -- not quite implemented yet.
8080 2005-06-25 Wim Taymans <wim@fluendo.com>
8082 * gst/gstghostpad.c: (gst_proxy_pad_do_chain):
8083 At least get the chain function correct, needs more
8086 2005-06-25 Wim Taymans <wim@fluendo.com>
8088 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
8089 (gst_basesink_handle_object), (gst_basesink_event),
8090 (gst_basesink_do_sync), (gst_basesink_handle_event),
8091 (gst_basesink_change_state):
8093 Right, two problems here: ghostpads don't take locks and
8094 glib _rec_mutex_lock_full() with depth==0 still locks.
8095 Catch illegal locking and g_warn them.
8097 2005-06-25 Wim Taymans <wim@fluendo.com>
8099 * check/states/sinks.c: (START_TEST), (gst_object_suite):
8100 Have to check for completion now...
8102 2005-06-25 Wim Taymans <wim@fluendo.com>
8104 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
8105 (gst_basesink_handle_object), (gst_basesink_event),
8106 (gst_basesink_do_sync), (gst_basesink_handle_event),
8107 (gst_basesink_change_state):
8109 Unlock STREAM_LOCK whatever the recursion was.
8111 2005-06-25 Wim Taymans <wim@fluendo.com>
8113 * gst/base/gstbasesink.c: (gst_basesink_set_property),
8114 (gst_basesink_preroll_queue_empty),
8115 (gst_basesink_preroll_queue_flush), (gst_basesink_handle_object),
8116 (gst_basesink_event), (gst_basesink_do_sync),
8117 (gst_basesink_handle_event), (gst_basesink_handle_buffer),
8118 (gst_basesink_chain), (gst_basesink_loop), (gst_basesink_activate),
8119 (gst_basesink_change_state):
8120 Reworked the base sink, handle event and buffer serialisation
8121 correctly and removed possible deadlock.
8122 Handle EOS correctly.
8124 2005-06-25 Wim Taymans <wim@fluendo.com>
8126 * gst/gstpipeline.c: (is_eos), (pipeline_bus_handler),
8127 (gst_pipeline_change_state):
8128 * tools/gst-launch.c: (check_intr), (event_loop), (main):
8129 Allow elements to post EOS in the state change function.
8130 Fix up -launch, make it exit the poll loop when the
8131 pipeline actually changed state.
8132 Fix up warning parsing in -launch.
8134 2005-06-25 Wim Taymans <wim@fluendo.com>
8136 * gst/elements/gsttee.c: (gst_tee_chain), (gst_tee_loop),
8137 (gst_tee_sink_activate):
8138 Core takes STREAM_LOCK for us now.
8140 2005-06-25 Wim Taymans <wim@fluendo.com>
8142 * gst/gstelement.c: (gst_element_get_state_func),
8143 (gst_element_set_state):
8145 * gst/gstmessage.c: (gst_message_parse_error),
8146 (gst_message_parse_warning):
8147 Keep track of current target state while performing a state
8148 change so that subclasses can do something interesting.
8149 Fix parsing of warning/error messages when GError is NULL.
8151 2005-06-24 Thomas Vander Stichele <thomas at apestaart dot org>
8153 * docs/gst/Makefile.am:
8154 * docs/gst/gstreamer-docs.sgml:
8155 * docs/gst/gstreamer-sections.txt:
8156 * docs/gst/gstreamer.types:
8157 * docs/gst/tmpl/gstbasesink.sgml:
8158 * docs/gst/tmpl/gstbasesrc.sgml:
8159 * docs/gst/tmpl/gstbin.sgml:
8160 * docs/gst/tmpl/gstcompat.sgml:
8161 * docs/gst/tmpl/gstfakesink.sgml:
8162 * docs/gst/tmpl/gstfakesrc.sgml:
8163 * docs/gst/tmpl/gstfilesink.sgml:
8164 * docs/gst/tmpl/gstfilesrc.sgml:
8165 * docs/gst/tmpl/gstindex.sgml:
8166 * docs/manual/appendix-quotes.xml:
8167 * gst/base/gstbasesrc.h:
8168 * gst/elements/gstfakesrc.h:
8170 start pulling in base classes and elements in our docs
8172 2005-06-24 Stefan Kost <ensonic@users.sf.net>
8174 * docs/gst/Makefile.am:
8175 * docs/libs/Makefile.am:
8176 fixed make distcheck with gtk-doc 1.3
8178 2005-06-23 Wim Taymans <wim@fluendo.com>
8180 * gst/gstelement.c: (gst_element_get_state_func),
8181 (gst_element_set_state), (gst_element_change_state):
8182 When the state did not change, also report NO_PREROLL
8185 2005-06-23 Wim Taymans <wim@fluendo.com>
8187 * gst/gstpad.c: (gst_pad_event_default):
8188 * gst/gstqueue.c: (gst_queue_loop):
8189 No unsafe task pausing please.
8191 2005-06-23 Wim Taymans <wim@fluendo.com>
8193 * gst/schedulers/threadscheduler.c:
8194 (gst_thread_scheduler_task_start),
8195 (gst_thread_scheduler_task_pause), (gst_thread_scheduler_func):
8196 Ref the task before pushing it on the threadpool. This
8197 makes sure that we have a ref when the threadfunction is
8200 2005-06-23 Andy Wingo <wingo@pobox.com>
8202 * gst/base/gstbasesrc.c (gst_basesrc_get_range): Check if the
8203 offset is greater than the file's size.
8205 * gst/gstobject.h (GST_CLASS_LOCK, GST_CLASS_TRYLOCK)
8206 (GST_CLASS_UNLOCK, GST_CLASS_GET_LOCK, GstObjectClass)
8207 * gst/gstobject.c (gst_object_class_init): Make the class lock
8208 recursive. Wim won't let me drop deep_notify. Decodebin works
8211 * gst/gstghostpad.c (on_int_notify): Catches notify::caps on the
8212 internal pad, and hacks accordingly. Doesn't do it on the target
8213 pad because we change its caps. Probably catches all cases of
8215 (gst_ghost_pad_set_property): Connect to notify::caps as
8218 * tests/network-clock.scm (plot-simulation): Pipe data to the
8219 elite python skript.
8221 * tests/network-clock-utils.scm (define-parameter): New macro,
8222 defines a parameter that can be set via the command line.
8223 (set-parameter!, parse-parameter-arguments): Command line args
8226 * tests/plot-data: Simple matplotlib-based plotter, takes input on
8229 2005-06-23 Jan Schmidt <thaytan@mad.scientist.com>
8231 * gst/elements/gsttypefindelement.c:
8232 (gst_type_find_element_handle_event):
8233 Don't restart typefinding on a discont.
8234 * gst/gstelement.c: (gst_element_set_state):
8236 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_send_event):
8237 Allow changing mode of an active pad.
8239 * gst/registries/gstlibxmlregistry.c: (load_feature):
8240 Don't cast a static pad template to a normal pad template.
8242 2005-06-23 Thomas Vander Stichele <thomas at apestaart dot org>
8244 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
8245 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
8246 remove gst_strtoll completely, since it didn't actually do
8247 anything more than what g_ascii_strtoull already does.
8248 check for range errors when deserializing
8249 do a cast for the unsigned cases; but further fixing needs
8250 a decision on what the interpretation of "(int)" and
8251 deserialization should be for values that fall outside the
8252 type's boundaries (ie, refuse, or interpret as casting)
8254 2005-06-23 Wim Taymans <wim@fluendo.com>
8256 * check/Makefile.am:
8257 * check/states/sinks.c: (START_TEST), (gst_object_suite), (main):
8258 * docs/design/part-live-source.txt:
8259 * docs/design/part-states.txt:
8260 * gst/base/gstbasesrc.c: (gst_basesrc_init),
8261 (gst_basesrc_set_live), (gst_basesrc_is_live),
8262 (gst_basesrc_get_range), (gst_basesrc_activate),
8263 (gst_basesrc_change_state):
8264 * gst/base/gstbasesrc.h:
8265 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
8266 (gst_fakesrc_set_property), (gst_fakesrc_get_property):
8267 * gst/gstbin.c: (gst_bin_get_state), (gst_bin_change_state):
8268 * gst/gstelement.c: (gst_element_get_state_func),
8269 (gst_element_set_state):
8272 * tools/gst-launch.c: (event_loop), (main):
8273 Added support for live sources and other elements that
8275 Updated design docs, added live-source design doc.
8276 Implemented live source functionality in basesrc
8277 Fix error condition in _bin_get_state()
8278 Implement live source handling in -launch.
8279 Added check for live sources.
8280 Fixed case in GstBin where elements were changed state
8284 2005-06-23 Andy Wingo <wingo@pobox.com>
8286 * check/gst/gstpad.c (test_get_allowed_caps, test_refcount): Fix
8289 * gst/gstpad.c (gst_pad_set_caps): Remove needless refs,
8290 gst_caps_replace takes care of this for us.
8292 * gst/gstghostpad.c (gst_proxy_pad_do_setcaps): Call the full
8293 gst_pad_set_caps on the target, not just its setcaps() function.
8295 * tests/network-clock.scm:
8296 * tests/network-clock-utils.scm: A network clock simulator.
8297 Something of an algorithmic testbed before doing something in C.
8299 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
8301 * check/Makefile.am:
8302 * check/gst/capslist.h:
8303 copy over from 0.8, and add two with bitmasks specified with
8305 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
8306 add test to parse everything from capslist.h
8307 * check/gst/gststructure.c: (START_TEST), (gst_value_suite),
8309 add test for structure deserialization
8310 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
8311 add tests for deserialization of strings to int types
8312 * gst/gststructure.c: (gst_structure_nth_field_name):
8313 * gst/gststructure.h:
8314 add a way to get the name of a field referenced by index
8315 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
8316 instead of checking if the resulting long long lies between
8317 min and max, we check if the long long would fit into
8318 a number of bytes for the final type.
8319 This fixes cases where a string represents 2^32 - 1, which
8320 when cast to int would be the (valid) -1, but is bigger than
8323 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
8325 * gst/parse/grammar.y:
8326 add a log line for type deserialization
8328 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
8330 * check/gst/gstvalue.c: (START_TEST):
8331 * gst/gstvalue.c: (gst_value_deserialize):
8332 return long long, not int, so gint64 deserialization actually
8333 works. Is there any flag that makes the compiler check this ?
8336 2005-06-22 Wim Taymans <wim@fluendo.com>
8339 Added convenience macros for setting buffers in GValue.
8341 2005-06-21 Thomas Vander Stichele <thomas at apestaart dot org>
8343 * check/gst/.cvsignore:
8344 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
8345 add a test deserializing int64, and comment part out because
8348 2005-06-21 Thomas Vander Stichele <thomas at apestaart dot org>
8350 * check/Makefile.am:
8351 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite), (main):
8352 * testsuite/Makefile.am:
8353 * testsuite/caps/Makefile.am:
8354 * testsuite/caps/value_serialize.c:
8355 * testsuite/test_gst_init.c:
8356 move a value_serialize test over
8358 2005-06-20 Wim Taymans <wim@fluendo.com>
8363 * gst/gstvalue.c: (gst_value_compare_buffer),
8364 (gst_value_serialize_buffer), (gst_value_deserialize_buffer),
8365 (gst_value_compare_flags), (gst_value_serialize_flags),
8366 (gst_value_deserialize_flags), (_gst_value_initialize):
8367 Fix serialisation of buffers, they are not boxed types anymore
8369 2005-06-20 Wim Taymans <wim@fluendo.com>
8371 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
8372 Testcase to show error in buffer-on-caps serialisation.
8374 2005-06-20 Andy Wingo <wingo@pobox.com>
8376 * docs/random/wingo/porting-plugins-to-0.9: A pitiful document I
8377 will be adding to later.
8379 * gst/gstsystemclock.c (gst_system_clock_init): Unlock the clock
8380 if its socks fill with rocks.
8381 (gst_system_clock_obtain): Set the name on object construction.
8382 Avoid double-checked locking.
8384 2005-06-20 Tim-Philipp Müller <tim at centricular dot net>
8386 * gst/gsturi.c: (gst_element_make_from_uri):
8387 Fix potential endless loop.
8389 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
8391 * check/Makefile.am:
8393 * check/gst/gsttag.c: (check_tags), (START_TEST), (gst_tag_suite),
8395 move over from testsuite dir and clean up
8398 * testsuite/Makefile.am:
8399 * testsuite/tags/.cvsignore:
8400 * testsuite/tags/Makefile.am:
8401 * testsuite/tags/merge.c:
8402 remove testsuite/tags
8404 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
8406 * docs/gst/gstreamer-sections.txt:
8407 * docs/gst/tmpl/gstenumtypes.sgml:
8408 * win32/gstenumtypes.c:
8409 clean up documentation build a little
8411 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
8414 add macros for checking refcounts on objects and caps
8415 * check/gst/gstpad.c: (START_TEST), (gst_pad_suite):
8416 add some more unit tests
8417 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
8418 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_allowed_caps):
8419 fix leaked refcounts (I hope :)) so unittest works
8423 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
8425 * configure.ac: back to HEAD
8427 === release 0.9.1 ===
8429 2005-06-17 Thomas Vander Stichele <thomas at apestaart dot org>
8435 2005-06-17 Andy Wingo <wingo@pobox.com>
8437 * gst/base/gstbasesink.c (gst_basesink_chain): Remove bogus
8438 assert; it's always possible that the pad gets deactivated in
8439 between the checks in gstpad.c and the implementation. Rely on
8440 finish_preroll() to return a FLUSHING or similar instead of on the
8443 * gst/base/gstbasesink.c (gst_basesink_event): Only wait for the
8444 clock and post an EOS message if we come out of finish_preroll in
8447 2005-06-16 David Schleef <ds@schleef.org>
8449 * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
8450 (gst_capsfilter_set_property): Allow NULL as possible value
8451 for filter_caps property, indicating GST_CAPS_ANY.
8453 2005-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
8455 * gst/elements/gstfakesrc.c: (gst_fakesrc_create):
8457 * gst/schedulers/Makefile.am:
8459 * gstreamer.spec.in:
8462 2005-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
8464 * gstreamer.spec.in:
8467 2005-06-08 Andy Wingo <wingo@pobox.com>
8469 * gst/gstutils.c: RPAD fixes all around.
8470 (gst_element_link_pads): Refcounting fixes.
8472 * tools/gst-inspect.c:
8473 * tools/gst-xmlinspect.c:
8475 * gst/base/gsttypefindhelper.c:
8476 * gst/base/gstbasesink.c:
8477 * gst/gstqueue.c: RPAD fixes.
8479 * gst/gstghostpad.h:
8480 * gst/gstghostpad.c: New ghost pad implementation as full proxy
8481 pads. The tricky thing is they provide both source and sink
8482 interfaces, since they proxy the internal pad for the external
8483 pad, and vice versa. Implement with lower-level ProxyPad objects,
8484 with the interior proxy pad as a child of the exterior ghost pad.
8485 Should write a doc on this.
8487 * gst/gstpad.h: s/RPAD/PAD/, s/RealPad/Pad/.
8488 (gst_pad_set_name, gst_pad_set_parent): Macros removed, use
8491 * gst/gstpad.c: Big changes. No more stub base GstPad, now all
8492 pads are real pads. No ghost pads in this file. Not documenting
8493 the myriad s/RPAD/PAD/ and REALIZE fixes.
8494 (gst_pad_class_init): Add properties for "direction" and
8495 "template". Both are construct-only, so they can't change during
8496 the life of the pad. Fixes properly deriving from GstPad.
8497 (gst_pad_custom_new, gst_pad_custom_new_from_template): Gone. For
8498 derived objects, just set properties when creating the objects via
8500 (gst_pad_get_parent): Implement as a function, return NULL if the
8501 parent is not an element.
8502 (gst_pad_get_real_parent, gst_pad_add_ghost_pad)
8503 (gst_pad_remove_ghost_pad, gst_pad_realize): Removed.
8505 * gst/gstobject.c (gst_object_class_init): Make name a construct
8506 property. Don't set it in the object init.
8508 * gst/gstelement.c (gst_element_add_pad): Don't allow adding pads
8509 with UNKNOWN direction.
8510 (gst_element_add_ghost_pad): Remove non-orthogonal API. Replace
8511 with gst_element_add_pad (e, gst_ghost_pad_new (name, pad)).
8512 (gst_element_remove_pad): Remove ghost-pad special cases.
8513 (gst_element_pads_activate): Remove rpad cruft.
8515 * gst/gstbin.c (gst_bin_change_state): Use gst_pad_get_parent to
8516 catch the pad's-parent-not-an-element case.
8518 * gst/gst.h: Include gstghostpad.h.
8520 * gst/gst.c (init_post): No more real, ghost pads.
8522 * gst/Makefile.am: Add gstghostpad.[ch].
8524 * check/Makefile.am:
8525 * check/gst/gstbin.c:
8526 * check/gst/gstghostpad.c (test_ghost_pads): Check that linking
8527 into a bin creates ghost pads, and that the refcounts are right.
8528 Partly moved from gstbin.c.
8530 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
8532 * check/gst-libs/.cvsignore:
8533 * check/gst/.cvsignore:
8534 * check/pipelines/.cvsignore:
8536 * check/pipelines/cleanup.c: (setup_pipeline), (run_pipeline),
8537 (START_TEST), (cleanup_suite), (main):
8538 add some tests related to cleanup after running pipelines
8540 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
8542 * check/gst/gstbuffer.c: (START_TEST), (gst_test_suite), (main):
8543 add a testsuite for GstBuffer
8545 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
8547 * gst/gstminiobject.h:
8548 add defines for accessing the refcount
8550 2005-06-03 Stefan Kost <ensonic@users.sf.net>
8552 * Makefile.am: added support for html unit test coverage reports
8554 2005-06-03 Jan Schmidt <thaytan@mad.scientist.com>
8556 * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
8557 Free existing caps if the capsfilter changes. Add a FIXME about
8558 setting those caps on the pads.
8560 * gst/gstutils.c: (gst_element_get_compatible_pad), (ghost_up):
8561 Before adding a ghost pad to a parent bin, check that there isn't
8562 already one for the element on the bin. Prevents infinite recursion
8563 when using decodebin in parse pipelines. Andy says he'll rewrite the
8564 way this works anyway, so ignore the hack.
8566 2005-06-02 Andy Wingo <wingo@pobox.com>
8568 * gst/elements/gsttypefindelement.c (do_pull_typefind): Query the
8569 file size, pass it on to the type find helper.
8571 * gst/base/gstbasesrc.c (gst_basesrc_do_seek): Set the
8572 segment_start and segment_end properly according to the seek
8573 method. Segment_end is still a bit flaky because offset can be
8574 negative for CUR and END cases, but it takes -1 as an "unset"
8577 2005-06-02 Wim Taymans <wim@fluendo.com>
8579 * gst/base/gstbasesink.c: (gst_basesink_pad_buffer_alloc),
8580 (gst_base_sink_buffer_alloc), (gst_basesink_preroll_queue_push),
8581 (gst_basesink_activate):
8582 * gst/base/gstbasesink.h:
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_start_task):
8587 * gst/gstqueue.c: (gst_queue_bufferalloc),
8588 (gst_queue_handle_sink_event), (gst_queue_chain):
8589 Bufferalloc: return GstFlowReturn to more accuratly report
8590 why allocation failed.
8592 2005-06-02 Wim Taymans <wim@fluendo.com>
8594 * gst/gstpipeline.c: (gst_pipeline_send_event):
8595 Take snapshot of state without blocking.
8597 2005-06-02 Wim Taymans <wim@fluendo.com>
8599 * docs/design/part-TODO.txt:
8600 * docs/design/part-caps.txt:
8601 * docs/design/part-clocks.txt:
8602 * docs/design/part-negotiation.txt:
8603 * docs/design/part-preroll.txt:
8606 2005-05-30 Wim Taymans <wim@fluendo.com>
8608 * gst/elements/gstidentity.c: (gst_identity_event),
8609 (gst_identity_transform), (gst_identity_get_property):
8610 Protect last_message property as it is accessed from
8613 2005-05-30 Wim Taymans <wim@fluendo.com>
8615 * gst/gstelement.c: (gst_element_init),
8616 (gst_element_pads_activate), (gst_element_change_state):
8617 Slicker pad activation code.
8619 2005-05-30 Wim Taymans <wim@fluendo.com>
8623 * gst/gstelementfactory.h:
8625 Move elementfactory methods to separate .h file.
8627 2005-05-30 Wim Taymans <wim@fluendo.com>
8629 * docs/design/part-overview.txt:
8630 * gst/gstsystemclock.h:
8631 Small typo fixes, doc updates.
8633 2005-05-30 Wim Taymans <wim@fluendo.com>
8635 * gst/gst.c: (gst_init_get_popt_table), (init_post),
8636 (init_popt_callback):
8637 Remove cpu-opt flag.
8639 2005-05-30 Wim Taymans <wim@fluendo.com>
8641 * gst/gstbuffer.c: (gst_subbuffer_finalize),
8642 (gst_buffer_create_sub), (gst_buffer_is_span_fast):
8644 Avoid typechecking in places where not needed.
8645 Added accessor for malloc_data.
8647 2005-05-30 Wim Taymans <wim@fluendo.com>
8649 * gst/gstpad.c: (gst_real_pad_init), (gst_pad_set_active),
8650 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_accept_caps),
8651 (gst_pad_configure_sink), (gst_pad_configure_src),
8652 (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_send_event),
8653 (gst_pad_start_task):
8654 Propagate errors from _set_caps() in configure_src/sink
8655 functions instead of returning TRUE.
8656 FLUSH events can travel up and downstream
8659 2005-05-30 Wim Taymans <wim@fluendo.com>
8661 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
8662 (gst_basesink_activate):
8663 Handle EOS in preroll.
8665 2005-05-30 Wim Taymans <wim@fluendo.com>
8667 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
8668 (gst_queue_loop), (gst_queue_handle_src_event):
8669 Remove old pieces of code
8670 Flushing the queue in an upstream event is a very bad idea.
8672 2005-05-26 Andy Wingo <wingo@pobox.com>
8674 * gst/gstminiobject.c (gst_value_mini_object_collect): Use
8675 gst_value_set_mini_object so as to add a ref on the object (which
8676 will be removed when the value is unset).
8678 * gst/elements/gstfakesink.c (gst_fakesink_class_init): Fix signal
8679 arg type in ::handoff.
8681 * gst/gstelement.c (gst_element_change_state): Also deactivate
8682 pads in READY->NULL, just in case the element didn't make it to
8683 PAUSED. Wingo tested, Wim approved.
8685 2005-05-26 Wim Taymans <wim@fluendo.com>
8687 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
8688 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
8689 (gst_pad_query), (gst_pad_send_event), (gst_pad_start_task):
8690 A flushing pad cannot be used to alloc_buffer from.
8692 2005-05-26 Wim Taymans <wim@fluendo.com>
8694 * gst/gstbus.c: (gst_bus_init), (gst_bus_dispose), (gst_bus_post),
8695 (gst_bus_pop), (gst_bus_source_prepare), (gst_bus_source_check),
8696 (gst_bus_source_dispatch), (gst_bus_source_finalize),
8697 (gst_bus_create_watch), (gst_bus_add_watch_full):
8699 Implement a real GSource and use g_main_context_wakeup() to
8700 signal new messages instead of the socketpair.
8702 2005-05-25 Wim Taymans <wim@fluendo.com>
8704 * gst/gstbin.c: (bin_element_is_sink), (has_ancestor),
8705 (bin_element_is_semi_sink), (append_child), (gst_bin_change_state):
8706 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
8707 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
8708 (gst_pad_send_event), (gst_pad_start_task):
8709 * gst/gstqueue.c: (gst_queue_init), (gst_queue_locked_flush),
8710 (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
8711 (gst_queue_sink_activate), (gst_queue_src_activate),
8712 (gst_queue_change_state):
8714 Fix state changes for non sinks. We now change sinks, then elements
8715 with unconnected srcpads, then the rest.
8716 More efficient queue unlocking in flush and state changes.
8717 Set the pad activate mode even if it does not have an activate
8720 2005-05-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8722 * gst/base/gstbasesrc.c: (gst_basesrc_activate):
8723 Don't go in pull mode for non-seekable sources.
8724 * gst/elements/gsttypefindelement.h:
8725 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
8726 (gst_type_find_element_dispose), (gst_type_find_handle_src_query),
8727 (free_entry), (stop_typefinding),
8728 (gst_type_find_element_handle_event), (find_peek),
8729 (gst_type_find_element_chain), (do_pull_typefind),
8730 (gst_type_find_element_change_state):
8731 Allow typefinding (w/o seeking) in push-mode, simplified version
8733 * gst/gstutils.c: (gst_buffer_join):
8735 gst_buffer_join() from 0.8.
8737 2005-05-25 Wim Taymans <wim@fluendo.com>
8739 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
8740 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
8741 (gst_pad_send_event), (gst_pad_start_task):
8742 Disable attempt at mode switching until it is figured out.
8744 2005-05-25 Wim Taymans <wim@fluendo.com>
8746 * gst/base/gstadapter.c: (gst_adapter_peek), (gst_adapter_flush):
8747 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
8748 (gst_basesink_finish_preroll), (gst_basesink_chain),
8749 (gst_basesink_loop), (gst_basesink_activate),
8750 (gst_basesink_change_state):
8751 * gst/base/gstbasesrc.c: (gst_basesrc_do_seek),
8752 (gst_basesrc_get_range), (gst_basesrc_loop),
8753 (gst_basesrc_activate):
8754 * gst/elements/gsttee.c: (gst_tee_sink_activate):
8755 * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
8756 (gst_real_pad_init), (gst_real_pad_set_property),
8757 (gst_real_pad_get_property), (gst_pad_set_active),
8758 (gst_pad_is_active), (gst_pad_get_query_types), (gst_pad_unlink),
8759 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_real_parent),
8760 (gst_real_pad_get_caps_unlocked), (gst_pad_peer_get_caps),
8761 (gst_pad_accept_caps), (gst_pad_get_peer), (gst_pad_realize),
8762 (gst_pad_event_default_dispatch), (gst_pad_event_default),
8763 (gst_pad_dispatcher), (gst_pad_query), (gst_real_pad_dispose),
8764 (gst_pad_save_thyself), (handle_pad_block), (gst_pad_chain),
8765 (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
8766 (gst_pad_send_event), (gst_pad_start_task), (gst_pad_pause_task),
8767 (gst_pad_stop_task):
8769 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
8770 (gst_queue_loop), (gst_queue_src_activate):
8771 * gst/gsttask.c: (gst_task_init), (gst_task_set_lock),
8772 (gst_task_get_state):
8774 * gst/schedulers/threadscheduler.c:
8775 (gst_thread_scheduler_task_start), (gst_thread_scheduler_func):
8776 Implement gst_pad_pause/start/stop_task(), take STREAM lock
8778 Remove ACTIVE pad flag, use FLUSHING everywhere
8779 Added _pad_chain(), _pad_get_range() to call chain/getrange
8781 Add locks around IS_FLUSHING when reading.
8782 Take STREAM lock in chain(), get_range() functions so plugins
8783 don't need to take it anymore.
8787 2005-05-25 Wim Taymans <wim@fluendo.com>
8789 * tools/gst-launch.c: (event_loop):
8790 Unref message after using its contents instead of
8793 2005-05-24 Wim Taymans <wim@fluendo.com>
8795 * docs/design/draft-ghostpads.txt:
8796 * docs/design/draft-push-pull.txt:
8797 * docs/design/draft-query.txt:
8798 * docs/design/part-overview.txt:
8799 Docs updates, added general overview doc.
8801 2005-05-21 David Schleef <ds@schleef.org>
8803 * docs/gst/tmpl/old/GstBin.sgml:
8804 * docs/gst/tmpl/old/GstBuffer.sgml:
8805 * docs/gst/tmpl/old/GstCaps.sgml:
8806 * docs/gst/tmpl/old/GstClock.sgml:
8807 * docs/gst/tmpl/old/GstCompat.sgml:
8808 * docs/gst/tmpl/old/GstData.sgml:
8809 * docs/gst/tmpl/old/GstElement.sgml:
8810 * docs/gst/tmpl/old/GstEvent.sgml:
8811 * docs/gst/tmpl/old/GstIndex.sgml:
8812 * docs/gst/tmpl/old/GstStructure.sgml:
8813 * docs/gst/tmpl/old/GstTag.sgml:
8814 * docs/gst/tmpl/old/cothreads.sgml:
8815 * docs/gst/tmpl/old/cothreads_compat.sgml:
8816 * docs/gst/tmpl/old/gettext.sgml:
8817 * docs/gst/tmpl/old/gobject2gtk.sgml:
8818 * docs/gst/tmpl/old/grammar.tab.sgml:
8819 * docs/gst/tmpl/old/gst-i18n-app.sgml:
8820 * docs/gst/tmpl/old/gst-i18n-lib.sgml:
8821 * docs/gst/tmpl/old/gst_private.sgml:
8822 * docs/gst/tmpl/old/gstaggregator.sgml:
8823 * docs/gst/tmpl/old/gstarch.sgml:
8824 * docs/gst/tmpl/old/gstatomic_impl.sgml:
8825 * docs/gst/tmpl/old/gstbufferstore.sgml:
8826 * docs/gst/tmpl/old/gstdata_private.sgml:
8827 * docs/gst/tmpl/old/gstdisksink.sgml:
8828 * docs/gst/tmpl/old/gstdisksrc.sgml:
8829 * docs/gst/tmpl/old/gstelementfactory.sgml:
8830 * docs/gst/tmpl/old/gstextratypes.sgml:
8831 * docs/gst/tmpl/old/gstfakesink.sgml:
8832 * docs/gst/tmpl/old/gstfakesrc.sgml:
8833 * docs/gst/tmpl/old/gstfdsink.sgml:
8834 * docs/gst/tmpl/old/gstfdsrc.sgml:
8835 * docs/gst/tmpl/old/gstfilesink.sgml:
8836 * docs/gst/tmpl/old/gstfilesrc.sgml:
8837 * docs/gst/tmpl/old/gsthttpsrc.sgml:
8838 * docs/gst/tmpl/old/gstidentity.sgml:
8839 * docs/gst/tmpl/old/gstindexfactory.sgml:
8840 * docs/gst/tmpl/old/gstmarshal.sgml:
8841 * docs/gst/tmpl/old/gstmd5sink.sgml:
8842 * docs/gst/tmpl/old/gstmultidisksrc.sgml:
8843 * docs/gst/tmpl/old/gstmultifilesrc.sgml:
8844 * docs/gst/tmpl/old/gstpadtemplate.sgml:
8845 * docs/gst/tmpl/old/gstpipefilter.sgml:
8846 * docs/gst/tmpl/old/gstschedulerfactory.sgml:
8847 * docs/gst/tmpl/old/gstsearchfuncs.sgml:
8848 * docs/gst/tmpl/old/gstshaper.sgml:
8849 * docs/gst/tmpl/old/gstspider.sgml:
8850 * docs/gst/tmpl/old/gstspideridentity.sgml:
8851 * docs/gst/tmpl/old/gststatistics.sgml:
8852 * docs/gst/tmpl/old/gsttee.sgml:
8853 * docs/gst/tmpl/old/gsttimecache.sgml:
8854 * docs/gst/tmpl/old/gsttypefindfactory.sgml:
8855 * docs/gst/tmpl/old/gstxmlregistry.sgml:
8856 * docs/gst/tmpl/old/gthread-cothreads.sgml:
8857 * docs/gst/tmpl/old/types.sgml:
8858 I didn't intend to add these or check them in.
8860 2005-05-19 David Schleef <ds@schleef.org>
8862 * configure.ac: Use -no-common everywhere. In a sane world, it
8863 would be the default in libtool, because without it, you can't
8864 build DLLs on Windows.
8865 * docs/gst/gstreamer-docs.sgml: Remove GstCpu, GstData, GstThread
8866 * docs/gst/gstreamer-sections.txt:
8867 * docs/gst/tmpl/gstcpu.sgml:
8868 * docs/gst/tmpl/gstdata.sgml:
8869 * docs/gst/tmpl/gstthread.sgml:
8871 2005-05-19 David Schleef <ds@schleef.org>
8873 * gst/gstminiobject.c: (gst_value_set_mini_object),
8874 (gst_value_take_mini_object), (gst_value_get_mini_object):
8875 * gst/gstminiobject.h: Add GValue set/get functions.
8877 2005-05-19 Wim Taymans <wim@fluendo.com>
8879 * gst/gstbuffer.c: (gst_buffer_init), (gst_subbuffer_get_type),
8880 (gst_subbuffer_class_init), (gst_subbuffer_finalize),
8881 (gst_subbuffer_init), (gst_buffer_is_span_fast):
8883 * gst/gstbus.c: (gst_bus_post):
8884 * gst/gstelement.c: (gst_element_get_random_pad):
8885 * gst/gstmessage.c: (gst_message_init), (gst_message_finalize):
8886 Make subbufer unref the parent in finalize.
8887 some more debugging info.
8890 2005-05-19 Wim Taymans <wim@fluendo.com>
8892 * gst/base/gstbasesink.c: (gst_basesink_class_init),
8893 (gst_basesink_init), (gst_basesink_finalize),
8894 (gst_basesink_activate), (gst_basesink_change_state):
8895 Don't free preroll queue too early.
8897 2005-05-19 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8901 Hi, I'm outdated. Please shoot me.
8903 2005-05-19 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8905 * gst/gstpipeline.c: (gst_pipeline_send_event):
8906 Do not access variables after they have been deleted.
8908 2005-05-19 Wim Taymans <wim@fluendo.com>
8910 * tools/gst-inspect.c: (print_plugin_features):
8911 A plugin feature does unfortunatly not use the
8914 2005-05-18 Wim Taymans <wim@fluendo.com>
8916 * gst/gstbuffer.c: (gst_buffer_is_span_fast), (gst_buffer_span):
8917 Port _span() functions to new subbuffers.
8919 2005-05-18 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8921 * gst/gstbin.c: (gst_bin_add_func):
8922 Fix clock settery in bins when adding kids after the clock has
8925 2005-05-18 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8927 * gst/elements/gstidentity.c: (gst_identity_class_init):
8928 Workaround until signals support GstMiniObject.
8930 2005-05-18 Jan Schmidt <thaytan@mad.scientist.com>
8933 Oops, fix a typo GST_TYPE_BUFFER -> GST_TYPE_SUBBUFFER.
8935 2005-05-18 Wim Taymans <wim@fluendo.com>
8937 * gst/base/Makefile.am:
8938 * gst/base/gstadapter.c: (gst_adapter_base_init),
8939 (gst_adapter_class_init), (gst_adapter_init),
8940 (gst_adapter_dispose), (gst_adapter_finalize), (gst_adapter_new),
8941 (gst_adapter_clear), (gst_adapter_push), (gst_adapter_peek),
8942 (gst_adapter_flush), (gst_adapter_available),
8943 (gst_adapter_available_fast):
8944 * gst/base/gstadapter.h:
8945 Ported and added adapter to the base classes.
8947 2005-05-17 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
8951 Make sure the class is reffed/unreffed once before threads can be
8952 used. Fixes #304551.
8954 2005-05-17 Wim Taymans <wim@fluendo.com>
8956 * gst/base/gstbasesink.c: (gst_basesink_finish_preroll),
8957 (gst_basesink_chain_unlocked), (gst_basesink_activate):
8958 * gst/gstminiobject.c: (gst_mini_object_get_type),
8959 (gst_mini_object_free):
8960 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query),
8961 (gst_pad_push), (gst_pad_push_event):
8962 * gst/gstqueue.c: (gst_queue_change_state):
8963 Don't queue buffers in basesink when we are flushing.
8964 Unref buffer when flushing in basesink.
8965 Flush queue when going to READY
8966 Unref buffer when _push() returns an error.
8967 Don't free MiniObject instance when refcount is incremented
8968 in _finalize() so that we can recover objects.
8970 2005-05-17 Thomas Vander Stichele <thomas at apestaart dot org>
8972 * docs/manual/advanced-schedulers.xml:
8973 * docs/manual/appendix-checklist.xml:
8974 * docs/pwg/advanced-clock.xml:
8975 * docs/pwg/advanced-interfaces.xml:
8976 * docs/pwg/advanced-request.xml:
8977 * docs/pwg/advanced-types.xml:
8978 * docs/pwg/intro-preface.xml:
8979 * examples/plugins/example.c: (gst_example_get_type),
8980 (gst_example_class_init), (gst_example_chain),
8981 (gst_example_set_property), (gst_example_get_property),
8982 (gst_example_change_state), (plugin_init):
8983 * examples/plugins/example.h:
8986 2005-05-17 Wim Taymans <wim@fluendo.com>
8988 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps),
8989 (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_push):
8990 * gst/gstqueue.c: (gst_queue_change_state):
8991 Clear queue when going to READY.
8992 Remove IN_SETCAPS flag too.
8994 2005-05-17 Tim-Philipp Müller <tim at centricular dot net>
8996 * gst/base/gstbasesrc.c: (gst_basesrc_change_state):
8997 Remove implicit cast from gboolean to GstElementStateReturn;
8998 make sure we still return failure in paused => ready case if
8999 the parent class fails to change state and our own stop
9002 2005-05-17 Wim Taymans <wim@fluendo.com>
9004 * tools/gst-launch.c: (event_loop):
9005 Message was unreffed too soon.
9007 2005-05-16 Andy Wingo <wingo@pobox.com>
9009 * gst/gstbin.c (sink_iterator_filter): Err... um...
9011 * check/gst/gstbin.c (test_ghost_pads): New test for the
9012 ghosting-if-elements-not-in-same-bin behavior.
9014 2005-05-16 David Schleef <ds@schleef.org>
9016 * gst/gstminiobject.c: Use g_atomic_int_get() instead of
9017 accessing refcount directly.
9019 2005-05-15 David Schleef <ds@schleef.org>
9021 * check/Makefile.am: remove GstData checks
9022 * check/gst-libs/gdp.c: (START_TEST): fix for API changes
9023 * gst/Makefile.am: add miniobject, remove data
9024 * gst/gst.h: add miniobject, remove data
9025 * gst/gstdata.c: remove
9026 * gst/gstdata.h: remove
9027 * gst/gstdata_private.h: remove
9028 * gst/gsttypes.h: remove GstEvent and GstMessage
9029 * gst/gstelement.c: (gst_element_post_message): fix for API changes
9030 * gst/gstmarshal.list: change BOXED -> OBJECT
9032 Implement GstMiniObject.
9033 * gst/gstminiobject.c:
9034 * gst/gstminiobject.h:
9036 Modify to be subclasses of GstMiniObject.
9037 * gst/gstbuffer.c: (_gst_buffer_initialize), (gst_buffer_get_type),
9038 (gst_buffer_class_init), (gst_buffer_finalize), (_gst_buffer_copy),
9039 (gst_buffer_init), (gst_buffer_new), (gst_buffer_new_and_alloc),
9040 (gst_subbuffer_get_type), (gst_subbuffer_init),
9041 (gst_buffer_create_sub), (gst_buffer_is_span_fast),
9044 * gst/gstevent.c: (_gst_event_initialize), (gst_event_get_type),
9045 (gst_event_class_init), (gst_event_init), (gst_event_finalize),
9046 (_gst_event_copy), (gst_event_new):
9048 * gst/gstmessage.c: (_gst_message_initialize),
9049 (gst_message_get_type), (gst_message_class_init),
9050 (gst_message_init), (gst_message_finalize), (_gst_message_copy),
9051 (gst_message_new), (gst_message_new_error),
9052 (gst_message_new_warning), (gst_message_new_tag),
9053 (gst_message_new_state_changed), (gst_message_new_application):
9055 * gst/gstprobe.c: (gst_probe_perform),
9056 (gst_probe_dispatcher_dispatch):
9058 * gst/gstquery.c: (_gst_query_initialize), (gst_query_get_type),
9059 (gst_query_class_init), (gst_query_finalize), (gst_query_init),
9060 (_gst_query_copy), (gst_query_new):
9062 Update elements for GstData -> GstMiniObject changes
9064 * gst/gstqueue.c: (gst_queue_finalize), (gst_queue_locked_flush),
9065 (gst_queue_chain), (gst_queue_loop):
9066 * gst/elements/gstbufferstore.c:
9067 (gst_buffer_store_add_buffer_func),
9068 (gst_buffer_store_cleared_func), (gst_buffer_store_get_buffer):
9069 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
9070 (gst_fakesink_render):
9071 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
9072 * gst/elements/gstfilesrc.c: (gst_mmap_buffer_get_type),
9073 (gst_mmap_buffer_class_init), (gst_mmap_buffer_init),
9074 (gst_mmap_buffer_finalize), (gst_filesrc_map_region),
9075 (gst_filesrc_create_read):
9076 * gst/elements/gstidentity.c: (gst_identity_class_init):
9077 * gst/elements/gsttypefindelement.c:
9078 (gst_type_find_element_src_event), (free_entry_buffers),
9079 (gst_type_find_element_handle_event):
9080 * libs/gst/dataprotocol/dataprotocol.c:
9081 (gst_dp_header_from_buffer):
9082 * libs/gst/dataprotocol/dataprotocol.h:
9083 * libs/gst/dataprotocol/dp-private.h:
9085 2005-05-15 David Schleef <ds@schleef.org>
9087 * gst/elements/gstelements.c: Don't include headers that were
9090 2005-05-15 David Schleef <ds@schleef.org>
9092 * gst/elements/Makefile.am: Remove some elements that don't
9093 need to be in the core (or even exist at all).
9094 * gst/elements/gstaggregator.c:
9095 * gst/elements/gstaggregator.h:
9096 * gst/elements/gstmd5sink.c:
9097 * gst/elements/gstmd5sink.h:
9098 * gst/elements/gstmultifilesrc.c:
9099 * gst/elements/gstmultifilesrc.h:
9100 * gst/elements/gstpipefilter.c:
9101 * gst/elements/gstpipefilter.h:
9102 * gst/elements/gstshaper.c:
9103 * gst/elements/gstshaper.h:
9104 * gst/elements/gststatistics.c:
9105 * gst/elements/gststatistics.h:
9106 * po/POTFILES.in: Remove above files.
9108 2005-05-14 Andy Wingo <wingo@pobox.com>
9110 * gst/gstbin.c (gst_bin_iterate_sinks): Use sink_iterator_filter
9111 so as to get the refs right.
9112 (sink_iterator_filter): New function, wraps bin_element_is_sink,
9113 unreffing objects that don't pass the filter.
9115 * gst/gstpipeline.c (gst_pipeline_init): Drop ref on bus after
9116 gst_element_set_bus.
9117 (gst_pipeline_dispose): Set the bus on the pipeline to NULL. In
9118 normal cases, this will destroy the bus.
9120 * gst/gstutils.c (prepare_link_maybe_ghosting): Drop ref on root
9123 * gst/gstbin.c (gst_bin_change_state): Fix state changes if a bin
9126 2005-05-13 Andy Wingo <wingo@pobox.com>
9128 * gst/gstutils.c (gst_element_link_pads): Instead of calling
9129 gst_pad_link, call pad_link_maybe_ghosting,
9130 (pad_link_maybe_ghosting): Links pads, making sure that the
9131 elements being linked are in the same bin.
9132 (find_common_root, object_has_ancestor, ghost_up, remove_pad):
9133 Helpers for pad_link_maybe_ghosting.
9135 2005-05-13 Tim-Philipp Müller <tim at centricular dot net>
9138 Require GLib >= 2.4.0 (for the g_atomic_* funcs)
9140 2005-05-13 Tim-Philipp Müller <tim at centricular dot net>
9142 * docs/design/part-element-source.txt:
9145 2005-05-12 Wim Taymans <wim@fluendo.com>
9147 * gst/base/gstbasesink.c: (gst_basesink_init),
9148 (gst_basesink_activate):
9149 * gst/base/gstbasesrc.c: (gst_basesrc_unlock),
9150 (gst_basesrc_is_seekable):
9151 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
9152 (bin_element_is_sink), (gst_bin_change_state):
9153 * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
9155 Identify sinks by their flag to avoid overly complicated
9157 Do state changes even for elements not reachable from the
9159 BaseSink is a sink now :)
9160 Some more debugging info in the basesrc.
9163 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
9165 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_query):
9166 Implement _query on a bin, similar to _send_event.
9168 2005-05-12 Tim-Philipp Müller <tim at centricular dot net>
9170 * gst/base/gstbasesrc.c: (gst_basesrc_do_seek):
9171 Discont event offset format should be GST_FORMAT_BYTES,
9172 not GST_FORMAT_TIME.
9174 2005-05-12 Wim Taymans <wim@fluendo.com>
9176 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_get_state):
9177 Same fix as Ronald's but without the signal.
9179 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
9181 * gst/gstutils.c: (gst_element_query_position):
9182 No, an element is not a pad.
9184 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
9186 * gst/gstbin.c: (gst_bin_add_func), (cb_parent_unset),
9187 (gst_bin_get_state):
9188 If a child is removed from a bin while we remove the child from
9189 the bin and while we're retrieving its state, signal this to the
9190 get_state function so we abort the wait (instead of waiting for
9191 a timeout) and can immediately re-iterate over all other elements.
9193 2005-05-12 Wim Taymans <wim@fluendo.com>
9195 * gst/base/Makefile.am:
9196 * gst/base/gstbasesrc.c: (gst_basesrc_is_seekable),
9197 (gst_basesrc_start):
9198 * gst/base/gstbasesrc.h:
9199 * gst/base/gstpushsrc.c: (gst_pushsrc_get_type),
9200 (gst_pushsrc_base_init), (gst_pushsrc_class_init),
9201 (gst_pushsrc_init), (gst_pushsrc_create):
9202 * gst/base/gstpushsrc.h:
9203 Added is_seekable to BaseSrc
9204 Added simple PushSrc.
9206 2005-05-11 Wim Taymans <wim@fluendo.com>
9208 * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
9209 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
9210 (gst_element_link_pads), (gst_element_query_position),
9211 (gst_element_query_convert), (intersect_caps_func),
9212 (gst_pad_query_position), (gst_pad_query_convert):
9213 Fix refcounting in utils function.
9214 No point in trying to activate a pad when it's added, it could
9215 be added from the state change function and then we deadlock, the
9216 element has to decide what to do.
9218 2005-05-10 Andy Wingo <wingo@pobox.com>
9220 * gst/elements/gstfakesink.c (gst_fakesink_render): Er, emit with
9221 *all* the arguments.
9223 * gst/base/gstbasetransform.c (gst_base_transform_event): Grab the
9224 stream lock if it's a FLUSH_DONE; normal flushes don't get the
9225 lock (according to the docs -- if this is wrong change the docs).
9227 * gst/gstpipeline.c (gst_pipeline_change_state): Set the bus to
9228 flush messages in the NULL state.
9230 * gst/gstbus.c (gst_bus_post): If a bus is flushing, unref the
9231 message immediately and return.
9232 (gst_bus_set_flushing): New function. If a bus is flushing, it
9233 flushes out any queued messages and immediately unrefs new
9234 messages. This is so when an element goes to NULL, all of the
9235 unhandled messages coming from it can be freed, and their
9236 references to the element dropped. In other words: message source
9237 ref considered harmful :P
9239 * gst/gstbin.c (gst_bin_change_state): Unref peer element when
9240 we're finished with it.
9242 * gst/gstmessage.c (gst_message_new_state_changed):
9244 2005-05-10 Wim Taymans <wim@fluendo.com>
9246 * gst/gstvalue.c: (gst_value_compare_flags),
9247 (gst_value_serialize_flags), (gst_value_deserialize_flags),
9248 (_gst_value_initialize):
9249 Added flags serialize/deserialize/compare code.
9251 2005-05-09 Andy Wingo <wingo@pobox.com>
9253 * gst/base/gstbasetransform.c (gst_base_transform_proxy_getcaps):
9254 Intersect the peer's caps with our caps.
9256 2005-05-09 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
9258 * gst/base/gsttypefindhelper.c: (helper_find_peek):
9259 * gst/elements/gsttypefindelement.c: (find_peek):
9260 Handle negative offsets better. Fixes decodebin.
9262 2005-05-09 Wim Taymans <wim@fluendo.com>
9264 * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps),
9265 (gst_base_transform_event):
9266 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query):
9267 Implement accept_caps.
9268 Fix silly lock/unlock mismatch in base class.
9270 2005-05-09 Wim Taymans <wim@fluendo.com>
9272 * docs/design/draft-push-pull.txt:
9273 * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_query):
9274 * gst/elements/gstfilesink.c: (gst_filesink_init),
9275 (gst_filesink_query):
9276 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
9277 (gst_type_find_handle_src_query), (find_element_get_length):
9278 * gst/gstelement.c: (gst_element_seek), (gst_element_query):
9282 * gst/gstpad.c: (gst_real_pad_init), (gst_pad_get_query_types),
9283 (gst_real_pad_get_caps_unlocked),
9284 (gst_pad_get_internal_links_default), (gst_pad_get_internal_links),
9285 (gst_pad_event_default_dispatch), (gst_pad_event_default),
9286 (gst_pad_dispatcher), (gst_pad_query), (gst_pad_query_default),
9287 (gst_real_pad_dispose), (gst_real_pad_finalize),
9288 (gst_pad_load_and_link), (gst_pad_save_thyself),
9289 (gst_ghost_pad_save_thyself), (handle_pad_block), (gst_pad_push),
9290 (gst_pad_check_pull_range), (gst_pad_pull_range),
9291 (gst_pad_template_get_type), (gst_pad_template_class_init),
9292 (gst_pad_template_init), (gst_pad_template_dispose),
9293 (name_is_valid), (gst_static_pad_template_get),
9294 (gst_pad_template_new), (gst_static_pad_template_get_caps),
9295 (gst_pad_template_get_caps), (gst_pad_set_element_private),
9296 (gst_pad_get_element_private), (gst_pad_start_task),
9297 (gst_pad_pause_task), (gst_pad_stop_task),
9298 (gst_ghost_pad_get_type), (gst_ghost_pad_class_init),
9299 (gst_ghost_pad_init), (gst_ghost_pad_dispose),
9300 (gst_ghost_pad_set_property), (gst_ghost_pad_get_property),
9301 (gst_ghost_pad_new):
9303 * gst/gstquery.c: (_gst_query_initialize), (gst_query_new),
9304 (gst_query_new_position), (gst_query_set_position),
9305 (gst_query_parse_position), (gst_query_new_convert),
9306 (gst_query_set_convert), (gst_query_parse_convert):
9308 * gst/gstqueryutils.c:
9309 * gst/gstqueryutils.h:
9310 * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
9311 (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
9312 (gst_queue_handle_src_query):
9313 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
9314 (gst_element_query_position), (gst_element_query_convert),
9315 (intersect_caps_func), (gst_pad_query_position),
9316 (gst_pad_query_convert):
9318 * tools/gst-inspect.c: (print_pad_info):
9319 * tools/gst-xmlinspect.c: (print_element_info):
9320 Remove old query functions. Ported old code.
9321 Added position/convert helper functions to gstutils.
9322 Reordered gstpad.c code, grouping relevant things.
9323 Remove gst_message_new(), always need to speficy a specific
9327 2005-05-09 Andy Wingo <wingo@pobox.com>
9329 * gst/gstiterator.h: Add some includes.
9331 * gst/gstqueryutils.h: Include more headers.
9334 * gst/gstpad.c (gst_pad_query_position): New routine, replaces
9335 some uses of gst_pad_query.
9337 * gst/gstqueryutils.c: Build fixes. Make parse functions ignore
9338 NULL out parameters.
9339 (gst_query_new_position): New proc, allocates a new position
9342 * gst/Makefile.am (libgstreamer_@GST_MAJORMINOR@_la_SOURCES): Add
9343 gstqueryutils.c to the build.
9345 * gst/gststructure.c (gst_structure_set_valist): Implement with
9346 the generic G_VALUE_COLLECT.
9348 2005-05-08 Edward Hervey <bilboed@bilboed.com>
9350 * gst/Makefile.am: (gst_headers):
9351 Added gstqueryutils.h to the list of headers to install, that was
9352 a 'nachty' move wingo :)
9354 2005-05-06 Andy Wingo <wingo@pobox.com>
9357 * gst/gstquery.c (_gst_query_initialize): Extend GstQuery from
9358 GstData, init a memchunk.
9359 (standard_definitions): Add a few query types, deprecate a few.
9360 (gst_query_get_type): New proc.
9361 (_gst_query_copy, _gst_query_free, gst_query_new): GstData
9363 (gst_query_new_application, gst_query_get_structure): New public
9366 * docs/design/draft-query.txt: Removed LINKS from the query types,
9367 because all the rest can be dispatched to other pads -- seemed
9368 ugly to have a query that couldn't be dispatched. internal_links
9369 is fine as a pad method.
9371 * gst/gstpad.h: Add query2 as a pad method, add the new functions
9372 in gstpad.c, but maintain binary compatibility for the moment.
9373 Will fix before 0.9 is out.
9375 * gst/gstqueryutils.c:
9376 * gst/gstqueryutils.h: New files, implement 3 methods for each
9377 query type: parse_query, parse_response, and set. Probably need an
9380 * gst/gst.h: Add gstquery.h and gstqueryutils.h to the list.
9382 * gst/elements/gstfilesink.c (gst_filesink_query2):
9383 * gst/base/gstbasesrc.c (gst_basesrc_query2): Replace old query,
9384 query_types, and formats methods.
9386 * gst/gstpad.c (gst_pad_query2, gst_pad_query2_default)
9387 (gst_pad_set_query2_function): New functions.
9388 (gst_real_pad_init): Set query2_default as the default query2
9389 function. Basically just dispatches to internally linked pads.
9393 * gst/gstdata_private.h (_GST_DATA_INIT): Set data->refcount to 1
9394 without using the atomic operations. Only one thread can possibly
9395 be accessing the data at this point. Changed so as to avoid
9396 gst_atomic operations.
9398 2005-05-06 Wim Taymans <wim@fluendo.com>
9400 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push):
9401 Also set caps if we use the fallback buffer alloc.
9403 2005-05-06 Tim-Philipp Müller <tim at centricular dot net>
9405 * docs/gst/Makefile.am:
9406 * docs/gst/gstreamer-docs.sgml:
9407 * docs/gst/gstreamer-sections.txt:
9408 * docs/gst/tmpl/gstatomic.sgml:
9409 * docs/gst/tmpl/gstmemchunk.sgml:
9410 * testsuite/elements/struct_i386.h:
9411 * win32/GStreamer.vcproj:
9413 Purge GstAtomic stuff from docs and win32 makefiles as well
9415 2005-05-06 Wim Taymans <wim@fluendo.com>
9417 * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps):
9418 * gst/elements/gstcapsfilter.c: (gst_capsfilter_getcaps):
9419 * gst/gstpad.c: (gst_pad_peer_get_caps):
9420 * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
9421 (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
9422 (gst_queue_src_activate), (gst_queue_change_state):
9424 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
9425 (intersect_caps_func):
9426 Fix gst_pad_peer_get_caps(), make it return NULL if no peer.
9427 Always take QUEUE_LOCK after STREAM_LOCK or we might deadlock.
9428 Some fixes for the peer_get_caps() change.
9430 2005-05-06 Wim Taymans <wim@fluendo.com>
9432 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
9433 (gst_basesink_handle_buffer), (gst_basesink_chain_unlocked),
9434 (gst_basesink_activate):
9435 Actually do something with error codes returned from the push
9438 2005-05-06 Wim Taymans <wim@fluendo.com>
9440 * docs/design/part-element-sink.txt:
9441 * docs/design/part-element-source.txt:
9442 * gst/base/gstbasesink.c: (gst_basesink_class_init),
9443 (gst_basesink_event), (gst_basesink_activate):
9444 * gst/base/gstbasesink.h:
9445 * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_unlock),
9446 (gst_basesrc_activate):
9447 * gst/base/gstbasesrc.h:
9448 * gst/gstelement.c: (gst_element_pads_activate):
9449 Some more documentation.
9450 Fixed scheduling decision in _pads_activate().
9452 2005-05-05 Andy Wingo <wingo@pobox.com>
9454 * check/pipelines/simple_launch_lines.c (test_2_elements): "Fix"
9457 2005-05-05 Wim Taymans <wim@fluendo.com>
9459 * gst/base/Makefile.am:
9460 * gst/base/gstbasesink.h:
9461 * gst/base/gstbasesrc.c: (gst_basesrc_init),
9462 (gst_basesrc_set_dataflow_funcs), (gst_basesrc_query):
9463 * gst/base/gstcollectpads.c: (gst_collectpads_get_type),
9464 (gst_collectpads_class_init), (gst_collectpads_init),
9465 (gst_collectpads_finalize), (gst_collectpads_new),
9466 (gst_collectpads_set_function), (gst_collectpads_add_pad),
9467 (find_pad), (gst_collectpads_remove_pad),
9468 (gst_collectpads_is_active), (gst_collectpads_collect),
9469 (gst_collectpads_collect_range), (gst_collectpads_start),
9470 (gst_collectpads_stop), (gst_collectpads_peek),
9471 (gst_collectpads_pop), (gst_collectpads_available),
9472 (gst_collectpads_read), (gst_collectpads_flush),
9473 (gst_collectpads_chain):
9474 * gst/base/gstcollectpads.h:
9475 * gst/elements/Makefile.am:
9476 * gst/elements/gstelements.c:
9477 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
9478 (gst_fakesink_get_times), (gst_fakesink_event),
9479 (gst_fakesink_preroll), (gst_fakesink_render):
9480 * gst/elements/gstfilesink.c: (gst_filesink_class_init),
9481 (gst_filesink_init), (gst_filesink_set_location),
9482 (gst_filesink_open_file), (gst_filesink_close_file),
9483 (gst_filesink_pad_query), (gst_filesink_event),
9484 (gst_filesink_render), (gst_filesink_change_state):
9485 * gst/elements/gstfilesink.h:
9486 Added object to help in making collect pad based elements.
9488 Make event function in sink baseclass return gboolean.
9490 2005-05-05 Wim Taymans <wim@fluendo.com>
9492 * gst/gstbin.c: (gst_bin_send_event), (compare_name),
9493 (gst_bin_get_by_name):
9495 * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_class_init),
9496 (gst_clock_finalize):
9497 * gst/gstdata.c: (gst_data_replace):
9499 * gst/gstelement.c: (gst_element_request_pad),
9500 (gst_element_pads_activate):
9501 * gst/gstobject.c: (gst_object_init), (gst_object_ref),
9503 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
9504 (gst_pad_set_checkgetrange_function),
9505 (gst_pad_link_check_compatible_unlocked), (gst_pad_set_caps),
9506 (gst_pad_check_pull_range), (gst_pad_pull_range),
9507 (gst_static_pad_template_get_caps), (gst_pad_start_task),
9508 (gst_pad_pause_task), (gst_pad_stop_task):
9509 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
9510 (gst_element_request_pad), (gst_pad_proxy_getcaps):
9511 Fix name lookup in GstBin.
9512 Added _data_replace() function and _buffer_replace()
9513 Use finalize method to clean up clock.
9514 Fix refcounting on request pads.
9515 Fix pad schedule mode error.
9516 Some more object refcounting debug info,
9519 2005-05-04 Andy Wingo <wingo@pobox.com>
9521 * check/Makefile.am:
9522 * docs/gst/tmpl/gstatomic.sgml:
9523 * docs/gst/tmpl/gstplugin.sgml:
9524 * gst/base/gstbasesink.c: (gst_basesink_activate):
9525 * gst/base/gstbasesrc.c: (gst_basesrc_class_init),
9526 (gst_basesrc_init), (gst_basesrc_set_dataflow_funcs),
9527 (gst_basesrc_query), (gst_basesrc_set_property),
9528 (gst_basesrc_get_property), (gst_basesrc_check_get_range),
9529 (gst_basesrc_activate):
9530 * gst/base/gstbasesrc.h:
9531 * gst/base/gstbasetransform.c: (gst_base_transform_sink_activate),
9532 (gst_base_transform_src_activate):
9533 * gst/elements/gstelements.c:
9534 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
9535 (gst_fakesrc_set_property), (gst_fakesrc_get_property):
9536 * gst/elements/gsttee.c: (gst_tee_sink_activate):
9537 * gst/elements/gsttypefindelement.c: (find_element_get_length),
9538 (gst_type_find_element_checkgetrange),
9539 (gst_type_find_element_activate):
9540 * gst/gstbin.c: (gst_bin_save_thyself), (gst_bin_restore_thyself):
9541 * gst/gstcaps.c: (gst_caps_do_simplify), (gst_caps_save_thyself),
9542 (gst_caps_load_thyself):
9543 * gst/gstelement.c: (gst_element_pads_activate),
9544 (gst_element_save_thyself), (gst_element_restore_thyself):
9545 * gst/gstpad.c: (gst_pad_load_and_link), (gst_pad_save_thyself),
9546 (gst_ghost_pad_save_thyself), (gst_pad_check_pull_range):
9548 * gst/gstxml.c: (gst_xml_write), (gst_xml_parse_doc),
9549 (gst_xml_parse_file), (gst_xml_parse_memory),
9550 (gst_xml_get_element), (gst_xml_make_element):
9551 * gst/indexers/gstfileindex.c: (gst_file_index_load),
9552 (_file_index_id_save_xml), (gst_file_index_commit):
9553 * gst/registries/gstlibxmlregistry.c: (read_string), (read_uint),
9554 (read_enum), (load_pad_template), (load_feature), (load_plugin),
9556 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_caps),
9557 (gst_dp_packet_from_event), (gst_dp_caps_from_packet):
9558 * tools/gst-complete.c: (main):
9559 * tools/gst-compprep.c: (main):
9560 * tools/gst-inspect.c: (print_element_properties_info):
9561 * tools/gst-launch.c: (xmllaunch_parse_cmdline):
9562 * tools/gst-xmlinspect.c: (print_element_properties):
9565 2005-05-03 Thomas Vander Stichele <thomas at apestaart dot org>
9567 * gst/gstplugin.c: (gst_plugin_check_module),
9568 (gst_plugin_check_file), (gst_plugin_load_file):
9569 apply patch from #172526 to make register work on MacOSX
9571 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
9573 * docs/gst/tmpl/gstconfig.sgml:
9574 * gst/gstconfig.h.in:
9575 move documentation for some symbols. Add doc for GST_PTR_FORMAT
9576 * testsuite/debug/printf_extension.c: (main):
9577 Do not use GST_PTR_FORMAT on pointers to types with
9578 sizeof < sizeof(gpointer). Fixes test on 64-bit
9579 * testsuite/elements/property.h:
9580 use correct printf format
9582 2005-05-02 Wim Taymans <wim@fluendo.com>
9584 * docs/design/draft-push-pull.txt:
9585 * docs/design/draft-query.txt:
9586 * gst/base/gstbasesrc.c: (gst_basesrc_get_range_unlocked),
9587 (gst_basesrc_start):
9588 Added draft for new query API.
9589 Added draft for better selecting scheduling methods.
9590 Make basesrc ignore length if the subclass does not support
9593 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
9596 possible fixes for automake-1.5 - _LIBADD is reserved
9598 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
9600 * docs/faq/Makefile.am:
9601 * docs/manual/Makefile.am:
9603 * docs/pwg/Makefile.am:
9605 possible fixes for automake-1.5
9607 2005-04-28 Wim Taymans <wim@fluendo.com>
9609 * gst/base/gstbasesink.c: (gst_basesink_base_init),
9610 (gst_basesink_pad_getcaps), (gst_basesink_init),
9611 (gst_basesink_do_sync):
9612 * gst/gstclock.c: (gst_clock_entry_new):
9613 * gst/gstevent.c: (gst_event_discont_get_value):
9614 * gst/gstpipeline.c: (pipeline_bus_handler),
9615 (gst_pipeline_change_state):
9616 * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
9617 Better debugging of clocking info.
9618 Allow NULL values when getting discont values.
9620 2005-04-27 Wim Taymans <wim@fluendo.com>
9622 * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
9623 * check/gst/gstpad.c: (gst_pad_suite):
9624 Increase timeout for checks.
9626 2005-04-27 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
9628 * check/Makefile.am:
9629 fix the broken rule for cleanup. Apparently this rule is
9630 only needed on FC2, so maybe this warrants further autotool
9633 2005-04-26 Wim Taymans <wim@fluendo.com>
9635 * gst/gsttrashstack.h:
9636 Ooohh. a nasty one! After having a failed pop() from the stack,
9637 it's possible that the stack is empty. In that case, don't
9638 follow the NULL pointer.
9640 2005-04-25 Wim Taymans <wim@fluendo.com>
9642 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
9643 (gst_pad_set_checkgetrange_function),
9644 (gst_pad_link_check_compatible_unlocked), (gst_pad_link_prepare),
9645 (gst_pad_check_pull_range), (gst_pad_pull_range),
9646 (gst_static_pad_template_get_caps), (gst_pad_start_task),
9647 (gst_pad_pause_task), (gst_pad_stop_task):
9648 * gst/gstplugin.c: (gst_plugin_load):
9650 Remove gst_library_load as it does more harm than good with
9651 the new g_module flags.
9652 Revert bogus caps template check in pad linking, pad caps
9653 are important when linking not the template, which is more
9654 general than the current caps.
9656 2005-04-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
9658 * gst/autoplug/.cvsignore:
9659 * gst/autoplug/Makefile.am:
9660 * gst/autoplug/gstsearchfuncs.c:
9661 * gst/autoplug/gstsearchfuncs.h:
9662 * gst/autoplug/gstspider.c:
9663 * gst/autoplug/gstspider.h:
9664 * gst/autoplug/gstspideridentity.c:
9665 * gst/autoplug/gstspideridentity.h:
9666 * gst/autoplug/spidertest.c:
9669 2005-04-25 Wim Taymans <wim@fluendo.com>
9671 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
9672 (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
9673 (gst_pad_pull_range), (gst_static_pad_template_get_caps),
9674 (gst_pad_start_task), (gst_pad_pause_task), (gst_pad_stop_task):
9676 Added stubs for unimplemented functions.
9678 2005-04-24 David Schleef <ds@schleef.org>
9680 * gst/gstpad.h: Disable some unimplemented functions. Wim,
9683 2005-04-24 David Schleef <ds@schleef.org>
9685 Convert everything from GstAtomicInt to g_atomic_int_*, and
9690 * gst/gstatomic_impl.h:
9698 * gst/gstdata_private.h:
9705 * gst/gststructure.c:
9706 * gst/gststructure.h:
9707 * gst/gstutils.c: Add gst_atomic_int_set() compaitibility function.
9710 2005-04-24 David Schleef <ds@schleef.org>
9712 * check/gst/gstpad.c: (START_TEST): Oh yeah, it's always nice to
9713 make the regressions tests work. Remove some code that is no
9715 * gst/gstpad.c: (gst_pad_link_check_templates_compatible_unlocked):
9716 Disable warning for pads without templates.
9718 2005-04-24 David Schleef <ds@schleef.org>
9720 * gst/gstpad.c: Remove handling of filtered caps. Fix/merge
9721 functions that handle filtered links.
9722 * gst/gstpad.h: Remove 'appfilter' field and prototypes of
9724 * gst/gstutils.c: Fix/remove utility functions that handle
9727 * gst/gstvalue.c: Add serialization/deserialization of caps
9728 * gst/parse/grammar.y: Ignore filtered caps when linking. This
9729 requires fixing so that the filter caps notation creates
9730 a capsfilter element and sets the filter_caps property. I
9731 think everyone probably wants to keep the shorthand notation.
9732 * docs/gst/tmpl/gstelement.sgml: updates for API changes.
9733 * docs/gst/tmpl/gstpad.sgml:
9735 * gst/elements/gstelements.c: Register capsfilter element.
9736 * gst/Makefile.am: fix spacing
9737 * docs/random/ds/0.9-suggested-changes: random
9739 2005-04-23 David Schleef <ds@schleef.org>
9741 * gst/elements/Makefile.am:
9742 * gst/elements/gstcapsfilter.c: New element that acts like an
9743 identity, but filters caps. Will eventually replace filtered
9744 caps in pad linking.
9745 * gst/gstutils.c: (gst_element_create_all_pads): New function
9746 to create all the ALWAYS pads that are registered with an
9747 element class. This functionality should eventually be
9748 merged in with GstElement initialization.
9750 * testsuite/trigger/README: part of trigger test code that should
9751 have been checked in a long time ago.
9753 2005-04-23 David Schleef <ds@schleef.org>
9755 * gst/Makefile.am: Remove as-libtool stuff. It's likely not
9756 needed with new versions of libtool (nobody will confirm this),
9757 and hard to carry around.
9758 * gst/autoplug/Makefile.am:
9759 * gst/base/Makefile.am:
9760 * gst/elements/Makefile.am:
9761 * gst/indexers/Makefile.am:
9762 * gst/schedulers/Makefile.am:
9763 * libs/gst/bytestream/Makefile.am:
9764 * libs/gst/control/Makefile.am:
9765 * libs/gst/dataprotocol/Makefile.am:
9766 * libs/gst/getbits/Makefile.am:
9768 2005-04-21 Wim Taymans <wim@fluendo.com>
9770 * docs/design/draft-push-pull.txt:
9771 * docs/design/part-MT-refcounting.txt:
9772 * docs/design/part-TODO.txt:
9773 * docs/design/part-caps.txt:
9774 * docs/design/part-events.txt:
9775 * docs/design/part-gstbus.txt:
9776 * docs/design/part-gstpipeline.txt:
9777 * docs/design/part-messages.txt:
9778 * docs/design/part-push-pull.txt:
9779 * docs/design/part-query.txt:
9782 2005-04-21 Wim Taymans <wim@fluendo.com>
9784 * gst/gstmessage.c: (_gst_message_copy), (_gst_message_free),
9785 (gst_message_new), (gst_message_new_error),
9786 (gst_message_new_warning), (gst_message_new_tag),
9787 (gst_message_new_state_changed), (gst_message_new_application),
9788 (gst_message_get_structure):
9790 * gst/gststructure.c: (gst_structure_set_parent_refcount),
9791 (gst_structure_copy_conditional):
9792 Use parent refcount in GstMessage to ensure GstStructure
9794 Cleaned up headers a bit.
9797 2005-04-20 Wim Taymans <wim@fluendo.com>
9799 * gst/base/gstbasesink.c: (gst_basesink_base_init),
9800 (gst_basesink_pad_getcaps), (gst_basesink_init),
9801 (gst_basesink_chain_unlocked):
9802 * gst/base/gsttypefindhelper.c: (helper_find_suggest),
9803 (gst_type_find_helper):
9804 * gst/elements/gsttypefindelement.c:
9805 (gst_type_find_element_have_type), (gst_type_find_element_init),
9806 (stop_typefinding), (gst_type_find_element_handle_event),
9807 (find_suggest), (gst_type_find_element_chain),
9808 (gst_type_find_element_checkgetrange),
9809 (gst_type_find_element_getrange), (do_typefind),
9810 (gst_type_find_element_activate):
9811 * gst/gstbuffer.c: (_gst_buffer_sub_free),
9812 (gst_buffer_default_free), (gst_buffer_default_copy),
9813 (gst_buffer_set_caps):
9814 * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref),
9816 * gst/gstmessage.c: (gst_message_new),
9817 (gst_message_new_state_changed):
9818 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
9819 (gst_pad_set_checkgetrange_function),
9820 (gst_pad_link_prepare_filtered), (gst_pad_relink_filtered),
9821 (gst_pad_set_caps), (gst_pad_check_pull_range),
9822 (gst_pad_pull_range), (gst_static_pad_template_get_caps):
9824 * gst/gsttypefind.c: (gst_type_find_register):
9825 Make gst_caps_replace() work like other _replace() functions.
9826 Use _caps_replace() where possible.
9827 Make sure _message_new() initialises its field.
9828 Add gst_static_pad_template_get_caps()
9831 2005-04-18 Andy Wingo <wingo@pobox.com>
9833 * gst/gstelement.c (gst_element_pads_activate): Check pull_range
9834 on the peer, not the pad. I think that was a typo. Pass an extra
9835 arg to see if random access is possible. Activate the pads as
9836 PULL_RANGE if possible.
9838 * gst/elements/gstfakesrc.c: s/ARG_/PROP_/.
9840 * gst/base/gstbasesrc.c (gst_basesrc_set_property)
9841 (gst_basesrc_get_property): BLOCKSIZE is a ULONG. Rename ARG_...
9844 2005-04-14 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
9846 * docs/faq/using.xml:
9847 Add note on gstreamer-properties (#154996).
9849 2005-04-13 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
9851 * docs/random/bbb/optional-properties:
9852 Some analysis on optional properties.
9854 2005-04-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
9856 * docs/gst/tmpl/gstelementfactory.sgml:
9858 * gst/gstelementfactory.c: (gst_element_factory_init),
9859 (gst_element_factory_cleanup), (gst_element_register),
9860 (__gst_element_factory_add_static_pad_template),
9861 (gst_element_factory_get_static_pad_templates),
9862 (gst_element_factory_can_src_caps),
9863 (gst_element_factory_can_sink_caps):
9864 * gst/registries/Makefile.am:
9865 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_get_type),
9866 (gst_xml_registry_class_init), (gst_xml_registry_init),
9867 (gst_xml_registry_new), (gst_xml_registry_set_property),
9868 (gst_xml_registry_get_property), (get_time), (make_dir),
9869 (gst_xml_registry_get_perms_func),
9870 (plugin_times_older_than_recurse), (plugin_times_older_than),
9871 (gst_xml_registry_open_func), (gst_xml_registry_load_func),
9872 (gst_xml_registry_save_func), (gst_xml_registry_close_func),
9873 (add_to_char_array), (read_string), (read_uint), (read_enum),
9874 (load_pad_template), (load_feature), (load_plugin), (load_paths),
9875 (gst_xml_registry_load), (gst_xml_registry_load_plugin),
9876 (gst_xml_registry_save_caps), (gst_xml_registry_save_pad_template),
9877 (gst_xml_registry_save_feature), (gst_xml_registry_save_plugin),
9878 (gst_xml_registry_save), (gst_xml_registry_rebuild_recurse),
9879 (gst_xml_registry_rebuild):
9880 * gst/registries/gstlibxmlregistry.h:
9881 * tools/gst-compprep.c: (main):
9882 * tools/gst-inspect.c: (print_pad_templates_info):
9883 * tools/gst-xmlinspect.c: (print_element_info):
9884 Use libxml2 for registry parsing, use staticpadtemplates in
9885 elementfactories. Makes gst_init() +/- 10x faster.
9887 2005-04-12 Wim Taymans <wim@fluendo.com>
9889 * gst/base/Makefile.am:
9890 * gst/base/gstbasesink.c: (gst_basesink_base_init),
9891 (gst_basesink_pad_getcaps), (gst_basesink_init),
9892 (gst_basesink_event), (gst_basesink_change_state):
9893 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
9894 (gst_basesrc_init), (gst_basesrc_query),
9895 (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
9896 (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
9897 (gst_basesrc_check_get_range), (gst_basesrc_loop),
9898 (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
9899 (gst_basesrc_stop), (gst_basesrc_activate),
9900 (gst_basesrc_change_state):
9901 * gst/base/gsttypefindhelper.c: (helper_find_peek),
9902 (helper_find_suggest), (gst_type_find_helper):
9903 * gst/base/gsttypefindhelper.h:
9904 * gst/elements/Makefile.am:
9905 * gst/elements/gstelements.c:
9906 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
9907 (gst_fakesink_get_times), (gst_fakesink_event),
9908 (gst_fakesink_preroll), (gst_fakesink_render):
9909 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
9910 (gst_fakesrc_init), (gst_fakesrc_event_handler),
9911 (gst_fakesrc_get_property), (gst_fakesrc_create),
9912 (gst_fakesrc_start), (gst_fakesrc_stop):
9913 * gst/elements/gstfakesrc.h:
9914 * gst/elements/gstfilesrc.c: (gst_filesrc_class_init),
9915 (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
9916 (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
9917 (gst_filesrc_create_read), (gst_filesrc_create),
9918 (gst_filesrc_is_seekable), (gst_filesrc_get_size),
9919 (gst_filesrc_start):
9920 * gst/elements/gsttypefindelement.c:
9921 (gst_type_find_element_have_type), (gst_type_find_element_init),
9922 (start_typefinding), (stop_typefinding), (push_buffer_store),
9923 (gst_type_find_element_handle_event),
9924 (gst_type_find_element_chain),
9925 (gst_type_find_element_checkgetrange),
9926 (gst_type_find_element_getrange), (do_typefind),
9927 (gst_type_find_element_activate),
9928 (gst_type_find_element_change_state):
9929 * gst/elements/gsttypefindelement.h:
9930 * gst/gstpipeline.c: (pipeline_bus_handler):
9931 Added typefind helper.
9932 Small preroll fix in the base sink.
9933 Disable typefind code in basesrc.
9934 Crude port of typefindelement.
9938 2005-04-11 Wim Taymans <wim@fluendo.com>
9940 * check/gst/gstbus.c: (gstbus_suite):
9941 * check/gst/gstdata.c: (thread_ref), (gst_data_suite):
9943 Fix up the timeout so that the test does not fail.
9945 2005-04-06 Wim Taymans <wim@fluendo.com>
9948 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
9949 (gst_basesrc_init), (gst_basesrc_get_formats), (gst_basesrc_query),
9950 (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
9951 (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
9952 (gst_basesrc_check_get_range), (gst_basesrc_loop),
9953 (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
9954 (gst_basesrc_stop), (gst_basesrc_activate),
9955 (gst_basesrc_change_state), (basesrc_find_peek),
9956 (basesrc_find_suggest), (gst_basesrc_type_find):
9957 * gst/base/gstbasesrc.h:
9958 * gst/elements/gstfilesrc.c: (gst_filesrc_base_init),
9959 (gst_filesrc_class_init), (gst_filesrc_init),
9960 (gst_filesrc_finalize), (gst_filesrc_set_location),
9961 (gst_filesrc_set_property), (gst_filesrc_get_property),
9962 (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
9963 (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
9964 (gst_filesrc_create_read), (gst_filesrc_create),
9965 (gst_filesrc_get_size), (gst_filesrc_start), (gst_filesrc_stop):
9966 * gst/elements/gstfilesrc.h:
9967 * gst/gstelement.c: (gst_element_get_state_func),
9968 (gst_element_lost_state), (gst_element_pads_activate):
9969 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
9970 (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
9971 (gst_pad_pull_range):
9973 More work on the generic source base class, implement seeking,
9975 Make filesrc extend the base source class.
9976 Added gst_pad_set_checkgetrange_function to GstPad.
9978 2005-04-06 Andy Wingo <wingo@pobox.com>
9980 * pkgconfig/gstreamer-base.pc.in:
9981 * pkgconfig/gstreamer-base-uninstalled.pc.in: New files.
9983 * pkgconfig/Makefile.am:
9984 * configure.ac (AC_OUTPUT): Add gstreamer-base pkgconfig files.
9986 2005-04-04 Wim Taymans <wim@fluendo.com>
9988 * gst/base/Makefile.am:
9990 * gst/base/gstbasesink.c: (gst_basesink_base_init),
9991 (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
9992 (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
9993 (gst_basesink_do_sync), (gst_basesink_chain_unlocked):
9994 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
9995 (gst_basesrc_base_init), (gst_basesrc_class_init),
9996 (gst_basesrc_init), (gst_basesrc_get_formats),
9997 (gst_basesrc_get_query_types), (gst_basesrc_query),
9998 (gst_basesrc_get_event_mask), (gst_basesrc_event_handler),
9999 (gst_basesrc_set_property), (gst_basesrc_get_property),
10000 (gst_basesrc_get_range_unlocked), (gst_basesrc_get_range),
10001 (gst_basesrc_loop), (gst_basesrc_activate),
10002 (gst_basesrc_change_state):
10003 * gst/base/gstbasesrc.h:
10004 * gst/elements/gstfakesrc.c: (gst_fakesrc_base_init),
10005 (gst_fakesrc_class_init), (gst_fakesrc_init),
10006 (gst_fakesrc_event_handler), (gst_fakesrc_set_property),
10007 (gst_fakesrc_get_property), (gst_fakesrc_create):
10008 * gst/elements/gstfakesrc.h:
10009 * gst/elements/gstfilesrc.c: (gst_filesrc_getrange),
10010 (gst_filesrc_open_file), (gst_filesrc_loop),
10011 (gst_filesrc_activate), (filesrc_find_peek),
10012 (gst_filesrc_type_find):
10013 Made base source class, make fakesrc extend it.
10014 Add comments to basesink class.
10015 Some filesrc cleanup.
10017 2005-03-31 David Schleef <ds@schleef.org>
10019 * gst/gstplugin.c: (gst_plugin_check_file), (gst_plugin_load_file):
10020 Switch to using G_MODULE_BIND_LOCAL, which means plugins are now
10021 expected to link against libgstreamer.
10022 * gst/base/Makefile.am: link against libgstreamer
10023 * gst/elements/Makefile.am: same
10025 2005-03-31 Andy Wingo <wingo@pobox.com>
10027 * tests/instantiate/Makefile.am:
10028 * tests/instantiate/caps.c: Add test to test speed of caps copy
10031 * tests/memchunk/gmemchunktest.c (main): Use alloc only on the
10032 GMemChunk to be fair.
10034 * gst/gsttrashstack.h: Remove warning about using the fallback
10035 trash stack implementation, it's still faster than malloc.
10037 2005-03-30 Andy Wingo <wingo@pobox.com>
10039 * tests/complexity.c: Add a copyright.
10041 2005-03-31 Wim Taymans <wim@fluendo.com>
10043 * gst/base/gstbasetransform.c: (gst_base_transform_base_init),
10044 (gst_base_transform_class_init), (gst_base_transform_init),
10045 (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
10046 (gst_base_transform_get_property),
10047 (gst_base_transform_sink_activate),
10048 (gst_base_transform_src_activate),
10049 (gst_base_transform_change_state):
10050 * gst/base/gstbasetransform.h:
10051 * gst/elements/gstidentity.c: (gst_identity_class_init),
10052 (gst_identity_event), (gst_identity_check_perfect),
10053 (gst_identity_transform), (gst_identity_start),
10054 (gst_identity_stop):
10055 Added start/stop methods to transform base class so subclasses
10056 don't need to deal with state changes even.
10058 2005-03-31 Wim Taymans <wim@fluendo.com>
10060 * gst/gstevent.c: (gst_event_new_discontinuous_valist),
10061 (gst_event_new_discontinuous), (gst_event_discont_get_value):
10063 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
10064 (gst_pad_pull_range):
10065 Added rate to the discont event to prepare for variable speed
10066 and reverse playback.
10068 2005-03-29 David Schleef <ds@schleef.org>
10071 * testsuite/trigger/Makefile.am:
10072 * testsuite/trigger/trigger.c: A little example program to show
10073 how trigger-based elements can work.
10075 2005-03-29 Wim Taymans <wim@fluendo.com>
10077 * gst/base/Makefile.am:
10079 * gst/base/gstbasesink.c: (gst_basesink_get_type),
10080 (gst_basesink_base_init), (gst_basesink_class_init),
10081 (gst_basesink_pad_getcaps), (gst_basesink_init),
10082 (gst_basesink_activate), (gst_basesink_change_state):
10083 * gst/base/gstbasesink.h:
10084 * gst/base/gstbasetransform.c: (gst_base_transform_get_type),
10085 (gst_base_transform_base_init), (gst_base_transform_finalize),
10086 (gst_base_transform_class_init), (gst_base_transform_init),
10087 (gst_base_transform_proxy_getcaps), (gst_base_transform_setcaps),
10088 (gst_base_transform_event), (gst_base_transform_getrange),
10089 (gst_base_transform_chain), (gst_base_transform_handle_buffer),
10090 (gst_base_transform_set_property),
10091 (gst_base_transform_get_property),
10092 (gst_base_transform_sink_activate),
10093 (gst_base_transform_src_activate),
10094 (gst_base_transform_change_state):
10095 * gst/base/gstbasetransform.h:
10096 * gst/elements/gstidentity.c: (gst_identity_finalize),
10097 (gst_identity_class_init), (gst_identity_init),
10098 (gst_identity_event), (gst_identity_check_perfect),
10099 (gst_identity_transform), (gst_identity_set_property),
10100 (gst_identity_get_property), (gst_identity_change_state):
10101 * gst/elements/gstidentity.h:
10102 * gst/gstelement.c: (gst_element_get_state_func),
10103 (gst_element_lost_state), (gst_element_pads_activate):
10104 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
10105 (gst_pad_check_pull_range), (gst_pad_pull_range):
10107 Simplify pad activation.
10108 Added function to check if pull_range can be performed.
10109 Error out when pulling inactive or flushing pads.
10110 Removed const from refcounted types as it does not make sense.
10111 Simplify pad templates in basesink
10112 Added base class for simple 1-to-1 transforms.
10113 Make identity subclass the base transform.
10115 2005-03-29 Andy Wingo <wingo@pobox.com>
10117 * docs/libs/gstreamer-libs-overrides.txt:
10118 * docs/gst/gstreamer-overrides.txt: Add these files to CVS. Now I
10119 really don't understand what's going on, but like whatever. I want
10122 * docs/gst/Makefile.am:
10123 * docs/libs/Makefile.am: Dist the overrides files.
10125 * check/Makefile.am (clean-local): Remove .libs directories.
10127 * gst/elements/Makefile.am (EXTRA_DIST): Add all the attic
10128 elements to EXTRA_DIST, so po/ files are happy.
10130 * po/POTFILES.in: Er, remove it here.
10132 * po/POTFILES: Remove gstspider.c.
10134 * configure.ac (AC_OUTPUT): Add missing testsuite makefiles.
10136 * docs/libs/gstreamer-libs-docs.sgml:
10137 * docs/libs/gstreamer-libs-sections.txt: Remove the section on
10140 * tests/complexity.c (main): Set the length of the preroll queue
10141 on the sinks to prevent a lockup.
10143 * libs/gst/dataprotocol/Makefile.am:
10144 * libs/gst/dataprotocol/dataprotocol-test.c: Remove test, it's
10145 the same as the one in check/gst-libs/gdp.c.
10147 * po/, docs/gst/: Commit automatic changes to docs and po files.
10149 * gst/elements/Makefile.am (libgstelements_la_LDFLAGS): Link to
10150 the versioned libgstbase.
10152 * check/Makefile.am: Depend on an unversioned gst-register, seems
10153 to make autoconf happier.
10155 * gst/base/Makefile.am: Make libgstbase a versioned lib.
10157 2005-03-28 Wim Taymans <wim@fluendo.com>
10160 * docs/design/part-gstelement.txt:
10161 * docs/design/part-negotiation.txt:
10162 * docs/design/part-preroll.txt:
10163 * docs/design/part-scheduling.txt:
10164 * docs/design/part-states.txt:
10166 * gst/base/Makefile.am:
10168 * gst/base/gstbasesink.c: (gst_basesink_get_template),
10169 (gst_basesink_base_init), (gst_basesink_class_init),
10170 (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
10171 (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
10172 (gst_basesink_set_pad_functions),
10173 (gst_basesink_set_all_pad_functions), (gst_basesink_set_clock),
10174 (gst_basesink_set_property), (gst_basesink_get_property),
10175 (gst_base_sink_get_template), (gst_base_sink_get_caps),
10176 (gst_base_sink_set_caps), (gst_base_sink_buffer_alloc),
10177 (gst_basesink_preroll_queue_push),
10178 (gst_basesink_preroll_queue_empty),
10179 (gst_basesink_preroll_queue_flush), (gst_basesink_finish_preroll),
10180 (gst_basesink_event), (gst_basesink_get_times),
10181 (gst_basesink_do_sync), (gst_basesink_handle_buffer),
10182 (gst_basesink_chain_unlocked), (gst_basesink_chain),
10183 (gst_basesink_loop), (gst_basesink_activate),
10184 (gst_basesink_change_state):
10185 * gst/base/gstbasesink.h:
10186 * gst/elements/Makefile.am:
10187 * gst/elements/gstfakesink.c: (gst_fakesink_base_init),
10188 (gst_fakesink_class_init), (gst_fakesink_init),
10189 (gst_fakesink_set_property), (gst_fakesink_get_property),
10190 (gst_fakesink_get_times), (gst_fakesink_event),
10191 (gst_fakesink_preroll), (gst_fakesink_render),
10192 (gst_fakesink_change_state):
10193 * gst/elements/gstfakesink.h:
10194 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
10195 (gst_bin_get_state), (gst_bin_change_state), (gst_bin_send_event):
10196 * gst/gstelement.c: (gst_element_add_pad),
10197 (gst_element_get_state_func), (gst_element_abort_state),
10198 (gst_element_commit_state), (gst_element_lost_state),
10199 (gst_element_set_state), (gst_element_pads_activate):
10200 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_event_default):
10201 * gst/gstpipeline.c: (gst_pipeline_send_event),
10202 (gst_pipeline_change_state):
10203 Added state change code.
10204 Added/updated docs.
10205 Added sink base class, make fakesink extend the base class.
10206 Small cleanups in GstPipeline.
10208 2005-03-26 David Schleef <ds@schleef.org>
10210 * gst/Makefile.am: remove gstcpu.[ch]. The gst_cpu functionality
10211 is broken and should be implemented in a different library.
10212 * gst/gst.c: (init_post): don't call _gst_cpu_initialize()
10213 * gst/gst.h: remove gstcpu.h
10214 * gst/gstcpu.c: remove
10215 * gst/gstcpu.h: remove
10216 * gst/Makefile.am.future: Remove this file. It's ancient.
10218 2005-03-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
10220 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
10221 (gst_bin_send_event):
10222 Add default event/set_manager handlers. The set_manager handler
10223 takes care that the manager is distributed over kids that were
10224 already in the bin before the manager was set. The event handler
10225 is a utility virtual function that sends the event over all sinks,
10226 so that gst_element_send_event (bin, event); has the expected
10228 * gst/gstpad.c: (gst_pad_event_default):
10229 Re-install default event handling for discontinuities, so that
10230 seeking works without requiring hacks in applications or extra
10232 * gst/gstpipeline.c: (gst_pipeline_class_init),
10233 (gst_pipeline_send_event):
10234 Half hack, half utility: set a pipeline to PAUSED for seek events,
10235 since that is the only way we can guarantee a/v sync. Means that
10236 you can do gst_element_seek (pipeline, method, pos); on a pipeline
10237 and it "just works".
10239 2005-03-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
10241 * gst/gstpipeline.c: (gst_pipeline_use_clock):
10242 Lock/unlock mismatch.
10244 2005-03-25 Thomas Vander Stichele <thomas at apestaart dot org>
10246 * docs/faq/gst-uninstalled:
10247 add gst-plugins-base
10248 * docs/gst/Makefile.am:
10249 don't error out until docs are fixed
10250 * docs/gst/gstreamer.types:
10253 2005-03-22 Wim Taymans <wim@fluendo.com>
10255 * check/Makefile.am:
10256 * check/gst/gstmessage.c: (START_TEST), (gst_data_suite), (main):
10257 * gst/gststructure.c: (gst_structure_set_valist),
10258 (gst_structure_copy_conditional):
10259 Activated more tests.
10260 Added message test.
10261 Added G_TYPE_POINTER to GstStructure.
10264 2005-03-22 Wim Taymans <wim@fluendo.com>
10266 * docs/design/part-TODO.txt:
10267 * docs/design/part-events.txt:
10268 * docs/design/part-gstbin.txt:
10269 * docs/design/part-gstbus.txt:
10270 * docs/design/part-gstpipeline.txt:
10271 * docs/design/part-messages.txt:
10273 * gst/gstmessage.c:
10276 2005-03-21 Wim Taymans <wim@fluendo.com>
10278 * gst/gstbus.c: (gst_bus_post):
10279 Fix copy-and-paste error.
10281 2005-03-21 Wim Taymans <wim@fluendo.com>
10283 * check/Makefile.am:
10285 * gst/elements/Makefile.am:
10286 * gst/elements/gstelements.c:
10287 * gst/elements/gstfakesink.c: (gst_fakesink_init),
10288 (gst_fakesink_event), (gst_fakesink_chain):
10289 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
10290 (gst_fakesrc_init), (gst_fakesrc_get_event_mask),
10291 (gst_fakesrc_event_handler), (gst_fakesrc_set_pad_functions),
10292 (gst_fakesrc_set_all_pad_functions), (gst_fakesrc_request_new_pad),
10293 (gst_fakesrc_set_property), (gst_fakesrc_get_property),
10294 (gst_fakesrc_get_range_unlocked), (gst_fakesrc_get_range),
10295 (gst_fakesrc_loop), (gst_fakesrc_activate),
10296 (gst_fakesrc_change_state):
10297 * gst/elements/gstfakesrc.h:
10298 * gst/elements/gstfilesrc.c: (gst_filesrc_init),
10299 (gst_filesrc_get_read), (gst_filesrc_getrange), (gst_filesrc_get),
10300 (gst_filesrc_open_file), (gst_filesrc_loop),
10301 (gst_filesrc_activate), (gst_filesrc_change_state),
10302 (filesrc_find_peek), (filesrc_find_suggest),
10303 (gst_filesrc_type_find):
10304 * gst/elements/gstidentity.c: (gst_identity_finalize),
10305 (gst_identity_class_init), (gst_identity_init),
10306 (gst_identity_proxy_getcaps), (identity_queue_push),
10307 (identity_queue_pop), (identity_queue_flush), (gst_identity_event),
10308 (gst_identity_getrange), (gst_identity_chain),
10309 (gst_identity_sink_loop), (gst_identity_src_loop),
10310 (gst_identity_handle_buffer), (gst_identity_set_dataflow_funcs),
10311 (gst_identity_set_property), (gst_identity_get_property),
10312 (gst_identity_change_state):
10313 * gst/elements/gstidentity.h:
10314 * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_init),
10315 (gst_tee_update_pad_functions), (gst_tee_request_new_pad),
10316 (gst_tee_set_property), (gst_tee_get_property), (gst_tee_do_push),
10317 (gst_tee_handle_buffer), (gst_tee_chain), (gst_tee_loop),
10318 (gst_tee_sink_activate):
10319 * gst/elements/gsttee.h:
10320 * gst/gst.c: (gst_register_core_elements), (init_post):
10322 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_bus),
10323 (gst_bin_set_scheduler), (gst_bin_add_func), (gst_bin_add),
10324 (gst_bin_remove_func), (gst_bin_remove), (gst_bin_get_state),
10325 (gst_bin_change_state):
10327 * gst/gstbus.c: (gst_bus_get_type), (gst_bus_class_init),
10328 (gst_bus_init), (gst_bus_dispose), (gst_bus_set_property),
10329 (gst_bus_get_property), (gst_bus_new), (gst_bus_post),
10330 (gst_bus_have_pending), (gst_bus_pop), (gst_bus_peek),
10331 (gst_bus_set_sync_handler), (gst_bus_create_watch),
10332 (bus_watch_callback), (bus_watch_destroy),
10333 (gst_bus_add_watch_full), (gst_bus_add_watch), (poll_handler),
10334 (poll_timeout), (gst_bus_poll):
10338 * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
10339 (gst_element_post_message), (gst_element_message_full),
10340 (gst_element_get_state_func), (gst_element_get_state),
10341 (gst_element_abort_state), (gst_element_commit_state),
10342 (gst_element_lost_state), (gst_element_set_state),
10343 (gst_element_pads_activate), (gst_element_change_state),
10344 (gst_element_dispose), (gst_element_set_manager_func),
10345 (gst_element_set_bus_func), (gst_element_set_scheduler_func),
10346 (gst_element_set_manager), (gst_element_get_manager),
10347 (gst_element_set_bus), (gst_element_get_bus),
10348 (gst_element_set_scheduler), (gst_element_get_scheduler):
10349 * gst/gstelement.h:
10350 * gst/gstevent.c: (gst_event_new_segment_seek),
10351 (gst_event_new_flush):
10353 * gst/gstmessage.c: (_gst_message_initialize), (_gst_message_copy),
10354 (_gst_message_free), (gst_message_get_type), (gst_message_new),
10355 (gst_message_new_eos), (gst_message_new_error),
10356 (gst_message_new_warning), (gst_message_new_tag),
10357 (gst_message_new_state_changed), (gst_message_new_application),
10358 (gst_message_get_structure), (gst_message_parse_tag),
10359 (gst_message_parse_state_changed), (gst_message_parse_error),
10360 (gst_message_parse_warning):
10361 * gst/gstmessage.h:
10362 * gst/gstpad.c: (gst_real_pad_class_init), (gst_real_pad_init),
10363 (gst_real_pad_set_property), (gst_pad_set_active),
10364 (gst_pad_is_active), (gst_pad_set_blocked_async),
10365 (gst_pad_set_blocked), (gst_pad_is_blocked),
10366 (gst_pad_set_activate_function), (gst_pad_set_loop_function),
10367 (gst_pad_set_getrange_function), (gst_pad_set_acceptcaps_function),
10368 (gst_pad_set_fixatecaps_function), (gst_pad_set_setcaps_function),
10369 (gst_pad_unlink), (gst_pad_link_prepare_filtered),
10370 (gst_pad_link_filtered), (gst_pad_relink_filtered),
10371 (gst_real_pad_get_caps_unlocked), (gst_pad_get_caps),
10372 (gst_pad_peer_get_caps), (gst_pad_fixate_caps),
10373 (gst_pad_accept_caps), (gst_pad_peer_accept_caps),
10374 (gst_pad_set_caps), (gst_pad_configure_sink),
10375 (gst_pad_configure_src), (gst_pad_get_negotiated_caps),
10376 (gst_pad_get_filter_caps), (gst_pad_alloc_buffer),
10377 (gst_real_pad_dispose), (gst_real_pad_finalize),
10378 (handle_pad_block), (gst_pad_push), (gst_pad_pull_range),
10379 (gst_pad_event_default_dispatch), (gst_pad_event_default),
10380 (gst_pad_push_event), (gst_pad_send_event), (gst_pad_get_formats):
10382 * gst/gstpipeline.c: (gst_pipeline_init), (is_eos),
10383 (pipeline_bus_handler), (gst_pipeline_change_state),
10384 (gst_pipeline_get_scheduler), (gst_pipeline_get_bus):
10385 * gst/gstpipeline.h:
10387 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
10388 (gst_queue_finalize), (gst_queue_getcaps), (gst_queue_link_sink),
10389 (gst_queue_link_src), (gst_queue_bufferalloc),
10390 (gst_queue_locked_flush), (gst_queue_handle_sink_event),
10391 (gst_queue_is_empty), (gst_queue_is_filled), (gst_queue_chain),
10392 (gst_queue_loop), (gst_queue_handle_src_event),
10393 (gst_queue_handle_src_query), (gst_queue_src_activate),
10394 (gst_queue_change_state):
10396 * gst/gstscheduler.c: (gst_scheduler_init),
10397 (gst_scheduler_dispose), (gst_scheduler_create_task),
10398 (gst_scheduler_factory_create):
10399 * gst/gstscheduler.h:
10400 * gst/gststructure.c: (gst_structure_get_type),
10401 (gst_structure_copy_conditional):
10402 * gst/gststructure.h:
10403 * gst/gsttaginterface.h:
10404 * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
10405 (gst_task_init), (gst_task_dispose), (gst_task_create),
10406 (gst_task_get_state), (gst_task_start), (gst_task_stop),
10412 * gst/schedulers/Makefile.am:
10413 * gst/schedulers/cothreads_compat.h:
10414 * gst/schedulers/entryscheduler.c:
10415 * gst/schedulers/faircothreads.c:
10416 * gst/schedulers/faircothreads.h:
10417 * gst/schedulers/fairscheduler.c:
10418 * gst/schedulers/gstbasicscheduler.c:
10419 * gst/schedulers/gstoptimalscheduler.c:
10420 * gst/schedulers/gthread-cothreads.h:
10421 * gst/schedulers/threadscheduler.c:
10422 (gst_thread_scheduler_task_get_type),
10423 (gst_thread_scheduler_task_class_init),
10424 (gst_thread_scheduler_task_init),
10425 (gst_thread_scheduler_task_start),
10426 (gst_thread_scheduler_task_stop),
10427 (gst_thread_scheduler_task_pause), (gst_thread_scheduler_get_type),
10428 (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
10429 (gst_thread_scheduler_init), (gst_thread_scheduler_create_task),
10430 (gst_thread_scheduler_setup), (gst_thread_scheduler_reset),
10432 * libs/gst/Makefile.am:
10433 * libs/gst/bytestream/bytestream.c: (gst_bytestream_get_next_buf):
10434 * libs/gst/bytestream/filepad.c: (gst_file_pad_init),
10435 (gst_file_pad_parent_set):
10436 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
10437 (gst_dp_event_from_packet):
10438 * tests/complexity.c: (main):
10439 * tests/mass_elements.c: (main):
10440 * testsuite/states/locked.c: (message_received), (main):
10441 * testsuite/states/parent.c: (main):
10442 * tools/gst-inspect.c: (print_element_flag_info),
10443 (print_implementation_info), (print_pad_info):
10444 * tools/gst-launch.c: (check_intr), (play_handler), (event_loop),
10446 * tools/gst-md5sum.c: (event_loop), (main):
10447 * tools/gst-typefind.c: (main):
10448 * tools/gst-xmlinspect.c: (print_element_info):
10450 Added GstBus for mainloop integration.
10451 Added GstMessage for sending notifications on the bus.
10452 Added GstTask as an abstraction for pipeline entry points.
10454 Removed Schedulers.
10455 Simplified GstQueue for multithreaded core.
10456 Made _link threadsafe, removed old capsnego.
10457 Added STREAM_LOCK and PREROLL_LOCK in GstPad.
10458 Added pad blocking functions.
10459 Reworked scheduling functions in GstPad to prepare for
10460 scheduling updates soon.
10461 Moved events out of data stream.
10462 Simplified GstEvent types.
10463 Added return values to push/pull.
10464 Removed clocking from GstElement.
10465 Added prototypes for state change function for next merge.
10466 Removed iterate from bins and state change management.
10467 Fixed some elements, disabled others for now.
10468 Fixed -inspect and -launch.
10469 Added check for GstBus.
10471 2005-03-10 Wim Taymans <wim@fluendo.com>
10473 * docs/design/part-MT-refcounting.txt:
10474 * docs/design/part-clocks.txt:
10475 * docs/design/part-gstelement.txt:
10476 * docs/design/part-gstobject.txt:
10477 * docs/design/part-standards.txt:
10478 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
10479 (gst_bin_remove_func), (gst_bin_remove):
10483 * testsuite/clock/clock1.c: (main):
10484 * testsuite/clock/clock2.c: (gst_clock_debug), (element_wait),
10486 * testsuite/dlopen/loadgst.c: (do_test):
10487 * testsuite/refcounting/bin.c: (add_remove_test1),
10488 (add_remove_test2), (main):
10489 * testsuite/refcounting/element.c: (main):
10490 * testsuite/refcounting/element_pad.c: (main):
10491 * testsuite/refcounting/pad.c: (main):
10492 * tools/gst-launch.c: (sigint_handler_sighandler):
10493 * tools/gst-typefind.c: (main):
10495 Added doc about clock.
10496 removed gst_bin_iterate_recurse_up(), marked methods
10498 Fix more testsuites.
10500 2005-03-09 Wim Taymans <wim@fluendo.com>
10502 * gst/gstpad.c: (gst_pad_get_direction),
10503 (_gst_pad_default_fixate_foreach), (gst_pad_collectv),
10504 (gst_pad_collect_valist):
10505 * testsuite/bins/interface.c: (main):
10506 * testsuite/caps/audioscale.c: (test_caps):
10507 * testsuite/caps/caps.c: (test1), (test2), (test3):
10508 * testsuite/caps/deserialize.c: (main):
10509 * testsuite/caps/enumcaps.c: (main):
10510 * testsuite/caps/filtercaps.c: (main):
10511 * testsuite/caps/intersect2.c: (main):
10512 * testsuite/caps/random.c: (main):
10513 * testsuite/caps/renegotiate.c: (my_fixate), (main):
10514 * testsuite/caps/sets.c: (check_caps):
10515 * testsuite/caps/simplify.c: (check_caps), (main):
10516 * testsuite/caps/subtract.c: (check_caps):
10517 Fix _pad_get_direction wrt ghostpads.
10518 Fix caps testsuite.
10520 2005-03-09 Wim Taymans <wim@fluendo.com>
10522 * check/Makefile.am:
10523 * check/gst/gstbin.c: (START_TEST), (gst_bin_suite), (main):
10524 * check/gst/gstsystemclock.c: (START_TEST), (gst_clock_debug),
10525 (ok_callback), (error_callback), (gst_systemclock_suite), (main):
10526 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_index_func),
10527 (gst_bin_set_clock_func), (gst_bin_get_clock_func),
10528 (gst_bin_add_func), (gst_bin_add), (gst_bin_remove_func),
10529 (gst_bin_remove), (gst_bin_iterate_recurse_up),
10530 (bin_element_is_sink), (gst_bin_iterate_sinks),
10531 (gst_bin_iterate_all_by_interface):
10533 * gst/gstelement.c: (gst_element_init), (gst_element_error_full),
10534 (gst_element_change_state), (gst_element_dispose),
10535 (gst_element_finalize), (gst_element_set_loop_function):
10536 * gst/gstelement.h:
10537 * gst/gstiterator.c: (find_custom_fold_func):
10538 * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
10539 (gst_pad_collectv), (gst_pad_collect_valist),
10540 (gst_pad_template_new):
10541 * gst/gstpipeline.c: (gst_pipeline_class_init),
10542 (gst_pipeline_dispose), (gst_pipeline_set_property),
10543 (gst_pipeline_get_property), (gst_pipeline_get_clock_func),
10544 (gst_pipeline_get_clock), (gst_pipeline_use_clock),
10545 (gst_pipeline_set_clock), (gst_pipeline_auto_clock):
10547 * gst/schedulers/entryscheduler.c:
10548 * gst/schedulers/gstbasicscheduler.c:
10549 (gst_basic_scheduler_cothreaded_chain),
10550 (gst_basic_scheduler_chain_add_element):
10551 * testsuite/bins/interface.c: (main):
10553 Added GstSystemClock test.
10554 Implemented clock distribution code in GstBin.
10555 Implemented iterate sinks method for future use.
10556 Rearranged gstelement.h
10557 Fix GstIterator comparison bug.
10558 Moved some code to GstPipeline, mostly clocking related.
10560 2005-03-09 Wim Taymans <wim@fluendo.com>
10563 * gst/gst_private.h:
10564 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
10565 (gst_bin_remove_func), (gst_bin_remove),
10566 (gst_bin_get_by_name_recurse_up):
10567 * gst/gstclock.c: (gst_clock_id_ref), (gst_clock_id_unref),
10568 (gst_clock_id_compare_func), (gst_clock_id_wait),
10569 (gst_clock_id_wait_async), (gst_clock_init),
10570 (gst_clock_adjust_unlocked), (gst_clock_get_time):
10571 * gst/gstelement.h:
10572 * gst/gstinfo.c: (_gst_debug_init):
10574 * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
10575 (gst_pad_collectv), (gst_pad_collect_valist), (gst_pad_query):
10577 Bump version number, we're now 0.9.0
10578 Add future debugging category.
10579 Fix NULL _unref() in _get_by_name_recurse_up
10580 Rearrange gstpad.h.
10583 2005-03-08 Wim Taymans <wim@fluendo.com>
10585 * gst/elements/gstaggregator.c: (gst_aggregator_class_init):
10586 * gst/elements/gstfakesink.c: (gst_fakesink_class_init):
10587 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
10588 * gst/elements/gstfdsink.c: (gst_fdsink_class_init):
10589 * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init):
10590 * gst/elements/gstfilesink.c: (gst_filesink_class_init):
10591 * gst/elements/gstfilesrc.c: (gst_filesrc_class_init):
10592 * gst/elements/gstidentity.c: (gst_identity_class_init):
10593 * gst/elements/gstmd5sink.c: (gst_md5sink_class_init):
10594 * gst/elements/gstmultifilesrc.c: (gst_multifilesrc_class_init):
10595 * gst/elements/gstshaper.c: (gst_shaper_class_init):
10596 * gst/elements/gststatistics.c: (gst_statistics_class_init):
10597 * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_getcaps),
10599 * gst/gstelement.c: (gst_element_class_init),
10600 (gst_element_base_class_init), (gst_element_init),
10601 (gst_element_get_random_pad), (gst_element_wait_state_change),
10602 (gst_element_change_state), (gst_element_dispose),
10603 (gst_element_finalize), (gst_element_set_loop_function):
10604 * gst/gstelement.h:
10605 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_link_src):
10606 * gst/gstthread.c: (gst_thread_class_init),
10607 (gst_thread_release_children_locks), (gst_thread_change_state):
10608 * gst/schedulers/gstbasicscheduler.c:
10609 (gst_basic_scheduler_loopfunc_wrapper),
10610 (gst_basic_scheduler_chain_wrapper),
10611 (gst_basic_scheduler_src_wrapper),
10612 (gst_basic_scheduler_remove_element):
10613 * gst/schedulers/gstoptimalscheduler.c: (schedule_group):
10614 Remove threadsafe properties. Fix elements because GObject
10615 complains when installing a property before declaring a
10616 set/get_property handler.
10617 Rearrange gstelement.h file, use STATE macros for state locks.
10618 Free mutexes in the finalize method instead of dispose.
10620 2005-03-08 Wim Taymans <wim@fluendo.com>
10622 * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
10623 * gst/gstthread.c: (gst_thread_release_children_locks):
10624 Added parentage check.
10625 Fix build og GstThread again.
10627 2005-03-08 Wim Taymans <wim@fluendo.com>
10629 * docs/design/part-MT-refcounting.txt:
10630 * docs/design/part-conventions.txt:
10631 * docs/design/part-gstobject.txt:
10632 * docs/design/part-relations.txt:
10633 * docs/design/part-standards.txt:
10634 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
10635 (gst_bin_remove_func), (gst_bin_remove), (gst_bin_iterate_recurse),
10636 (gst_bin_get_by_name), (gst_bin_get_by_interface),
10637 (gst_bin_iterate_all_by_interface):
10640 * gst/gstelement.c: (gst_element_class_init),
10641 (gst_element_change_state), (gst_element_set_loop_function):
10642 * gst/gstelement.h:
10643 * gst/gstiterator.c:
10644 * gst/gstobject.c: (gst_object_class_init), (gst_object_ref),
10645 (gst_object_unref), (gst_object_sink), (gst_object_dispose),
10646 (gst_object_dispatch_properties_changed), (gst_object_set_name),
10647 (gst_object_set_parent), (gst_object_unparent),
10648 (gst_object_check_uniqueness):
10650 Docs updates, clean up some headers.
10652 2005-03-07 Wim Taymans <wim@fluendo.com>
10654 * check/.cvsignore:
10655 * check/Makefile.am:
10656 * check/gst-libs/.cvsignore:
10657 * check/gst-libs/gdp.c: (START_TEST), (gst_object_suite), (main):
10658 * check/gst/.cvsignore:
10659 * check/gst/gstbus.c: (pound_bus_with_messages), (pull_messages),
10660 (START_TEST), (gstbus_suite), (main):
10661 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite), (main):
10662 * check/gst/gstdata.c: (START_TEST), (thread_ref), (thread_unref),
10663 (gst_data_suite), (main):
10664 * check/gst/gstiterator.c: (make_list_of_ints), (START_TEST),
10665 (add_fold_func), (gstiterator_suite), (main):
10666 * check/gst/gstobject.c: (gst_fake_object_get_type), (START_TEST),
10667 (thread_name_object), (thread_name_object_default),
10668 (gst_object_name_compare), (gst_object_suite), (main):
10669 * check/gst/gstpad.c: (START_TEST), (thread_link_unlink),
10670 (gst_pad_suite), (main):
10671 * check/gstcheck.c: (gst_check_log_message_func),
10672 (gst_check_log_critical_func), (gst_check_init):
10673 * check/gstcheck.h:
10674 * check/pipelines/simple_launch_lines.c: (setup_pipeline),
10675 (run_pipeline), (START_TEST), (simple_launch_lines_suite), (main):
10678 2005-03-07 Wim Taymans <wim@fluendo.com>
10680 * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
10681 (gst_list_iterator_next), (gst_list_iterator_resync),
10682 (gst_list_iterator_free), (gst_iterator_new_list),
10683 (gst_iterator_pop), (gst_iterator_next), (gst_iterator_resync),
10684 (gst_iterator_free), (gst_iterator_push), (filter_next),
10685 (filter_resync), (filter_uninit), (filter_free),
10686 (gst_iterator_filter), (gst_iterator_fold), (foreach_fold_func),
10687 (gst_iterator_foreach), (find_custom_fold_func),
10688 (gst_iterator_find_custom):
10689 * gst/gstiterator.h:
10690 Added missing files.
10692 2005-03-07 Wim Taymans <wim@fluendo.com>
10696 * docs/design/part-MT-refcounting.txt:
10697 * docs/design/part-conventions.txt:
10698 * docs/design/part-gstobject.txt:
10699 * docs/design/part-relations.txt:
10700 * examples/mixer/mixer.c: (main):
10701 * examples/thread/thread.c: (eos), (main):
10703 * gst/autoplug/gstsearchfuncs.c: (gst_autoplug_caps_intersect):
10704 * gst/autoplug/gstspider.c: (gst_spider_identity_plug),
10705 (gst_spider_plug_from_srcpad):
10706 * gst/autoplug/gstspideridentity.c: (gst_spider_identity_getcaps),
10707 (gst_spider_identity_change_state),
10708 (gst_spider_identity_sink_loop_type_finding):
10709 * gst/elements/gstfakesrc.c: (gst_fakesrc_loop):
10710 * gst/elements/gstidentity.c: (gst_identity_init):
10711 * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_getcaps),
10712 (gst_tee_link), (gst_tee_request_new_pad), (gst_tee_chain):
10713 * gst/elements/gsttypefindelement.c: (free_entry):
10716 * gst/gstbin.c: (gst_bin_init), (gst_bin_get_clock_func),
10717 (gst_bin_set_clock_func), (gst_bin_auto_clock),
10718 (gst_bin_set_index), (gst_bin_set_element_sched),
10719 (gst_bin_unset_element_sched), (gst_bin_add_func), (gst_bin_add),
10720 (gst_bin_remove_func), (gst_bin_remove), (iterate_child),
10721 (gst_bin_iterate_elements), (iterate_child_recurse),
10722 (gst_bin_iterate_recurse), (gst_bin_dispose), (compare_name),
10723 (gst_bin_get_by_name), (gst_bin_get_by_name_recurse_up),
10724 (compare_interface), (gst_bin_get_by_interface),
10725 (gst_bin_iterate_all_by_interface), (gst_bin_iterate_func):
10727 * gst/gstbuffer.c: (gst_buffer_get_type), (_gst_buffer_sub_free),
10728 (gst_buffer_default_free), (gst_buffer_default_copy),
10729 (gst_buffer_new), (gst_buffer_get_caps), (gst_buffer_set_caps),
10730 (gst_buffer_create_sub):
10732 * gst/gstcaps.c: (gst_caps_get_type), (gst_caps_new_empty),
10733 (_gst_caps_free), (gst_caps_make_writable), (gst_caps_ref),
10734 (gst_caps_unref), (gst_static_caps_get),
10735 (gst_caps_remove_and_get_structure), (gst_caps_append),
10736 (gst_caps_append_structure), (gst_caps_remove_structure),
10737 (gst_caps_copy_nth), (gst_caps_set_simple),
10738 (gst_caps_set_simple_valist), (gst_caps_is_fixed_foreach),
10739 (gst_structure_is_equal_foreach), (gst_caps_is_subset),
10740 (gst_caps_structure_intersect_field), (gst_caps_intersect),
10741 (gst_caps_structure_subtract_field), (gst_caps_subtract),
10742 (gst_caps_normalize_foreach), (gst_caps_compare_structures),
10743 (gst_caps_structure_figure_out_union),
10744 (gst_caps_switch_structures), (gst_caps_do_simplify),
10745 (gst_caps_replace), (gst_caps_from_string),
10746 (gst_caps_copy_conditional):
10748 * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_ref),
10749 (_gst_clock_id_free), (gst_clock_id_unref),
10750 (gst_clock_id_compare_func), (gst_clock_id_wait),
10751 (gst_clock_id_wait_async), (gst_clock_class_init),
10752 (gst_clock_init), (gst_clock_dispose), (gst_clock_adjust_unlocked),
10753 (gst_clock_get_time), (gst_clock_set_time_adjust),
10754 (gst_clock_set_property), (gst_clock_get_property):
10757 * gst/gstcpu.c: (_gst_cpu_initialize_i386), (gst_cpu_get_flags):
10758 * gst/gstdata.c: (gst_data_is_writable), (gst_data_copy_on_write):
10760 * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
10761 (gst_element_requires_clock), (gst_element_provides_clock),
10762 (gst_element_set_clock), (gst_element_clock_wait),
10763 (gst_element_wait), (gst_element_set_time_delay),
10764 (gst_element_is_indexable), (gst_element_add_pad),
10765 (gst_element_add_ghost_pad), (gst_element_remove_pad),
10766 (pad_compare_name), (gst_element_get_static_pad),
10767 (gst_element_request_pad), (gst_element_get_request_pad),
10768 (gst_element_get_pad), (iterate_pad), (gst_element_iterate_pads),
10769 (gst_element_class_get_pad_template_list),
10770 (gst_element_class_get_pad_template), (gst_element_error_func),
10771 (gst_element_get_random_pad), (gst_element_get_event_masks),
10772 (gst_element_send_event), (gst_element_seek),
10773 (gst_element_get_query_types), (gst_element_query),
10774 (gst_element_get_formats), (gst_element_convert),
10775 (gst_element_is_locked_state), (gst_element_set_locked_state),
10776 (gst_element_sync_state_with_parent), (gst_element_change_state),
10777 (gst_element_finalize), (gst_element_yield),
10778 (gst_element_interrupt), (gst_element_set_scheduler),
10779 (gst_element_get_scheduler), (gst_element_set_loop_function):
10780 * gst/gstelement.h:
10782 * gst/gstformat.c: (_gst_format_initialize), (gst_format_register),
10783 (gst_format_get_by_nick), (gst_format_get_details),
10784 (gst_format_iterate_definitions):
10786 * gst/gstindex.c: (gst_index_gtype_resolver):
10789 * gst/gstmemchunk.c: (gst_mem_chunk_alloc), (gst_mem_chunk_alloc0),
10790 (gst_mem_chunk_free):
10791 * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
10792 (gst_object_ref), (gst_object_unref), (gst_object_sink),
10793 (gst_object_replace), (gst_object_dispose), (gst_object_finalize),
10794 (gst_object_dispatch_properties_changed),
10795 (gst_object_set_name_default), (gst_object_set_name),
10796 (gst_object_get_name), (gst_object_set_name_prefix),
10797 (gst_object_get_name_prefix), (gst_object_set_parent),
10798 (gst_object_get_parent), (gst_object_unparent),
10799 (gst_object_check_uniqueness), (gst_object_save_thyself),
10800 (gst_object_restore_thyself), (gst_object_real_restore_thyself),
10801 (gst_object_set_property), (gst_object_get_property),
10802 (gst_object_get_path_string):
10804 * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
10805 (gst_real_pad_init), (gst_real_pad_get_property),
10806 (gst_pad_custom_new), (gst_pad_get_direction),
10807 (gst_pad_set_active), (gst_pad_is_active),
10808 (gst_pad_set_event_function), (gst_pad_is_linked),
10809 (gst_pad_link_free), (gst_pad_link_intersect),
10810 (gst_pad_link_fixate), (gst_pad_set_caps),
10811 (gst_pad_try_set_caps_nonfixed), (gst_pad_set_pad_template),
10812 (gst_pad_get_real_parent), (gst_pad_add_ghost_pad),
10813 (gst_pad_remove_ghost_pad), (_gst_pad_default_fixate_foreach),
10814 (gst_pad_link_unnegotiate), (gst_pad_proxy_fixate),
10815 (gst_pad_get_caps), (gst_pad_peer_get_caps),
10816 (gst_pad_get_pad_template_caps), (gst_pad_get_peer),
10817 (gst_pad_realize), (gst_pad_get_allowed_caps),
10818 (gst_real_pad_dispose), (gst_real_pad_finalize),
10819 (gst_pad_collectv), (gst_pad_collect_valist),
10820 (gst_pad_template_dispose), (gst_pad_template_new),
10821 (gst_pad_get_internal_links):
10823 * gst/gstpipeline.c: (gst_pipeline_dispose),
10824 (gst_pipeline_change_state):
10825 * gst/gstpipeline.h:
10827 * gst/gstpluginfeature.c: (gst_plugin_feature_get_name),
10828 (gst_plugin_feature_set_rank), (gst_plugin_feature_get_rank):
10829 * gst/gstpluginfeature.h:
10830 * gst/gstprobe.c: (gst_probe_dispatcher_dispatch):
10831 * gst/gstquery.c: (_gst_query_type_initialize),
10832 (gst_query_type_register), (gst_query_type_get_by_nick),
10833 (gst_query_type_get_details), (gst_query_type_iterate_definitions):
10835 * gst/gstqueue.c: (gst_queue_link_sink), (gst_queue_link_src):
10836 * gst/gstscheduler.c: (gst_scheduler_add_element),
10837 (gst_scheduler_factory_create):
10838 * gst/gststructure.c: (gst_structure_set_parent_refcount),
10839 (gst_structure_free), (gst_structure_set_name),
10840 (gst_structure_id_set_value), (gst_structure_set_value),
10841 (gst_structure_set_valist), (gst_structure_remove_field),
10842 (gst_structure_remove_fields),
10843 (gst_structure_remove_fields_valist),
10844 (gst_structure_remove_all_fields), (gst_structure_foreach),
10845 (gst_structure_map_in_place),
10846 (gst_caps_structure_fixate_field_nearest_int),
10847 (gst_caps_structure_fixate_field_nearest_double):
10848 * gst/gststructure.h:
10849 * gst/gstsystemclock.c: (gst_system_clock_class_init),
10850 (gst_system_clock_init), (gst_system_clock_dispose),
10851 (gst_system_clock_async_thread),
10852 (gst_system_clock_id_wait_unlocked), (gst_system_clock_id_wait),
10853 (gst_system_clock_id_wait_async), (gst_system_clock_id_unschedule):
10854 * gst/gstsystemclock.h:
10855 * gst/gsttag.c: (gst_tag_list_add_value_internal),
10856 (gst_tag_list_copy_foreach), (structure_foreach_wrapper):
10857 * gst/gsttaginterface.c:
10858 * gst/gstthread.c: (gst_thread_dispose),
10859 (gst_thread_release_children_locks), (gst_thread_change_state),
10860 (gst_thread_main_loop):
10861 * gst/gsttrashstack.h:
10862 * gst/gsttypefind.c: (gst_type_find_factory_dispose):
10864 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
10865 (gst_element_request_pad), (gst_element_get_pad_from_template),
10866 (gst_element_request_compatible_pad),
10867 (gst_element_get_compatible_pad_filtered),
10868 (gst_element_get_compatible_pad), (gst_element_state_get_name),
10869 (gst_element_link_pads_filtered), (gst_element_link_filtered),
10870 (gst_element_link_many), (gst_element_link),
10871 (gst_element_link_pads), (gst_element_unlink_pads),
10872 (gst_element_unlink_many), (gst_element_unlink),
10873 (gst_pad_can_link_filtered), (gst_pad_can_link),
10874 (gst_pad_use_fixed_caps), (gst_pad_get_fixed_caps_func),
10875 (gst_object_default_error), (gst_bin_add_many),
10876 (gst_bin_remove_many), (gst_element_populate_std_props),
10877 (gst_element_class_install_std_props), (gst_buffer_merge),
10878 (gst_buffer_stamp), (intersect_caps_func), (gst_pad_proxy_getcaps),
10879 (link_fold_func), (gst_pad_proxy_setcaps):
10881 * gst/gstvalue.c: (gst_value_deserialize_string):
10882 * gst/parse/grammar.y:
10883 * gst/schedulers/gstbasicscheduler.c:
10884 (gst_basic_scheduler_cothreaded_chain),
10885 (gst_basic_scheduler_chain_recursive_add),
10886 (gst_basic_scheduler_pad_link):
10887 * gst/schedulers/gstoptimalscheduler.c:
10888 (get_group_schedule_function),
10889 (gst_opt_scheduler_state_transition),
10890 (gst_opt_scheduler_add_element), (element_get_reachables_func):
10891 * libs/gst/bytestream/bytestream.c:
10892 * libs/gst/dataprotocol/dataprotocol.c:
10893 (gst_dp_header_from_buffer):
10896 * tests/threadstate/threadstate2.c: (eos):
10897 * tools/gst-compprep.c: (main):
10898 * tools/gst-inspect.c: (print_field), (print_element_flag_info),
10899 (print_pad_info), (print_children_info):
10900 * tools/gst-launch.c: (idle_func), (main):
10901 * tools/gst-md5sum.c: (idle_func), (main):
10902 * tools/gst-xmlinspect.c: (print_element_info):
10903 First THREADED backport attempt, focusing on adding locks and
10904 making sure the API is threadsafe. Needs more work. More docs
10907 2005-02-24 Andy Wingo <wingo@pobox.com>
10909 * tests/bench-complexity.scm:
10910 * tests/complexity.gnuplot: New files, good for running complexity
10913 * tests/Makefile.am:
10914 * tests/complexity.c: New test, sets up N elements, at each level
10915 teeing into M streams per element. Eeeenteresting.
10917 * tests/mass_elements.gnuplot: gnuplot file for the mass_elements
10918 benchmark. Run as gnuplot mass_elements.gnuplot > foo.ps, after
10919 running bench-mass_elements.scm.
10921 * tests/bench-mass_elements.scm: New script, runs mass_elements
10922 for various numbers of identities, outputting the results to a
10923 file. Requires guile 1.6. Just for testing.
10925 2005-02-23 Thomas Vander Stichele <thomas at apestaart dot org>
10927 * gst/schedulers/fairscheduler.c:
10928 compile with debug disabled
10930 2005-02-22 Thomas Vander Stichele <thomas at apestaart dot org>
10933 hunting season on 0.9 is now OPEN