1 2005-11-17 Wim Taymans <wim@fluendo.com>
3 * gst/net/gstnetclientclock.c: (gst_net_client_clock_finalize):
4 Free remote and local time arrays.
6 2005-11-17 Wim Taymans <wim@fluendo.com>
8 * gst/net/gstnetclientclock.c: (do_linear_regression),
9 (gst_net_client_clock_do_select), (gst_net_client_clock_thread):
10 Fix compilation, uninitialized vars and a forgotten continue.
12 2005-11-17 Andy Wingo <wingo@pobox.com>
14 * check/Makefile.am (check_PROGRAMS):
15 * check/net/gstnetclientclock.c: Add a most minimal test for the
16 net client clock. More to come later.
19 * gst/net/Makefile.am: Add netclientclock.
21 * gst/net/gstnetclientclock.h:
22 * gst/net/gstnetclientclock.c: New files, implement an untested
23 GstClock that takes its time from a network time provider.
24 Implements the algorithm in network-clock.scm.
26 * tests/network-clock.scm (*window-size*): Rename from
28 * tests/network-clock.scm (network-time):
29 * tests/network-clock-utils.scm (q-push): Update callers.
31 2005-11-17 Wim Taymans <wim@fluendo.com>
33 * gst/gstbin.c: (gst_bin_provide_clock_func),
34 (gst_bin_sort_iterator_new):
35 And unref the child too..
37 2005-11-17 Wim Taymans <wim@fluendo.com>
39 * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
40 (gst_bin_sort_iterator_new), (gst_bin_iterate_sorted):
41 Refactor the sort iterator so it can be used while holding the
43 Make clock selection select a clock closest to the source.
45 2005-11-17 Michael Smith <msmith@fluendo.com>
47 * gst/gstclock.c: (gst_clock_init), (gst_clock_adjust_unlocked),
48 (gst_clock_set_rate_offset), (gst_clock_get_rate_offset):
50 Anonymous structs are a gcc (and some other compilers) extension, so
51 don't use them. Since this is only for ABI-compatibility, and our
52 API/ABI freeze is over in a few days, this whole thing will only
53 last a few days, so don't bother trying to think up a meaningful
56 2005-11-17 Andy Wingo <wingo@pobox.com>
58 * gst/gstclock.h (GstClock): Add rate and offset properties,
59 preserving ABI stability. Add rate/offset accessors. Will file bug
62 * gst/gstclock.c (gst_clock_adjust_unlocked): Implement using rate
63 and offset, trying to keep precision and avoiding
65 (gst_clock_set_rate_offset, gst_clock_get_rate_offset): New
66 functions. Make gst_clock_set_time_adjust obsolete.
67 (gst_clock_set_time_adjust): Note that this function is obsolete.
70 * gst/base/gstbasetransform.h: Make the ABI-stability hack
71 greppable by using GST_PADDING-1+1.
73 2005-11-17 Torsten Schoenfeld <kaffeetisch at gmx dot net>
75 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
77 * gst/gstmessage.c: (gst_message_parse_clock_lost):
78 Assertion should check for CLOCK_LOST, not NEW_CLOCK (#321648).
80 * gst/gstpadtemplate.h:
81 * gst/gstpluginfeature.h:
82 Don't use c++ style comments in headers (#321638).
84 2005-11-16 Andy Wingo <wingo@pobox.com>
86 * gst/net/gstnettimepacket.c (gst_net_time_packet_send): Free
89 * check/net/gstnettimeprovider.c: Check to see that the time
90 provider actually provides times. Works, yo!
92 2005-11-16 Wim Taymans <wim@fluendo.com>
97 * check/elements/fakesrc.c: (GST_START_TEST):
98 Set element to NULL before disposing it.
100 2005-11-16 Andy Wingo <wingo@pobox.com>
102 * gst/net/Makefile.am:
104 * gst/net/gstnettimeprovider.c:
105 * gst/net/gstnettimeprovider.h: Use the timepacket stuff in the
106 provider, include it from gstnet.h, and add it to the build.
108 * gst/net/gstnettimepacket.h:
109 * gst/net/gstnettimepacket.c: New files, abstracts out the packet
110 sending and receiving.
112 2005-11-16 Wim Taymans <wim@fluendo.com>
115 Enable valgrind check.
117 * gst/elements/gstfakesrc.c: (gst_fake_src_alloc_parent),
118 (gst_fake_src_alloc_buffer):
121 2005-11-16 Wim Taymans <wim@fluendo.com>
123 * gst/net/gstnettimeprovider.c: (gst_net_time_provider_finalize):
124 Call parent finalize too.
126 2005-11-16 Wim Taymans <wim@fluendo.com>
129 Enable valgrind check that should work fine now.
131 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
132 * gst/gstqueue.c: (gst_queue_init):
133 Fix memleaks in pad allocation.
135 2005-11-16 Andy Wingo <wingo@pobox.com>
137 * gst/net/Makefile.am:
138 * gst/net/gstnet.h: New part of core to hold network elements and
139 objects. Put in core because it exposes API that applications want
140 to use. The library is named libgstnet-tempname right now because
141 of the existing libgstnet in gst-plugins-base. Solution is
142 probably to rename the one in plugins-base; will file a bug for
145 * gst/net/gstnettimeprovider.c:
146 * gst/net/gstnettimeprovider.h: New object to export a GstClock's
147 get_time call over the network.
150 * gst/Makefile.am (lib_LTLIBRARIES): Add gstnet to the build.
153 * check/net/gstnettimeprovider.c: A most minimal test suite. Will
154 get additions shortly.
156 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
158 * gst/gstpad.c: (gst_pad_new_from_static_template):
160 add gst_pad_new_from_static_template functions
161 * gst/check/gstcheck.c: (gst_check_setup_src_pad),
162 (gst_check_setup_sink_pad):
163 * gst/elements/gsttee.c: (gst_tee_init):
166 2005-11-16 Wim Taymans <wim@fluendo.com>
168 * gst/gstpad.c: (gst_pad_pause_task):
169 Removed warning, it's not really an error either.
171 2005-11-16 Wim Taymans <wim@fluendo.com>
173 * gst/base/gstbasetransform.c:
174 (gst_base_transform_prepare_output_buf),
175 (gst_base_transform_event):
176 Check if the caps are NULL, this can happen if the element
177 is shutting down and the pad caps are set to NULL.
179 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
181 * gst/elements/gsttee.c: (gst_tee_init):
182 fix pad tempalte leak in tee
184 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
186 * gst/glib-compat.c: (g_value_dup_gst_object):
188 * gst/gstpad.c: (gst_pad_set_property):
189 use gst_object_ref when setting the pad template; this will
190 trigger the pad template leaks on GLib 2.6 and the slaves
192 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
194 * gst/glib-compat.c: (gst_flags_get_first_value):
196 * gst/gstregistryxml.c:
197 remove functions copied from GLib 2.6
199 2005-11-16 Michael Smith <msmith@fluendo.com>
202 Don't link against VALGRIND_LIBS. That was always the wrong thing to
203 do, but only breaks with newer valgrind versions. We're not a
204 valgrind tool, we have no link-time dependencies on libcoregrind.
206 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
208 * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
213 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
215 * gst/base/gstbasesrc.c: (gst_base_src_init):
216 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
217 * gst/gstqueue.c: (gst_queue_init):
218 * gst/gstregistryxml.c: (load_feature):
219 Revert all these unrefs, they don't even pass make check !
221 2005-11-15 Johan Dahlin <johan@gnome.org>
223 * gst/base/gstbasesrc.c: (gst_base_src_init):
224 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
225 * gst/gstqueue.c: (gst_queue_init):
226 Free pad templates, fixes a couple of leaks.
228 2005-11-15 Daniel Fischer <dan at f3c dot com>
230 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
232 * gst/gstpad.c: (gst_pad_get_property):
233 GST_PAD_PAD_TEMPLATE(pad) gets the pad template, while
234 GST_PAD_TEMPLATE(pad) does a cast. We want the former here.
237 2005-11-15 Wim Taymans <wim@fluendo.com>
242 2005-11-15 Andy Wingo <wingo@pobox.com>
244 * gst/gstelement.c (gst_element_set_base_time): Add debugging.
246 * gst/gstpipeline.c (gst_pipeline_set_new_stream_time): Document
247 using GST_CLOCK_TIME_NONE to disable base time management.
248 (do_pipeline_seek, gst_pipeline_change_state): Don't reset stream
249 time if it was NONE before.
250 (gst_pipeline_change_state): Only munge the base time if
251 stream_time != GST_CLOCK_TIME_NONE.
253 * check/gst/gstpipeline.c (test_base_time): Punt around the
254 problem of the probe not being called, because that's not the
255 issue I'm looking at. Add a check that setting stream_time to NONE
256 disables base time management.
258 2005-11-15 Wim Taymans <wim@fluendo.com>
260 * gst/base/gstbasesink.c: (gst_base_sink_change_state):
261 segment_stop == -1 at startup.
263 * gst/base/gstbasetransform.c: (gst_base_transform_event),
264 (gst_base_transform_change_state):
265 Init segment values at start.
267 2005-11-15 Wim Taymans <wim@fluendo.com>
269 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
270 0 segment values are 0 in any format.
272 * gst/base/gstbasetransform.c: (gst_base_transform_event):
273 * gst/base/gstbasetransform.h:
274 Parse newsegment correctly in basetransform
276 * gst/elements/gstidentity.c: (gst_identity_transform_ip):
277 Sync to clock using updated segment values.
279 2005-11-15 Andy Wingo <wingo@pobox.com>
281 * check/gst/gstpipeline.c (test_base_time): Add check that the
282 base time and stream time are reset correctly.
284 2005-11-15 Wim Taymans <wim@fluendo.com>
286 * docs/design/part-TODO.txt:
287 Some more TODO items.
289 2005-11-15 Andy Wingo <wingo@pobox.com>
291 * gst/elements/gstfakesrc.c (gst_fake_src_create): It's not an
292 error if the user selected "no clock" as the clocking method.
294 * check/gst/gstpipeline.c (test_base_time): New test for buffer
295 timestamps with live capture.
297 * gst/elements/gstfakesrc.c (gst_fake_src_create): If the datarate
298 is 0 but we are a live source, timestamp the buffers using the
301 2005-11-14 Stefan Kost <ensonic@users.sf.net>
303 * docs/gst/gstreamer-sections.txt:
310 2005-11-14 Wim Taymans <wim@fluendo.com>
313 add suppressions from Wim's Debian machine
315 2005-11-14 Thomas Vander Stichele <thomas at apestaart dot org>
318 add suppressions from Andy's AMD64 Ubuntu machine
320 2005-11-14 Andy Wingo <wingo@pobox.com>
322 * gst/gstpad.c (gst_pad_set_active): Change docs; parent's
323 STATE_LOCK not necessary. Fixes #311489.
325 * gst/gsterror.c (FILE_A_BUG): Be polite *and* helpful. Fixes
328 * gst/gstindex.c (gst_index_add_object): Note in the docs that
329 this function is not implemented.
331 2005-11-14 Julien MOUTTE <julien@moutte.net>
333 * gst/base/gstbasetransform.c:
334 (gst_base_transform_prepare_output_buf):
335 Ref the source pad caps while we need them.
338 2005-11-11 Wim Taymans <wim@fluendo.com>
340 * docs/gst/gstreamer-sections.txt:
341 Added some docs for GstCollectData.
343 * gst/base/gstadapter.c:
344 Some small code example fix.
346 * gst/base/gstcollectpads.c:
347 * gst/base/gstcollectpads.h:
350 2005-11-11 Thomas Vander Stichele <thomas at apestaart dot org>
352 * configure.ac: back to HEAD
354 === release 0.9.5 ===
356 2005-11-11 Thomas Vander Stichele <thomas at apestaart dot org>
359 releasing 0.9.5, "Bike Lunch Day"
361 2005-11-11 Wim Taymans <wim@fluendo.com>
363 * gst/gstbuffer.c: (_gst_buffer_copy):
366 * gst/gstcaps.c: (gst_caps_is_equal):
368 Make _is_equal fast in the trivial cases.
370 * gst/gstminiobject.c:
371 * gst/gstminiobject.h:
372 More docs. Spifify .h file.
377 2005-11-11 Wim Taymans <wim@fluendo.com>
379 * gst/base/gstbasetransform.c:
380 (gst_base_transform_prepare_output_buf),
381 (gst_base_transform_handle_buffer):
383 If we're processing a buffer and need to allocate an output
384 buffer, we cannot accept a format change. If we did get a
385 format change, we have to alloc a buffer ourselves of the
388 2005-11-11 Wim Taymans <wim@fluendo.com>
390 * gst/gstpad.c: (gst_pad_get_caps), (gst_pad_peer_get_caps):
391 While checking the flag for reentrancy in the gstcaps function
392 is nice to detect recursive invocations, it also makes it
393 impossible to call getcaps from multiple threads, which must be
394 possible. So, checking for recursive calls has to go.
396 2005-11-11 Michael Smith <msmith@fluendo.com>
398 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
399 Don't sync on buffers that fall partially outside our current
400 segment. Prevents an assertion failure/abort playing some files.
402 2005-11-10 Andy Wingo <wingo@pobox.com>
404 * check/gst/gstbin.c (test_message_state_changed_children): Style
407 * gst/gstbus.c (poll_destroy, poll_func, gst_bus_poll): Implement
408 gst_bus_poll with the signal watch. Ensures that poll and a signal
409 watch see the same messages.
411 * check/gst/gstbus.c (test_watch_with_poll): New test, checks that
412 a poll and a watch at the same time get the same messages.
414 2005-11-10 Thomas Vander Stichele <thomas at apestaart dot org>
416 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps):
417 * gst/gstcaps.c: (gst_caps_intersect):
418 Don't call gst_caps_do_simplify - it doesn't respect order of caps
421 2005-11-10 Wim Taymans <wim@fluendo.com>
423 * docs/design/part-TODO.txt:
426 2005-11-10 Wim Taymans <wim@fluendo.com>
428 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
429 * gst/base/gstbasesrc.c: (gst_base_src_wait),
430 (gst_base_src_do_sync), (gst_base_src_get_range):
431 Implement clock sync in base class.
433 2005-11-10 Thomas Vander Stichele <thomas at apestaart dot org>
435 patch by: Tim-Philipp Müller <tim at centricular dot net>
437 * gst/gststructure.c: (gst_structure_parse_field),
438 (gst_structure_from_string):
439 Forward-port a 0.8 patch to handle escaped spaces in structure string,
440 so that gst_parse_launch() can deal with spaces in filtered link
442 * check/gst/capslist.h:
443 * check/gst/gststructure.c: (GST_START_TEST):
444 add unit tests for this change
446 2005-11-10 Wim Taymans <wim@fluendo.com>
448 * docs/gst/gstreamer-sections.txt:
451 Fix docs, move some STATE macros to private.
453 2005-11-10 Wim Taymans <wim@fluendo.com>
455 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
456 Added check for bug #317341
460 Some more spiffifying.
462 * gst/gstghostpad.c: (gst_ghost_pad_do_link):
463 Call peer linkfunction if we are a source pad. Totally fixes
467 Update docs, source pads should call the peer linkfunction
468 so they can atomically perform the pad link.
470 2005-11-09 Wim Taymans <wim@fluendo.com>
474 Uber-spiffy-spiffify some more.
476 2005-11-09 Tim-Philipp Müller <tim at centricular dot net>
478 * gst/base/gstcollectpads.c: (gst_collectpads_add_pad):
479 * gst/elements/gstfilesink.c: (gst_file_sink_init):
480 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
481 * gst/gstghostpad.c: (gst_ghost_pad_set_internal),
482 (gst_ghost_pad_init), (gst_ghost_pad_new_notarget):
483 * gst/gstpad.c: (gst_pad_init):
484 Use GST_DEBUG_FUNCPTR() more extensively.
486 2005-11-09 Wim Taymans <wim@fluendo.com>
488 * gst/gstobject.c: (gst_object_class_init):
492 2005-11-09 Edward Hervey <edward@fluendo.com>
494 * gst/gsttypefindfactory.c:
497 2005-11-09 Edward Hervey <edward@fluendo.com>
499 * gst/base/gsttypefindhelper.c:
504 2005-11-09 Wim Taymans <wim@fluendo.com>
513 2005-11-09 Wim Taymans <wim@fluendo.com>
519 2005-11-09 Wim Taymans <wim@fluendo.com>
521 * docs/gst/gstreamer-sections.txt:
522 Moved the message async delivery private lock and cond
523 to the private section.
529 2005-11-09 Edward Hervey <edward@fluendo.com>
531 * docs/gst/gstreamer-sections.txt:
534 Document GstURIHandler
536 2005-11-09 Wim Taymans <wim@fluendo.com>
538 * gst/gstiterator.c: (gst_iterator_fold), (gst_iterator_foreach),
539 (gst_iterator_find_custom):
543 2005-11-09 Wim Taymans <wim@fluendo.com>
546 Document another field.
548 * gst/gststructure.c:
549 * gst/gststructure.h:
552 2005-11-09 Wim Taymans <wim@fluendo.com>
557 2005-11-09 Wim Taymans <wim@fluendo.com>
559 * docs/gst/gstreamer-sections.txt:
560 Added some new macros.
567 2005-11-09 Wim Taymans <wim@fluendo.com>
569 * docs/design/part-TODO.txt:
570 Some more items for the TODO
576 2005-11-09 Andy Wingo <wingo@pobox.com>
578 * gst/base/gstbasesink.c: Add the beginning of docs here -- have
579 to work on something else now tho...
581 * gst/base/gstadapter.c: More adapter docs.
583 * gst/elements/gstfilesink.c (gst_file_sink_start)
584 (gst_file_sink_stop): New functions, replace the state change
586 (gst_file_sink_class_init): Hook up the start and stop functions.
587 (gst_file_sink_base_init): Don't set the state change handler any
588 more. It was a bit ugly too, being set from here...
589 (gst_file_sink_get_property, gst_file_sink_set_property):
591 (gst_file_sink_set_location): More robust check that doesn't call
594 2005-11-08 Tim-Philipp Müller <tim at centricular dot net>
596 * gst/base/gstbasetransform.c: (gst_base_transform_event):
597 Hold STREAM_LOCK while pushing newsegment or tag events as well.
599 2005-11-08 Wim Taymans <wim@fluendo.com>
601 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
602 (gst_base_sink_do_sync), (gst_base_sink_handle_event),
603 (gst_base_sink_chain), (gst_base_sink_change_state):
604 * gst/base/gstbasesink.h:
605 * gst/base/gstbasesrc.h:
608 Avoid excessive typechecking in macros.
610 * gst/gstminiobject.c: (gst_mini_object_get_type),
611 (gst_mini_object_init), (gst_mini_object_new),
612 (gst_mini_object_free):
613 * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
614 (gst_object_finalize):
615 Remove cruft code, optimize alloc_trace.
617 2005-11-07 Thomas Vander Stichele <thomas at apestaart dot org>
619 * docs/faq/gst-uninstalled:
620 fix up PS1 for systems that try to reset it
622 2005-11-07 Wim Taymans <wim@fluendo.com>
624 * gst/base/gstbasesrc.c: (gst_base_src_init),
625 (gst_base_src_get_range):
626 Set the segment_end to -1 initially. Fixed typefind.
628 2005-11-07 Tim-Philipp Müller <tim at centricular dot net>
630 * gst/base/gstadapter.c:
631 Debug category should be 'adapter', not 'GstAdapter'.
633 * gst/base/gstcollectpads.c: (gst_collectpads_base_init),
634 (gst_collectpads_class_init), (gst_collectpads_init),
635 (gst_collectpads_peek), (gst_collectpads_pop),
636 (gst_collectpads_event), (gst_collectpads_chain):
637 Add debug category and some debugging output. Use boilerplate
638 macros. Remove some extraneous words from docs.
640 2005-11-05 Andy Wingo <wingo@pobox.com>
642 * gst/base/gstpushsrc.c: Shorten by 30% via use of boilerplate
645 2005-11-04 Stefan Kost <ensonic@users.sf.net>
647 * docs/gst/gstreamer-sections.txt:
650 * gst/gstminiobject.h:
655 2005-11-04 Wim Taymans <wim@fluendo.com>
657 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
658 Small update to stop at the configured segment_end
661 2005-11-04 Stefan Kost <ensonic@users.sf.net>
667 2005-11-04 Edward Hervey <edward@fluendo.com>
669 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
670 Check if we are doing a segment seek and have arrived at the
673 2005-11-04 Wim Taymans <wim@fluendo.com>
675 * gst/gstbus.c: (gst_bus_post), (gst_bus_set_sync_handler):
676 Don't leak a mutex unlock in case of an error.
681 2005-11-04 Wim Taymans <wim@fluendo.com>
683 * gst/gstbus.c: (gst_bus_class_init), (gst_bus_init),
685 Get the context to wake up only once.
687 2005-11-03 Wim Taymans <wim@fluendo.com>
689 * check/states/sinks.c: (GST_START_TEST):
690 Uncomment fixed check.
692 * docs/design/part-TODO.txt:
695 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
696 (gst_base_sink_handle_object), (gst_base_sink_do_sync),
697 (gst_base_sink_get_position):
698 If we are going to PLAYING, post the right pending state
699 when we post the intermediate paused message.
701 * gst/gstelement.c: (gst_element_continue_state),
702 (gst_element_set_state_func), (gst_element_change_state):
703 Don't post state changes that were between the same state
706 2005-11-03 Stefan Kost <ensonic@users.sf.net>
708 * docs/gst/gstreamer-sections.txt:
711 * gst/gstminiobject.h:
714 more docs and doc style fixes
716 2005-11-03 Stefan Kost <ensonic@users.sf.net>
718 * docs/gst/gstreamer-sections.txt:
720 * gst/gstminiobject.c:
723 2005-11-03 Andy Wingo <wingo@pobox.com>
725 * check/states/sinks.c (test_livesrc_sink): Add checks that the
726 state-changed messages actually have the right order and the right
729 2005-11-03 Wim Taymans <wim@fluendo.com>
731 * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
732 Added some more checks. Specifically the case where NO_PREROLL
733 elements are in the pipeline.
735 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
736 (gst_base_sink_handle_object), (gst_base_sink_do_sync),
737 (gst_base_sink_get_position):
738 Post READY->PAUSED state change messages too.
739 Fix bug where VOID was posted as pending state...
741 * gst/gstbin.c: (gst_bin_recalc_state):
742 use _element_continue_state() to continue the state change.
744 * gst/gstelement.c: (gst_element_continue_state),
745 (gst_element_commit_state), (gst_element_set_state_func),
746 (gst_element_change_state), (gst_element_change_state_func):
747 Lots of state change cleanups, assign the STATE_RETURN in
748 a new continue_state() function that also propagates the
749 last return value from a state change to the app.
750 Update some debug statements with proper category.
752 2005-11-03 Wim Taymans <wim@fluendo.com>
754 * docs/design/part-events.txt:
755 * docs/design/part-gstpipeline.txt:
756 * docs/design/part-messages.txt:
757 * docs/design/part-overview.txt:
758 * docs/design/part-seeking.txt:
759 * docs/design/part-states.txt:
760 * docs/design/part-trickmodes.txt:
761 * docs/manual/advanced-position.xml:
765 People think !! is ugly, this looks better.
767 * gst/gstpad.c: (gst_pad_set_blocked_async):
768 Remove !! since it's fixed elsewhere now.
770 2005-11-03 Tim-Philipp Müller <tim at centricular dot net>
772 * gst/gstminiobject.h:
774 Add !! to _FLAG_IS_SET macros to make the result boolean.
776 2005-11-03 Edward Hervey <edward@fluendo.com>
778 * gst/gstpad.c: (gst_pad_set_blocked_async):
779 comparing a flag and a gboolean rarely returns coherent results...
780 Added two characters (!!) to make that work correctly.
782 2005-11-03 Tim-Philipp Müller <tim at centricular dot net>
784 * gst/gstbus.c: (gst_bus_class_init):
787 * gst/gstqueue.c: (gst_queue_loop):
788 Don't assume a miniobject that isn't a buffer is an
789 event (it could be that there is a refcounting
790 problem somewhere and the pointer is stale and
791 refers to an already destroyed miniobject).
793 2005-11-03 Julien MOUTTE <julien@moutte.net>
795 * gst/gstpad.c: (gst_pad_alloc_buffer): Fix some typos.
797 2005-11-03 Tim-Philipp Müller <tim at centricular dot net>
799 * docs/manual/advanced-position.xml:
800 Update seek example and explanations to current 0.9 API.
802 * gst/elements/gsttypefindelement.c:
803 (gst_type_find_element_activate):
804 Remove FIXME comment now that the found caps
807 2005-11-03 Thomas Vander Stichele <thomas at apestaart dot org>
809 * gst/gstregistryxml.c: (load_feature):
810 Add another GST_STR_NULL instance
812 2005-11-02 Edward Hervey <edward@fluendo.com>
814 * gst/gstpad.c: (handle_pad_block):
815 Follow-up to Wim's patch, solves deadlock for blocked and flushing pads
817 2005-11-02 Wim Taymans <wim@fluendo.com>
822 * gst/gstelement.c: (gst_element_commit_state):
826 Mention that the returned element is reffed in the docs.
828 2005-11-02 Wim Taymans <wim@fluendo.com>
830 * gst/gstpad.c: (gst_pad_alloc_buffer), (handle_pad_block),
831 (gst_pad_push), (gst_pad_push_event):
832 Unlock blocked pads when they are flushed.
834 2005-11-02 Thomas Vander Stichele <thomas at apestaart dot org>
837 * docs/gst/gstreamer-sections.txt:
840 * gst/gstregistry.c: (gst_registry_scan_path_level):
841 fix for a nasty little missed situation where an installed plug-in
842 which was in the cache did not get overridden by an uninstalled one
843 which was earlier in the plugin path because the newly created plugin
844 for the uninstalled one (not in the registry) didn't get its
845 ->registered set to TRUE
847 2005-11-02 Tim-Philipp Müller <tim at centricular dot net>
849 * gst/base/gstcollectpads.c: (gst_collectpads_set_function),
850 (gst_collectpads_add_pad), (gst_collectpads_remove_pad),
851 (gst_collectpads_is_active), (gst_collectpads_collect),
852 (gst_collectpads_collect_range), (gst_collectpads_start),
853 (gst_collectpads_stop), (gst_collectpads_peek),
854 (gst_collectpads_pop), (gst_collectpads_available),
855 (gst_collectpads_read), (gst_collectpads_flush):
856 Guard public API with assertions.
859 Fix docs for gst_pad_set_link_function().
861 2005-11-02 Johan Dahlin <johan@gnome.org>
863 * gst/elements/gsttypefindelement.c (gst_type_find_element_activate):
864 Unref found_caps after we used it.
866 2005-11-02 Tim-Philipp Müller <tim at centricular dot net>
868 * gst/base/gstcollectpads.c: (gst_collectpads_peek):
869 Don't try to ref NULL.
871 2005-11-02 Thomas Vander Stichele <thomas at apestaart dot org>
873 * win32/common/config.h.in:
874 provide a GST_FUNCTION that just gives a string for now
876 2005-11-02 Thomas Vander Stichele <thomas at apestaart dot org>
878 * win32/common/gstenumtypes.c: (register_gst_object_flags),
879 (gst_object_flags_get_type), (register_gst_bin_flags),
880 (gst_bin_flags_get_type), (register_gst_buffer_flag),
881 (gst_buffer_flag_get_type), (register_gst_bus_flags),
882 (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
883 (gst_bus_sync_reply_get_type), (register_gst_clock_return),
884 (gst_clock_return_get_type), (register_gst_clock_entry_type),
885 (gst_clock_entry_type_get_type), (register_gst_clock_flags),
886 (gst_clock_flags_get_type), (register_gst_state),
887 (gst_state_get_type), (register_gst_state_change_return),
888 (gst_state_change_return_get_type), (register_gst_state_change),
889 (gst_state_change_get_type), (register_gst_element_flags),
890 (gst_element_flags_get_type), (register_gst_core_error),
891 (gst_core_error_get_type), (register_gst_library_error),
892 (gst_library_error_get_type), (register_gst_resource_error),
893 (gst_resource_error_get_type), (register_gst_stream_error),
894 (gst_stream_error_get_type), (register_gst_event_type),
895 (gst_event_type_get_type), (register_gst_seek_type),
896 (gst_seek_type_get_type), (register_gst_seek_flags),
897 (gst_seek_flags_get_type), (register_gst_format),
898 (gst_format_get_type), (register_gst_index_certainty),
899 (gst_index_certainty_get_type), (register_gst_index_entry_type),
900 (gst_index_entry_type_get_type),
901 (register_gst_index_lookup_method),
902 (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
903 (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
904 (gst_index_resolver_method_get_type), (register_gst_index_flags),
905 (gst_index_flags_get_type), (register_gst_debug_level),
906 (gst_debug_level_get_type), (register_gst_debug_color_flags),
907 (gst_debug_color_flags_get_type), (register_gst_iterator_result),
908 (gst_iterator_result_get_type), (register_gst_iterator_item),
909 (gst_iterator_item_get_type), (register_gst_message_type),
910 (gst_message_type_get_type), (register_gst_mini_object_flags),
911 (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
912 (gst_pad_link_return_get_type), (register_gst_flow_return),
913 (gst_flow_return_get_type), (register_gst_activate_mode),
914 (gst_activate_mode_get_type), (register_gst_pad_direction),
915 (gst_pad_direction_get_type), (register_gst_pad_flags),
916 (gst_pad_flags_get_type), (register_gst_pad_presence),
917 (gst_pad_presence_get_type), (register_gst_pad_template_flags),
918 (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
919 (gst_pipeline_flags_get_type), (register_gst_plugin_error),
920 (gst_plugin_error_get_type), (register_gst_plugin_flags),
921 (gst_plugin_flags_get_type), (register_gst_rank),
922 (gst_rank_get_type), (register_gst_query_type),
923 (gst_query_type_get_type), (register_gst_tag_merge_mode),
924 (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
925 (gst_tag_flag_get_type), (register_gst_task_state),
926 (gst_task_state_get_type), (register_gst_alloc_trace_flags),
927 (gst_alloc_trace_flags_get_type),
928 (register_gst_type_find_probability),
929 (gst_type_find_probability_get_type), (register_gst_uri_type),
930 (gst_uri_type_get_type), (register_gst_parse_error),
931 (gst_parse_error_get_type):
932 * win32/common/gstversion.h:
935 2005-11-01 Luca Ognibene <luogni@tin.it>
938 fix docs. popt is dead, long live GOption.
940 2005-10-31 Wim Taymans <wim@fluendo.com>
945 2005-10-31 Andy Wingo <wingo@pobox.com>
949 * gst/gstqueue.c (gst_queue_chain): Fix downstream leaky mode.
951 * gst/gstobject.c (gst_object_dispatch_properties_changed): No
952 need to serialize property notifications on GLib 2.8. GLib 2.6 has
953 the possibility of deadlocks here if code calling notify() or
954 set() has a lock that can be taken in another notify handler (ABBA
955 with class lock and e.g. python GIL state lock).
957 2005-10-28 Julien MOUTTE <julien@moutte.net>
959 * gst/gstbus.c: Doc updates.
961 2005-10-28 Wim Taymans <wim@fluendo.com>
963 * docs/design/part-TODO.txt:
965 * gst/gstsystemclock.c:
966 * gst/gstsystemclock.h:
969 2005-10-28 Edward Hervey <edward@fluendo.com>
971 * docs/gst/gstreamer-docs.sgml:
972 * docs/gst/gstreamer-sections.txt:
973 the GstURIType documentation page is private, it only defines GstURIType
974 which should be defined in the GstURIHandler page
976 2005-10-28 Thomas Vander Stichele <thomas at apestaart dot org>
978 * gst/gstbin.c: (gst_bin_class_init):
981 Documentation updates.
983 2005-10-28 Wim Taymans <wim@fluendo.com>
985 * docs/gst/gstreamer-sections.txt:
988 Documented the clocks.
990 2005-10-28 Stefan Kost <ensonic@users.sf.net>
992 * docs/gst/gstreamer-sections.txt:
993 move some macros to private sections
994 * gst/gstminiobject.c:
995 * gst/gstminiobject.h:
996 add descriptions provided by ds and some more
998 mark macro as to be removed
1000 2005-10-28 Wim Taymans <wim@fluendo.com>
1002 * docs/design/part-TODO.txt:
1003 Add an item to TODO.
1005 * gst/gstiterator.c: (gst_iterator_fold),
1006 (gst_iterator_find_custom):
1007 * gst/gstiterator.h:
1010 2005-10-28 Wim Taymans <wim@fluendo.com>
1012 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
1013 (gst_base_transform_init):
1016 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_loop):
1017 An EOS event marks the queue as completely filled.
1019 2005-10-27 Wim Taymans <wim@fluendo.com>
1021 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
1022 (gst_base_sink_do_sync), (gst_base_sink_get_position):
1023 Some more debugging.
1025 * gst/base/gstbasetransform.c: (gst_base_transform_finalize),
1026 (gst_base_transform_init), (gst_base_transform_buffer_alloc),
1027 (gst_base_transform_event), (gst_base_transform_getrange),
1028 (gst_base_transform_chain):
1029 * gst/base/gstbasetransform.h:
1031 Protect transform and concurrent buffer alloc with a new lock.
1032 Try not to break ABI/API.
1034 2005-10-27 Wim Taymans <wim@fluendo.com>
1036 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
1037 (gst_base_src_init), (gst_base_src_query),
1038 (gst_base_src_default_newsegment),
1039 (gst_base_src_configure_segment), (gst_base_src_do_seek),
1040 (gst_base_src_send_event), (gst_base_src_event_handler),
1041 (gst_base_src_pad_get_range), (gst_base_src_loop),
1042 (gst_base_src_unlock), (gst_base_src_default_negotiate),
1043 (gst_base_src_start), (gst_base_src_deactivate),
1044 (gst_base_src_activate_push), (gst_base_src_change_state):
1045 Move some stuff around and cleanup things.
1047 2005-10-27 Tim-Philipp Müller <tim at centricular dot net>
1049 * gst/base/gstbasesrc.c: (gst_base_src_query):
1050 Add missing break statements.
1052 2005-10-27 Wim Taymans <wim@fluendo.com>
1054 * check/gst/gstbin.c: (GST_START_TEST):
1055 An extra refcount is taken in basesrc.
1057 * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
1058 (gst_base_src_get_range), (gst_base_src_pad_get_range),
1059 (gst_base_src_loop):
1060 Small cleanups, check for flushing after being unlocked from the
1061 LIVE_LOCK. take refcounts correctly (not yet everywhere).
1062 Don't send out EOS when going to READY.
1064 2005-10-27 Wim Taymans <wim@fluendo.com>
1066 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
1067 (gst_base_sink_get_position):
1070 * gst/gstbin.c: (message_check), (bin_replace_message),
1071 (bin_remove_messages), (is_eos), (gst_bin_add_func),
1072 (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
1073 (bin_query_duration_init), (bin_query_duration_fold),
1074 (bin_query_duration_done), (bin_query_generic_fold),
1076 * tools/gst-launch.c: (main):
1079 2005-10-26 Stefan Kost <ensonic@users.sf.net>
1081 * examples/controller/audio-example.c: (main):
1082 * examples/queue/queue.c: (event_loop):
1083 * gst/base/gstbasetransform.h:
1084 * gst/gstelement.c: (gst_element_send_event):
1086 * gst/gstpad.c: (gst_pad_send_event):
1089 changing log priority in error situations
1091 2005-10-25 Wim Taymans <wim@fluendo.com>
1093 * gst/gstbin.c: (message_check), (bin_replace_message),
1094 (bin_remove_messages), (is_eos), (gst_bin_add_func),
1095 (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
1096 (bin_query_duration_init), (bin_query_duration_fold),
1097 (bin_query_duration_done), (bin_query_generic_fold),
1099 Some doc and debug updates.
1100 Cache previously requested query DURATION for speed. invalidate
1101 cached duration if element posts a DURATION message.
1103 2005-10-25 Wim Taymans <wim@fluendo.com>
1105 * docs/design/part-TODO.txt:
1108 * gst/gstbin.c: (message_check), (bin_replace_message),
1109 (bin_remove_messages), (is_eos), (gst_bin_add_func),
1110 (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
1111 (bin_query_duration_init), (bin_query_duration_fold),
1112 (bin_query_duration_done), (bin_query_generic_fold),
1114 Handle SEGMENT_START/DONE messages correctly.
1115 More evolved query algorithm that handles duration queries
1118 * gst/gstelement.c: (gst_element_send_event), (gst_element_query),
1119 (gst_element_get_state_func), (gst_element_abort_state),
1120 (gst_element_commit_state), (gst_element_lost_state):
1121 Some more debugging.
1126 2005-10-25 Wim Taymans <wim@fluendo.com>
1128 * gst/base/gstbasesink.c: (gst_base_sink_get_position):
1129 Don't use invalid stream_time.
1131 * gst/gstevent.c: (gst_event_new_newsegment):
1132 stream_time in newsegment cannot be undefined.
1134 2005-10-24 Wim Taymans <wim@fluendo.com>
1139 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
1141 Fix potential deadlock when QUEUE_LOCK is taken before STREAM_LOCK.
1143 2005-10-24 Stefan Kost <ensonic@users.sf.net>
1145 * docs/libs/tmpl/gstdparam.sgml:
1146 * docs/libs/tmpl/gstdplinint.sgml:
1147 * docs/libs/tmpl/gstdpman.sgml:
1148 * docs/libs/tmpl/gstdpsmooth.sgml:
1149 * docs/libs/tmpl/gstunitconvert.sgml:
1152 2005-10-24 Thomas Vander Stichele <thomas at apestaart dot org>
1157 === release 0.9.4 ===
1159 2005-10-23 Thomas Vander Stichele <thomas at apestaart dot org>
1162 releasing 0.9.4, "Tyrannosaurus Rex"
1164 2005-10-23 Tim-Philipp Müller <tim at centricular dot net>
1166 * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
1167 (gst_file_sink_get_current_offset):
1168 Use fseeko() and ftello() if available. When falling back on
1169 lseek() to get the current offset, fflush() first to make sure
1170 everything is up-to-date and we get the right offset.
1172 2005-10-23 Thomas Vander Stichele <thomas at apestaart dot org>
1174 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
1175 * gst/base/gstbasesrc.c: (gst_base_src_loop):
1176 * gst/gsterror.c: (_gst_stream_errors_init):
1178 * gst/gstqueue.c: (gst_queue_loop):
1180 remove prematurely added error category and clean up the instances
1182 2005-10-21 Wim Taymans <wim@fluendo.com>
1184 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
1185 (gst_base_sink_get_position), (gst_base_sink_query),
1186 (gst_base_sink_change_state):
1187 Simply set the right flag when going to playing, that's all
1188 we need to do instead of calling a function inside the object
1189 lock (that could take the lock as well and deadlock)
1191 2005-10-21 Wim Taymans <wim@fluendo.com>
1193 * gst/base/gstbasesrc.c: (gst_base_src_do_seek),
1194 (gst_base_src_loop):
1195 Don't warn, the peer element knows what to do best when
1196 the seek failed, it might try something else.
1198 2005-10-21 Wim Taymans <wim@fluendo.com>
1200 * gst/base/gstbasesrc.c: (gst_base_src_init),
1201 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
1204 2005-10-21 Wim Taymans <wim@fluendo.com>
1206 * docs/design/part-segments.txt:
1209 * gst/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
1210 Correctly set caps, even on the subbufer.
1212 2005-10-21 Wim Taymans <wim@fluendo.com>
1214 * docs/gst/gstreamer-docs.sgml:
1215 * docs/gst/gstreamer-sections.txt:
1222 * gst/gsttask.c: (gst_task_finalize), (gst_task_func):
1226 And 2% more doc coverage.
1228 2005-10-21 Andy Wingo <wingo@pobox.com>
1230 * gst/base/gstbasesrc.c (gst_base_src_query): Clean up percent
1233 2005-10-20 Wim Taymans <wim@fluendo.com>
1235 * gst/gsterror.c: (gst_error_get_message):
1238 * gst/gststructure.c:
1243 2005-10-20 Wim Taymans <wim@fluendo.com>
1248 Another 1% more coverage.
1250 2005-10-20 Wim Taymans <wim@fluendo.com>
1252 * docs/gst/gstreamer-sections.txt:
1253 * gst/gstelement.c: (gst_element_get_state_func),
1254 (gst_element_abort_state), (gst_element_commit_state),
1255 (gst_element_lost_state):
1257 * gst/gstquery.c: (gst_query_set_position),
1258 (gst_query_parse_position), (gst_query_set_duration),
1259 (gst_query_parse_duration), (gst_query_new_convert):
1261 Yay! 1% more docs coverage.
1263 2005-10-20 Wim Taymans <wim@fluendo.com>
1266 * gst/gstquery.c: (gst_query_set_position),
1267 (gst_query_parse_position), (gst_query_set_duration),
1268 (gst_query_parse_duration), (gst_query_new_convert):
1270 * gst/gstutils.c: (gst_element_query_convert):
1272 Docs and consistency fixes.
1274 2005-10-20 Wim Taymans <wim@fluendo.com>
1280 2005-10-20 Wim Taymans <wim@fluendo.com>
1282 * gst/gstbin.c: (message_check), (bin_replace_message),
1283 (bin_remove_messages), (is_eos), (gst_bin_add_func),
1284 (update_degree), (gst_bin_sort_iterator_next),
1285 (gst_bin_change_state_func), (gst_bin_dispose), (bin_bus_handler):
1286 Reworked the message handling a bit, cache the messages instead of
1287 only the senders. alows us to do more in the future.
1289 2005-10-20 Wim Taymans <wim@fluendo.com>
1291 * docs/design/part-TODO.txt:
1294 * gst/base/gstbasesink.c: (gst_base_sink_get_position),
1295 (gst_base_sink_query):
1296 Don't use clock time to report position when in EOS.
1298 2005-10-20 Tim-Philipp Müller <tim at centricular dot net>
1300 * tools/gst-inspect.c: (print_interfaces),
1301 (print_element_properties_info), (print_element_info):
1302 Fix interface output with gst-inspect -a; don't print
1303 newlines after double/float properties.
1305 2005-10-20 Wim Taymans <wim@fluendo.com>
1307 * gst/base/gstbasesink.c: (gst_base_sink_get_position),
1308 (gst_base_sink_query):
1309 Speed up current position calculation.
1311 * gst/base/gstbasesrc.c: (gst_base_src_query),
1312 (gst_base_src_default_newsegment):
1313 Correctly set stream position in newsegment.
1315 * gst/gstbin.c: (gst_bin_add_func), (add_to_queue),
1316 (update_degree), (gst_bin_sort_iterator_next),
1317 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free):
1318 * gst/gstmessage.c: (gst_message_new_custom):
1319 Clean up debugging info
1321 * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
1322 (gst_queue_loop), (gst_queue_handle_src_query):
1325 2005-10-19 Wim Taymans <wim@fluendo.com>
1327 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
1328 (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
1329 Fix query handling again.
1331 2005-10-19 Wim Taymans <wim@fluendo.com>
1333 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
1334 (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
1335 * gst/base/gstbasesrc.c: (gst_base_src_query):
1336 * gst/elements/gstfilesink.c: (gst_file_sink_query):
1337 * gst/elements/gsttypefindelement.c:
1338 (gst_type_find_handle_src_query), (find_element_get_length),
1339 (gst_type_find_element_activate):
1342 * gst/gstquery.c: (gst_query_new_position),
1343 (gst_query_set_position), (gst_query_parse_position),
1344 (gst_query_new_duration), (gst_query_set_duration),
1345 (gst_query_parse_duration), (gst_query_set_segment),
1346 (gst_query_parse_segment):
1348 Bundling query position/duration is not a good idea since duration
1349 does not change much and we don't want to recalculate it for every
1350 position query, so they are separated again..
1351 Base value in segment query is not needed.
1353 * gst/gstqueue.c: (gst_queue_handle_src_query):
1354 * gst/gstutils.c: (gst_element_query_position),
1355 (gst_element_query_duration), (gst_pad_query_position),
1356 (gst_pad_query_duration):
1358 Updates for query API change.
1359 Added some docs here and there.
1361 2005-10-19 Thomas Vander Stichele <thomas at apestaart dot org>
1363 * check/gst/gstbin.c: (GST_START_TEST):
1364 * check/gst/gstghostpad.c: (GST_START_TEST):
1365 * check/pipelines/cleanup.c: (GST_START_TEST):
1366 wait on thread to die so we can check refcount correctly
1368 2005-10-18 Wim Taymans <wim@fluendo.com>
1370 * check/pipelines/stress.c: (GST_START_TEST):
1371 Make check a little more time consuming.
1373 2005-10-18 Wim Taymans <wim@fluendo.com>
1375 * check/Makefile.am:
1376 * check/pipelines/stress.c: (GST_START_TEST),
1377 (simple_launch_lines_suite), (main):
1378 Small state change torture test.
1380 * docs/design/part-states.txt:
1381 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
1382 (gst_base_sink_handle_object), (gst_base_sink_event), (do_playing),
1383 (gst_base_sink_change_state):
1384 Never take state lock from streaming thread, clean up ugly
1385 hacks. Unfortunatly core does not yet support nice ways to
1388 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_recalc_state),
1390 Start state recalc if a STATE_DIRTY message is posted, but only
1391 on the toplevel bin.
1393 * gst/gstelement.c: (gst_element_sync_state_with_parent),
1394 (gst_element_get_state_func), (gst_element_abort_state),
1395 (gst_element_commit_state), (gst_element_lost_state),
1396 (gst_element_set_state_func), (gst_element_change_state):
1398 State variables are now protected with the LOCK, the state
1399 lock is only used to serialize _set_state().
1401 2005-10-18 Wim Taymans <wim@fluendo.com>
1403 * check/gst/gstbin.c: (GST_START_TEST):
1404 * check/gst/gstmessage.c: (GST_START_TEST):
1405 * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
1406 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_recalc_func),
1408 * gst/gstelement.c: (gst_element_abort_state),
1409 (gst_element_commit_state), (gst_element_lost_state):
1410 * gst/gstmessage.c: (gst_message_new_state_changed),
1411 (gst_message_new_state_dirty), (gst_message_new_segment_start),
1412 (gst_message_new_segment_done), (gst_message_new_duration),
1413 (gst_message_parse_state_changed),
1414 (gst_message_parse_segment_start),
1415 (gst_message_parse_segment_done), (gst_message_parse_duration):
1417 * tools/gst-launch.c: (event_loop):
1418 Seriously, this is better than a previous commit as we only need
1419 to notify the fact that an element changed state in a streaming
1420 thread, marking the state of the parents dirty, hence the
1421 STATE_DIRTY message instead of abusing a boolean in a STATE_CHANGE
1424 2005-10-18 Wim Taymans <wim@fluendo.com>
1426 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_get_state_func),
1427 (gst_bin_recalc_func):
1428 * gst/gstelement.c: (gst_element_set_clock),
1429 (gst_element_abort_state), (gst_element_lost_state):
1430 Cleanups, prepare for state change fixes.
1432 2005-10-18 Wim Taymans <wim@fluendo.com>
1435 * gst/gstelement.c: (gst_element_class_init),
1436 (gst_element_set_state), (gst_element_set_state_func):
1438 Pending ABI changes.
1439 GThreadPool in GstBinClass to monitor async state changes.
1440 state_cookie in GstElement to detect concurrent gst/set state.
1441 set_state is now virtual too in case a very complicated element
1442 has to be constructed.
1444 2005-10-18 Wim Taymans <wim@fluendo.com>
1446 * check/gst/gstbin.c: (GST_START_TEST):
1447 * check/gst/gstmessage.c: (GST_START_TEST):
1448 * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
1449 * gst/gstbin.c: (bin_bus_handler):
1450 * gst/gstelement.c: (gst_element_commit_state),
1451 (gst_element_lost_state):
1452 * gst/gstmessage.c: (gst_message_new_state_changed),
1453 (gst_message_new_segment_start), (gst_message_new_segment_done),
1454 (gst_message_new_duration), (gst_message_parse_state_changed),
1455 (gst_message_parse_segment_start),
1456 (gst_message_parse_segment_done), (gst_message_parse_duration):
1458 * tools/gst-launch.c: (event_loop):
1459 Make messages future proof.
1460 state-change gets a flag if it was a message comming from the
1462 segment-start/stop can also be specified in other formats.
1463 A message to notify an app that a pipeline changed playback
1465 Also fix a GstMessage leak in -launch
1467 2005-10-18 Andy Wingo <wingo@pobox.com>
1469 * gst/gstelement.c (gst_element_dispose): More helpful message.
1471 2005-10-18 Thomas Vander Stichele <thomas at apestaart dot org>
1473 reviewed by: <delete if not using a buddy>
1475 * common/gtk-doc.mak:
1477 2005-10-18 Thomas Vander Stichele <thomas at apestaart dot org>
1479 * gst/gstregistry.c: (gst_registry_scan_path_level):
1480 unref a plug-in we get that was already initialized
1482 2005-10-18 Stefan Kost <ensonic@users.sf.net>
1484 * docs/gst/gstreamer-sections.txt:
1485 * docs/libs/gstreamer-libs-sections.txt:
1490 2005-10-17 Andy Wingo <wingo@pobox.com>
1492 * gst/base/gstcollectpads.c (gst_collectpads_chain): Slight
1495 * gst/Makefile.am (gstenumtypes.c): Threadsafe now.
1497 * gst/gstevent.c (gst_event_new, gst_event_finalize): LOG.
1499 * gst/gstelement.c (gst_element_get_state_func): s/INFO/DEBUG/.
1500 (gst_element_get_state_func): Better debug message.
1501 (gst_element_commit_state): s/INFO/DEBUG/.
1502 (gst_element_lost_state, gst_element_change_state):
1504 * gst/gstmessage.c (gst_message_init): s/INFO/LOG/.
1505 (gst_message_new_custom): s/INFO/LOG/.
1507 2005-10-17 Michael Smith <msmith@fluendo.com>
1509 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
1510 Check if end time is valid using end time, not start time.
1512 2005-10-17 Stefan Kost <ensonic@users.sf.net>
1514 * check/gst-libs/controller.c: (GST_START_TEST),
1515 (gst_controller_suite):
1516 * libs/gst/controller/gstcontroller.c:
1517 (gst_controlled_property_set_interpolation_mode):
1518 * libs/gst/controller/gstcontroller.h:
1519 * libs/gst/controller/gstinterpolation.c:
1520 * testsuite/controller/.cvsignore:
1521 * testsuite/controller/Makefile.am:
1522 * testsuite/controller/interpolator.c:
1523 merge controller testsuites
1525 remove mem-chunk from docs
1527 2005-10-17 Thomas Vander Stichele <thomas at apestaart dot org>
1529 * gst/gstmemchunk.c:
1530 * gst/gstmemchunk.h:
1531 * gst/gsttrashstack.c:
1532 * gst/gsttrashstack.h:
1533 out. get out. you're fired. to the Attic !
1535 2005-10-17 Thomas Vander Stichele <thomas at apestaart dot org>
1537 * gst/gstcaps.c: (gst_caps_intersect):
1538 fix signedness issues in a (hopefully) correct way
1539 * gst/gstelement.c: (gst_element_pads_activate):
1541 * gst/gstobject.c: (gst_object_set_parent):
1544 2005-10-17 Julien MOUTTE <julien@moutte.net>
1546 * gst/gstvalue.h: Fix prototypes.
1548 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
1550 * docs/gst/gstreamer-sections.txt:
1551 * gst/gst.c: (gst_version_string):
1553 * gst/gstversion.h.in:
1554 * win32/common/libgstreamer.def:
1555 add gst_version_string ()
1557 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
1561 * gst/gst.c: (init_post):
1562 * win32/common/config.h.in:
1564 * gst/gstcaps.c: (gst_caps_intersect):
1565 use gint64, the range could be bigger than a guint
1567 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
1570 document potential problem in 2038
1572 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
1574 * gst/gstcaps.c: (gst_caps_intersect):
1575 Fix guint j diving under 0
1577 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
1580 * win32/common/config.h:
1581 * win32/common/config.h.in:
1582 check for process.h, declares getpid() on Windows
1584 include process.h if we have it
1585 * gst/gstmemchunk.c: (populate), (gst_mem_chunk_new):
1586 * gst/gstmemchunk.h:
1587 fix signedness issues
1588 * win32/common/libgstreamer.def:
1591 2005-10-16 Julien MOUTTE <julien@moutte.net>
1593 * gst/gstcaps.c: (gst_caps_intersect): Fix a bad bug with a simple
1594 fix. Because of unsigned ints, caps intersection was going nuts and
1595 trying to access structures with G_MAXUINT index. That fixes
1596 videotestsrc ! ffmpegcolorspace ! fakesink
1597 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked): logs
1600 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
1603 use the gettext macro
1604 * gst/elements/gstelements.c:
1606 * gst/indexers/gstindexers.c:
1607 update for GST_PACKAGE_NAME, GST_PACKAGE_ORIGIN
1608 * win32/common/config.h:
1610 * win32/common/config.h.in:
1611 add the template to generate config.h
1612 * win32/common/gstenumtypes.c:
1613 * win32/common/gstversion.h:
1616 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
1618 * gst/gst.c: (gst_version):
1619 * gst/gstversion.h.in:
1622 2005-10-15 Tim-Philipp Müller <tim at centricular dot net>
1625 Oops, add missing closing bracket.
1627 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
1630 use common m4's for argument checking
1632 2005-10-15 Tim-Philipp Müller <tim at centricular dot net>
1634 * docs/gst/gstreamer-sections.txt:
1636 Add GST_EVENT_TYPE_NAME() macro.
1638 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
1641 * gst/gstpluginfeature.c:
1643 privatize more symbols
1645 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
1648 add srcdir, builddir includes to GST_ALL_CFLAGS, since
1649 everything that uses GStreamer API should have the includes
1651 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
1653 * docs/gst/gstreamer-sections.txt:
1654 * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
1656 give each value a _get_type, removes the DATA exports
1658 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
1662 remove _gst_registry_auto_load, not used anymore
1663 * gst/gstbin.c: (gst_bin_get_type):
1665 * gst/gstelement.c: (gst_element_get_type):
1667 * gst/gstobject.c: (gst_object_get_type):
1669 * gst/gstpad.c: (gst_pad_get_type):
1671 make _get_type functions similar, fixes data export from library
1673 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
1676 correctly make conditionals
1677 * gst/elements/Makefile.am:
1678 * gst/elements/gstelements.c:
1679 fix typo causing fdsrc not to build
1681 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
1683 * testsuite/Makefile.am:
1684 * testsuite/bytestream/.cvsignore:
1685 * testsuite/bytestream/Makefile.am:
1686 * testsuite/bytestream/filepadsink.c:
1687 * testsuite/bytestream/gstbstest.c:
1688 * testsuite/bytestream/test1.c:
1689 * testsuite/bytestream/testfile1:
1690 * testsuite/caps/normalisation.c:
1691 * testsuite/caps/random.c: (main):
1692 * testsuite/cleanup/.cvsignore:
1693 * testsuite/cleanup/Makefile.am:
1694 * testsuite/cleanup/cleanup1.c:
1695 * testsuite/cleanup/cleanup2.c:
1696 * testsuite/cleanup/cleanup3.c:
1697 * testsuite/cleanup/cleanup4.c:
1698 * testsuite/cleanup/cleanup5.c:
1699 * testsuite/controller/interpolator.c:
1700 * testsuite/debug/printf_extension.c: (main):
1701 * testsuite/elements/tee.c:
1702 * testsuite/negotiation/.cvsignore:
1703 * testsuite/negotiation/Makefile.am:
1704 * testsuite/negotiation/pad_link.c:
1705 * testsuite/pad/Makefile.am:
1706 * testsuite/pad/chainnopull.c:
1707 * testsuite/pad/getnopush.c:
1708 * testsuite/pad/link.c:
1709 * testsuite/refcounting/sched.c: (create_pipeline):
1710 * testsuite/registry/Makefile.am:
1711 * testsuite/registry/gst-print-formats.c:
1712 * testsuite/schedulers/.cvsignore:
1713 * testsuite/schedulers/142183-2.c:
1714 * testsuite/schedulers/142183.c:
1715 * testsuite/schedulers/143777-2.c:
1716 * testsuite/schedulers/143777.c:
1717 * testsuite/schedulers/147713.c:
1718 * testsuite/schedulers/147819.c:
1719 * testsuite/schedulers/147894-2.c:
1720 * testsuite/schedulers/147894.c:
1721 * testsuite/schedulers/Makefile.am:
1722 * testsuite/schedulers/group_link.c:
1723 * testsuite/schedulers/queue_link.c:
1724 * testsuite/schedulers/relink.c:
1725 * testsuite/schedulers/unlink.c:
1726 * testsuite/schedulers/unref.c:
1727 * testsuite/schedulers/useless_iteration.c:
1728 * testsuite/states/bin.c:
1729 clean out/remove some stuff from the testsuite directories
1731 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
1734 check for some headers
1735 * gst/elements/Makefile.am:
1736 * gst/elements/gstelements.c:
1737 don't compile fdsrc without sys/socket.h
1738 * gst/indexers/Makefile.am:
1739 * gst/indexers/gstindexers.c: (plugin_init):
1740 don't compile fileindex without mmap
1742 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
1749 * check/Makefile.am:
1750 * docs/gst/Makefile.am:
1751 * examples/helloworld/Makefile.am:
1753 * gst/base/Makefile.am:
1754 * gst/check/Makefile.am:
1755 * gst/elements/Makefile.am:
1756 * gst/indexers/Makefile.am:
1757 * gst/parse/Makefile.am:
1758 * libs/gst/controller/Makefile.am:
1759 * libs/gst/dataprotocol/Makefile.am:
1760 * examples/helloworld/helloworld.c: (event_loop):
1761 compile fixes, though it's not being compiled currently
1763 2005-10-14 Tim-Philipp Müller <tim at centricular dot net>
1765 * check/gst/gsttag.c: (test_date_tags), (gst_tag_suite):
1766 Add some simple tests for the new taglist date API.
1768 2005-10-14 Tim-Philipp Müller <tim at centricular dot net>
1770 * gst/elements/gstfakesink.c: (gst_fake_sink_render):
1771 * gst/elements/gstfakesrc.c: (gst_fake_src_create):
1772 Beautify 'last-message' output: print 'none' for buffer timestamps
1773 and durations if none is set; improve alignment with next messages.
1775 2005-10-14 Tim-Philipp Müller <tim at centricular dot net>
1777 * gst/gstpluginfeature.c: (gst_plugin_feature_check_version):
1778 * gst/gstpluginfeature.h:
1779 * gst/gstregistry.c: (gst_default_registry_check_feature_version):
1780 * gst/gstregistry.h:
1781 * docs/gst/gstreamer-sections.txt:
1782 Add new API to check plugin feature version requirements.
1784 * check/gst/gstplugin.c: (test_version_checks), (gst_plugin_suite):
1785 Some basic tests for the above.
1787 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
1789 * gst/gststructure.c: (gst_structure_to_string):
1790 guard against NULL printf - happens when for example
1791 a message structure with GstClock gets serialized
1793 2005-10-13 Tim-Philipp Müller <tim at centricular dot net>
1795 * gst/base/gstcollectpads.c: (gst_collectpads_event):
1796 Fix presumable copy'n'pasto.
1798 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
1800 * gst/elements/gstfakesrc.h:
1801 * gst/elements/gstfilesrc.c: (gst_file_src_create_read):
1802 * gst/elements/gsttypefindelement.c:
1804 * gst/elements/gstfilesink.c: (gst_file_sink_render):
1805 I wonder if this could actually write +2GB files before
1807 2005-10-13 Andy Wingo <wingo@pobox.com>
1809 * libs/gst/dataprotocol/dataprotocol.c (gst_dp_packet_from_caps):
1810 Fix Timmeke Waymans bug.
1811 (gst_dp_caps_from_packet): Make sure we pass a NUL-terminated
1812 string of the proper length to gst_caps_from_string. There's a
1813 potential for, before this fix, that this could cause someone
1814 connecting over the network to cause a segfault if the payload is
1817 2005-10-13 Stefan Kost <ensonic@users.sf.net>
1819 * docs/design/draft-push-pull.txt:
1820 * docs/design/part-overview.txt:
1821 * docs/random/TODO-pre-0.9:
1822 * docs/random/old/ChangeLog.gstreamer:
1823 * gst/base/gstpushsrc.c:
1827 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
1829 * gst/glib-compat.c: (gst_flags_get_first_value):
1830 * gst/glib-compat.h:
1831 * gst/gstvalue.c: (gst_value_deserialize_int_helper),
1832 (gst_value_compare_double), (gst_value_serialize_flags):
1833 GLib 2.6 g_flags_get_first_value has a bug that triggers an
1836 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
1838 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
1839 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
1841 * tools/gst-launch.c: (event_loop):
1842 print out clock nicely
1844 2005-10-13 Tim-Philipp Müller <tim at centricular dot net>
1846 * docs/gst/gstreamer-sections.txt:
1848 * gst/gsttaglist.c: (_gst_tag_initialize), (gst_tag_list_get_date),
1849 (gst_tag_list_get_date_index):
1850 Added gst_tag_list_get_date() and gst_tag_list_get_date_index().
1851 GST_TAG_DATE now has a tag type of GST_TYPE_DATE (#170777).
1853 2005-10-13 Julien MOUTTE <julien@moutte.net>
1855 * gst/base/gstcollectpads.c: (gst_collectpads_event),
1856 (gst_collectpads_chain):
1857 * gst/base/gstcollectpads.h: Handle newsegment and store informations
1860 2005-10-13 Stefan Kost <ensonic@users.sf.net>
1862 * docs/gst/gstreamer-sections.txt:
1865 * tools/gst-inspect.c: (main):
1866 * tools/gst-launch.c: (main):
1867 * tools/gst-run.c: (main):
1868 * tools/gst-xmlinspect.c: (main):
1869 fix GOption context leaks
1872 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
1876 * win32/common/config.h:
1878 * win32/vs6/grammar.dsp:
1879 * win32/vs6/libgstelements.dsp:
1880 * win32/vs6/libgstreamer.dsp:
1883 2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
1885 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
1886 * gst/base/gstbasesrc.c: (gst_base_src_query):
1887 fix more guint64<->gdouble conversions
1889 2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
1892 add win32-update target
1893 * win32/common/gstconfig.h:
1894 * win32/common/gstenumtypes.c:
1895 * win32/common/gstenumtypes.h:
1896 * win32/common/gstversion.h:
1897 add files that visual studio can't generate
1899 2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
1902 add a win32-update target
1905 2005-10-12 Wim Taymans <wim@fluendo.com>
1907 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
1908 (reset_degree), (gst_bin_dispose), (bin_bus_handler):
1909 * gst/gstelement.c: (gst_element_commit_state),
1910 (gst_element_set_state):
1911 Protect flags with proper lock.
1912 unref provided cached clock in dispose.
1914 2005-10-12 Stefan Kost <ensonic@users.sf.net>
1917 * gst/gstminiobject.h:
1919 * win32/gstenumtypes.c: (gst_mini_object_flags_get_type):
1920 removed unused flags from miniobject
1923 2005-10-12 Wim Taymans <wim@fluendo.com>
1925 * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
1926 (gst_file_sink_event), (gst_file_sink_render):
1927 Flush before seeking.
1929 2005-10-12 Andy Wingo <wingo@pobox.com>
1931 * gst/gst.c (gst_init_check): Ignore unknown options, as has
1932 always been the case.
1934 2005-10-12 Stefan Kost <ensonic@users.sf.net>
1936 * check/gst/gstbin.c: (GST_START_TEST):
1937 * docs/gst/gstreamer-sections.txt:
1938 * gst/base/gstbasesink.c: (gst_base_sink_init):
1939 * gst/base/gstbasesrc.c: (gst_base_src_init),
1940 (gst_base_src_get_range), (gst_base_src_check_get_range),
1941 (gst_base_src_start), (gst_base_src_stop):
1942 * gst/base/gstbasesrc.h:
1943 * gst/elements/gstfakesrc.c: (gst_fake_src_set_property):
1944 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
1945 (bin_element_is_sink), (reset_degree), (gst_bin_element_set_state),
1949 * gst/gstbus.c: (gst_bus_post), (gst_bus_set_flushing):
1951 * gst/gstelement.c: (gst_element_is_locked_state),
1952 (gst_element_set_locked_state), (gst_element_commit_state),
1953 (gst_element_set_state):
1955 * gst/gstindex.c: (gst_index_init):
1957 * gst/gstminiobject.h:
1958 * gst/gstobject.c: (gst_object_init), (gst_object_sink),
1959 (gst_object_set_parent):
1961 * gst/gstpad.c: (gst_pad_set_blocked_async), (gst_pad_is_blocked),
1962 (gst_pad_get_caps_unlocked), (gst_pad_set_caps):
1964 * gst/gstpadtemplate.h:
1965 * gst/gstpipeline.c: (gst_pipeline_provide_clock_func),
1966 (gst_pipeline_use_clock), (gst_pipeline_auto_clock):
1967 * gst/gstpipeline.h:
1968 * gst/indexers/gstfileindex.c: (gst_file_index_load),
1969 (gst_file_index_commit):
1970 * testsuite/bytestream/filepadsink.c: (gst_fp_sink_init):
1971 * testsuite/pad/link.c: (gst_test_src_init),
1972 (gst_test_filter_init), (gst_test_sink_init):
1973 * testsuite/states/locked.c: (main):
1974 renamed GST_FLAGS macros to GST_OBJECT_FLAGS
1975 moved bitshift from macro to enum definition
1977 2005-10-12 Wim Taymans <wim@fluendo.com>
1979 * gst/base/gstbasesink.c: (gst_base_sink_handle_buffer):
1980 * gst/elements/gstfilesink.c: (gst_file_sink_event),
1981 (gst_file_sink_render):
1982 Some more debugging info.
1984 2005-10-12 Wim Taymans <wim@fluendo.com>
1986 * docs/design/part-states.txt:
1987 * tools/gst-launch.c: (main):
1989 Revert non-intentional change.
1991 2005-10-12 Wim Taymans <wim@fluendo.com>
1993 * check/gst/gstbin.c: (GST_START_TEST):
1994 * check/gst/gstelement.c: (GST_START_TEST):
1995 * check/gst/gstevent.c: (GST_START_TEST), (test_event):
1996 * check/gst/gstghostpad.c: (GST_START_TEST):
1997 * check/gst/gstpipeline.c: (GST_START_TEST):
1998 * check/pipelines/simple_launch_lines.c: (run_pipeline):
1999 * check/states/sinks.c: (GST_START_TEST):
2000 * gst/elements/gsttypefindelement.c: (stop_typefinding):
2001 * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
2002 (gst_bin_remove_func), (gst_bin_get_state_func),
2003 (gst_bin_recalc_state), (gst_bin_change_state_func),
2005 * gst/gstelement.c: (gst_element_get_state_func),
2006 (gst_element_get_state), (gst_element_abort_state),
2007 (gst_element_commit_state), (gst_element_set_state),
2008 (gst_element_change_state), (gst_element_change_state_func):
2010 * gst/gstpipeline.c: (gst_pipeline_class_init), (do_pipeline_seek),
2011 (gst_pipeline_provide_clock_func):
2012 * gst/gstutils.c: (gst_element_link_pads_filtered):
2013 * tools/gst-launch.c: (main):
2014 * tools/gst-typefind.c: (main):
2015 Use GstClockTime in _get_state() instead of GTimeVal.
2016 Remove old code in gstutils.c
2018 2005-10-12 Andy Wingo <wingo@pobox.com>
2020 * gst/gstregistry.h (gst_registry_scan_paths): Not implemented, so
2023 * gst/gstpad.c (gst_pad_pause_task): Actually return FALSE if
2024 there is no task. Shouldn't affect any code, as nothing in our
2025 plugins checks this return value.
2026 (gst_pad_stop_task): Also take the stream lock if the pad has no
2029 2005-10-12 Wim Taymans <wim@fluendo.com>
2031 * gst/gstpad.c: (pre_activate), (post_activate),
2032 (gst_pad_activate_pull), (gst_pad_activate_push):
2033 Cleanup activation code. Reset old state if
2036 2005-10-12 Wim Taymans <wim@fluendo.com>
2038 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
2039 (gst_base_sink_change_state):
2040 No need to prerol after receiving EOS.
2042 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
2043 * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler):
2044 * gst/elements/gstidentity.c: (gst_identity_event):
2045 Print events more verbosely.
2047 2005-10-12 Wim Taymans <wim@fluendo.com>
2049 * check/Makefile.am:
2050 * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
2051 * check/states/sinks2.c:
2052 Moved sinks2 testcode in sinks check.
2054 * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
2055 (gst_bin_remove_func), (gst_bin_recalc_state),
2056 (gst_bin_change_state_func), (bin_bus_handler):
2057 Fix potential race condition when _get_state() iterated over an
2058 ASYNC element right before it posted a state completion.
2061 Do proper cast here.
2063 * gst/gstevent.c: (gst_event_new_newsegment),
2064 (gst_event_parse_newsegment):
2065 A playback rate of 0.0 is not allowed.
2067 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
2069 * win32/common/config.h:
2070 * win32/common/dirent.c: (_topendir), (_treaddir), (_tclosedir),
2071 (_trewinddir), (_ttelldir), (_tseekdir):
2072 * win32/common/dirent.h:
2073 * win32/common/gtchar.h:
2074 * win32/common/libgstbase.def:
2075 * win32/common/libgstreamer.def:
2076 * win32/vs6/grammar.dsp:
2077 * win32/vs6/gst_inspect.dsp:
2078 * win32/vs6/gst_launch.dsp:
2079 * win32/vs6/gstreamer.dsw:
2080 * win32/vs6/libgstbase.dsp:
2081 * win32/vs6/libgstelements.dsp:
2082 * win32/vs6/libgstreamer.dsp:
2083 Visual Studio 6 project files, and a new common directory.
2086 2005-10-11 Wim Taymans <wim@fluendo.com>
2088 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
2089 (gst_base_sink_do_sync), (gst_base_sink_query),
2090 (gst_base_sink_change_state):
2091 * gst/base/gstbasesink.h:
2092 Correctly parse newsegment info.
2094 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
2096 * gst/gst.c: (init_post):
2097 split plugin paths correctly
2099 2005-10-11 Wim Taymans <wim@fluendo.com>
2101 * check/gst/gstevent.c: (GST_START_TEST):
2102 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
2103 (gst_base_sink_change_state):
2104 * gst/base/gstbasesrc.c: (gst_base_src_default_newsegment):
2105 * gst/base/gstbasetransform.c: (gst_base_transform_event):
2106 * gst/elements/gstfilesink.c: (gst_file_sink_event):
2107 * gst/gstevent.c: (gst_event_new_newsegment),
2108 (gst_event_parse_newsegment):
2110 Added extra flag to newsegment for future API freeze.
2111 Updated check and base elements.
2113 2005-10-11 Julien MOUTTE <julien@moutte.net>
2115 * gst/base/gstcollectpads.c: (gst_collectpads_init),
2116 (gst_collectpads_add_pad), (gst_collectpads_pop),
2117 (gst_collectpads_event), (gst_collectpads_chain):
2118 * gst/base/gstcollectpads.h: Handle EOS correctly.
2120 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
2122 * tools/gst-launch.c: (main):
2123 more null protecting
2125 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
2127 * gst/gst-i18n-lib.h:
2128 check for ENABLE_NLS, not GETTEXT_PACKAGE
2129 * gst/gstregistry.c: (gst_registry_add_plugin),
2130 (gst_registry_scan_path_level),
2131 (_gst_registry_remove_cache_plugins):
2132 protect possibly NULL strings
2133 * gst/parse/types.h:
2134 config.h already included before
2135 * tools/gst-inspect.c: (main):
2136 sys/wait.h also doesn�t exist on mingw, so change the ifdef check
2137 check for ENABLE_NLS, not GETTEXT_PACKAGE
2138 * tools/gst-launch.c: (main):
2139 check for ENABLE_NLS, not GETTEXT_PACKAGE
2141 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
2144 if we don't have glib, fail before testing 2.8
2145 * gst/base/gstbasetransform.c: (gst_base_transform_change_state):
2146 fix a leak, should fix plugins-base testsuite
2148 2005-10-11 Andy Wingo <wingo@pobox.com>
2150 * gst/gstpad.c (pre_activate): Renamed from pre_activate_switch,
2151 take the mode we're going to as an arg. Go head and set the mode
2152 and flushing flags now, so that if the activate function starts a
2153 thread all the flags will be in the right state.
2154 (post_activate): Renamed also. Just handle making sure streaming
2155 finishes for the deactivation case, and setting the deactivated
2157 (gst_pad_set_active): Complain loudly if deactivation fails.
2158 (gst_pad_activate_pull): Adapt to pre/post_activate changes.
2159 (gst_pad_activate_push): Adapt to pre/post_activate changes,
2160 remove the terrible hack.
2162 2005-10-11 Wim Taymans <wim@fluendo.com>
2164 * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
2165 (is_eos), (gst_bin_add_func), (gst_bin_remove_func),
2166 (gst_bin_recalc_state), (gst_bin_change_state_func),
2167 (gst_bin_dispose), (bin_bus_handler):
2169 Prepare to make current EOS message queue more generic.
2172 * gst/gstevent.c: (gst_event_new_newsegment),
2173 (gst_event_parse_newsegment):
2175 Rename base to stream_time.
2180 2005-10-11 Wim Taymans <wim@fluendo.com>
2182 * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
2183 (gst_bin_add_func), (gst_bin_remove_func), (gst_bin_recalc_state),
2184 (gst_bin_change_state_func), (bin_bus_handler):
2186 Work on proper clock selection.
2188 2005-10-11 Edward Hervey <edward@fluendo.com>
2190 * libs/gst/controller/gstcontroller.c: (gst_controller_remove_properties_list):
2191 * libs/gst/controller/gstcontroller.h:
2192 Added GList* version of _remove_properties() in order to be able to wrap
2195 2005-10-11 Wim Taymans <wim@fluendo.com>
2197 * docs/design/part-states.txt:
2200 * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_recalc_state),
2201 (gst_bin_change_state_func), (bin_bus_handler):
2202 Doc updates. Don't distribute the same clock over and over again.
2208 * gst/gstpad.c: (gst_flow_get_name), (gst_flow_to_quark),
2209 (gst_pad_get_type), (gst_pad_push), (gst_pad_push_event),
2210 (gst_pad_send_event):
2212 Make probe emission threadsafe again.
2213 Register quarks and move _get_name() from utils.
2216 * gst/gstpipeline.c: (gst_pipeline_class_init),
2217 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
2218 Only redistribute the clock of it changed.
2220 * gst/gstsystemclock.h:
2225 Moved the _flow_get_name() to GstPad.
2227 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
2229 * check/gst-libs/gdp.c: (GST_START_TEST):
2230 * check/gst/gstcaps.c: (GST_START_TEST):
2231 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc),
2232 (gst_dp_dump_byte_array), (gst_dp_header_from_buffer),
2233 (gst_dp_packet_from_caps):
2234 fix more valgrind warnings before turning up the heat
2236 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
2238 * gst/parse/grammar.y:
2239 some cleanup before the hacking
2241 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
2243 * gst/base/gstbasesrc.c: (gst_base_src_query):
2245 * gst/gstutils.c: (gst_guint64_to_gdouble),
2246 (gst_gdouble_to_guint64), (gst_util_uint64_scale):
2248 externalize, basesrc uses it
2249 obviously the implementation needs testing
2251 2005-10-10 Wim Taymans <wim@fluendo.com>
2253 * tests/sched/Makefile.am:
2254 * tests/sched/sort.c: (make_pipeline1), (make_pipeline2),
2255 (make_pipeline3), (make_pipeline4), (print_elem), (main):
2257 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
2259 * gst/gstutils.c: (guint64_to_gdouble), (gst_util_uint64_scale):
2260 apparently converting from guint64 to double is not implemented
2263 2005-10-10 Wim Taymans <wim@fluendo.com>
2265 * check/Makefile.am:
2266 * check/generic/states.c: (GST_START_TEST):
2267 * check/gst/gstbin.c: (GST_START_TEST):
2268 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
2269 * check/states/sinks.c: (GST_START_TEST):
2270 * check/states/sinks2.c: (GST_START_TEST), (gst_object_suite),
2272 Check fixes, use API as stated in design docs, remove hacks.
2274 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
2275 (gst_base_sink_change_state):
2276 Catch stopping our task while we're shutting down.
2278 * gst/gstbin.c: (gst_bin_init), (gst_bin_add_func),
2279 (gst_bin_remove_func), (gst_bin_get_state_func),
2280 (gst_bin_recalc_state), (gst_bin_change_state_func),
2283 * gst/gstelement.c: (gst_element_init),
2284 (gst_element_get_state_func), (gst_element_abort_state),
2285 (gst_element_commit_state), (gst_element_lost_state),
2286 (gst_element_set_state), (gst_element_change_state),
2287 (gst_element_change_state_func):
2289 New state change algorithm (see #318116)
2291 * gst/gstpipeline.c: (gst_pipeline_class_init),
2292 (gst_pipeline_init), (gst_pipeline_set_property),
2293 (gst_pipeline_get_property), (do_pipeline_seek),
2294 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
2295 * gst/gstpipeline.h:
2296 Remove crude state change hacks.
2301 * tools/gst-launch.c: (main):
2302 Fixes for state change. Needs some more work to fully use the
2305 2005-10-10 Andy Wingo <wingo@pobox.com>
2307 * tests/Makefile.am (noinst_PROGRAMS): No more init.c.
2309 * gst/gst.c (G_OPTION_FLAG_NO_ARG): Apparently GLib 2.8 requires
2310 this flag, but it's not even in GLib 2.6. Odd. Hack around the
2313 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
2315 * gst/gstiterator.c: (gst_iterator_new):
2316 Fix my previous commit: GTypes passed to gst_iterator_new()
2317 can be fundamental types.
2319 2005-10-10 Wim Taymans <wim@fluendo.com>
2321 * gst/gstelement.c: (gst_element_iterate_pad_list),
2322 (gst_element_iterate_pads), (gst_element_iterate_src_pads),
2323 (gst_element_iterate_sink_pads):
2324 Use src/sink pads lists for the respective iterators instead
2327 2005-10-10 Andy Wingo <wingo@pobox.com>
2329 Merged in popt removal + GOption addition patch from Ronald, bug
2332 * docs/gst/gstreamer-sections.txt: Add STATE_(UN)LOCK_FULL, move
2333 GstElement macros around, remove popt-related symbols, add goption
2336 * configure.ac: Remove popt checks, require GLib 2.6 for GOption.
2338 * docs/gst/Makefile.am:
2339 * docs/libs/Makefile.am: No POPT_CFLAGS.
2341 * examples/manual/Makefile.am:
2342 * docs/manual/basics-init.xml: Doc updates with an example.
2344 * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
2345 (gst_init), (parse_one_option), (parse_goption_arg):
2346 * gst/gst.h: Removed gst_init_with_popt_table and friends. Took a
2347 bit of hand merging and debugging to get the GOption stuff working
2350 * tests/Makefile.am:
2351 * tools/Makefile.am:
2352 * tools/gst-inspect.c: (main):
2353 * tools/gst-launch.c: (main):
2354 * tools/gst-run.c: (main):
2355 * tools/gst-xmlinspect.c: (main): Thanks Ronald!
2357 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
2359 * gst/gstiterator.c: (gst_iterator_new):
2360 Add assertions to make sure passed GType is likely to really
2361 be a GType (as the compiler won't catch it if the size and
2362 GType arguments get mixed up, see #318447).
2364 2005-10-10 Josef Zlomek <josef dot zlomek at xeris dot cz>
2366 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
2368 * gst/gstbin.c: (gst_bin_iterate_sorted):
2369 Pass GType and size arguments to gst_iterator_new() in the right
2370 order (maybe we should make _new() take the GType as first argument
2371 just like _new_list()?) (#318447).
2374 2005-10-10 Wim Taymans <wim@fluendo.com>
2376 * gst/gstelement.c: (gst_element_finalize):
2377 And free the GStaticRecMutex too
2379 2005-10-10 Andy Wingo <wingo@pobox.com>
2381 * gst/gstelement.c (gst_element_init, gst_element_finalize):
2382 Allocate and free the mutex properly.
2384 * gst/gstelement.h (GST_STATE_UNLOCK_FULL, GST_STATE_LOCK_FULL):
2386 (GstElement): The state_lock is now recursive. Rebuild your
2387 plugins, suckers. Old macros adapted.
2389 * docs/gst/gstreamer-sections.txt: Doc updates.
2392 * gst/gstutils.c (g_static_rec_cond_timed_wait)
2393 (g_static_rec_cond_wait): Ported from state changes patch, while
2394 we wait on bug #317802 to be solved in a well-distributed GLib.
2396 * gst/gstelement.c (gst_element_change_state_func): Renamed from
2397 gst_element_change_state, variable name changes.
2398 (gst_element_change_state): Split out of gst_element_set_state in
2399 preparation for the state change merge. Doesn't pay attention to
2400 the 'transition' argument.
2401 (gst_element_set_state): Updates, hopefully purely cosmetic.
2402 (gst_element_sync_state_with_parent): MT-safety. Ported from the
2404 (gst_element_get_state_func): Renamed from get_state, cosmetic
2407 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
2409 * gst/elements/gstelements.c:
2410 * win32/GStreamer.vcproj:
2412 * win32/dirent.c: (_tseekdir):
2413 * win32/gst-inspect.vcproj:
2414 * win32/gst-launch.vcproj:
2415 * win32/gstconfig.h:
2416 * win32/gstelements.vcproj:
2417 * win32/gstenumtypes.c: (gst_object_flags_get_type):
2418 * win32/gstreamer.def:
2420 updates for the win32 build (patch from Sebastien Moutte)
2422 2005-10-10 Andy Wingo <wingo@pobox.com>
2424 * gst/gstbin.c (gst_bin_get_state_func): Renamed from
2425 gst_bin_get_state, cleaned up (but no logic changes).
2426 (bin_element_is_sink): Comment updates.
2427 (sink_iterator_filter): Remove needless cast.
2428 (gst_bin_iterate_sinks): Doc update.
2429 (gst_bin_change_state_func): Renamed from gst_bin_change_state,
2430 cleaned up (but no logic changes).
2432 * check/states/sinks.c (test_src_sink): Cleanups from the state
2434 (test_livesrc_sink): Sync on the state.
2436 * check/pipelines/simple_launch_lines.c (run_pipeline): Merge from
2437 the state change patch.
2439 * check/gst/gstghostpad.c (test_ghost_pads): Merge from the state
2442 * check/gst/gstbin.c: Merge in some style fixes and additional
2443 checks from Wim's state change patch.
2445 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
2447 * gst/base/gsttypefindhelper.c: (helper_find_peek),
2448 (gst_type_find_helper):
2449 Check whether we have the requested data already in our list of
2450 cached buffers before pulling a new buffer; also make the buffer
2451 list a GSList. Speeds up typefinding by ca. 5-10% altogether.
2453 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
2458 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
2459 don't use long long, it's not portable. Replacing with
2460 gint64 seems to work; let's hope no skeletons fall out of the closet.
2462 2005-10-10 Andy Wingo <wingo@pobox.com>
2464 * autogen.sh (CONFIGURE_DEF_OPT): No more --plugin-buiddir, yay
2466 2005-10-09 Stefan Kost <ensonic@users.sf.net>
2468 * docs/gst/gstreamer-sections.txt:
2473 * gst/gstmessage.c: (gst_message_parse_state_changed):
2476 more docs, fix compilation
2478 2005-10-09 Philippe Khalaf <burger@speedy.org>
2480 Fixed a few forgotten variables on previous commit
2482 2005-10-09 Tim-Philipp Müller <tim at centricular dot net>
2484 * gst/base/gsttypefindhelper.c: (helper_find_peek):
2485 Fix evil typefind crasher: getrange() might return a short
2486 buffer at the end of a file, but gst_type_find_peek() must
2487 either return the full data as requested or NULL, but
2488 never a short buffer.
2490 2005-10-09 Thomas Vander Stichele <thomas at apestaart dot org>
2492 * gst/gstmessage.c: (gst_message_new_state_changed),
2493 (gst_message_parse_state_changed):
2495 don't use "new", it's a C++ keyword
2497 2005-10-08 Wim Taymans <wim@fluendo.com>
2499 * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_query):
2500 * gst/gstelement.c: (gst_element_post_message):
2501 * gst/gstpipeline.c: (gst_pipeline_change_state):
2502 Small docs and debug updates.
2504 2005-10-08 Stefan Kost <ensonic@users.sf.net>
2506 * docs/gst/gstreamer-sections.txt:
2507 * gst/gstelementfactory.c:
2512 2005-10-08 Wim Taymans <wim@fluendo.com>
2514 * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_change_state),
2515 (gst_bin_dispose), (bin_bus_handler):
2516 Fix typos, add comments.
2517 Clear EOS list when going to PAUSED from any direction and do it
2518 in a threadsafe way.
2519 Get base time in a threadsafe way too.
2520 Fix confusing debug in the change_state function.
2521 Various other small cleanups.
2523 * gst/gstelement.c: (gst_element_post_message):
2524 Fix very verbose bus posting code.
2526 * gst/gstpipeline.c: (gst_pipeline_class_init),
2527 (gst_pipeline_set_property), (gst_pipeline_get_property),
2528 (gst_pipeline_change_state):
2529 Small ARG_ -> PROP_ cleanup
2531 2005-10-08 Wim Taymans <wim@fluendo.com>
2533 * gst/gstbin.c: (is_eos), (bin_bus_handler):
2534 Do a less CPU demanding EOS check because we can.
2536 2005-10-08 Wim Taymans <wim@fluendo.com>
2538 * libs/gst/dataprotocol/dataprotocol.c:
2539 (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
2540 (gst_dp_packet_from_event):
2541 * libs/gst/dataprotocol/dataprotocol.h:
2542 * libs/gst/dataprotocol/dp-private.h:
2543 It's about time we bump the version number.
2544 Since event types don't fit in the guint8 anymore describing
2545 the payload type, make payload type 16 bits wide.
2547 2005-10-08 Wim Taymans <wim@fluendo.com>
2549 * docs/design/part-TODO.txt:
2550 * docs/design/part-clocks.txt:
2551 * docs/design/part-events.txt:
2552 * docs/design/part-gstbin.txt:
2553 * docs/design/part-gstelement.txt:
2554 * docs/design/part-gstpipeline.txt:
2555 * docs/design/part-live-source.txt:
2556 * docs/design/part-messages.txt:
2557 * docs/design/part-overview.txt:
2558 * docs/design/part-states.txt:
2561 2005-10-08 Wim Taymans <wim@fluendo.com>
2565 Fix event quark registration.
2566 Add some space between events so we can insert them in the
2569 2005-10-08 Wim Taymans <wim@fluendo.com>
2571 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
2572 (gst_base_sink_handle_buffer):
2579 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
2580 (gst_queue_set_property), (gst_queue_get_property):
2582 Remove old unused properties.
2584 2005-10-08 Stefan Kost <ensonic@users.sf.net>
2585 * docs/gst/gstreamer-sections.txt:
2588 * gst/gstminiobject.c:
2589 * gst/gstminiobject.h:
2593 lots of new docs and doc fixes
2595 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
2597 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_load_file):
2599 * gst/gstregistry.c: (gst_registry_lookup_locked),
2600 (gst_registry_scan_path_level):
2601 * gst/gstregistryxml.c: (load_plugin):
2602 Only ever load one plugin for a given plugin basename.
2603 This ensures correct overriding of GST_PLUGIN_PATH over
2604 GST_PLUGIN_SYSTEM_PATH and of home dir plugins over
2605 system installed plugins.
2607 2005-10-08 Wim Taymans <wim@fluendo.com>
2609 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
2610 (gst_base_sink_do_sync), (gst_base_sink_handle_buffer):
2611 Prepare for doing QOS.
2613 2005-10-08 Wim Taymans <wim@fluendo.com>
2615 * check/gst/gstbin.c: (GST_START_TEST):
2616 * check/pipelines/cleanup.c: (GST_START_TEST):
2617 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
2618 Allow new clock message too.
2620 2005-10-08 Wim Taymans <wim@fluendo.com>
2622 * gst/gstmessage.c: (gst_message_new_error),
2623 (gst_message_new_warning), (gst_message_new_tag),
2624 (gst_message_new_state_changed), (gst_message_new_clock_provide),
2625 (gst_message_new_clock_lost), (gst_message_new_new_clock),
2626 (gst_message_new_segment_start), (gst_message_new_segment_done),
2627 (gst_message_parse_state_changed),
2628 (gst_message_parse_clock_provide), (gst_message_parse_clock_lost),
2629 (gst_message_parse_new_clock):
2631 Also carry the clock in question.
2633 2005-10-08 Wim Taymans <wim@fluendo.com>
2635 * gst/gstmessage.c: (gst_message_new_custom),
2636 (gst_message_new_eos), (gst_message_new_error),
2637 (gst_message_new_warning), (gst_message_new_tag),
2638 (gst_message_new_state_changed), (gst_message_new_clock_provide),
2639 (gst_message_new_new_clock), (gst_message_new_segment_start),
2640 (gst_message_new_segment_done), (gst_message_parse_state_changed),
2641 (gst_message_parse_clock_provide), (gst_message_parse_new_clock):
2644 Added clock related messages.
2646 * gst/gstpipeline.c: (gst_pipeline_change_state):
2647 Post message when the clock changed.
2649 * tools/gst-launch.c: (event_loop):
2652 2005-10-08 Tim-Philipp Müller <tim at centricular dot net>
2654 * tools/gst-inspect.c: (print_element_properties_info):
2655 Can't pass NULL strings to g_print() on windows.
2657 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
2660 * docs/gst/Makefile.am:
2661 * docs/gst/gstreamer-docs.sgml:
2662 * docs/gst/running.xml:
2663 * docs/version.entities.in:
2664 add a chapter on running GStreamer.
2665 document GST_DEBUG and GST_PLUGIN* env vars
2667 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
2672 remove PLUGINS_BUILDDIR stuff
2673 * gst/gst.c: (init_post):
2674 reorder parsing of GST_PLUGIN_PATH and GST_PLUGIN_SYSTEM_PATH
2676 remove, it was condescending and not needed
2678 2005-10-08 Wim Taymans <wim@fluendo.com>
2680 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
2681 (gst_base_sink_handle_object), (gst_base_sink_event),
2682 (gst_base_sink_wait), (gst_base_sink_handle_event),
2683 (gst_base_sink_change_state):
2684 * gst/base/gstbasesink.h:
2685 Repost EOS message while going to PLAYING if still EOS.
2686 Make sure that when receiving a FLUSH_START we don't attempt
2687 to sync on the clock anymore.
2689 2005-10-08 Wim Taymans <wim@fluendo.com>
2691 * tools/gst-launch.c: (event_loop):
2692 Better message printout.
2694 2005-10-08 Wim Taymans <wim@fluendo.com>
2696 * gst/gstbin.c: (gst_bin_child_proxy_get_child_by_index),
2697 (gst_bin_child_proxy_get_children_count):
2698 * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
2699 (gst_child_proxy_lookup), (gst_child_proxy_get_property),
2700 (gst_child_proxy_get_valist), (gst_child_proxy_set_property),
2701 (gst_child_proxy_set_valist):
2702 * gst/parse/grammar.y:
2703 Make ChildProxy threadsafe and fix mem leaks.
2705 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
2707 * gst/gst.c: (init_post):
2708 debug the GST_PLUGIN_ env vars
2710 2005-10-08 Wim Taymans <wim@fluendo.com>
2712 * check/gst/gstbin.c: (GST_START_TEST):
2713 * check/gst/gstmessage.c: (GST_START_TEST):
2714 * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
2715 * gst/gstelement.c: (gst_element_commit_state),
2716 (gst_element_lost_state):
2717 * gst/gstmessage.c: (gst_message_new_state_changed),
2718 (gst_message_parse_state_changed):
2720 * tools/gst-launch.c: (event_loop):
2721 Added extra field to STATE_CHANGE message with the pending
2722 state, which will be different from the new state soon.
2724 2005-10-08 Wim Taymans <wim@fluendo.com>
2726 * gst/gstbus.c: (gst_bus_pop):
2728 * gst/gstsystemclock.c: (gst_system_clock_async_thread):
2729 Small cleanups and doc updates.
2731 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
2733 * gst/gst.c: (init_pre):
2734 * gst/gstbin.c: (gst_bin_add_func):
2735 log distributing clocks and base time
2736 * gst/gstregistry.c: (gst_registry_add_plugin),
2737 (gst_registry_scan_path_level), (gst_registry_scan_path):
2738 clean up the debugging output a little
2739 * gst/gstutils.c: (gst_element_state_get_name):
2740 warn about a memleak (I've actually seen this be used, though
2741 it was probably a bug)
2743 2005-10-07 Wim Taymans <wim@fluendo.com>
2745 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
2746 (gst_base_src_init), (gst_base_src_default_newsegment),
2747 (gst_base_src_newsegment), (gst_base_src_do_seek),
2748 (gst_base_src_loop), (gst_base_src_start):
2749 * gst/base/gstbasesrc.h:
2750 Make the newsegment event customizable by subclasses.
2752 2005-10-07 Wim Taymans <wim@fluendo.com>
2754 * gst/gstevent.c: (gst_event_new_buffersize),
2755 (gst_event_parse_buffersize):
2757 New event for future idea.
2759 2005-10-07 Andy Wingo <wingo@pobox.com>
2761 * gst/gstelement.c (gst_element_post_message): Doc update.
2763 * docs/gst/gstreamer-sections.txt: Update.
2765 * gst/gstmessage.c (gst_message_new_application): Made into a
2766 function like honest API calls.
2767 (gst_message_new_element): New message type.
2769 * gst/gstmessage.h (enum): Add GST_MESSAGE_ELEMENT type.
2771 * check/elements/fakesrc.c (test_no_preroll): New check, checks
2772 that setting a live fakesrc to PAUSED returns NO_PREROLL both
2775 * gst/base/gstbasesrc.c (gst_base_src_change_state): Allow a
2776 NO_PREROLL from gst_element_change_state to fall through.
2778 2005-10-07 Wim Taymans <wim@fluendo.com>
2780 * gst/gstghostpad.c: (gst_ghost_pad_get_internal),
2781 (gst_ghost_pad_do_activate_push):
2782 Activating a ghostpad with no internal pad in push mode
2785 2005-10-07 Thomas Vander Stichele <thomas at apestaart dot org>
2788 there's no point in wrapping FLAG_SET/_UNSET in STMT macros.
2789 Fixes compilation on Windows.
2791 2005-10-07 Michael Smith <msmith@fluendo.com>
2793 * tools/gst-inspect.c:
2794 Print out feature and plugin count at the end when printing out
2797 2005-10-04 Michael Smith <msmith@fluendo.com>
2799 * gst/gsterror.c: (_gst_stream_errors_init):
2800 Add another error string used in a few existing plugins.
2803 * gst/gstpluginfeature.c: (gst_plugin_feature_load):
2804 * tools/gst-inspect.c: (print_element_info):
2805 When a feature disappears from a plugin (and the feature exists in
2806 the cached registry file), things went horribly wrong. This isn't a
2807 complete fix, we should actually be removing the 'missing' features
2808 from the features list when we load the actual plugin. That's not
2811 2005-10-04 Johan Dahlin <johan@gnome.org>
2813 * check/gst/gstiterator.c: (GST_START_TEST):
2814 * gst/gstbin.c: (gst_bin_iterate_elements),
2815 (gst_bin_iterate_recurse), (gst_bin_iterate_sorted):
2816 * gst/gstelement.c: (gst_element_iterate_pads):
2817 * gst/gstformat.c: (gst_format_iterate_definitions):
2818 * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
2819 (gst_iterator_new_list), (gst_iterator_filter):
2820 * gst/gstiterator.h:
2821 * gst/gstquery.c: (gst_query_type_iterate_definitions):
2822 Add a GType to GstIterator, update callsites and tests.
2824 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
2826 * gst/gstpad.c: (gst_pad_event_default_dispatch):
2827 give events a chance to be handled by event probes when the pad
2830 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
2832 * gst/gstevent.c: (gst_event_type_get_name),
2833 (gst_event_type_to_quark), (gst_event_finalize), (gst_event_new):
2835 add string representations for event types
2837 2005-10-06 Wim Taymans <wim@fluendo.com>
2839 * gst/elements/gstfilesink.c: (gst_file_sink_close_file):
2840 Don't use NULL pointers.
2842 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
2844 * gst/gst_private.h:
2848 * gst/gstpluginfeature.c:
2849 widen the debug category in output to fit the biggest one we have
2850 add a bus category and use it
2851 play with the colors
2852 fix up some categories
2854 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
2856 * gst/gstghostpad.c: (gst_ghost_pad_internal_do_activate_push):
2857 add push activation of sink ghost pads.
2858 Andye, please verify
2860 2005-10-05 Thomas Vander Stichele <thomas at apestaart dot org>
2862 * gst/gstutils.c: (gst_element_link_pads):
2863 fix a bug in the case where neither element has a pad
2864 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
2865 add a test for that case
2867 2005-10-05 Thomas Vander Stichele <thomas at apestaart dot org>
2869 * gst/gstpad.c: (gst_pad_push), (gst_pad_push_event):
2870 emit have-data before checking for peers. This allows
2871 for probe handlers to connect elements. This helps autopluggers.
2872 * check/gst/gstpad.c: (GST_START_TEST), (_probe_handler),
2874 add six checks, linked/unlinked with no/true/false probe
2876 2005-10-04 Wim Taymans <wim@fluendo.com>
2878 * gst/elements/gstfakesink.c: (gst_fake_sink_get_property),
2879 (gst_fake_sink_event), (gst_fake_sink_preroll),
2880 (gst_fake_sink_render), (gst_fake_sink_change_state):
2881 * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler),
2882 (gst_fake_src_get_property), (gst_fake_src_create),
2883 (gst_fake_src_stop):
2884 * gst/elements/gstidentity.c: (gst_identity_stop):
2885 Protect last_message with lock.
2887 2005-10-04 Edward Hervey <edward@fluendo.com>
2890 Added precision in the comments for GST_FORMAT_DEFAULT
2892 2005-10-04 Tim-Philipp Müller <tim at centricular dot net>
2894 * tools/gst-launch.c: (main):
2895 Don't try to run erroneous pipelines.
2897 2005-10-04 Julien MOUTTE <julien@moutte.net>
2899 * gst/gstbus.c: We don't need this header.
2901 2005-10-03 Thomas Vander Stichele <thomas at apestaart dot org>
2906 === release 0.9.3 ===
2908 2005-10-03 Thomas Vander Stichele <thomas at apestaart dot org>
2912 Releasing 0.9.3, "Unregistered"
2914 2005-10-03 Andy Wingo <wingo@pobox.com>
2916 * gst/gstpad.c (gst_pad_activate_push): There is a race condition
2917 whereby calling a pad's activatepush() function can start a thread
2918 that starts to push or pull before the pad gets the FLUSHING flag
2919 unset. Hack around it by holding the stream lock until the flag is
2920 set. Need to replace this with a proper solution. Together with
2921 the ghost pad fixes, this fixes mp3 playing/tagreading.
2923 * docs/design/part-gstghostpad.txt: Add a note about activation of
2924 proxy pads outside of ghost pads.
2926 * gst/gstghostpad.c: Implement the ghost pad activation design.
2928 2005-10-02 Andy Wingo <wingo@pobox.com>
2930 * gst/gstobject.h (GST_OBJECT_REFCOUNT_VALUE): Just use the int.
2931 It is volatile, after all.
2933 * docs/design/part-gstghostpad.txt: Flesh out activation with
2936 * gst/base/gstbasesrc.c (gst_base_src_init): Use
2939 2005-10-02 Tim-Philipp Müller <tim at centricular dot net>
2942 Fix (unused) AM_CONDITIONAL tests.
2944 2005-10-01 Alessandro Decina <alessandro at nnva dot org>
2946 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
2948 * gst/gstutils.c: (gst_pad_query_convert):
2949 Add assertion that makes sure src_val is >=0, just like
2950 gst_query_new_convert() has. (#315895)
2952 2005-09-30 Edward Hervey <edward@fluendo.com>
2954 * gst/elements/gsttee.c: (gst_tee_do_push), (gst_tee_handle_buffer):
2955 Let's not iterate pads we're not interested in, it avoids getting
2956 sky-high refcounts on sinkpad.
2958 2005-09-30 Wim Taymans <wim@fluendo.com>
2960 * gst/gstelement.c: (gst_element_set_state),
2961 (gst_element_change_state):
2962 Small tweak, element in ASYNC remains ASYNC.
2964 2005-09-30 Wim Taymans <wim@fluendo.com>
2966 * gst/base/gstbasesink.c: (gst_base_sink_change_state):
2967 Only error is an error.
2969 * gst/gstbin.c: (gst_bin_change_state):
2972 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_chain):
2973 Also call pad_block in pad alloc.
2975 * gst/gstutils.c: (gst_flow_get_name):
2978 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
2980 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
2981 (gst_base_src_get_range):
2982 Fix documentation typos. Add some more debug info.
2984 2005-09-29 David Schleef <ds@schleef.org>
2986 * gst/gstplugin.c: (gst_plugin_load_file): Make some error messages
2987 more end-user friendly.
2988 * tools/gst-inspect.c: (main): Check if command-line argument is
2989 a file and attempt to load that file as a plugin.
2991 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
2993 * check/gst/gstbin.c:
2994 * check/states/sinks.c:
2995 fix tests for the new warning
2996 * check/gst/gstpipeline.c:
2997 add a test for pipeline and bus interaction
2999 elements should be NULL if they get disposed; add a warning if not
3001 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
3004 for 2.6 refcounting, make debug log more correct by printing
3005 the actual refcounts at the time of swap (Wim)
3007 2005-09-29 Andy Wingo <wingo@pobox.com>
3009 * gst/gstbus.c (gst_bus_remove_signal_watch): New function,
3010 removes signal watches previously added via
3011 gst_bus_add_signal_watch.
3012 (gst_bus_add_signal_watch): Don't return the source id, just store
3013 it on the bus if there wasn't an id already.
3015 * gst/gstbus.h (GstBus): Add a couple new fields. API changes for
3016 add_signal_watch and remove_signal_watch.
3018 2005-09-29 Edward Hervey <edward@fluendo.com>
3020 * libs/gst/controller/gstcontroller.c: (gst_controller_new_list):
3021 Better if we actually iterate the list :)
3023 2005-09-29 Wim Taymans <wim@fluendo.com>
3025 * check/gst/gstbin.c: (GST_START_TEST):
3026 Change for new bus API.
3028 * check/gst/gstbus.c: (message_func_eos), (message_func_app),
3029 (send_messages), (GST_START_TEST), (gstbus_suite):
3030 Change for new bus signal API.
3032 * gst/gstbus.c: (gst_bus_class_init), (gst_bus_have_pending),
3033 (gst_bus_source_prepare), (gst_bus_source_check),
3034 (gst_bus_create_watch), (gst_bus_add_watch_full),
3035 (gst_bus_add_watch), (gst_bus_poll), (gst_bus_async_signal_func),
3036 (gst_bus_sync_signal_handler), (gst_bus_add_signal_watch):
3038 Remove support for multiple GSources operating on different
3039 message types as it is too complex and unneeded when using
3041 Added support for receiving signals from the bus.
3043 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
3045 * docs/libs/tmpl/gstdataprotocol.sgml:
3046 * docs/manual/advanced-dataaccess.xml:
3047 * gst/elements/gstcapsfilter.c:
3049 rename filter-caps to caps property
3051 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
3053 * gst/gstvalue.c: (gst_value_deserialize_fraction):
3054 More robust fraction string parsing.
3056 * docs/pwg/appendix-porting.xml:
3057 Mention gst_pad_use_explicit_caps() => gst_pad_use_fixed_caps()
3059 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
3061 * gst/gstcaps.c: (gst_caps_do_simplify):
3062 Thou shalt not free a structure and then continue using it
3063 in the next loop iteration.
3065 * check/gst/gstcaps.c: (check_fourcc_list), (test_simplify),
3067 Add test case for caps simplification.
3069 2005-09-29 Wim Taymans <wim@fluendo.com>
3071 * check/gst/gstbin.c: (GST_START_TEST):
3074 2005-09-29 Wim Taymans <wim@fluendo.com>
3076 * check/gst/gstbin.c: (GST_START_TEST):
3079 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
3080 (add_to_queue), (clear_queue), (reset_degree), (update_degree),
3081 (find_element), (gst_bin_sort_iterator_next),
3082 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
3083 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
3084 (gst_bin_change_state), (gst_bin_dispose):
3085 A bin does not have a bus, it gets the bus from the parent.
3087 * gst/gstelement.c: (gst_element_requires_clock),
3088 (gst_element_provides_clock), (gst_element_is_indexable),
3089 (gst_element_is_locked_state), (gst_element_change_state),
3090 (gst_element_set_bus_func):
3093 * gst/gstpipeline.c: (gst_pipeline_class_init),
3094 (gst_pipeline_init), (gst_pipeline_provide_clock_func):
3095 The pipeline provides a bus.
3097 2005-09-28 Johan Dahlin <johan@gnome.org>
3099 * gst/gstmessage.c (gst_message_parse_state_changed): Use
3100 gst_structure_get_enum instead of gst_structure_get_int
3102 * gst/gststructure.c (gst_structure_get_enum): Impl.
3104 * gst/gststructure.h (gst_structure_get_enum): Add
3106 * docs/gst/gstreamer-sections.txt: Ditto
3108 * gst/gstmessage.c (gst_message_new_state_changed): Use
3109 GST_TYPE_STATE instead of G_TYPE_INT, mainly for language bindings
3110 which does introspection.
3111 Reviewed by Christian Schaller
3113 2005-09-28 Stefan Kost <ensonic@users.sf.net>
3115 * gst/gstinfo.c: (gst_debug_log_default):
3116 don't do dummy g_strdup()s
3117 * libs/gst/controller/gstcontroller.c:
3118 (on_object_controlled_property_changed),
3119 (gst_controlled_property_new), (gst_controller_new_valist),
3120 (gst_controller_new_list),
3121 (gst_controller_remove_properties_valist), (gst_controller_set),
3122 (gst_controller_get), (gst_controller_sync_values),
3123 (gst_controller_get_value_array), (_gst_controller_class_init),
3124 (gst_controller_get_type):
3125 * libs/gst/controller/gstcontroller.h:
3126 * libs/gst/controller/gstinterpolation.c:
3127 (gst_controlled_property_find_timed_value_node):
3128 convert // to /**/ comments
3130 2005-09-28 Wim Taymans <wim@fluendo.com>
3132 * gst/gstbus.c: (marshal_VOID__MINIOBJECT), (gst_bus_class_init),
3133 (gst_bus_post), (poll_func), (gst_bus_async_signal_func),
3134 (gst_bus_sync_signal_handler):
3136 Added async-message and sync-message signals to the bus.
3137 Added helper BusFunc to emit signals for all posted messages.
3139 * gst/gstmessage.c: (gst_message_type_get_name),
3140 (gst_message_type_to_quark), (gst_message_get_type):
3142 Register quarks for message names.
3144 2005-09-28 Stefan Kost <ensonic@users.sf.net>
3146 * docs/libs/gstreamer-libs-sections.txt:
3147 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
3148 (gst_controller_new_list):
3149 * libs/gst/controller/gstcontroller.h:
3150 added another constructor for language bindings
3152 2005-09-28 Thomas Vander Stichele <thomas at apestaart dot org>
3154 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
3158 * gst/gstinfo.c: (_gst_debug_init):
3159 slightly more readable color for refcount debugging
3161 2005-09-28 Wim Taymans <wim@fluendo.com>
3163 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
3164 (add_to_queue), (clear_queue), (reset_degree), (update_degree),
3165 (find_element), (gst_bin_sort_iterator_next),
3166 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
3167 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
3168 (gst_bin_change_state), (gst_bin_dispose):
3169 Small doc fixes. get_clock -> provide_clock.
3171 * gst/gstelement.c: (gst_element_class_init),
3172 (gst_element_provides_clock), (gst_element_provide_clock),
3173 (gst_element_get_clock), (gst_element_commit_state),
3174 (gst_element_lost_state):
3176 Make get/set_clock() symetric. Add provide_clock vmethod since
3177 that is actually what this function does.
3179 * gst/gstpipeline.c: (gst_pipeline_class_init),
3180 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func),
3181 (gst_pipeline_get_clock):
3182 get_clock -> provide_clock.
3184 2005-09-28 Andy Wingo <wingo@pobox.com>
3186 * gst/base/gstbasesrc.c (gst_base_src_unlock): Comment a bit in
3187 lieu of real docs...
3189 * gst/elements/gstfdsrc.c: Cleaned up a bit.
3191 2005-09-28 Tim-Philipp Müller <tim at centricular dot net>
3193 * gst/elements/gstcapsfilter.c:
3194 * gst/elements/gstfakesink.c:
3195 * gst/elements/gstfakesrc.c:
3196 * gst/elements/gstfdsink.c:
3197 * gst/elements/gstfdsrc.c:
3198 * gst/elements/gstfilesink.c:
3199 * gst/elements/gstfilesrc.c:
3200 * gst/elements/gstidentity.c:
3201 * gst/elements/gsttee.c:
3202 * gst/elements/gsttypefindelement.c:
3203 Make element details static.
3205 2005-09-28 Wim Taymans <wim@fluendo.com>
3207 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
3208 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
3209 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
3210 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
3211 (gst_bin_change_state), (gst_bin_dispose):
3212 Some documentation updates.
3213 Clean up dispose handlers.
3215 * gst/gstobject.c: (gst_object_ref), (gst_object_unref):
3216 * gst/gstpad.c: (gst_pad_dispose):
3217 Clean up dispose handler.
3219 * gst/gstpipeline.c: (gst_pipeline_change_state):
3220 Removed spurious UNLOCK.
3222 2005-09-27 Stefan Kost <ensonic@users.sf.net>
3224 * docs/gst/gstreamer-sections.txt:
3225 * gst/base/gstbasesrc.h:
3230 * gst/gstpipeline.c:
3231 * gst/gstpipeline.h:
3234 added two new functions to the docs
3235 documents all undocumented GstXXXFlags
3236 completed some incomplete docs
3238 2005-09-27 Thomas Vander Stichele <thomas at apestaart dot org>
3240 * gst/gstbin.c: (gst_bin_dispose):
3241 * gst/gstelement.c: (gst_element_dispose):
3242 remove now useless and leaky resurrection code in dispose
3243 * gst/base/gstbasesrc.c: (gst_base_src_init):
3244 * gst/gstelementfactory.c: (gst_element_factory_create):
3245 * gst/gstobject.c: (gst_object_set_parent):
3248 2005-09-27 Wim Taymans <wim@fluendo.com>
3250 * docs/design/part-TODO.txt:
3253 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
3254 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
3255 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
3256 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
3257 (gst_bin_change_state):
3259 Remove element variable, we keep element info in the iterator now.
3261 2005-09-27 Andy Wingo <wingo@pobox.com>
3263 * libs/gst/dataprotocol/dataprotocol.c: Fix error-checking return
3266 2005-09-27 Wim Taymans <wim@fluendo.com>
3268 * check/gst/gstbin.c: (GST_START_TEST):
3269 Enable check that works now.
3271 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
3272 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
3273 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
3274 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
3275 (gst_bin_change_state):
3277 Redid the state change algorithm using a topological sort algo.
3278 Handles all cases correctly.
3279 Exposed iterator for state change order.
3282 Temp storage for state changes. Need to get rid of this soon.
3284 2005-09-27 Wim Taymans <wim@fluendo.com>
3286 * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_do_push):
3287 * gst/gstutils.c: (intersect_caps_func), (gst_pad_proxy_getcaps),
3288 (link_fold_func), (gst_pad_proxy_setcaps):
3289 Leak fixes, the fold functions need to unref the passed object and
3290 _get_parent_*() returns ref to parent.
3292 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
3294 * check/gst/gstbuffer.c: (test_make_writable):
3295 Plug leak in test case and fix 'make check-valgrind'
3297 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
3299 * gst/gstbuffer.c: (gst_subbuffer_init):
3300 Set READONLY flag on subbuffers, so that gst_buffer_make_writable()
3301 works correctly in all circumstances (we could have just copied
3302 the parent buffer's readonly flag, but conceptually it seems
3303 cleaner to mark all subbuffers as read-only). (based on patch
3304 by Alessandro Decina, #314710).
3306 * check/gst/gstbuffer.c: (create_read_only_buffer),
3307 (test_make_writable), (test_subbuffer_make_writable),
3309 Add some tests for gst_buffer_make_writable().
3311 2005-09-27 Wim Taymans <wim@fluendo.com>
3313 * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_change_state):
3314 use gst_object_has_ancestor().
3316 * gst/gstobject.c: (gst_object_has_ancestor):
3318 gst_object_has_ancestor() copied from gstbin.c as it is a
3321 * tests/instantiate/create.c: (create_all_elements):
3322 * tests/lat.c: (handoff_src), (handoff_sink):
3323 * tests/sched/runxml.c: (main):
3324 * tests/seeking/seeking1.c: (main):
3325 * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
3327 Fix compilation of some tests.
3329 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
3332 Remove comment. GST_TYPE_G_ERROR is here to stay,
3333 G_TYPE_ERROR has been WONTFIX'ed by the GLib folks
3336 2005-09-26 Wim Taymans <wim@fluendo.com>
3338 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
3339 Added check that shows error in state change order.
3341 2005-09-26 Wim Taymans <wim@fluendo.com>
3343 * gst/gstbin.c: (gst_bin_change_state):
3344 Make state change function use 3 queues again, we were
3345 adding elements in the wrong order.
3347 * gst/gstghostpad.c: (gst_ghost_pad_do_unlink):
3350 * gst/gstpad.c: (gst_pad_dispose):
3351 Added some debug info first.
3353 2005-09-26 Tim-Philipp Müller <tim at centricular dot net>
3355 * docs/design/draft-push-pull.txt:
3356 * docs/design/part-events.txt:
3357 * docs/design/part-overview.txt:
3358 * docs/design/part-scheduling.txt:
3359 Replace all _pull_region() with _pull_range()
3361 2005-09-26 Andy Wingo <wingo@pobox.com>
3363 * gst/gstvalue.c (_gst_value_initialize): Better fakeout.
3365 * check/gst-libs/controller.c: Update for controller api change.
3368 * tests/Makefile.am:
3369 * tests/memchunk: Remove memchunk benchmark stuff, this is taken
3370 over by GLib bug 118439.
3372 * gst/base/gstbasesink.c (gst_base_sink_wait): Factor out the wait
3373 routines to a function.
3375 * docs/libs/gstreamer-libs-sections.txt: I am a good person today.
3377 * libs/gst/controller/gsthelper.c:
3378 * libs/gst/controller/gstcontroller.h (gst_controller_sync_values)
3379 (gst_object_sync_values): Renamed from sink_values. Ugh.
3381 * libs/gst/controller/gsthelper.c: Update for __gst_controller_key.
3383 * libs/gst/controller/gstcontroller.c (__gst_controller_key):
3384 Renamed from controller_key, as it is exported.
3386 * gst/gstvalue.c (_gst_value_initialize): Fake out the compiler.
3388 2005-09-26 Thomas Vander Stichele <thomas at apestaart dot org>
3393 * gst/gstpadtemplate.h:
3396 * gst/gstqueryutils.c:
3397 * gst/gstqueryutils.h:
3398 remove queryutils headers after moving the two used functions
3399 to gstquery. also fixes build problem for gstsiddec
3401 2005-09-26 Michael Smith <msmith@fluendo.com>
3403 * tools/gst-launch.1.in:
3404 Correct documentation in manpage of debug syntax
3406 2005-09-26 Wim Taymans <wim@fluendo.com>
3408 * gst/base/gstbasesrc.c: (gst_base_src_get_range),
3409 (gst_base_src_is_seekable), (gst_base_src_change_state):
3410 Some more debugging info.
3412 2005-09-25 Stefan Kost <ensonic@users.sf.net>
3414 * docs/gst/gstreamer-sections.txt:
3415 * gst/base/gstbasetransform.h:
3419 2005-09-25 Stefan Kost <ensonic@users.sf.net>
3421 * docs/gst/.cvsignore:
3422 * docs/gst/tmpl/.cvsignore:
3423 * docs/gst/tmpl/gstpipeline.sgml:
3424 * docs/gst/tmpl/gstplugin.sgml:
3425 * gst/gstpipeline.c:
3428 inlined the last two docs files
3429 removed the tmpl directory from cvs (no more conflicts here!)
3431 2005-09-25 Stefan Kost <ensonic@users.sf.net>
3433 * docs/gst/gstreamer-sections.txt:
3434 * docs/gst/tmpl/.cvsignore:
3435 * docs/gst/tmpl/gstpad.sgml:
3436 * docs/gst/tmpl/gstpadtemplate.sgml:
3438 * gst/gstpad.c: (gst_pad_class_init), (gst_pad_dispose),
3439 (gst_pad_finalize), (gst_pad_set_pad_template):
3441 * gst/gstpadtemplate.c: (gst_pad_template_get_type),
3442 (gst_pad_template_class_init), (gst_pad_template_init),
3443 (gst_pad_template_dispose), (name_is_valid),
3444 (gst_static_pad_template_get), (gst_pad_template_new),
3445 (gst_static_pad_template_get_caps), (gst_pad_template_get_caps),
3446 (gst_pad_template_pad_created):
3447 * gst/gstpadtemplate.h:
3448 inlined two more docs
3449 factored gstpadtemplate out of gstpad
3451 2005-09-24 Tim-Philipp Müller <tim at centricular dot net>
3453 * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
3454 (test_children_state_change_order_semi_sink):
3455 Fix test case: we can't rely on a fixed state change order when
3456 going from READY => PAUSED because the sink might commit its
3457 new state first when the first buffer created by the source
3458 reaches the sink before the source has finished its change state.
3459 (Test case still fails at times, see #316856, comment 5 onwards)
3461 2005-09-24 Wim Taymans <wim@fluendo.com>
3463 * docs/design/part-events.txt:
3464 * docs/design/part-gstbus.txt:
3465 * docs/design/part-gstpipeline.txt:
3466 * docs/design/part-messages.txt:
3467 * docs/design/part-overview.txt:
3468 * docs/design/part-segments.txt:
3475 * gst/gstiterator.c:
3476 Various documentation updates.
3478 2005-09-24 Thomas Vander Stichele <thomas at apestaart dot org>
3481 Well, that's embarassing. Luckily we weren't using
3482 GST_CLOCK_DIFF anywhere.
3484 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
3486 * common/gtk-doc.mak:
3487 don't fail on building XML, FC4 slave shows a bunch of doc
3488 missing bits that I don't get
3490 * gst/gstpipeline.c:
3491 * gst/gststructure.c:
3494 2005-09-23 Tim-Philipp Müller <tim at centricular dot net>
3496 * docs/design/part-gstbin.txt:
3497 * docs/design/part-gstbus.txt:
3499 Add blurb about how the bus goes into flushing mode and
3500 drops all messages when its bin goes from READY into NULL
3503 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
3505 * docs/gst/gstreamer-sections.txt:
3506 * gst/gststructure.c: (gst_structure_get_clock_time):
3507 * gst/gststructure.h:
3508 add a method to get a GstClockTime out of a structure
3510 2005-09-23 Tim-Philipp Müller <tim at centricular dot net>
3512 * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
3513 (test_children_state_change_order_semi_sink), (gst_bin_suite):
3514 Added test to check state change order in bins (can still be made
3515 to fail here under heavy disk load; bails out with 'Push on pad
3516 fakesink:sink0, but it was not activated in push mode').
3518 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_change_state):
3519 Fix state change order when there is only a semi sink (#316856)
3521 * gst/gstbus.c: (gst_bus_class_init):
3522 Use _class_peek_parent(), not _class_ref(); fix docs to say
3523 'default main context' instead of 'mainloop' where that is
3526 * gst/gstelement.c: (gst_element_commit_state),
3527 (gst_element_set_state):
3528 Fix typos in debug messages
3530 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
3533 * gst/gstpad.c: (gst_pad_class_init), (gst_pad_chain):
3534 * gst/gstpluginfeature.c:
3537 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
3538 change an assert into an error until it gets fixed properly
3540 2005-09-23 Stefan Kost <ensonic@users.sf.net>
3542 * docs/gst/gstreamer-sections.txt:
3543 * docs/gst/tmpl/.cvsignore:
3544 * docs/gst/tmpl/gstelement.sgml:
3545 * docs/gst/tmpl/gstinfo.sgml:
3546 * docs/gst/tmpl/gstobject.sgml:
3551 * gst/gstobject.c: (gst_object_class_init):
3553 inlined 3 more biiiig doc files and added some missing docs on the fly
3555 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
3557 * check/gst/.cvsignore:
3558 * check/gst/gstplugin.c: (GST_START_TEST), (gst_plugin_suite):
3559 * gst/gstregistryxml.c: (load_plugin),
3560 (gst_registry_xml_save_plugin):
3561 put back source in registry. add checks for find_plugin.
3562 * testsuite/states/bin.c: (assert_state), (empty_bin),
3563 (test_adding_one_element), (main):
3564 * testsuite/states/locked.c: (main):
3565 some compile/run fixes
3567 2005-09-22 Thomas Vander Stichele <thomas at apestaart dot org>
3569 * check/gst/gstvalue.c: (GST_START_TEST):
3570 fix leaks in the test itself
3572 2005-09-22 Wim Taymans <wim@fluendo.com>
3574 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
3575 (gst_base_sink_send_event), (gst_base_sink_peer_query),
3576 (gst_base_sink_query):
3577 Prepare for more accurate position reporting and query
3580 * gst/gstelement.c: (gst_element_send_event),
3581 (gst_element_set_state):
3584 2005-09-22 Wim Taymans <wim@fluendo.com>
3586 * gst/gstquery.c: (gst_query_new_segment), (gst_query_set_segment),
3587 (gst_query_parse_segment):
3590 Add segment query for future use.
3592 2005-09-22 Wim Taymans <wim@fluendo.com>
3594 * gst/gstbin.c: (gst_bin_add_func):
3595 Some more debug info.
3597 * gst/gstelement.c: (gst_element_send_event):
3601 Don't know how flags got broken.
3606 2005-09-22 Tim-Philipp Müller <tim at centricular dot net>
3608 * check/gst/gstvalue.c: (test_date), (gst_value_suite):
3609 Add simplistic test suite for GST_TYPE_DATE serialisation and
3612 2005-09-22 Tim-Philipp Müller <tim at centricular dot net>
3614 * docs/gst/gstreamer-sections.txt:
3615 * gst/gststructure.c: (gst_structure_set_valist),
3616 (gst_structure_get_date):
3617 * gst/gststructure.h:
3618 * gst/gstvalue.c: (gst_value_set_date), (gst_value_get_date),
3619 (gst_date_copy), (gst_value_compare_date),
3620 (gst_value_serialize_date), (gst_value_deserialize_date),
3621 (gst_value_transform_date_string),
3622 (gst_value_transform_string_date), (_gst_value_initialize):
3624 Add GST_TYPE_DATE, a boxed type that wraps GDate, and the usual
3625 bunch of utility functions along with a hack that checks that
3626 developers don't accidentally use G_TYPE_DATE where GST_TYPE_DATE
3627 is required. Part of the grand scheme in #170777.
3629 2005-09-22 Andy Wingo <wingo@pobox.com>
3631 * gst/gstconfig.h.in: Psych out gtk-doc.
3633 * docs/gst/gstreamer-sections.txt: Add GST_HAVE_GLIB_2_8.
3635 * check/Makefile.am (check_PROGRAMS): Add gstplugin to the tests.
3637 * tools/gst-inspect.c (print_element_list): Plug some
3638 inconsequential leaks.
3640 * gst/gstregistry.c (gst_registry_get_default): Doc.
3642 * check/gst/gstplugin.c:
3643 * gst/gsttypefindfactory.c (gst_type_find_factory_call_function):
3644 * gst/gstelementfactory.c (gst_element_factory_create):
3645 * gst/gstindexfactory.c (gst_index_factory_create): Update for
3648 * gst/gstpluginfeature.c (gst_plugin_feature_list_free): Doc.
3649 (gst_plugin_feature_load): Doc, don't eat refs.
3651 * gst/gstplugin.c (gst_plugin_load): Doc, don't eat refs.
3652 (gst_plugin_list_free): Doc.
3653 (gst_plugin_load_file): Doc updates.
3655 * gst/gstbuffer.c (gst_buffer_get_caps): Like all our _get
3656 accessors returning refcounted objects, return a ref.
3658 * check/gst/gstbuffer.c (GST_START_TEST): Use refcount-idempotent
3659 accessor for caps. IDEMPOTENCE. Oh yes.
3661 2005-09-21 Francis Labonte <francis_labonte at hotmail dot com>
3663 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
3665 * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
3666 (_gst_debug_register_funcptr):
3667 Add mutex to serialise access to the hash table with
3668 the function pointer => function name string mapping;
3669 make that hash table static scope (#316809).
3671 * gst/registries/.cvsignore:
3672 Remove left-over file.
3674 2005-09-21 Tim-Philipp Müller <tim at centricular dot net>
3676 * docs/pwg/appendix-porting.xml:
3677 And something about newsegment events and caps-on-buffers to
3678 the porting guide (feel free to improve).
3680 2005-09-21 Andy Wingo <wingo@pobox.com>
3682 * check/gst/gstutils.c (test_buffer_probe_n_times): Add tests for
3683 data and event probes on the same pad.
3684 (test_buffer_probe_once): Test that removing probes from within
3685 the probe functions works.
3687 2005-09-21 Andy Wingo <wingo@pobox.com>
3689 * check/gst/gstutils.c: New file.
3690 (test_buffer_probe_n_times): A simple buffer probe test. More to
3693 * gst/gstutils.c (gst_pad_add_buffer_probe): Connect to
3694 have-data::buffer, not have-data.
3695 (gst_pad_add_event_probe): Likewise for have-data::event.
3696 (gst_pad_add_data_probe): More docs. The part about 'resolving the
3697 peer' isn't quite right yet though.
3698 (gst_pad_remove_buffer_probe, gst_pad_remove_event_probe)
3699 (gst_pad_remove_data_probe): Change to take the guint handler_id
3700 as their arg, not the function+data, which is more glib-like.
3702 * gst/gstpad.c (gst_pad_emit_have_data_signal): Add a detail to
3703 the signal emission to indicate if the data is a buffer or an
3705 (gst_pad_get_type): Initialize buffer and event quarks.
3706 (gst_pad_class_init): have-data is now a detailed signal, yes it
3709 2005-09-21 Tim-Philipp Müller <tim at centricular dot net>
3711 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
3712 * gst/gstutils.c: (gst_util_set_value_from_string),
3713 (gst_util_set_object_arg):
3714 Don't put functional code in g_return_if_fail() or
3715 g_return_val_if_fail() statements, otherwise things will
3716 break when G_DISABLE_CHECKS is defined during compilation.
3718 2005-09-21 Stefan Kost <ensonic@users.sf.net>
3720 * docs/gst/tmpl/.cvsignore:
3721 * docs/gst/tmpl/gstvalue.sgml:
3724 inlied another one and added some obvious docs
3726 2005-09-21 Wim Taymans <wim@fluendo.com>
3728 * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
3729 (gst_fdsrc_init), (gst_fdsrc_start), (gst_fdsrc_stop),
3730 (gst_fdsrc_unlock), (gst_fdsrc_set_property),
3731 (gst_fdsrc_get_property), (gst_fdsrc_create):
3732 * gst/elements/gstfdsrc.h:
3733 Properly implement fdsrc. Removed signal and timeout,
3734 better implemented somewhere else.
3736 2005-09-21 Stefan Kost <ensonic@users.sf.net>
3738 * docs/gst/tmpl/.cvsignore:
3739 * docs/gst/tmpl/gstimplementsinterface.sgml:
3740 * gst/gstinterface.c:
3743 2005-09-21 Stefan Kost <ensonic@users.sf.net>
3745 * docs/gst/gstreamer-sections.txt:
3746 * docs/gst/tmpl/.cvsignore:
3747 * docs/gst/tmpl/gstenumtypes.sgml:
3748 remove obsolete doc file
3750 2005-09-21 David Schleef <ds@schleef.org>
3752 * gst/gstelementfactory.c: (gst_element_factory_make): Drink a
3753 little beer, fix a little leak.
3755 2005-09-21 Stefan Kost <ensonic@users.sf.net>
3757 * docs/gst/gstreamer-docs.sgml:
3758 * docs/gst/gstreamer-sections.txt:
3759 * docs/gst/tmpl/.cvsignore:
3764 * gst/gstindex.c: (gst_index_class_init):
3766 * gst/gstindexfactory.c: (gst_index_factory_get_type),
3767 (gst_index_factory_class_init), (gst_index_factory_init),
3768 (gst_index_factory_finalize), (gst_index_factory_new),
3769 (gst_index_factory_destroy), (gst_index_factory_find),
3770 (gst_index_factory_create), (gst_index_factory_make):
3771 * gst/gstindexfactory.h:
3772 * gst/gstpluginfeature.c:
3773 * gst/gstpluginfeature.h:
3774 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
3775 more docs inlined, splitted gstindex.{c,h}
3777 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
3779 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
3782 2005-09-20 Tim-Philipp Müller <tim at centricular dot net>
3784 * gst/elements/gstfilesink.c: (gst_file_sink_init):
3785 Set sync to FALSE by default.
3787 2005-09-20 Wim Taymans <wim@fluendo.com>
3789 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
3790 (gst_base_sink_init):
3791 Make sync property settable from subclass.
3793 * gst/elements/gstfakesink.c: (gst_fake_sink_init),
3794 (gst_fake_sink_change_state):
3795 Set sync to FALSE by default.
3797 2005-09-20 Wim Taymans <wim@fluendo.com>
3799 * gst/gstbus.c: (poll_func), (poll_timeout), (gst_bus_poll):
3800 * tools/gst-launch.c: (main):
3801 The timeout handler should have lower priority than the source
3802 so we don't timeout before popping a message with 0 timeout.
3803 Dump error messages after failed state change.
3805 2005-09-20 Tim-Philipp Müller <tim at centricular dot net>
3807 * tools/gst-inspect.c: (print_element_properties_info):
3810 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
3812 * check/gst/gstevent.c:
3813 * gst/elements/gstfakesink.c:
3814 * gst/elements/gstfakesink.h:
3815 remove the sync property from fakesink.
3816 has the side effect of setting sync TRUE
3817 for fakesink, which is a change. Anyone who knows how
3818 to fix this nicely in a GObject-y way, feel free.
3820 2005-09-20 Stefan Kost <ensonic@users.sf.net>
3822 * docs/gst/gstreamer-docs.sgml:
3823 remove probe refsection
3825 2005-09-20 Stefan Kost <ensonic@users.sf.net>
3827 * check/Makefile.am:
3828 disable valgrinding the controller test again
3829 * docs/gst/gstreamer-sections.txt:
3830 update for api-changes
3832 2005-09-20 Wim Taymans <wim@fluendo.com>
3834 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
3835 (gst_base_sink_set_property), (gst_base_sink_get_property),
3836 (gst_base_sink_do_sync):
3837 * gst/base/gstbasesink.h:
3838 Added sync property to basesink to disable clock sync.
3840 2005-09-20 Andy Wingo <wingo@pobox.com>
3842 * gst/gstelementfactory.c (gst_element_factory_create): Avoid
3843 eating the caller's refcount.
3845 * gst/gstobject.h (GST_OBJECT_REFCOUNT)
3846 (GST_OBJECT_REFCOUNT_VALUE): Conditionally fondle the right
3849 * gst/gstconfig.h.in (GST_HAVE_GLIB_2_8):
3850 * configure.ac (GST_HAVE_GLIB_2_8_DEFINE): Make the availability
3851 of GLib 2.8 public, so we can know which refcount to check in
3854 * gst/gstobject.c: Use the GST_HAVE_GLIB_2_8 define.
3855 (gst_object_init): Only set the gst refcount if we're going ahead
3856 with the refcount hack.
3858 2005-09-20 Stefan Kost <ensonic@users.sf.net>
3860 * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
3861 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
3862 more leaks plumbed, added more debug-logging
3866 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
3869 remove include of gstmemchunk.h
3871 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
3873 * gst/gstclock.c: (_gst_clock_id_free):
3874 Commit from the Political Party For More Atomic CVS Commits,
3875 so that people don't waste too much of their day fishing
3876 out obvious leaks out of massive commits.
3877 Oh, and fix a pretty damn obvious leak in the memchunk
3880 2005-09-20 Stefan Kost <ensonic@users.sf.net>
3882 * check/Makefile.am:
3883 * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
3884 plug mem-leak, re-add to valgrindable tests
3886 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
3889 unbreak the build for those who have chronic arthritis
3890 and typing "make check" is just too taxing on the hands
3892 2005-09-20 Andy Wingo <wingo@pobox.com>
3894 * gst/gst.h: Re-add marshal to gst.h's include list -- if we
3895 really want it out, you should fix plugins at the same time.
3897 2005-09-19 Stefan Kost <ensonic@users.sf.net>
3900 * docs/gst/gstreamer-sections.txt:
3902 added missing symbols to api docs
3903 disable ref-count hack if we have glib >= 2.8
3905 2005-09-19 David Schleef <ds@schleef.org>
3907 * docs/gst/Makefile.am: Ignore a few more internal headers
3908 * docs/gst/gstreamer-docs.sgml: Remove old sections
3909 * docs/gst/gstreamer-sections.txt: Remove old sections
3910 * docs/gst/tmpl/gstobject.sgml: update
3911 * docs/gst/tmpl/gstplugin.sgml: update
3912 * docs/gst/tmpl/gstpluginfeature.sgml: update
3913 * docs/random/ds/0.9-suggested-changes: update.
3914 * gst/Makefile.am: remove memchunk and trashstack, since they're
3916 * gst/gst.c: (gst_deinit): rename gst_registry_deinit to _cleanup
3917 * gst/gst.h: don't include some headers
3918 * gst/gstchildproxy.c: add gstmarshal.h
3919 * gst/gstclock.c: Don't use memchunks
3920 * gst/gstminiobject.c: Add some docs
3921 * gst/gstobject.c: remove DESTROYED flag, since it's redundant
3922 * gst/gstobject.h: same
3923 * gst/gstplugin.c: include gstmacros.h
3924 * gst/gstplugin.h: don't include gstmacros.h, since it's private
3925 * gst/gstquery.c: don't use memchunks
3926 * gst/gstregistry.c: rename gst_registry_deinit()
3927 * gst/gstregistry.h: same
3929 2005-09-19 David Schleef <ds@schleef.org>
3931 * docs/libs/gstreamer-libs-docs.sgml: Remove docs for getbits
3932 * docs/libs/gstreamer-libs-sections.txt:
3933 * docs/libs/tmpl/gstgetbits.sgml:
3934 * docs/libs/tmpl/gstputbits.sgml:
3936 2005-09-19 Tim-Philipp Müller <tim at centricular dot net>
3938 * win32/gstenumtypes.c:
3939 * win32/gstenumtypes.h:
3942 2005-09-19 Wim Taymans <wim@fluendo.com>
3944 * gst/gstpipeline.c: (do_pipeline_seek), (gst_pipeline_send_event):
3945 Automatically PAUSE and RESUME a pipeline when a flushing seek
3948 2005-09-19 Andy Wingo <wingo@pobox.com>
3950 * gst/gstregistry.h: Spacing fixen.
3952 2005-09-19 Wim Taymans <wim@fluendo.com>
3954 * gst/base/gstbasesrc.c: (gst_base_src_change_state):
3955 Handle state change failure more correctly.
3957 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
3959 * check/Makefile.am:
3960 * check/pipelines/cleanup.c: (run_pipeline):
3961 * check/pipelines/simple_launch_lines.c: (run_pipeline),
3963 enable cleanup again after fixing the leak
3965 some more info on docs
3967 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
3969 * check/Makefile.am:
3970 re-enable tests now that leaks are plugged
3972 * check/gst/gstbin.c:
3973 * check/gst/gstpipeline.c:
3974 add some more tests while fixing leaks
3976 make sure binaries are uptodate when valgrinding/gdbing
3978 * gst/gstelementfactory.c:
3979 remove a ref too many, and add a FIXME for when we get
3980 round to disposing of classes
3982 fix the refcounting when loading a plugin from a file and
3983 the code pretends that the pointer is the same even though
3984 of course it can change
3985 * gst/gstpluginfeature.c:
3986 unref plugins marked cached (a bit confusing as a name)
3987 as the docs state should be done
3988 various doc additions to explain refcounting
3989 * gst/gstregistry.c:
3990 * gst/gstregistryxml.c:
3993 2005-09-19 Wim Taymans <wim@fluendo.com>
3995 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
3996 * check/gst/gstbus.c: (message_func_eos), (message_func_app),
3997 (send_messages), (GST_START_TEST), (gstbus_suite):
3998 * check/gst/gstpipeline.c: (GST_START_TEST):
3999 * check/pipelines/cleanup.c: (run_pipeline):
4000 * check/pipelines/simple_launch_lines.c: (run_pipeline),
4002 * gst/gstbus.c: (gst_bus_have_pending), (gst_bus_source_prepare),
4003 (gst_bus_source_check), (gst_bus_source_dispatch),
4004 (gst_bus_create_watch), (gst_bus_add_watch_full),
4005 (gst_bus_add_watch), (poll_func), (poll_timeout), (gst_bus_poll):
4007 * tools/gst-launch.c: (event_loop):
4008 * tools/gst-md5sum.c: (event_loop):
4009 GstBusHandler -> GstBusFunc, return value has the same meaning as
4010 any other GSource (FALSE == remove source).
4011 _add_watch() and _add_watch_full() now take a MessageType mask to
4012 only handle specific types of messages.
4013 _poll() returns the GstMessage instead of the message type to avoid
4015 _have_pending() takes a MessageType mask now too.
4016 Added testsuite for multiple bus watches.
4017 Fix testsuites and applications for new bus API.
4019 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
4021 * check/Makefile.am:
4022 mark a bunch of the tests as to fix until we fix them
4024 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
4027 use GST_PLUGIN settings for valgrind tests as well, so we're
4028 valgrinding the correct thing
4029 * gst/gst.c: (init_post):
4032 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
4034 * gst/gst.c: (init_post), (gst_deinit):
4035 * gst/gstelementfactory.c: (gst_element_factory_class_init),
4036 (gst_element_factory_finalize), (gst_element_factory_cleanup):
4037 * gst/gstindex.c: (gst_index_factory_class_init),
4038 (gst_index_factory_finalize):
4039 * gst/gstobject.c: (gst_object_dispose):
4040 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
4041 (gst_plugin_load_file), (gst_plugin_desc_free):
4042 * gst/gstpluginfeature.c: (gst_plugin_feature_class_init),
4043 (gst_plugin_feature_finalize):
4044 * gst/gstregistry.c: (gst_registry_class_init),
4045 (gst_registry_init), (gst_registry_finalize),
4046 (gst_registry_get_default), (gst_registry_deinit):
4047 * gst/gstregistry.h:
4048 * gst/gstregistryxml.c: (load_feature), (load_plugin):
4049 various cleanups and memleak plugging. make valgrind is happy now.
4051 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
4054 add a check-valgrind target
4056 2005-09-18 David Schleef <ds@schleef.org>
4058 * tools/gst-inspect.c: Revert the GOption code.
4060 2005-09-17 David Schleef <ds@schleef.org>
4062 * check/Makefile.am: Fix environment variables.
4063 * check/gst/gstplugin.c: Fix for API changes.
4064 * tools/gst-inspect.c: Fix for API changes.
4065 * tools/gst-xmlinspect.c: Fix for API changes.
4066 * gst/gstelementfactory.c:
4069 * gst/gstpluginfeature.c:
4070 * gst/gstpluginfeature.h:
4071 * gst/gstregistry.c:
4072 * gst/gstregistry.h:
4073 * gst/gstregistryxml.c:
4074 * gst/gsttypefind.c:
4075 * gst/gsttypefindfactory.c:
4076 * gst/indexers/gstfileindex.c:
4077 * gst/indexers/gstmemindex.c:
4078 * gst/schedulers/Makefile.am:
4079 Change registry to keep track of both plugins and features,
4080 removing the feature tracking from plugins themselves.
4082 2005-09-16 Thomas Vander Stichele <thomas at apestaart dot org>
4084 * check/Makefile.am:
4085 * tools/gst-register.1.in:
4088 2005-09-15 David Schleef <ds@schleef.org>
4090 * check/gst/gstplugin.c:
4091 * gst/gstelementfactory.c:
4093 * gst/gstpluginfeature.c:
4094 * gst/gstregistry.c:
4095 Getting tired of debugging. Disabled all the unreffing of
4096 plugins and features, which fixes the segfaults, but of
4097 course leaks like crazy. At least playbin works.
4099 2005-09-15 David Schleef <ds@schleef.org>
4101 * check/gst/gstplugin.c: (register_check_elements),
4102 (GST_START_TEST), (peek), (suggest), (gst_plugin_suite):
4104 * gst/elements/gsttypefindelement.c: Fix refcounting.
4105 * gst/gsttypefind.c:
4106 * gst/gsttypefindfactory.c:
4107 * gst/gsttypefindfactory.h:
4109 2005-09-15 David Schleef <ds@schleef.org>
4111 * gst/gstindex.c: get refcounting correct.
4112 * gst/gstregistry.c: Handle the case where a feature/plugin is
4115 2005-09-15 David Schleef <ds@schleef.org>
4117 * check/Makefile.am:
4118 * check/gst/gstplugin.c: Add test
4119 * gst/gstplugin.c: Fix problems noticed by testsuite
4121 * gst/gstregistry.c:
4122 * gst/gstregistry.h:
4124 2005-09-15 David Schleef <ds@schleef.org>
4126 * gst/gstplugin.c: Implement semi-decent recounting and locking
4127 in plugins and plugin features.
4129 * gst/gstpluginfeature.c:
4130 * gst/gstpluginfeature.h:
4131 * gst/gstregistry.c:
4133 2005-09-15 Michael Smith <msmith@fluendo.com>
4135 * gst/gstregistry.c: (gst_registry_get_feature_list):
4136 Implement this. Makes oggdemux work; decodebin still broken.
4138 2005-09-14 David Schleef <ds@schleef.org>
4140 * configure.ac: Add -no-undefined to GST_PLUGIN_LDFLAGS (bug
4142 * gst/base/Makefile.am: Add -no-undefined to LDFLAGS for libs
4143 * gst/check/Makefile.am:
4144 * libs/gst/controller/Makefile.am:
4145 * libs/gst/dataprotocol/Makefile.am:
4147 2005-09-14 David Schleef <ds@schleef.org>
4149 * configure.ac: Remove getbits library. Nothing uses it, and
4150 it should be in something like liboil if someone did want
4152 * libs/gst/Makefile.am:
4153 * libs/gst/getbits/Makefile.am:
4154 * libs/gst/getbits/gbtest.c:
4155 * libs/gst/getbits/getbits.c:
4156 * libs/gst/getbits/getbits.h:
4157 * libs/gst/getbits/gstgetbits_generic.c:
4158 * libs/gst/getbits/gstgetbits_i386.s:
4159 * libs/gst/getbits/gstgetbits_inl.h:
4161 2005-09-14 David Schleef <ds@schleef.org>
4163 * gst/Makefile.am: Dist glib-compat.h
4165 2005-09-14 David Schleef <ds@schleef.org>
4167 * configure.ac: Remove gst/registries, since it's no longer used.
4168 * gst/registries/Makefile.am:
4169 * gst/registries/gstlibxmlregistry.c:
4170 * gst/registries/gstlibxmlregistry.h:
4171 * gst/registries/gstxmlregistry.c:
4172 * gst/registries/gstxmlregistry.h:
4173 * gst/registries/registrytest.c:
4175 2005-09-14 David Schleef <ds@schleef.org>
4177 * gst/glib-compat.h:
4178 * gst/gstregistryxml.c:
4179 Convergence is near. Seriously.
4181 2005-09-14 David Schleef <ds@schleef.org>
4183 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
4184 * gst/glib-compat.h:
4185 Attempt #4 to appease the buildbots.
4187 2005-09-14 David Schleef <ds@schleef.org>
4189 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
4192 2005-09-14 David Schleef <ds@schleef.org>
4194 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
4197 2005-09-14 David Schleef <ds@schleef.org>
4199 * gst/Makefile.am: Oh yeah, libgstreamer.so needs to contain
4202 2005-09-14 David Schleef <ds@schleef.org>
4204 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
4205 * gst/glib-compat.h: Add some functions that are in newer versions
4206 of glib than we care to require.
4207 * gst/gstregistryxml.c: Use them.
4209 2005-09-14 David Schleef <ds@schleef.org>
4211 * po/POTFILES.in: remove gst-register.c
4213 2005-09-14 David Schleef <ds@schleef.org>
4215 * docs/gst/gstreamer-docs.sgml:
4216 * docs/gst/gstreamer-sections.txt:
4217 * docs/gst/gstreamer.types:
4218 * docs/gst/tmpl/gstelement.sgml:
4219 * docs/gst/tmpl/gstplugin.sgml:
4220 * docs/gst/tmpl/gstpluginfeature.sgml:
4221 Documentation updates for registry changes.
4223 2005-09-14 David Schleef <ds@schleef.org>
4225 * gst/gstregistryxml.c: Copy g_mkdir_with_parent() from glib,
4226 because we don't require glib-2.8.
4228 2005-09-14 David Schleef <ds@schleef.org>
4230 * gst/gstregistryxml.c: Added. Essentially moved out of the
4231 registries directory.
4233 2005-09-14 David Schleef <ds@schleef.org>
4235 * check/Makefile.am:
4236 * check/generic/states.c:
4240 * gst/gst_private.h:
4241 * gst/gstelementfactory.c:
4246 * gst/gstpluginfeature.c:
4247 * gst/gstpluginfeature.h:
4248 * gst/gstregistry.c:
4249 * gst/gstregistry.h:
4250 * gst/gstregistrypool.c: remove
4251 * gst/gstregistrypool.h: remove
4252 * gst/gsttypefind.c:
4253 * gst/gsttypefindfactory.c:
4255 * tools/Makefile.am:
4256 * tools/gst-compprep.c:
4257 * tools/gst-inspect.c:
4258 * tools/gst-register.c: remove
4259 * tools/gst-xmlinspect.c:
4260 Registry rewrite. Changes registry from being a file created
4261 by a tool into a simple cache file created automatically by
4262 libgstreamer. Removed gst-register (because it's no longer
4263 needed). Remove registry pools, because we only have one
4264 registry implementation (XML). Fix up other subsystems as
4267 2005-09-13 Michael Smith <msmith@fluendo.com>
4269 * gst/gstconfig.h.in:
4270 Don't Use windows linking attributes for MinGW. Fixes #316157
4272 2005-09-13 Thomas Vander Stichele <thomas at apestaart dot org>
4274 * gst/gstutils.c: (set_state_async_thread_func),
4275 (gst_element_set_state_async):
4276 Apparently people think it's better if this function doesn't
4277 try to set the state to whatever state was asked for on the first
4278 call to this function for any object. Seriously.
4280 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
4282 * check/gst/gstpipeline.c: (GST_START_TEST):
4283 * docs/gst/gstreamer-sections.txt:
4284 * gst/gstutils.c: (set_state_async_thread_func),
4285 (gst_element_set_state_async):
4287 add a "gst_element_set_state_async" method that
4288 sets the state and starts a thread to make sure the state
4289 change completes as best as it can
4291 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
4293 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
4294 codify design+behaviour in testsuite after discussion
4296 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
4298 * docs/gst/tmpl/gstelement.sgml:
4299 * docs/manual/appendix-quotes.xml:
4301 * gst/gstelement.c: (gst_element_set_state):
4304 2005-09-12 Jan Schmidt <thaytan@mad.scientist.com>
4306 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
4307 (gst_base_transform_prepare_output_buf),
4308 (gst_base_transform_handle_buffer):
4309 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip),
4310 (gst_capsfilter_prepare_buf):
4311 Remove the requirement for sub-classes to call the parent
4312 implementation of prepare_output_buffer with a wrapper function.
4315 * gst/gsttagsetter.h:
4318 2005-09-11 Stefan Kost <ensonic@users.sf.net>
4320 * docs/gst/gstreamer-sections.txt:
4323 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
4325 * docs/gst/gstreamer-sections.txt:
4326 * docs/gst/tmpl/gstelement.sgml:
4327 * docs/gst/tmpl/gstplugin.sgml:
4328 * gst/gstminiobject.c:
4330 docs now stop throwing warnings
4332 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
4334 * docs/gst/gstreamer-sections.txt:
4335 * docs/gst/gstreamer.types:
4336 * docs/gst/tmpl/gstpad.sgml:
4337 * docs/gst/tmpl/gsttypes.sgml:
4338 * gst/base/gstadapter.h:
4339 * gst/base/gstbasesink.h:
4340 * gst/base/gstbasesrc.h:
4350 * gst/gststructure.c:
4351 * gst/registries/gstlibxmlregistry.h:
4352 various documentation fixes
4354 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
4356 * docs/gst/gstreamer-sections.txt:
4357 * docs/gst/tmpl/gstvalue.sgml:
4358 rearrange gstvalue section
4359 * gst/gstutils.c: (gst_element_state_get_name):
4361 * gst/gstvalue.c: (_gst_value_initialize):
4365 2005-09-10 Jan Schmidt <thaytan@mad.scientist.com>
4367 * check/gst-libs/controller.c:
4369 * gst/base/gstbasetransform.c:
4370 (gst_base_transform_default_prepare_buf),
4371 (gst_base_transform_handle_buffer):
4372 * gst/base/gstbasetransform.h:
4373 Some more basetransform changes and fixes to enable sub-classes
4374 that modify buffer metadata only.
4375 * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
4376 (gst_capsfilter_init), (gst_capsfilter_transform_ip),
4377 (gst_capsfilter_prepare_buf):
4378 If the output pad has fixed allowed caps and input buffers
4379 don't have any, set the fixed caps on outgoing buffers.
4381 2005-09-09 Jan Schmidt <thaytan@mad.scientist.com>
4382 * check/elements/identity.c: (GST_START_TEST):
4383 Make the error a little clearer when the test fails because
4384 identity made a copy of the buffer.
4385 * docs/gst/gstreamer-sections.txt:
4386 New symbols in gstbasetransform.h
4387 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
4388 (gst_base_transform_init), (gst_base_transform_transform_size),
4389 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
4390 (gst_base_transform_default_prepare_buf),
4391 (gst_base_transform_get_unit_size),
4392 (gst_base_transform_buffer_alloc),
4393 (gst_base_transform_handle_buffer), (gst_base_transform_chain),
4394 (gst_base_transform_change_state),
4395 (gst_base_transform_set_passthrough),
4396 (gst_base_transform_set_in_place),
4397 (gst_base_transform_is_in_place):
4398 * gst/base/gstbasetransform.h:
4399 Change BaseTransform to separate in_place operate from same_caps
4400 output. in_place implies that the element can perform the transform
4401 on incoming buffers in-place, even if the caps on the output are
4403 Sub-class elements can now implement special buffer allocation
4404 methods for outgoing buffers if they wish to.
4405 Big documentation addition.
4406 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip):
4407 * gst/elements/gstelements.c:
4408 Changes for basetransform modifications.
4409 * gst/elements/Makefile.am:
4410 * gst/elements/gstfdsrc.c: (gst_fdsrc_init), (gst_fdsrc_create):
4411 Compile fix. Extra debug output.
4413 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
4415 * check/gst/gstpad.c: (GST_START_TEST), (name_is_valid),
4417 add tests for valid pad naming
4418 * gst/check/gstcheck.c: (gst_check_log_message_func),
4419 (gst_check_log_critical_func):
4421 remove printing of code, it is fragile when the code contains
4422 % and the line number is enough info
4423 * gst/check/gstcheck.h:
4424 * gst/gstpad.c: (gst_pad_template_new):
4427 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
4430 say what CHECK flags we use
4431 * docs/libs/gstreamer-libs.types:
4432 * libs/gst/controller/Makefile.am:
4433 * libs/gst/controller/gst-controller.c:
4434 * libs/gst/controller/gst-controller.h:
4435 * libs/gst/controller/gst-helper.c:
4436 * libs/gst/controller/gst-interpolation.c:
4437 * libs/gst/controller/gstcontroller.c:
4438 * libs/gst/controller/gsthelper.c:
4439 * libs/gst/controller/gstinterpolation.c:
4440 * tools/gst-inspect.c: (print_plugin_info):
4441 we don't use dashes in header names
4443 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
4445 * check/Makefile.am:
4446 * check/gst/.cvsignore:
4447 * check/gst/gstpipeline.c: (pop_messages), (GST_START_TEST),
4448 (gst_pipeline_suite), (main):
4449 adding a test for pipelines and state changes
4450 * gst/gstutils.c: (get_state_func):
4452 * gstreamer.spec.in:
4455 2005-09-08 Michael Smith <msmith@fluendo.com>
4457 * gst/elements/gstfilesrc.c: (gst_file_src_map_region),
4458 (gst_file_src_map_small_region), (gst_file_src_create_mmap),
4459 (gst_file_src_is_seekable), (gst_file_src_get_size),
4460 (gst_file_src_start):
4461 * gst/elements/gstfilesrc.h:
4462 Various fixes for unseekable, unmmapable, and non-normal files, so
4463 that fallback to read() rather than mmap() works.
4464 * gst/gstevent.c: (gst_event_new_newsegment):
4465 Allow newsegment events with segment_start == segment_end, as will
4466 correctly happen if you use filesrc on a zero-size file, for
4469 2005-09-07 Jan Schmidt <thaytan@mad.scientist.com>
4471 * gst/gstplugin.c: (gst_plugin_load_file):
4472 Call g_module_close when we don't load the module
4474 * gst/registries/gstlibxmlregistry.c:
4475 (gst_xml_registry_get_property):
4476 Port leak fix from 0.8
4478 2005-09-07 Stefan Kost <ensonic@users.sf.net>
4480 * docs/gst/gstreamer-docs.sgml:
4481 * docs/gst/tmpl/.cvsignore:
4482 * docs/gst/tmpl/gsttrace.sgml:
4483 * docs/gst/tmpl/gsttrashstack.sgml:
4492 * gst/gsttaginterface.c:
4493 * gst/gsttaginterface.h:
4496 * gst/gsttagsetter.c:
4497 * gst/gsttagsetter.h:
4500 * gst/gsttrashstack.c:
4501 renamed gsttag -> gsttaglist, gsttaginterface -> gsttagsetter
4502 inlined docs for gsttrace, gsttrashstack
4504 2005-09-07 Stefan Kost <ensonic@users.sf.net>
4507 * gst/elements/gstbufferstore.h:
4508 * gst/elements/gsttypefindelement.c:
4509 * gst/elements/gsttypefindelement.h:
4511 * gst/gsttypefind.c:
4512 * gst/gsttypefind.h:
4513 * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type),
4514 (gst_type_find_factory_class_init), (gst_type_find_factory_init),
4515 (gst_type_find_factory_dispose),
4516 (gst_type_find_factory_unload_thyself),
4517 (gst_type_find_load_plugin), (gst_type_find_factory_get_list),
4518 (gst_type_find_factory_get_caps),
4519 (gst_type_find_factory_get_extensions),
4520 (gst_type_find_factory_call_function):
4521 * gst/gsttypefindfactory.h:
4522 * gst/registries/gstlibxmlregistry.c:
4523 * gst/registries/gstxmlregistry.c:
4524 splitted gsttypefind into gsttypefind, gsttypefindfactory
4526 2005-09-07 Andy Wingo <wingo@pobox.com>
4528 * gst/base/gstbasesink.c (gst_base_sink_activate_pull): Fix a race
4529 condition whereby the pad's task function is entered before the
4530 pad_mode variable was set.
4532 2005-09-07 Jan Schmidt <thaytan@mad.scientist.com>
4534 * gst/gstpad.c: (gst_pad_alloc_buffer):
4535 Catch misbehaving pad_alloc functions that don't
4536 set up caps and do it for them.
4538 2005-09-07 Stefan Kost <ensonic@users.sf.net>
4540 * check/pipelines/simple_launch_lines.c: (run_pipeline):
4542 * docs/gst/tmpl/.cvsignore:
4543 * docs/gst/tmpl/gstmemchunk.sgml:
4544 * docs/gst/tmpl/gstparse.sgml:
4545 * docs/gst/tmpl/gsttaglist.sgml:
4546 * docs/gst/tmpl/gsttagsetter.sgml:
4547 * docs/gst/tmpl/gsttypefind.sgml:
4548 * docs/gst/tmpl/gsttypefindfactory.sgml:
4549 * gst/gstmemchunk.c:
4552 * gst/gsttaginterface.c:
4553 * gst/gsttypefind.c:
4554 * gst/gsttypefind.h:
4557 === release 0.9.2 ===
4559 2005-09-06 Thomas Vander Stichele <thomas at apestaart dot org>
4564 releasing 0.9.2, "South"
4566 2005-09-05 Andy Wingo <wingo@pobox.com>
4568 * gst/registries/gstxmlregistry.h:
4569 * gst/registries/gstxmlregistry.c: Um... resurrect...
4571 * gst/registries/gstxmlregistry.h:
4572 * gst/registries/gstxmlregistry.c: and update to newer API.
4573 Incidentally they should be a bit faster now that they don't have
4576 2005-09-05 Andy Wingo <wingo@pobox.com>
4578 * gst/registries/gstxmlregistry.h:
4579 * gst/registries/gstxmlregistry.c: Remove from CVS, they were
4580 replaced by the libxml registry a while back
4582 2005-09-03 Thomas Vander Stichele <thomas at apestaart dot org>
4584 * docs/gst/tmpl/gstplugin.sgml:
4585 * gst/elements/gstelements.c:
4587 * gst/gstplugin.c: (gst_plugin_register_func),
4588 (gst_plugin_desc_copy), (gst_plugin_desc_free),
4589 (gst_plugin_get_source):
4591 * gst/registries/gstlibxmlregistry.c: (load_plugin),
4592 (gst_xml_registry_save_plugin):
4593 * gst/registries/gstxmlregistry.c: (gst_xml_registry_parse_plugin),
4594 (gst_xml_registry_save_plugin):
4595 * tools/gst-inspect.c: (print_plugin_info):
4596 add a "source" plugin description field, to represent the source
4597 module this plugin is a part of. By default GST_PLUGIN_DEFINE
4598 will set it to PACKAGE, which is automake's idea of the name of
4601 2005-09-03 Thomas Vander Stichele <thomas at apestaart dot org>
4607 * docs/faq/Makefile.am:
4608 * docs/gst/tmpl/gstelement.sgml:
4609 * docs/gst/tmpl/gsttypes.sgml:
4610 * docs/htmlinstall.mak:
4611 * docs/manual/Makefile.am:
4612 * docs/pwg/Makefile.am:
4613 reorganize doc build a little
4614 split out docbook and gtk-doc stuff
4615 have two separate --enable's and enable them through autogen
4616 but disable by default in configure (to be similar to other
4618 * gstreamer.spec.in:
4619 clean up docs install
4639 2005-09-03 Tim-Philipp Müller <tim at centricular dot net>
4641 * gst/base/gstbasesink.c: (gst_base_sink_pad_buffer_alloc):
4644 * gst/elements/gstfakesink.c: (gst_fake_sink_init),
4645 (gst_fake_sink_change_state):
4646 Make state change function thread-safe.
4648 * gst/gstpad.c: (gst_pad_alloc_buffer):
4649 Set offset on generic buffer allocated by fallback.
4651 2005-09-03 Stefan Kost <ensonic@users.sf.net>
4653 * docs/gst/gstreamer-sections.txt:
4654 * docs/gst/tmpl/gstelement.sgml:
4656 * libs/gst/controller/gst-controller.c:
4657 (gst_controlled_property_set_interpolation_mode),
4658 (gst_controlled_property_new),
4659 (gst_controller_find_controlled_property):
4660 run the wingo-magic script against the docs
4662 2005-09-02 Stefan Kost <ensonic@users.sf.net>
4664 * docs/gst/gstreamer-docs.sgml:
4665 * docs/gst/gstreamer-sections.txt:
4666 * docs/gst/tmpl/.cvsignore:
4667 * docs/gst/tmpl/gstelementdetails.sgml:
4668 * docs/gst/tmpl/gstelementfactory.sgml:
4671 * gst/gstelementfactory.c:
4672 * gst/gstelementfactory.h:
4673 merged elementdetails docs into elementfactory docs
4676 2005-09-02 Andy Wingo <wingo@pobox.com>
4678 * gst/gstelement.h: Add magical pixie dust to make glib-mkenums
4679 consider this enum an enum and not a flags.
4681 2005-09-02 Stefan Kost <ensonic@users.sf.net>
4683 * docs/gst/gstreamer-docs.sgml:
4684 * docs/gst/tmpl/.cvsignore:
4685 * docs/gst/tmpl/gstghostpad.sgml:
4686 * docs/gst/tmpl/gstiterator.sgml:
4687 * docs/gst/tmpl/gstmacros.sgml:
4688 * docs/gst/tmpl/gstrealpad.sgml:
4689 * docs/gst/tmpl/gstregistry.sgml:
4690 * docs/gst/tmpl/gstregistrypool.sgml:
4691 * docs/gst/tmpl/gststructure.sgml:
4692 * docs/gst/tmpl/gstsystemclock.sgml:
4693 * docs/gst/tmpl/gsttrace.sgml:
4694 * gst/gstghostpad.c:
4696 * gst/gstmemchunk.c:
4697 * gst/gstmemchunk.h:
4699 * gst/gstregistry.c:
4700 * gst/gstregistrypool.c:
4701 * gst/gststructure.c:
4702 * gst/gstsystemclock.c:
4705 2005-09-02 Andy Wingo <wingo@pobox.com>
4707 * gst/gstelement.h (GstState): Renamed from GstElementState,
4708 changed to be a normal enum instead of flags.
4709 (GstStateChangeReturn): Renamed from GstElementStateReturn, names
4710 munged to be GST_STATE_CHANGE_*.
4711 (GST_STATE_CHANGE): Renamed from GST_STATE_TRANSITION, updated to
4712 work with the new state representation.
4713 (GstStateChange): New enumeration of possible state transitions.
4714 Replaces GST_STATE_FOO_TO_BAR with GST_STATE_CHANGE_FOO_TO_BAR.
4715 (GstElementClass::change_state): Pass the GstStateChange along as
4716 an argument. Helps language bindings, so they don't have to use
4717 tricky lock-needing macros like GST_STATE_CHANGE ().
4719 * scripts/update-states (file): New script. Run it on a file to
4720 update it for state naming and API changes. Updates files in
4723 * All files updated for the new API.
4725 2005-09-02 Thomas Vander Stichele <thomas at apestaart dot org>
4727 * gst/gsttrace.c: (gst_trace_flush), (gst_trace_text_flush):
4728 * gst/gstutils.c: (gst_util_set_value_from_string),
4729 (gst_util_set_object_arg):
4730 fix a bunch of unchecked return values
4731 * tools/gst-complete.c: (main):
4732 * gstreamer.spec.in:
4735 2005-09-01 Wim Taymans <wim@fluendo.com>
4737 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
4738 (gst_base_sink_event), (gst_base_sink_do_sync),
4739 (gst_base_sink_handle_event):
4740 * gst/base/gstbasesink.h:
4741 Handle newsegments more correctly.
4746 * gst/gstevent.c: (gst_event_new_newsegment):
4747 A newsegment cannot have a start_time of -1
4749 2005-09-01 Tim-Philipp Müller <tim at centricular dot net>
4751 * win32/gstenumtypes.c:
4752 * win32/gstenumtypes.h:
4755 2005-08-31 Stefan Kost <ensonic@users.sf.net>
4757 * libs/gst/controller/gst-controller.c:
4758 (gst_controlled_property_set_interpolation_mode),
4759 (gst_controlled_property_new):
4762 2005-08-31 Thomas Vander Stichele <thomas at apestaart dot org>
4764 * docs/faq/gst-uninstalled:
4769 * gst/gstutils.c: (gst_element_link_filtered):
4771 add gst_element_link_filtered
4773 2005-08-31 Stefan Kost <ensonic@users.sf.net>
4775 * docs/gst/gstreamer-docs.sgml:
4776 * docs/gst/gstreamer-sections.txt:
4777 * docs/gst/tmpl/.cvsignore:
4778 * docs/gst/tmpl/gsterror.sgml:
4779 * docs/gst/tmpl/gstfilter.sgml:
4780 * docs/gst/tmpl/gsturihandler.sgml:
4781 * docs/gst/tmpl/gsturitype.sgml:
4782 * docs/gst/tmpl/gstutils.sgml:
4783 * docs/gst/tmpl/gstxml.sgml:
4791 inlined more docs, fixed double id-ref
4793 2005-08-31 Wim Taymans <wim@fluendo.com>
4795 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
4796 (gst_base_transform_handle_buffer):
4797 Passthrough elements don't need the caps as they don't care.
4799 2005-08-31 Wim Taymans <wim@fluendo.com>
4801 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
4802 (gst_base_transform_handle_buffer), (gst_base_transform_chain):
4803 Don't leak refcounts on buffers.
4805 2005-08-31 Wim Taymans <wim@fluendo.com>
4807 * gst/base/gstbasetransform.c: (gst_base_transform_configure_caps),
4808 (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
4809 (gst_base_transform_chain), (gst_base_transform_change_state):
4810 * gst/base/gstbasetransform.h:
4811 Handle the case where we are not negotiated more gracefully.
4813 2005-08-31 Tim-Philipp Müller <tim at centricular dot net>
4815 * gst/elements/gstfilesrc.c: (gst_mmap_buffer_init),
4816 (gst_file_src_map_region):
4817 Set READONLY flag on mmap'ed buffers, otherwise
4818 gst_buffer_make_writable() won't work properly (#314708).
4820 2005-08-31 Wim Taymans <wim@fluendo.com>
4822 * gst/base/gstbasetransform.c: (gst_base_transform_handle_buffer):
4823 passthrough elements can even do inplace on non writable
4824 buffers (as they don't touch them).
4826 2005-08-31 Stefan Kost <ensonic@users.sf.net>
4828 * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
4829 (gst_test_mono_source_set_property),
4830 (gst_test_mono_source_class_init), (GST_START_TEST),
4831 (gst_controller_suite):
4832 more tests (hehe I have the most)
4834 describe popping messages whenusing mulltiple sources
4835 * libs/gst/controller/gst-controller.c:
4836 (gst_controlled_property_set_interpolation_mode),
4837 (gst_controlled_property_new):
4838 * libs/gst/controller/gst-controller.h:
4839 * libs/gst/controller/gst-interpolation.c:
4840 implement boolean properties
4842 2005-08-31 Wim Taymans <wim@fluendo.com>
4844 * gst/gstminiobject.c: (gst_mini_object_ref):
4845 Cannot assert that the refcount has to be positive
4846 since a disposed object can be resurrected.
4848 2005-08-31 Wim Taymans <wim@fluendo.com>
4850 * gst/gstpad.c: (gst_pad_init):
4851 Revert change, need to first fix badly behaving
4854 2005-08-30 Wim Taymans <wim@fluendo.com>
4856 * check/elements/fakesrc.c: (setup_fakesrc):
4857 * check/elements/identity.c: (setup_identity):
4858 Activate pads before using them.
4860 2005-08-30 Wim Taymans <wim@fluendo.com>
4862 * gst/base/gstadapter.c: (gst_adapter_flush):
4863 Flushing out 0 bytes is ok for this function.
4865 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
4866 no newsegment gives a warning and sets the start/stop to
4869 * gst/base/gstbasetransform.c: (gst_base_transform_change_state),
4870 (gst_base_transform_set_passthrough):
4873 * gst/gstminiobject.c: (gst_mini_object_ref):
4874 Check refcount here too.
4876 * gst/gstpad.c: (gst_pad_init):
4877 Pads are initially flushing and refusing data.
4879 * gst/gstutils.c: (gst_element_link_pads_filtered):
4880 When adding a capsfilter element make sure it has the
4881 same state as the parent bin.
4883 2005-08-30 Stefan Kost <ensonic@users.sf.net>
4885 * docs/gst/tmpl/.cvsignore:
4886 * docs/gst/tmpl/gstformat.sgml:
4887 * docs/gst/tmpl/gstversion.sgml:
4891 * gst/gstversion.h.in:
4892 more docs and two more inlined
4894 2005-08-30 Wim Taymans <wim@fluendo.com>
4896 * gst/elements/gstfilesink.c: (gst_file_sink_class_init):
4897 Don't sync to clock.
4899 2005-08-30 Stefan Kost <ensonic@users.sf.net>
4901 * docs/gst/gstreamer-sections.txt:
4902 ultral33t func10ns deserve to appear in the docs actually
4903 * docs/gst/tmpl/.cvsignore:
4904 * docs/gst/tmpl/gstcompat.sgml:
4905 * docs/gst/tmpl/gstconfig.sgml:
4906 * gst/check/gstcheck.c:
4908 * gst/gstconfig.h.in:
4911 2005-08-30 Stefan Kost <ensonic@users.sf.net>
4913 * docs/gst/tmpl/.cvsignore:
4914 * docs/gst/tmpl/gstquery.sgml:
4915 * docs/gst/tmpl/gstutils.sgml:
4918 inlined and extended docs
4920 2005-08-30 Stefan Kost <ensonic@users.sf.net>
4922 * check/gst-libs/controller.c: (GST_START_TEST),
4923 (gst_controller_suite):
4925 * docs/gst/tmpl/gstutils.sgml:
4926 * docs/libs/gstreamer-libs-sections.txt:
4927 * docs/libs/tmpl/gstdataprotocol.sgml:
4929 * examples/controller/audio-example.c: (main):
4930 controller example works now
4933 * tools/gst-inspect.c: (print_element_properties_info):
4934 show param spec flags
4936 2005-08-29 Andy Wingo <wingo@pobox.com>
4938 * gst/gstutils.c (gst_util_uint64_scale): New 3733t funct10n.
4940 2005-08-28 Andy Wingo <wingo@pobox.com>
4942 * gst/gstutils.h (GST_BOILERPLATE_FULL): Prototype instance_init
4943 as having two arguments instead of just one. Allows superclasses
4944 to access information on subclasses -- see the terrible for() loop
4945 in gtype.c:g_type_create_instance for the reason why. All callers
4948 2005-08-27 Stefan Kost <ensonic@users.sf.net>
4950 * docs/design/part-messages.txt:
4952 * docs/gst/tmpl/.cvsignore:
4953 * docs/gst/tmpl/gstcaps.sgml:
4954 * docs/gst/tmpl/gstclock.sgml:
4961 added descriptions for bus and message
4962 inline caps and clock docs
4964 2005-08-27 Stefan Kost <ensonic@users.sf.net>
4970 2005-08-27 Stefan Kost <ensonic@users.sf.net>
4972 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
4975 2005-08-26 Andy Wingo <wingo@pobox.com>
4977 * check/pipelines/simple_launch_lines.c (run_pipeline): Check
4978 element_set_state's return val.
4979 (test_2_elements): Add test that's been disabled for months.
4981 * gst/elements/gstfakesink.c: Cleanups. Add can-activate-push and
4982 can-activate-pull properties.
4984 * gst/elements/gstfakesrc.c: Cleanups. Add can-activate-push and
4985 can-activate-pull properties. Implement is_seekable so fakesrc can
4986 operate in pull mode.
4988 * gst/base/gstbasesink.c (GstBaseSink): Remove has-loop, has-chain
4990 (gst_base_sink_activate, gst_base_sink_activate_pull)
4991 (gst_base_sink_activate_push): Make activation mode choosing work.
4993 (gst_base_sink_chain, gst_base_sink_loop): Assert activation mode
4994 is right. Make pull mode work. Post an eos before pausing in pull
4996 (gst_base_sink_change_state): Pay attention to the core's
4997 change_state() return val.
4999 * gst/base/gstbasesrc.c (GstBaseSrc): Remove has-loop,
5000 has-getrange properties. Cleanups.
5002 * gst/base/gstbasesrc.h (GstBaseSrc): Remove has_loop,
5003 has_getrange and replace with can_activate_pull and
5006 * gst/base/gstbasesink.h (GstBaseSink): Rearrange fields, add
5007 locking comments. Remove has_loop, has_chain and replace with
5008 can_activate_pull and can_activate_push.
5010 2005-08-26 Jan Schmidt <thaytan@mad.scientist.com>
5013 * examples/Makefile.am:
5014 * examples/metadata/Makefile.am:
5015 * examples/metadata/read-metadata.c: (message_loop),
5016 (have_pad_handler), (make_pipeline), (print_tag), (main):
5017 Add metadata reading example that loops over a list of filenames,
5018 dumping any tags found.
5020 * gst/gstbus.c: (gst_bus_dispose):
5021 * gst/gstelement.c: (gst_element_dispose):
5022 Release a few potentially-held references in dispose.
5024 2005-08-26 Stefan Kost <ensonic@users.sf.net>
5026 * docs/gst/tmpl/gstminiobject.sgml:
5027 do *not* add tmpl/*.sgml files to CVS!
5029 2005-08-26 Stefan Kost <ensonic@users.sf.net>
5031 * libs/gst/bytestream/.cvsignore:
5032 * libs/gst/bytestream/Makefile.am:
5033 * libs/gst/bytestream/adapter.c:
5034 * libs/gst/bytestream/adapter.h:
5035 * libs/gst/bytestream/bytestream.c:
5036 * libs/gst/bytestream/bytestream.h:
5037 * libs/gst/bytestream/filepad.c:
5038 * libs/gst/bytestream/filepad.h:
5039 removing obsolete files
5041 2005-08-26 Stefan Kost <ensonic@users.sf.net>
5043 * docs/gst/gstreamer-docs.sgml:
5044 * docs/libs/gstreamer-libs-docs.sgml:
5045 disabed additional index entries again, as this makes docs-gen just
5046 slow and they aren't useful yet
5047 * docs/libs/gstreamer-libs-sections.txt:
5048 little -section.txt cleanup for libs
5050 2005-08-26 Thomas Vander Stichele <thomas at apestaart dot org>
5052 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
5053 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size),
5054 fix up some debugging
5055 (gst_base_transform_get_unit_size),
5056 (gst_base_transform_buffer_alloc), (gst_base_transform_event),
5057 (gst_base_transform_handle_buffer):
5058 * gst/base/gstbasetransform.h:
5059 handle and store timed NEWSEGMENT events so that subclasses that
5060 calculate time by counting samples have a segment_start time they
5061 need to add to their timestamps - see audioresample
5063 2005-08-26 Stefan Kost <ensonic@users.sf.net>
5066 removed ';' from the end of macro defs
5067 * docs/gst/gstreamer-docs.sgml:
5068 * docs/gst/gstreamer-sections.txt:
5069 * docs/gst/tmpl/.cvsignore:
5071 * gst/gstelement.c: (gst_element_class_init),
5072 (gst_element_set_state), (activate_pads),
5073 (gst_element_save_thyself):
5074 * gst/gstevent.c: (gst_event_new_newsegment):
5076 * gst/gstiterator.c:
5077 * gst/gstiterator.h:
5080 * gst/gstutils.c: (gst_pad_query_convert):
5082 fixed parameter name mismatches between source, header and docs
5083 added some more docs, resolved the last batch of unused elements in
5084 docs (now someone needs to doc them)
5086 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
5088 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_rebuild):
5089 * gst/registries/gstxmlregistry.c: (gst_xml_registry_rebuild):
5090 don't walk through the plugins backwards. Where is all this
5091 reversed logic coming from ?
5093 2005-08-25 Wim Taymans <wim@fluendo.com>
5095 * gst/base/gstbasetransform.c: (gst_base_transform_init),
5096 (gst_base_transform_transform_size),
5097 (gst_base_transform_configure_caps),
5098 (gst_base_transform_get_unit_size),
5099 (gst_base_transform_buffer_alloc),
5100 (gst_base_transform_change_state):
5101 * gst/base/gstbasetransform.h:
5102 Cache caps unit_size.
5103 Make sure we cannot negotiate up and downstream at the
5106 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
5108 * gst/gst.c: (init_pre), (init_post):
5109 register the installed plugin path after the env var
5110 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_save):
5111 * gst/registries/gstxmlregistry.c: (gst_xml_registry_save):
5112 don't reverse order of paths; conserve the order of GST_PLUGIN_PATH
5113 directories, so the tests can prefer uninstalled over installed
5115 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
5117 * gst/base/gstbasetransform.h:
5122 2005-08-25 Wim Taymans <wim@fluendo.com>
5124 * gst/gstbin.c: (bin_bus_handler):
5125 Be a bit more conservative about the posted message.
5127 * gst/gstbus.c: (gst_bus_post):
5128 Some cleanups, warn wrong return values.
5130 2005-08-25 Jan Schmidt <thaytan@mad.scientist.com>
5132 * check/gst/gstbin.c: (GST_START_TEST):
5133 * gst/gstbin.c: (bin_bus_handler):
5134 * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
5135 (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
5136 (gst_message_new_warning), (gst_message_new_tag),
5137 (gst_message_new_state_changed), (gst_message_new_segment_start),
5138 (gst_message_new_segment_done), (gst_message_new_custom):
5140 * tools/gst-launch.c: (event_loop):
5141 * tools/gst-md5sum.c: (event_loop):
5142 Revert unpopular change for GST_MESSAGE_SRC to GObject.
5144 2005-08-25 Wim Taymans <wim@fluendo.com>
5146 * check/generic/states.c: (GST_START_TEST):
5147 Cleanup can be done at the end.
5149 * gst/gsttask.c: (gst_task_get_type), (gst_task_finalize),
5150 (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
5151 (gst_task_get_state), (gst_task_start), (gst_task_pause):
5152 Oh boy.. Thanks for finding this, Thomas.
5154 2005-08-25 Stefan Kost <ensonic@users.sf.net>
5156 * docs/gst/gstreamer.types:
5159 2005-08-25 Stefan Kost <ensonic@users.sf.net>
5161 * docs/gst/gstreamer-docs.sgml:
5162 * docs/gst/gstreamer-sections.txt:
5163 * docs/gst/tmpl/.cvsignore:
5165 * gst/gstiterator.c:
5167 * gst/registries/gstxmlregistry.h:
5168 added missing classes and symbols (123 more to go)
5169 removed removed symbols from section file
5170 fixed many doc-comments
5172 2005-08-24 Wim Taymans <wim@fluendo.com>
5174 * check/generic/states.c: (GST_START_TEST):
5175 Make sure all tasks are stopped.
5177 * check/gst/gstbin.c: (GST_START_TEST):
5178 Unref after usage for proper valgrinding.
5180 * gst/gstpad.c: (gst_pad_finalize), (gst_pad_stop_task):
5181 Really wait for the task to stop before destroying the
5184 * gst/gstqueue.c: (gst_queue_sink_activate_push),
5185 (gst_queue_src_activate_push):
5186 Small cleanups. Don't stop the task when we did not start
5189 * gst/gsttask.c: (gst_task_get_type), (gst_task_init),
5190 (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
5191 (gst_task_get_state), (gst_task_start), (gst_task_pause),
5194 Protect the stream lock with the object lock.
5195 Disallow setting the stream lock when running.
5196 Add cleanup_all to wait for the threadpool to finish.
5197 Remove code to autoallocate a mutex if none was provided.
5198 Add _join() to wait for a task to stop.
5199 Protect the thread pool with a global lock.
5201 2005-08-24 Wim Taymans <wim@fluendo.com>
5203 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
5204 (gst_base_sink_get_times), (gst_base_sink_do_sync),
5205 (gst_base_sink_handle_buffer), (gst_base_sink_change_state):
5206 * gst/base/gstbasesink.h:
5207 Handle newsegment events correctly.
5208 Drop buffers out of the segment range.
5210 2005-08-22 Andy Wingo <wingo@pobox.com>
5212 * gst/gstutils.h (GST_BOILERPLATE_WITH_INTERFACE): New ghetto
5213 macro, implements an interface and gstimplementsinterface for a
5216 2005-08-24 Thomas Vander Stichele <thomas at apestaart dot org>
5218 * check/Makefile.am:
5219 * check/generic/states.c: (GST_START_TEST), (states_suite), (main):
5220 add a test that does a bunch of state changes on elements
5221 needs some fixing for valgrind
5222 * check/states/sinks.c: (gst_object_suite):
5225 add prototype for gst_caps_is_equal_fixed
5227 * gst/gstregistrypool.c:
5230 2005-08-24 Andy Wingo <wingo@pobox.com>
5232 * gst/gstquery.c (gst_query_new_convert): Spew if we try to
5233 convert a negative value. Doesn't make much sense. Mostly this is
5234 here to force callers to ensure -1 maps to -1.
5236 2005-08-24 Jan Schmidt <thaytan@mad.scientist.com>
5238 * docs/pwg/advanced-types.xml:
5239 Well done to Michael for catching my deliberate introduction
5240 of this spelling mistake.
5241 * gst/gstbin.c: (gst_bin_remove_func), (bin_bus_handler):
5243 Add GST_ELEMENT_UNPARENTING to prevent races so that we can
5244 unlink pads before removing the element from the bin.
5246 2005-08-24 Andy Wingo <wingo@pobox.com>
5248 * gst/gst.c (parse_debug_list): Accept e.g. GST_DEBUG=4 to mean
5249 the same thing as GST_DEBUG=*:4.
5250 (parse_debug_level, parse_debug_category): New helper parsers.
5252 2005-08-24 Thomas Vander Stichele <thomas at apestaart dot org>
5254 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
5255 (gst_base_transform_transform_size), (gst_base_transform_getcaps),
5256 (gst_base_transform_setcaps), (gst_base_transform_get_unit_size),
5257 (gst_base_transform_buffer_alloc),
5258 (gst_base_transform_handle_buffer):
5259 use gboolean return values and pointers to size so we can use the
5260 full GST_BUFFER_SIZE range (guint) for buffer sizes
5261 use GstPadDirection for transform_caps
5262 * gst/base/gstbasetransform.h:
5263 rename get_size to get_unit_size since that's what it is
5264 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_caps):
5265 use GstPadDirection for transform_caps
5266 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
5268 cleanup and debugging
5270 2005-08-24 Stefan Kost <ensonic@users.sf.net>
5272 * gst/gstelement.c: (gst_element_class_init),
5273 (gst_element_set_state), (activate_pads),
5274 (gst_element_save_thyself):
5275 * tools/gst-compprep.c: (main):
5276 * tools/gst-inspect.c: (print_element_properties_info):
5277 * tools/gst-xmlinspect.c: (print_element_properties):
5278 Fixed long standing mem-leak
5280 2005-08-24 Jan Schmidt <thaytan@mad.scientist.com>
5282 * check/gst/gstbin.c: (GST_START_TEST):
5283 * gst/gstbin.c: (bin_bus_handler):
5284 * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
5285 (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
5286 (gst_message_new_warning), (gst_message_new_tag),
5287 (gst_message_new_state_changed), (gst_message_new_segment_start),
5288 (gst_message_new_segment_done), (gst_message_new_custom):
5290 * tools/gst-launch.c: (event_loop):
5291 * tools/gst-md5sum.c: (event_loop):
5292 Change GST_MESSAGE_SRC to be a GObject rather than a GstObject, so
5293 that applications can sensibly post custom messages with references
5294 to their own objects.
5296 2005-08-24 Andy Wingo <wingo@pobox.com>
5298 * gst/gstpad.c (gst_pad_fixate_caps): Check if the caps is fixed
5301 2005-08-24 Wim Taymans <wim@fluendo.com>
5303 * gst/base/gstbasetransform.c: (gst_base_transform_init),
5304 (gst_base_transform_transform_caps),
5305 (gst_base_transform_transform_size),
5306 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
5307 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
5308 (gst_base_transform_handle_buffer):
5309 * gst/base/gstbasetransform.h:
5310 Many fixes and new features added by Thomas. Can now also do
5311 transforms with variable sizes and a custom fixate_caps function.
5313 2005-08-24 Wim Taymans <wim@fluendo.com>
5315 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
5319 Cast to ClockTime before formatting to time.
5324 2005-08-24 Stefan Kost <ensonic@users.sf.net>
5326 * check/gst-libs/controller.c: (GST_START_TEST),
5327 (gst_controller_suite):
5328 * docs/gst/tmpl/gstcaps.sgml:
5329 * docs/gst/tmpl/gstghostpad.sgml:
5330 * docs/gst/tmpl/gstquery.sgml:
5331 * docs/gst/tmpl/gstutils.sgml:
5332 * libs/gst/controller/gst-helper.c: (gst_object_set_controller),
5333 (gst_object_sink_values), (gst_object_get_value_arrays),
5334 (gst_object_get_value_array):
5335 gracefully handle helper method calls to objects that are not beeing
5336 controlled, added test case for that
5338 2005-08-23 Wim Taymans <wim@fluendo.com>
5340 * gst/gstevent.c: (_gst_event_copy), (gst_event_new_custom),
5341 (gst_event_new_newsegment), (gst_event_parse_newsegment),
5342 (gst_event_new_tag), (gst_event_parse_tag), (gst_event_new_qos),
5343 (gst_event_parse_qos), (gst_event_new_seek),
5344 (gst_event_parse_seek):
5346 Some more debugging output and doc cleanups.
5348 * gst/gstqueue.c: (gst_queue_handle_sink_event):
5349 Fix possible deadlock.
5351 2005-08-23 Stefan Kost <ensonic@users.sf.net>
5353 * docs/gst/gstreamer-docs.sgml:
5354 * docs/gst/gstreamer-sections.txt:
5355 * docs/gst/gstreamer.types:
5356 * docs/gst/tmpl/.cvsignore:
5361 added 100 symbols from gstreamer-unused.txt to the right sections
5362 fixed more broken comments
5363 added GstBus to docs
5365 2005-08-23 Stefan Kost <ensonic@users.sf.net>
5367 * docs/gst/gstreamer-sections.txt:
5368 * docs/gst/tmpl/.cvsignore:
5369 * docs/gst/tmpl/gstbin.sgml:
5370 * docs/gst/tmpl/gstbuffer.sgml:
5371 * gst/base/gstbasesrc.c:
5372 * gst/gstbin.c: (gst_bin_get_type), (gst_bin_class_init):
5375 * tools/gst-launch.1.in:
5376 inlined more doc comments, added missing comments and fixed comments
5379 2005-08-23 Thomas Vander Stichele <thomas at apestaart dot org>
5381 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
5385 * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_alloc_buffer):
5387 * gst/gststructure.c: (gst_caps_structure_fixate_field_boolean):
5388 * gst/gststructure.h:
5389 add a fixate function for booleans; add a FIXME that these func
5390 names should probably be gst_structure_fixate_*
5392 2005-08-23 Stefan Kost <ensonic@users.sf.net>
5394 * docs/gst/gstreamer-docs.sgml:
5395 * docs/gst/gstreamer-sections.txt:
5397 * gst/gstbin.c: (gst_bin_get_type),
5398 (gst_bin_child_proxy_get_child_by_index),
5399 (gst_bin_child_proxy_get_children_count),
5400 (gst_bin_child_proxy_init):
5401 * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
5402 (gst_child_proxy_get_child_by_index),
5403 (gst_child_proxy_get_children_count), (gst_child_proxy_lookup),
5404 (gst_child_proxy_get_property), (gst_child_proxy_get_valist),
5405 (gst_child_proxy_get), (gst_child_proxy_set_property),
5406 (gst_child_proxy_set_valist), (gst_child_proxy_set),
5407 (gst_child_proxy_child_added), (gst_child_proxy_child_removed),
5408 (gst_child_proxy_base_init), (gst_child_proxy_get_type):
5409 * gst/gstchildproxy.h:
5410 * gst/parse/grammar.y:
5411 * tools/gst-inspect.c: (print_interfaces),
5412 (print_element_properties_info), (print_element_info):
5413 ported gstchildproxy over from 0.8
5414 ported gst-inspect fixes and enhancements over from 0.8
5416 2005-08-22 Wim Taymans <wim@fluendo.com>
5418 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
5419 (gst_base_transform_handle_buffer):
5420 Also call the transform function if we have ANY caps.
5422 * gst/gstpipeline.c: (gst_pipeline_set_new_stream_time):
5425 2005-08-22 Jan Schmidt <thaytan@mad.scientist.com>
5427 * gst/base/gstbasesrc.c: (gst_base_src_event_handler)
5428 Don't pretend to handle seek events if the source is not seekable
5430 2005-08-22 Jan Schmidt <thaytan@mad.scientist.com>
5432 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
5433 Remove extra parameter to debug output
5435 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
5436 (gst_base_src_do_seek), (gst_base_src_activate_push):
5437 Fix seek event handling.
5439 * gst/gstpipeline.c: (gst_pipeline_change_state):
5440 * gst/gstqueue.c: (gst_queue_handle_sink_event),
5441 (gst_queue_src_activate_push):
5442 Don't start the src pad task on FLUSH_STOP if the pad
5446 2005-08-22 Wim Taymans <wim@fluendo.com>
5448 * check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
5449 Added check for gst_static_caps_get() refcounting.
5451 2005-08-22 Wim Taymans <wim@fluendo.com>
5453 * gst/gstcaps.c: (gst_static_caps_get), (gst_caps_to_string):
5454 Make _static_caps_get() refcounting sane.
5456 * gst/gstelement.c: (gst_element_set_state):
5457 Add g_return_val_if_fail() to protect against segfaults.
5459 2005-08-22 Stefan Kost <ensonic@users.sf.net>
5461 * docs/gst/tmpl/gstevent.sgml:
5464 inlined remaining docs, added missing doc comments
5466 2005-08-22 Thomas Vander Stichele <thomas at apestaart dot org>
5468 * check/gst/gstbin.c: (GST_START_TEST):
5469 since we don't know when preroll is done, use refcount range
5471 * gst/check/gstcheck.h:
5472 add macro for checking refcount range
5474 2005-08-21 Thomas Vander Stichele <thomas at apestaart dot org>
5476 * check/Makefile.am:
5477 clean up environment for when registry gets built versus
5478 when actual tests are run; valgrind seems to not report
5479 leaks if GST_PLUGIN_PATH is set to some specific values
5480 * check/gst/gstbin.c: (GST_START_TEST):
5481 add more refcounting checks; maybe this exposes a
5484 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
5485 * gst/check/gstcheck.h:
5486 * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_get_state),
5487 (gst_bin_change_state):
5488 * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_chain):
5489 add/fix debugging/whitespace
5491 2005-08-21 Jan Schmidt <thaytan@mad.scientist.com>
5493 * check/gst/gstevent.c: (event_probe), (test_event),
5495 Er, don't call gst_bin_watch_for_state_change you idiot.
5497 2005-08-21 Jan Schmidt <thaytan@mad.scientist.com>
5499 * check/Makefile.am:
5500 Use CHECK_CFLAGS and CHECK_LIBS
5501 * check/gst/gstevent.c: (event_probe), (test_event),
5504 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
5505 (gst_base_src_start), (gst_base_src_stop),
5506 (gst_base_src_activate_push), (gst_base_src_activate_pull),
5507 (gst_base_src_change_state):
5508 Sprinkle gst_base_src_stop liberally around error paths to fix
5509 problems reusing a source after failed state changes.
5510 * gst/base/gsttypefindhelper.c: (helper_find_peek),
5511 (helper_find_suggest), (gst_type_find_helper):
5512 Extra debug output. Don't segfault on GST_PAD_GETRANGEFUNC = NULL
5514 * docs/gst/tmpl/gstevent.sgml:
5515 Migrate part of the docs from the SGML file. Wait for ensonic to
5516 tell me how I did it wrong ;)
5517 * tools/gst-typefind.c: (main):
5518 Extra robustness to state changes between files.
5520 2005-08-21 Thomas Vander Stichele <thomas at apestaart dot org>
5522 * check/Makefile.am:
5523 don't valgrind the controller test - it's leaking - Stefan, HELP
5524 * gst/check/gstcheck.c: (gst_check_message_error),
5525 (gst_check_chain_func), (gst_check_setup_element),
5526 (gst_check_teardown_element), (gst_check_setup_src_pad),
5527 (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
5528 (gst_check_teardown_sink_pad):
5529 * gst/check/gstcheck.h:
5530 add a bunch of methods to set up elements, and src and sink pads
5531 * check/elements/fakesrc.c: (setup_fakesrc), (cleanup_fakesrc):
5532 * check/elements/identity.c: (setup_identity), (cleanup_identity),
5537 whitespace/doc fixes
5539 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
5542 make GST_ELEMENT_ERROR not do GST_ERROR_OBJECT - these errors should
5543 be handled by the application and not always printed as well
5545 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
5547 * check/Makefile.am:
5549 * gst/check/gstcheck.c: (gst_check_message_error):
5550 * gst/check/gstcheck.h:
5551 add a fail_unless_equals_int
5552 add fail_unless for error messages
5554 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
5556 * check/Makefile.am:
5558 * common/Makefile.am:
5561 factor out some of the common stuff so we can use it
5563 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
5565 * check/Makefile.am:
5566 * check/gst/gstiterator.c: (GST_START_TEST):
5567 * check/gst/gstsystemclock.c: (GST_START_TEST),
5568 (gst_systemclock_suite):
5569 * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
5573 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
5575 * check/elements/.cvsignore:
5576 * check/elements/gstfakesrc.c:
5577 rename to name of element
5578 * check/elements/identity.c: (chain_func), (event_func),
5579 (setup_identity), (cleanup_identity), (GST_START_TEST),
5580 (identity_suite), (main):
5581 add a test for identity
5582 * check/Makefile.am:
5583 * pkgconfig/Makefile.am:
5584 * pkgconfig/gstreamer-check.pc.in:
5585 * pkgconfig/gstreamer-check-uninstalled.pc.in:
5589 move the check stuff to a library that gets installed
5590 * check/gst-libs/controller.c: (GST_START_TEST):
5591 * check/gst-libs/gdp.c:
5592 * check/gst/gst.c: (GST_START_TEST):
5593 * check/gst/gstbin.c:
5594 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
5595 * check/gst/gstbus.c:
5596 * check/gst/gstcaps.c: (GST_START_TEST):
5597 * check/gst/gstelement.c:
5598 * check/gst/gstghostpad.c:
5599 * check/gst/gstiterator.c:
5600 * check/gst/gstmessage.c:
5601 * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST):
5602 * check/gst/gstobject.c:
5603 * check/gst/gstpad.c: (GST_START_TEST):
5604 * check/gst/gststructure.c: (GST_START_TEST):
5605 * check/gst/gstsystemclock.c: (GST_START_TEST),
5606 (gst_systemclock_suite):
5607 * check/gst/gsttag.c: (gst_tag_suite):
5608 * check/gst/gstvalue.c:
5609 * check/pipelines/cleanup.c:
5610 * check/pipelines/simple_launch_lines.c:
5611 * check/states/sinks.c:
5612 change include statement
5614 * docs/gst/gstreamer-sections.txt:
5615 * docs/gst/tmpl/gstpad.sgml:
5616 document more pad stuff
5617 * gst/gstminiobject.c: (gst_mini_object_ref),
5618 (gst_mini_object_unref):
5621 2005-08-19 Stefan Kost <ensonic@users.sf.net>
5623 * docs/gst/tmpl/gst.sgml:
5625 eliminate another tmpl file, fix spelling in the long-description
5627 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
5629 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
5630 (test_event), (timediff), (gstevents_suite):
5631 Should fix build on 64-bit arch's
5633 2005-08-18 Andy Wingo <wingo@pobox.com>
5635 Make sure that when a pipeline goes to PLAYING, that data has
5636 actually hit the sink.
5638 * check/states/sinks.c (test_sink): A sink that doesn't get any
5639 data shouldn't return SUCCESS for going to either PLAYING or
5640 PAUSED. Test also the return values on the way back down.
5642 * gst/gstelement.c (gst_element_set_state): When changing the
5643 state of an element currently changing state asynchronously, go to
5644 lost-state after commiting the pending state. Makes future calls
5645 to get_state continue to return ASYNC.
5647 * gst/base/gstbasesink.c (gst_base_sink_change_state): Return
5648 ASYNC when going to PLAYING if we still don't have preroll, as can
5649 happen with live sources.
5651 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
5653 * docs/pwg/advanced-types.xml:
5654 Hack long paragraph into 2 chunks as a workaround for buggy
5655 jadetex version in sid and breezy that loops infinitely and
5658 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
5660 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
5661 (test_event), (timediff), (gstevents_suite):
5662 Provide more error margin in clock measurements to allow for
5663 g_get_current_time inaccuracies.
5665 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
5667 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
5668 (test_event), (timediff), (gstevents_suite):
5669 Fix error message output so I might be able to tell why the
5670 test works here but fails on the build farm.
5672 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
5674 * check/Makefile.am:
5675 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
5676 (test_event), (timediff), (gstevents_suite), (main):
5679 * docs/design/part-seeking.txt:
5682 * docs/gst/tmpl/gstevent.sgml:
5683 * docs/gst/tmpl/gstfakesrc.sgml:
5686 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
5687 Treat a buffer-without-newsegment the same as a receiving
5688 a newsegment not in time format, and disable syncing to the clock
5691 * gst/gstbus.c: (gst_bus_set_sync_handler):
5692 Assert if anyone tries to replace the existing sync_handler for bus,
5693 as only the owner should be setting it.
5696 Have a fixed set of custom event enums with events identified by
5697 their structure name (as in 0.8), rather than a free-for-all
5698 allowing collisions between enum values from different plugins.
5700 * gst/gstpad.c: (gst_pad_class_init):
5703 * gst/gstqueue.c: (gst_queue_handle_sink_event):
5704 Handle out-of-band downstream events from the sending thread.
5706 2005-08-17 Andy Wingo <wingo@pobox.com>
5708 * gst/gstpipeline.c (gst_pipeline_change_state): Interpret
5709 play-timeout==0 to mean no timeout at all. In that case, don't
5710 bother with a get_state or a warning, just return directly, even
5713 * gst/base/gstbasetransform.c: Debug changes.
5716 * gst/gstutils.c (gst_bin_watch_for_state_change): Add function to
5717 ensure bins post state change messages. A bit of a hack but I can't
5718 think of a way to avoid it.
5720 * check/gst/gstbin.c (test_watch_for_state_change): Added test.
5722 2005-08-16 Andy Wingo <wingo@pobox.com>
5724 * gst/base/gstadapter.h:
5725 * gst/base/gstadapter.c (gst_adapter_take): New function, like
5726 peek() but you own the data. Not terribly efficient atm.
5728 2005-08-16 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5730 * gst/gstutils.c: (gst_element_found_tags_for_pad), (push_and_ref),
5731 (gst_element_found_tags):
5733 Add two utility functions for tag handling.
5735 2005-08-16 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5737 * docs/manual/advanced-dataaccess.xml:
5738 * docs/manual/basics-helloworld.xml:
5739 Fix docs to use _bin_add() before _link(), which fixes the examples
5740 with recent core versions (reported by Madhan Raj M
5741 <raj_madan@rediffmail.com>, #313199).
5743 2005-08-16 Wim Taymans <wim@fluendo.com>
5745 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
5746 Added subtract checks.
5748 * docs/design/part-events.txt:
5749 Some more docs about newsegment
5751 * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
5754 * gst/gstcaps.c: (gst_caps_to_string):
5755 Add comments, cleanups.
5757 * gst/gstelement.c: (gst_element_save_thyself):
5760 * gst/gstvalue.c: (gst_value_collect_int_range),
5761 (gst_string_unwrap), (gst_value_union_int_int_range),
5762 (gst_value_union_int_range_int_range),
5763 (gst_value_intersect_int_int_range),
5764 (gst_value_intersect_int_range_int_range),
5765 (gst_value_intersect_double_double_range),
5766 (gst_value_intersect_double_range_double_range),
5767 (gst_value_intersect_list), (gst_value_subtract_int_int_range),
5768 (gst_value_subtract_int_range_int),
5769 (gst_value_subtract_double_range_double),
5770 (gst_value_subtract_double_range_double_range),
5771 (gst_value_subtract_from_list), (gst_value_subtract_list),
5772 (gst_value_can_compare), (gst_value_compare_fraction):
5773 Cleanups, add comments, remove unneeded asserts.
5775 2005-08-15 Thomas Vander Stichele <thomas at apestaart dot org>
5777 * tools/gst-launch.c: (event_loop):
5778 don't convert NULL structures to strings
5780 2005-08-15 Stefan Kost <ensonic@users.sf.net>
5782 * docs/gst/gstreamer-sections.txt:
5783 made some defines private
5784 * docs/gst/tmpl/gstconfig.sgml:
5785 * docs/gst/tmpl/gstqueue.sgml:
5786 * docs/gst/tmpl/gsttaglist.sgml:
5787 * docs/gst/tmpl/gsttypes.sgml:
5788 * docs/gst/tmpl/gstutils.sgml:
5789 * docs/pwg/appendix-porting.xml:
5790 * gst/base/gstbasesink.h:
5791 * gst/base/gstbasesrc.c:
5792 * gst/base/gstbasesrc.h:
5793 * gst/elements/gstfakesink.c: (gst_fake_sink_class_init):
5794 * gst/elements/gstfakesrc.c: (gst_fake_src_class_init):
5795 * gst/gstelement.c: (gst_element_class_init):
5796 * gst/gstpad.c: (gst_pad_class_init):
5797 * gst/gstqueue.c: (gst_queue_class_init):
5798 * gst/gstxml.c: (gst_xml_class_init):
5799 documented all undocumented signal inline
5800 * libs/gst/controller/gst-controller.h:
5803 2005-08-15 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5805 * docs/pwg/appendix-porting.xml:
5806 Document _set_link_function -> _set_setcaps_function.
5808 2005-08-15 Thomas Vander Stichele <thomas at apestaart dot org>
5810 * check/Makefile.am:
5811 add a .check target for running the check
5812 * check/gst-libs/controller.c: (GST_START_TEST):
5814 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
5815 complete checks for gstbuffer; would be nice if I could get the
5816 gcov stuff to work so I can see if I actually completed gstbuffer.c
5818 add ASSERT_BUFFER_REFCOUNT
5820 2005-08-13 Tim-Philipp Müller <tim at centricular dot net>
5822 * docs/gst/gstreamer-sections.txt:
5823 * gst/gsttag.c: (_gst_tag_initialize), (gst_tag_register):
5825 Add GST_TAG_LANGUAGE_CODE as we have in 0.8, and don't
5826 spew out a warning if a tag that is already registered
5827 is re-registered, unless it is re-registered with a
5828 different type (#308438).
5830 2005-08-12 Tim-Philipp Müller <tim at centricular dot net>
5832 * docs/pwg/appendix-porting.xml:
5833 * docs/pwg/building-state.xml:
5834 Add some paragraphs about state changes in 0.9 to the PWG
5835 and the porting guide, in particular about the new meaning
5836 of GST_STATE_PAUSED and how to write state change functions
5837 with concurrent access by multiple threads in mind.
5839 2005-08-11 Stefan Kost <ensonic@users.sf.net>
5841 * docs/gst/gstreamer-docs.sgml:
5842 * docs/libs/gstreamer-libs-docs.sgml:
5843 added deprecation and since indexes
5844 * libs/gst/controller/gst-controller.c:
5845 * libs/gst/controller/gst-helper.c:
5849 2005-08-11 Wim Taymans <wim@fluendo.com>
5851 * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked),
5852 (gst_proxy_pad_set_target), (gst_proxy_pad_get_target),
5853 (gst_proxy_pad_dispose), (gst_ghost_pad_do_activate_push),
5854 (gst_ghost_pad_do_link), (gst_ghost_pad_set_internal),
5855 (gst_ghost_pad_new_notarget), (gst_ghost_pad_get_target),
5856 (gst_ghost_pad_set_target):
5857 Actually implement (re)setting the target on a ghostpad
5858 as described in the docs.
5860 2005-08-10 Tim-Philipp Müller <tim at centricular dot net>
5862 * gst/gst.c: (gst_init_check_with_popt_table), (init_pre):
5863 Check whether GST_DEBUG_NO_COLOR environment variable is
5864 set and disable coloured debug output if that is the case.
5866 2005-08-10 Tim-Philipp Müller <tim at centricular dot net>
5868 * gst/base/gsttypefindhelper.c: (helper_find_peek),
5869 (gst_type_find_helper):
5870 The memory returned by gst_type_find_peek() needs to
5871 stay valid until the end of a typefind function, and
5872 typefind functions may keep results from different
5873 offsets around, so we can't just unref the buffer from
5874 the previous _peek(), but have to save all buffers
5875 returned by _peek() until typefinding is done and only
5878 2005-08-09 Tim-Philipp Müller <tim at centricular dot net>
5880 * docs/gst/gstreamer-sections.txt:
5882 New macros: GST_ROUND_UP_2() through GST_ROUND_UP_64().
5884 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5886 * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
5887 Fix a pretty good memleak.
5889 2005-08-08 Tim-Philipp Müller <tim at centricular dot net>
5891 * gst/gstiterator.h:
5892 Fix wrong include and 'make distcheck'.
5894 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5896 * gst/gstbin.c: (bin_bus_handler):
5897 Use gst_element_post_message() instead.
5899 2005-08-08 Tim-Philipp Müller <tim at centricular dot net>
5901 * gst/base/gstadapter.h:
5902 * gst/base/gstbasesink.h:
5903 * gst/base/gstbasesrc.h:
5904 * gst/base/gstbasetransform.h:
5905 * gst/base/gstcollectpads.h:
5906 * gst/base/gstpushsrc.h:
5907 * gst/gstiterator.h:
5908 Add padding to our base elements' class and instance structs and
5909 to GstIterator (you will need to rebuild all plugins and apps!)
5911 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5913 * gst/gstbin.c: (bin_bus_handler):
5914 Make default message forwarding from child->bus to bin->bus
5915 threadsafe and make it not emit warnings if the parent has no bus.
5917 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5919 * gst/gstelement.c: (activate_pads):
5920 On paused->ready, set pad->caps to NULL, as is the documented
5921 behaviour in this state change. Fixes playback of series of
5922 media files when visualization is enabled in Totem.
5924 2005-08-07 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5926 * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
5927 Allow NULL as filter-caps (which means "any").
5929 2005-08-05 Stefan Kost <ensonic@users.sf.net>
5931 * docs/libs/gstreamer-libs-sections.txt:
5932 * libs/gst/controller/gst-controller.c:
5933 * libs/gst/controller/gst-controller.h:
5934 * libs/gst/controller/gst-helper.c:
5935 adding more entries to the docs and fix small doc-bugs
5937 2005-08-05 Stefan Kost <ensonic@users.sf.net>
5939 * docs/gst/gstreamer-docs.sgml:
5940 * docs/gst/gstreamer-sections.txt:
5941 * docs/gst/gstreamer.types:
5942 * docs/gst/tmpl/gstbasesink.sgml:
5943 * docs/gst/tmpl/gstbasesrc.sgml:
5944 * docs/gst/tmpl/gstbasetransform.sgml:
5945 * docs/gst/tmpl/gstfakesrc.sgml:
5946 * gst/base/gstcollectpads.c:
5947 * gst/base/gstcollectpads.h:
5948 * libs/gst/controller/gst-controller.c:
5949 * libs/gst/controller/gst-controller.h:
5950 * libs/gst/controller/gst-helper.c:
5951 * libs/gst/controller/gst-interpolation.c:
5952 * libs/gst/controller/lib.c:
5953 added long/short desc for controller docs
5954 added collectpads base class docs
5955 added correct includes to base-class docs
5957 2005-08-05 Stefan Kost <ensonic@users.sf.net>
5959 * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
5960 (gst_test_mono_source_set_property),
5961 (gst_test_mono_source_class_init), (GST_START_TEST),
5962 (gst_controller_suite):
5963 * docs/gst/gstreamer-docs.sgml:
5964 * docs/gst/gstreamer-sections.txt:
5965 * docs/gst/gstreamer.types:
5966 * docs/libs/gstreamer-libs-docs.sgml:
5967 * docs/libs/gstreamer-libs-sections.txt:
5968 * gst/base/gstadapter.c:
5969 * libs/gst/controller/gst-controller.c:
5970 (gst_controlled_property_new), (gst_controlled_property_free),
5971 (gst_controller_new_valist),
5972 (gst_controller_remove_properties_valist),
5973 (gst_controller_sink_values), (_gst_controller_finalize):
5974 * libs/gst/controller/gst-controller.h:
5975 * libs/gst/controller/gst-helper.c:
5976 (gst_object_control_properties), (gst_object_uncontrol_properties),
5977 (gst_object_get_controller), (gst_object_set_controller),
5978 (gst_object_sink_values), (gst_object_get_value_arrays),
5979 (gst_object_get_value_array):
5980 more tests (and fixes) for the controller
5981 more docs for the controller
5982 integrated companies docs for the adapter
5984 2005-08-05 Thomas Vander Stichele <thomas at apestaart dot org>
5986 * check/elements/gstfakesrc.c: (setup_fakesrc), (cleanup_fakesrc),
5987 (GST_START_TEST), (fakesrc_suite):
5988 add tests for sizetype
5990 2005-08-04 Andy Wingo <wingo@pobox.com>
5992 * gst/elements/gstcapsfilter.c: Reimplement using basetransform,
5993 fixes buffer_alloc proxying among other things.
5995 * gst/base/gstbasetransform.c:
5996 * gst/base/gstbasetransform.h:
5997 Revert patch to gstbasetransform from 7-28 removing
6000 * gst/base/gstbasetransform.h (GstBaseTransformClass.get_size):
6001 * gst/base/gstbasetransform.c (gst_base_transform_get_size):
6002 Semantics changed, should return not the size of the output buffer
6003 but the byte size of a buffer with a given caps.
6005 * gst/base/gstbasetransform.c (gst_base_transform_getcaps): Better
6007 (gst_base_transform_configure_caps): Don't set out_size here: (in,
6008 out) are not the pad caps until setcaps finishes.
6009 (gst_base_transform_buffer_alloc): Proxy the buffer_alloc for the
6010 not-in-place case as well. Deal with changing from in-place to
6011 not-in-place within calling pad_alloc_buffer. Still a bit
6012 concerned about the overhead here...
6014 2005-08-03 Andy Wingo <wingo@pobox.com>
6016 * gst/base/gstbasetransform.c (gst_base_transform_setcaps): Not
6017 fixating is an error.
6019 2005-08-04 Edward Hervey <edward@fluendo.com>
6021 * gst/base/gstadapter.h:
6022 Added gst_adapter_get_type() to the header
6024 2005-08-03 Stefan Kost <ensonic@users.sf.net>
6026 * check/Makefile.am:
6027 * check/gst-libs/controller.c:
6028 * libs/gst/controller/gst-controller.c:
6029 (gst_controller_new_valist):
6030 added check test suite for the controller
6031 * gst/base/gstpushsrc.c:
6034 2005-08-03 Stefan Kost <ensonic@users.sf.net>
6036 * docs/gst/Makefile.am:
6037 * docs/gst/gstreamer-docs.sgml:
6038 * docs/gst/gstreamer-sections.txt:
6039 * docs/gst/gstreamer.types:
6040 * docs/gst/tmpl/gstfakesrc.sgml:
6042 * gst/base/gstbasesink.c:
6043 * gst/base/gstbasesink.h:
6044 * gst/base/gstbasesrc.c:
6045 * gst/base/gstbasesrc.h:
6046 * gst/base/gstbasetransform.c:
6047 * gst/base/gstpushsrc.c:
6048 * gst/base/gstpushsrc.h:
6049 add short/long description docs to base classes
6050 add pushsrc to the docs
6051 remove consolidated doc fragments
6053 2005-08-03 Stefan Kost <ensonic@users.sf.net>
6056 * docs/libs/Makefile.am:
6057 * docs/libs/gstreamer-libs-docs.sgml:
6058 * docs/libs/gstreamer-libs-sections.txt:
6059 * docs/libs/gstreamer-libs.types:
6060 * examples/Makefile.am:
6061 * examples/controller/.cvsignore:
6062 * examples/controller/Makefile.am:
6063 * examples/controller/audio-example.c: (main):
6064 * libs/gst/Makefile.am:
6065 * libs/gst/controller/.cvsignore:
6066 * libs/gst/controller/Makefile.am:
6067 * libs/gst/controller/gst-controller.c:
6068 (on_object_controlled_property_changed), (gst_timed_value_compare),
6069 (gst_timed_value_find),
6070 (gst_controlled_property_set_interpolation_mode),
6071 (gst_controlled_property_new), (gst_controlled_property_free),
6072 (gst_controller_find_controlled_property),
6073 (gst_controller_new_valist), (gst_controller_new),
6074 (gst_controller_remove_properties_valist),
6075 (gst_controller_remove_properties), (gst_controller_set),
6076 (gst_controller_set_from_list), (gst_controller_unset),
6077 (gst_controller_get), (gst_controller_get_all),
6078 (gst_controller_sink_values), (gst_controller_get_value_arrays),
6079 (gst_controller_get_value_array),
6080 (gst_controller_set_interpolation_mode),
6081 (_gst_controller_finalize), (_gst_controller_init),
6082 (_gst_controller_class_init), (gst_controller_get_type):
6083 * libs/gst/controller/gst-controller.h:
6084 * libs/gst/controller/gst-helper.c: (g_object_control_properties),
6085 (g_object_uncontrol_properties), (g_object_get_controller),
6086 (g_object_set_controller), (g_object_sink_values),
6087 (g_object_get_value_arrays), (g_object_get_value_array):
6088 * libs/gst/controller/gst-interpolation.c:
6089 (gst_controlled_property_find_timed_value_node),
6090 (interpolate_none_get), (interpolate_trigger_get),
6091 (interpolate_trigger_get_value_array):
6092 * libs/gst/controller/lib.c: (gst_controller_init):
6093 * pkgconfig/Makefile.am:
6094 * pkgconfig/gstreamer-control-uninstalled.pc.in:
6095 * pkgconfig/gstreamer-control.pc.in:
6096 * testsuite/Makefile.am:
6097 * testsuite/controller/.cvsignore:
6098 * testsuite/controller/Makefile.am:
6099 * testsuite/controller/interpolator.c: (main):
6100 added controller code
6101 removed dparam pc files
6103 2005-08-01 Jan Schmidt <thaytan@mad.scientist.com>
6104 * gst/base/gstcollectpads.c: (gst_collectpads_finalize),
6105 (gst_collectpads_stop):
6106 Broadcast the condition when shutting down, to make sure we wake all
6107 threads up. Shut down pads on finalize, for safety.
6109 2005-08-01 Jan Schmidt <thaytan@mad.scientist.com>
6110 * gst/base/gstbasetransform.c: (gst_base_transform_init),
6111 (gst_base_transform_handle_buffer),
6112 (gst_base_transform_change_state):
6113 Handle PAUSED->READY->PAUSED transition after negotiation
6115 * gst/gstmessage.c: (gst_message_init):
6116 Extra piece of debug for new messages.
6118 2005-08-01 Stefan Kost <ensonic@users.sf.net>
6121 * docs/gst/tmpl/gstbasesrc.sgml:
6122 * docs/gst/tmpl/gstelement.sgml:
6123 * docs/gst/tmpl/gstevent.sgml:
6124 * docs/gst/tmpl/gstfakesrc.sgml:
6125 * docs/gst/tmpl/gstformat.sgml:
6126 * docs/gst/tmpl/gstghostpad.sgml:
6127 * docs/gst/tmpl/gstpad.sgml:
6128 * docs/gst/tmpl/gstquery.sgml:
6129 * docs/gst/tmpl/gststructure.sgml:
6130 * docs/gst/tmpl/gsttaglist.sgml:
6131 * docs/gst/tmpl/gstvalue.sgml:
6132 * docs/libs/gstreamer-libs-docs.sgml:
6133 * docs/libs/gstreamer-libs-sections.txt:
6134 * docs/libs/gstreamer-libs.types:
6135 * libs/gst/Makefile.am:
6136 * libs/gst/control/.cvsignore:
6137 * libs/gst/control/Makefile.am:
6138 * libs/gst/control/control.c:
6139 * libs/gst/control/control.h:
6140 * libs/gst/control/dparam.c:
6141 * libs/gst/control/dparam.h:
6142 * libs/gst/control/dparam_smooth.c:
6143 * libs/gst/control/dparam_smooth.h:
6144 * libs/gst/control/dparamcommon.h:
6145 * libs/gst/control/dparammanager.c:
6146 * libs/gst/control/dparammanager.h:
6147 * libs/gst/control/dplinearinterp.c:
6148 * libs/gst/control/dplinearinterp.h:
6149 * libs/gst/control/unitconvert.c:
6150 * libs/gst/control/unitconvert.h:
6151 * testsuite/Makefile.am:
6152 * testsuite/dynparams/.cvsignore:
6153 * testsuite/dynparams/Makefile.am:
6154 * testsuite/dynparams/dparamstest.c:
6155 * tools/Makefile.am:
6156 * tools/gst-inspect.c: (print_element_info), (main):
6157 * tools/gst-xmlinspect.c: (print_element_info), (main):
6158 deactivate and remove dparams (libgstcontrol)
6160 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
6162 * gst/elements/gsttypefindelement.c:
6163 (gst_type_find_element_have_type), (gst_type_find_element_init),
6164 (stop_typefinding), (gst_type_find_element_handle_event),
6165 (gst_type_find_element_chain), (gst_type_find_element_getrange):
6166 * gst/elements/gsttypefindelement.h:
6167 Set caps on all outgoing buffers, not just the first one.
6169 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
6171 * gst/elements/gsttypefindelement.c:
6172 (gst_type_find_element_have_type),
6173 (gst_type_find_element_check_set_buffer_caps),
6174 (gst_type_find_element_init), (stop_typefinding),
6175 (gst_type_find_element_handle_event),
6176 (gst_type_find_element_chain), (gst_type_find_element_getrange):
6177 * gst/elements/gsttypefindelement.h:
6178 Set caps on first outgoing buffer when we've found the type.
6180 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
6182 * docs/gst/gstreamer-docs.sgml:
6183 * docs/gst/gstreamer-sections.txt:
6184 * docs/gst/tmpl/gstscheduler.sgml:
6185 * docs/gst/tmpl/gstschedulerfactory.sgml:
6186 Remove some old cruft from docs.
6188 2005-07-31 Tim-Philipp Müller <tim at centricular dot net>
6191 Fix inline docs for GstPadLinkReturn.
6193 * gst/gststructure.c: (gst_structure_has_name):
6194 * gst/gststructure.h:
6195 * docs/gst/gstreamer-sections.txt:
6196 New API: gst_structure_has_name().
6198 2005-07-30 Tim-Philipp Müller <tim at centricular dot net>
6201 Use AC_SYS_LARGEFILE, which will set _FILE_OFFSET_BITS=64
6202 and _LARGEFILE_SOURCE in config.h as required. Do not
6203 export those flags in our .pc files any longer (#142209).
6205 Remove unused GST_DISABLE_OMEGA_COTHREADS stuff.
6207 * gst/elements/gstfilesink.c: (gst_file_sink_class_init),
6208 (gst_file_sink_do_seek), (gst_file_sink_event),
6209 (gst_file_sink_get_current_offset), (gst_file_sink_render):
6210 Redo seek/tell calls with large file support in mind; add some
6211 debugging messages; add log message that tells us when large
6212 file support is unavailable or not enabled for some reason.
6214 * gst/elements/gstfilesrc.c: (gst_file_src_class_init):
6215 Add log message that tells us when large file support
6216 is unavailable or not enabled for some reason.
6218 2005-07-29 Wim Taymans <wim@fluendo.com>
6220 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
6221 Added test for removing an element with ghostpad from a bin.
6222 Fixed test as current implementation does the right thing.
6224 * gst/gstghostpad.c: (gst_proxy_pad_class_init),
6225 (gst_proxy_pad_do_query_type), (gst_proxy_pad_do_event),
6226 (gst_proxy_pad_do_query), (gst_proxy_pad_do_internal_link),
6227 (gst_proxy_pad_do_bufferalloc), (gst_proxy_pad_do_activate),
6228 (gst_proxy_pad_do_activatepull), (gst_proxy_pad_do_activatepush),
6229 (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
6230 (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
6231 (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
6232 (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target),
6233 (gst_proxy_pad_get_target), (gst_proxy_pad_init),
6234 (gst_proxy_pad_dispose), (gst_proxy_pad_finalize),
6235 (gst_ghost_pad_class_init), (gst_ghost_pad_do_activate_push),
6236 (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
6237 (gst_ghost_pad_set_internal), (gst_ghost_pad_dispose),
6238 (gst_ghost_pad_new_notarget), (gst_ghost_pad_new),
6239 (gst_ghost_pad_get_target), (gst_ghost_pad_set_target):
6240 * gst/gstghostpad.h:
6241 Clean up ghostpads, remove properties for internal stuff.
6244 Prepare for switching targets, not all use cases work yet.
6246 2005-07-29 Wim Taymans <wim@fluendo.com>
6248 * docs/design/part-gstghostpad.txt:
6251 * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
6252 (gst_bin_remove_func):
6253 Unlinking pads while holding the bin LOCK is not a good
6256 * gst/gstpad.c: (gst_pad_class_init),
6257 (gst_pad_link_check_hierarchy), (gst_pad_get_caps_unlocked),
6258 (gst_pad_accept_caps), (gst_pad_set_caps), (gst_pad_send_event):
6259 No prob setting template after creating the pad.
6261 2005-07-29 Jan Schmidt <thaytan@mad.scientist.com>
6263 * gst/gstbus.c: (gst_bus_set_flushing), (gst_bus_pop),
6264 (gst_bus_peek), (gst_bus_source_dispatch),
6265 (gst_bus_add_watch_full), (poll_handler), (poll_timeout),
6266 (poll_destroy), (poll_destroy_timeout), (gst_bus_poll):
6267 gst_bus_poll may be called from other threads. Handle
6268 this nicely by not making poll_data disappear off the
6269 stack once gst_bus_poll returns.
6270 gst_bus_peek now increments the refcount on the returned
6273 2005-07-29 Wim Taymans <wim@fluendo.com>
6275 * docs/design/part-gstghostpad.txt:
6276 Overview of current GhostPad datastructures and use
6277 cases for changing the target.
6279 2005-07-28 Wim Taymans <wim@fluendo.com>
6281 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
6282 Added checks for hierarchy consistency whan adding linked
6285 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
6286 Added check to test element scheduling without bin/pipeline.
6288 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
6289 First add elements to bin, then link.
6291 * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
6292 (gst_bin_remove_func):
6293 Unlink pads from elements added/removed from bin to maintain
6294 hierarchy consistency.
6296 2005-07-28 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
6298 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
6299 (gst_base_transform_handle_buffer):
6300 * gst/base/gstbasetransform.h:
6301 Remove broken delay_configure (fixes renegotiation of software
6302 scaling pipelines); remove some leftover printf()s.
6304 2005-07-28 Wim Taymans <wim@fluendo.com>
6306 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
6307 Added some more tests for wrong hierarchy
6309 * docs/design/part-overview.txt:
6312 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_dispose):
6315 * gst/gstelement.c: (gst_element_remove_pad), (gst_element_seek),
6316 (gst_element_dispose):
6319 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
6320 (gst_pad_link_check_hierarchy), (gst_pad_link_prepare),
6321 (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
6322 (gst_pad_set_caps), (gst_pad_send_event):
6323 Check for correct hierarchy when linking pads. Moving to
6324 strict requirement for ghostpads when linking elements in
6328 Clean ups. Added WRONG_HIERARCHY return value.
6330 2005-07-28 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
6332 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
6333 Better debug if no transform is possible.
6335 2005-07-27 Wim Taymans <wim@fluendo.com>
6337 * docs/random/wtay/network-transp:
6340 2005-07-27 Wim Taymans <wim@fluendo.com>
6342 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
6343 (gst_dp_event_from_packet):
6344 Fix serialization of seek events.
6346 2005-07-27 Wim Taymans <wim@fluendo.com>
6348 * check/gst-libs/gdp.c: (GST_START_TEST):
6349 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
6350 Fix compilation and fix event serialization.
6352 2005-07-27 Wim Taymans <wim@fluendo.com>
6355 * docs/design/part-TODO.txt:
6356 * docs/design/part-events.txt:
6359 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
6360 (gst_base_sink_event), (gst_base_sink_do_sync),
6361 (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
6362 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
6363 (gst_base_src_do_seek), (gst_base_src_event_handler),
6364 (gst_base_src_loop):
6365 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
6366 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
6367 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
6368 (gst_base_transform_event), (gst_base_transform_handle_buffer),
6369 (gst_base_transform_set_passthrough),
6370 (gst_base_transform_is_passthrough):
6371 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
6372 * gst/elements/gstfilesink.c: (gst_file_sink_event):
6378 * gst/gstelement.c: (gst_element_seek):
6380 Update gst_element_seek.
6382 * gst/gstevent.c: (gst_event_finalize), (_gst_event_copy),
6383 (gst_event_new), (gst_event_new_custom), (gst_event_get_structure),
6384 (gst_event_new_flush_start), (gst_event_new_flush_stop),
6385 (gst_event_new_eos), (gst_event_new_newsegment),
6386 (gst_event_parse_newsegment), (gst_event_new_tag),
6387 (gst_event_parse_tag), (gst_event_new_filler), (gst_event_new_qos),
6388 (gst_event_parse_qos), (gst_event_new_seek),
6389 (gst_event_parse_seek), (gst_event_new_navigation):
6391 Make GstEvent use GstStructure. Add parsing code, make sure the
6392 API is sufficiently generic.
6393 Mark possible directions of events and serialization.
6395 * gst/gstmessage.c: (gst_message_init), (gst_message_finalize),
6396 (_gst_message_copy), (gst_message_new_segment_start),
6397 (gst_message_new_segment_done), (gst_message_new_custom),
6398 (gst_message_parse_segment_start),
6399 (gst_message_parse_segment_done):
6402 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
6403 (gst_pad_set_caps), (gst_pad_send_event):
6404 Update for new events.
6405 Catch events sent in wrong directions.
6407 * gst/gstqueue.c: (gst_queue_link_src),
6408 (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
6409 (gst_queue_handle_src_query):
6414 Remove event code from this file.
6416 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
6417 (gst_dp_event_from_packet):
6420 2005-07-27 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
6422 * gst/base/gstbasetransform.c: (gst_base_transform_getcaps),
6423 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
6424 (gst_base_transform_get_size), (gst_base_transform_handle_buffer):
6425 Make debugging actually useful.
6427 2005-07-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
6429 * gst/gstpad.c: (fixate_value), (gst_pad_default_fixate),
6430 (gst_pad_fixate_caps):
6431 Implement default fixation once again, so that gst_pad_fixate()
6432 actually does anything at all. This probably needs to be some
6433 sort of a last resort, and use profile-based fixation first, but
6434 since that doesn't exist yet, this is the best we have. Fixes
6435 visualization in Totem.
6437 2005-07-22 Wim Taymans <wim@fluendo.com>
6439 * docs/design/part-events.txt:
6442 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
6443 (gst_base_sink_do_sync), (gst_base_sink_activate_push),
6444 (gst_base_sink_activate_pull):
6447 * gst/elements/gstfakesrc.c: (gst_fake_src_class_init),
6448 (gst_fake_src_create):
6449 Fix handoff marshall.
6451 * gst/elements/gstidentity.c: (gst_identity_class_init),
6452 (gst_identity_transform_ip):
6453 We're a real inplace element.
6455 * gst/gstbus.c: (gst_bus_post):
6456 Added some comments.
6458 * tests/lat.c: (fakesrc), (fakesink), (simple), (queue), (main):
6459 * tests/muxing/case1.c: (main):
6460 * tests/sched/dynamic-pipeline.c: (main):
6461 * tests/sched/interrupt1.c: (main):
6462 * tests/sched/interrupt2.c: (main):
6463 * tests/sched/interrupt3.c: (main):
6464 * tests/sched/runxml.c: (main):
6465 * tests/sched/sched-stress.c: (main):
6466 * tests/seeking/seeking1.c: (event_received), (main):
6467 * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
6469 * tests/threadstate/threadstate3.c: (main):
6470 * tests/threadstate/threadstate4.c: (main):
6471 * tests/threadstate/threadstate5.c: (main):
6474 2005-07-21 Wim Taymans <wim@fluendo.com>
6476 * docs/design/part-seeking.txt:
6477 Some small additions.
6479 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
6480 (gst_base_sink_get_times), (gst_base_sink_do_sync),
6481 (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
6482 * gst/base/gstbasesink.h:
6483 discont values are gint64, handle the math correctly.
6485 * gst/base/gstbasesrc.c: (gst_base_src_loop):
6486 Make the basesrc report error if the source pad is not linked.
6488 * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
6489 (gst_queue_loop), (gst_queue_handle_src_query),
6490 (gst_queue_src_activate_push):
6491 Make queue collect data even if the srcpad is not linked.
6492 Start pushing out data as soon as it is linked.
6494 * gst/gstutils.c: (gst_element_unlink), (gst_flow_get_name):
6496 Added gst_flow_get_name() to ease error reporting.
6498 2005-07-20 Wim Taymans <wim@fluendo.com>
6500 * gst/gstmessage.c: (gst_message_new_segment_start),
6501 (gst_message_new_segment_done), (gst_message_parse_segment_start),
6502 (gst_message_parse_segment_done):
6504 Added a bunch of messages for advanced seeking.
6506 * gst/parse/grammar.y:
6507 * libs/gst/control/dparammanager.c: (gst_dpman_set_parent),
6508 (gst_dpman_state_changed):
6509 Fix some new-pad -> pad-added signals
6511 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
6513 * docs/manual/appendix-porting.xml:
6514 * docs/pwg/appendix-porting.xml:
6515 Document new-pad/state-change signal renames and the FixedList
6518 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
6520 * docs/manual/advanced-autoplugging.xml:
6521 * docs/manual/basics-helloworld.xml:
6522 * docs/manual/basics-pads.xml:
6523 * docs/random/ds/0.9-suggested-changes:
6524 * gst/gstelement.c: (gst_element_class_init), (gst_element_seek):
6529 * gst/gststructure.c: (gst_structure_value_get_generic_type),
6530 (gst_structure_parse_array), (gst_structure_parse_value):
6531 * gst/gstvalue.c: (gst_type_is_fixed),
6532 (gst_value_list_prepend_value), (gst_value_list_append_value),
6533 (gst_value_list_get_size), (gst_value_list_get_value),
6534 (gst_value_transform_array_string), (gst_value_serialize_array),
6535 (gst_value_deserialize_array), (gst_value_intersect_array),
6536 (gst_value_is_fixed), (_gst_value_initialize):
6538 GstElement::new-pad -> pad-added, GstElement::state-change ->
6539 state-changed, GstValueFixedList -> GstValueArray, add format and
6540 flags as their own arguments in gst_element_seek() (should improve
6541 "bindeability"), remove function generators since they don't work
6542 under a whole bunch of compilers (they were deprecated already
6545 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
6547 * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
6548 (_gst_debug_register_funcptr):
6550 Fix illegal cast on some platforms (#309253).
6552 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
6554 * gst/gstmessage.c: (gst_message_new_custom):
6556 Add _new_custom, make _new_application a macro to _new_custom.
6558 2005-07-20 Wim Taymans <wim@fluendo.com>
6560 * gst/base/gstbasesrc.c: (gst_base_src_init),
6561 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
6562 * gst/base/gstbasesrc.h:
6563 Add a gboolean to decide when to push out a discont.
6565 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
6566 (gst_queue_loop), (gst_queue_handle_src_query),
6567 (gst_queue_sink_activate_push), (gst_queue_src_activate_push),
6568 (gst_queue_set_property), (gst_queue_get_property):
6571 * tests/threadstate/threadstate1.c: (main):
6572 Make a thread test compile and run... very silly..
6575 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
6577 * docs/manual/appendix-porting.xml:
6578 Mention removal of libgstgconf-0.9.la and existence of gconf
6581 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
6583 * docs/pwg/advanced-clock.xml:
6584 * docs/pwg/appendix-porting.xml:
6585 * docs/pwg/intro-preface.xml:
6586 * docs/pwg/other-base.xml:
6587 * docs/pwg/other-manager.xml:
6588 * docs/pwg/other-nton.xml:
6589 * docs/pwg/other-ntoone.xml:
6590 * docs/pwg/other-oneton.xml:
6592 Document base classes, update sections of n-to-1 and 1-to-n (muxer,
6593 demuxer), remove n-to-n (was never written), fix some code examples
6594 and links and update the porting section to include all this.
6596 2005-07-19 Wim Taymans <wim@fluendo.com>
6598 * gst/gstqueue.c: (gst_queue_init), (gst_queue_handle_sink_event),
6599 (gst_queue_chain), (gst_queue_loop), (gst_queue_handle_src_event),
6600 (gst_queue_handle_src_query), (gst_queue_sink_activate_push),
6601 (gst_queue_src_activate_push), (gst_queue_change_state),
6602 (gst_queue_get_property):
6604 Propagate GstFlowReturn more intelligently upstream and output
6605 an ERROR/EOS when streaming stopped due to fatal error.
6607 2005-07-19 Wim Taymans <wim@fluendo.com>
6609 * tools/gst-launch.c: (check_intr), (event_loop), (main):
6610 Don't block forever for the state change to complete, the
6611 pipeline already did with a sensible timeout.
6613 2005-07-19 Wim Taymans <wim@fluendo.com>
6615 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
6616 Make sure we never call the create function is we
6619 2005-07-19 Andy Wingo <wingo@pobox.com>
6621 * gst/parse/parse.l: Attempt to solve bug #172815.
6623 2005-07-19 Wim Taymans <wim@fluendo.com>
6625 * docs/design/part-clocks.txt:
6626 * docs/design/part-events.txt:
6627 * gst/base/gstbasesrc.c: (gst_base_src_do_seek):
6629 Only update the seeking values when we are not
6632 2005-07-19 Jan Schmidt <thaytan@mad.scientist.com>
6634 * gst/base/gstbasesrc.c: (gst_base_src_loop):
6635 Oops, ignore the result of gst_pad_push_event here.
6637 2005-07-19 Jan Schmidt <thaytan@mad.scientist.com>
6639 * gst/base/gstbasesrc.c: (gst_base_src_loop),
6640 (gst_base_src_activate_push):
6641 Send discont event from the loop function, as pads
6642 aren't activated yet in the activate_push handler.
6644 * gst/gstbin.c: (bin_bus_handler):
6645 Don't leak element name.
6647 2005-07-18 Andy Wingo <wingo@pobox.com>
6649 * configure.ac: Use AS_LIBTOOL_TAGS.
6651 2005-07-18 Wim Taymans <wim@fluendo.com>
6653 * docs/gst/gstreamer.types:
6654 Remove deleted types.
6656 2005-07-18 Wim Taymans <wim@fluendo.com>
6658 * check/elements/gstfakesrc.c: (GST_START_TEST):
6661 * gst/gst.c: (gst_init_get_popt_table), (init_pre), (init_post),
6662 (init_popt_callback):
6664 * gst/gst_private.h:
6665 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_add_func),
6666 (gst_bin_remove_func), (gst_bin_get_state), (gst_bin_change_state):
6669 * gst/gstconfig.h.in:
6670 * gst/gstelement.c: (gst_element_class_init),
6671 (gst_element_set_base_time), (gst_element_get_base_time),
6672 (iterator_fold_with_resync), (gst_element_change_state),
6673 (gst_element_dispose), (gst_element_get_bus):
6675 * gst/gstelementfactory.h:
6676 * gst/gsterror.c: (_gst_core_errors_init):
6679 * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
6681 * gst/gstinfo.c: (_gst_debug_init):
6682 * gst/gstmessage.c: (_gst_message_copy):
6684 * gst/gstminiobject.h:
6687 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
6688 (gst_pad_set_caps), (gst_pad_start_task), (gst_pad_stop_task):
6691 * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
6692 (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
6693 (gst_pipeline_get_last_stream_time):
6694 * gst/gstpipeline.h:
6695 * gst/gstpluginfeature.h:
6697 * gst/gstscheduler.c:
6698 * gst/gstscheduler.h:
6699 * gst/gststructure.h:
6700 * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
6701 (gst_task_finalize), (gst_task_func), (gst_task_create),
6702 (gst_task_set_lock), (gst_task_get_state), (gst_task_start),
6703 (gst_task_stop), (gst_task_pause):
6705 * gst/gsttypefind.h:
6707 * gst/registries/gstlibxmlregistry.c: (load_feature),
6708 (gst_xml_registry_load), (gst_xml_registry_save_feature):
6709 * gst/registries/gstxmlregistry.c:
6710 (gst_xml_registry_start_element), (gst_xml_registry_save_feature):
6711 * gst/schedulers/threadscheduler.c:
6712 * libs/gst/control/dparammanager.h:
6713 * tools/gst-inspect.c: (print_element_list),
6714 (print_plugin_features), (print_element_features):
6715 * tools/gst-xmlinspect.c: (print_element_list),
6716 (print_plugin_info), (main):
6717 Removed plugable schedulers.
6718 Removed Scheduler/Manager from elements.
6719 Removed gsttypes.h, rearranged includes.
6720 Removed dependency pad<->element, element<>pipeline, and
6721 various others, fix includes.
6722 implement gst_pad_get_parent() with gst_object_get_parent()
6723 Make GstTask sefcontained.
6724 Fix _get_state() on GstBin, it did not return ASYNC with a 0
6726 Fix endless loop in iterator_fold_with_resync.
6729 2005-07-18 Wim Taymans <wim@fluendo.com>
6735 2005-07-18 Wim Taymans <wim@fluendo.com>
6740 2005-07-18 Wim Taymans <wim@fluendo.com>
6746 2005-07-18 Wim Taymans <wim@fluendo.com>
6748 * docs/design/part-dynamic.txt:
6749 * docs/design/part-events.txt:
6750 * docs/design/part-seeking.txt:
6751 Some more docs in the works.
6753 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
6754 (gst_base_transform_getcaps), (gst_base_transform_configure_caps),
6755 (gst_base_transform_setcaps), (gst_base_transform_get_size),
6756 (gst_base_transform_buffer_alloc), (gst_base_transform_event),
6757 (gst_base_transform_handle_buffer),
6758 (gst_base_transform_sink_activate_push),
6759 (gst_base_transform_src_activate_pull),
6760 (gst_base_transform_set_passthrough),
6761 (gst_base_transform_is_passthrough):
6764 * gst/gstbus.c: (gst_bus_source_dispatch), (gst_bus_poll):
6767 * gst/gstevent.c: (gst_event_finalize):
6770 * gst/gstutils.c: (gst_element_unlink),
6771 (gst_pad_get_parent_element), (gst_pad_proxy_getcaps),
6772 (gst_pad_proxy_setcaps):
6774 Add _get_parent_element() to get a pads parent as an element.
6776 2005-07-18 Wim Taymans <wim@fluendo.com>
6778 * check/gst/gstbin.c: (GST_START_TEST):
6781 2005-07-18 Wim Taymans <wim@fluendo.com>
6783 * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
6784 (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
6785 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
6786 (gst_base_sink_event), (gst_base_sink_do_sync),
6787 (gst_base_sink_chain), (gst_base_sink_loop),
6788 (gst_base_sink_deactivate), (gst_base_sink_activate_push),
6789 (gst_base_sink_activate_pull), (gst_base_sink_change_state):
6791 Fix logic for returning ASYNC when not prerolled.
6793 2005-07-18 Wim Taymans <wim@fluendo.com>
6795 * gst/gstqueue.c: (gst_queue_handle_sink_event):
6796 Fix nasty refcount bug.
6798 2005-07-16 Philippe Khalaf <burger@speedy.org>
6800 * gst/elements/gstfdsrc.c:
6801 * gst/elements/gstfdsrc.h:
6802 * gst/elements/gstelements.c:
6803 * gst/elements/Makefile.am:
6804 Ported fdsrc to 0.9.
6806 2005-07-16 Wim Taymans <wim@fluendo.com>
6808 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
6809 (gst_base_sink_do_sync):
6812 2005-07-16 Wim Taymans <wim@fluendo.com>
6814 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
6815 (gst_base_sink_event), (gst_base_sink_get_times),
6816 (gst_base_sink_do_sync), (gst_base_sink_change_state):
6817 * gst/base/gstbasesink.h:
6818 Store and use discont values when syncing buffers as described
6821 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
6822 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start),
6823 (gst_base_src_activate_push):
6824 Push discont event when starting.
6826 * gst/elements/gstidentity.c: (gst_identity_transform):
6829 * gst/gstbin.c: (gst_bin_change_state):
6830 Small cleanups in base_time distribution.
6832 * gst/gstelement.c: (gst_element_set_base_time),
6833 (gst_element_get_base_time), (gst_element_change_state):
6835 Added methods for the base_time of the element.
6838 * gst/gstpipeline.c: (gst_pipeline_send_event),
6839 (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
6840 (gst_pipeline_get_last_stream_time):
6841 * gst/gstpipeline.h:
6843 Handle seeking as described in design doc, remove stream_time
6845 Cleanups clock and stream_time selection code. Added accessors
6846 for the stream_time.
6849 2005-07-16 Andy Wingo <wingo@pobox.com>
6851 * gst/gsterror.c (_gst_core_errors_init): Use the magic word
6854 2005-07-16 Wim Taymans <wim@fluendo.com>
6856 * check/gst/gstbin.c: (GST_START_TEST):
6857 Make elements silent as the deep_notify refs the
6858 parent, which might make the test fail.
6860 * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
6861 Don't hold the lock for too long.
6863 2005-07-16 Tim-Philipp Müller <tim at centricular dot net>
6865 * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
6866 Don't unref the caps we passed to gst_caps_make_writable() after
6867 passing them. gst_caps_make_writable() will do that for us.
6869 2005-07-15 Andy Wingo <wingo@pobox.com>
6871 * gst/gstcaps.h (gst_caps_is_simple): Removed deprecated macro
6874 * gst/elements/gstidentity.c (marshal_VOID__MINIOBJECT): Write our
6875 own marshalling function for the handoff signal. Properly type the
6876 buffer as a buffer. Fixes some warnings. Should do a more general
6878 (gst_identity_class_init): Plug into the right marshaller.
6880 2005-07-15 Wim Taymans <wim@fluendo.com>
6882 * docs/design/part-TODO.txt:
6883 * docs/design/part-clocks.txt:
6884 * docs/design/part-element-sink.txt:
6885 * docs/design/part-events.txt:
6886 * docs/design/part-gstpipeline.txt:
6887 Updated docs, mostly DISCONT related.
6889 2005-07-15 Tim-Philipp Müller <tim at centricular dot net>
6891 * docs/pwg/building-pads.xml:
6892 s/GST_PAD_LINK_REFUSED/FALSE/ in gst_my_filter_setcaps()
6894 2005-07-15 Andy Wingo <wingo@pobox.com>
6896 * tools/gst-typefind.c: Update, add copyright block.
6898 * gst/base/gstbasesrc.c (gst_base_src_default_negotiate):
6899 Normalize and truncate caps before fixation.
6902 * gst/gstcaps.c (gst_caps_truncate): New function, destructively
6903 discards all but the first structure from its argument.
6905 2005-07-15 Wim Taymans <wim@fluendo.com>
6907 * gst/base/gstbasetransform.c: (gst_base_transform_init),
6908 (gst_base_transform_transform_caps), (gst_base_transform_getcaps),
6909 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
6910 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
6911 (gst_base_transform_handle_buffer), (gst_base_transform_getrange),
6912 (gst_base_transform_chain), (gst_base_transform_change_state),
6913 (gst_base_transform_set_passthrough),
6914 (gst_base_transform_is_passthrough):
6915 * gst/base/gstbasetransform.h:
6916 Make passthrough work using the bufferpools.
6917 Changed API a bit, subclasses have to write into a buffer
6918 provided by the base class.
6919 More debug info in nego functions.
6921 * gst/elements/gstidentity.c: (gst_identity_init),
6922 (gst_identity_transform):
6923 Port to new base class.
6925 2005-07-15 Wim Taymans <wim@fluendo.com>
6927 * gst/gstmessage.c: (gst_message_new_state_changed):
6928 * tools/gst-launch.c: (event_loop), (main):
6929 Totally dump messages in -launch with the -m option.
6930 Fix message name for State messages,
6932 2005-07-14 Wim Taymans <wim@fluendo.com>
6934 * gst/base/gstbasesrc.c: (gst_base_src_loop):
6935 Post error messages on errors.
6937 2005-07-14 Wim Taymans <wim@fluendo.com>
6939 * gst/gstcaps.c: (gst_caps_do_simplify):
6943 Define error for stream stopped.
6945 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
6946 (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange):
6947 Do proper return values.
6949 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
6950 (gst_pad_set_caps), (gst_pad_chain), (gst_pad_push),
6951 (gst_pad_get_range):
6952 Better return values.
6955 Reorganise return values, add macro to check for fatal errors.
6957 * gst/gstqueue.c: (gst_queue_chain):
6958 Return proper GstFlowReturn values,
6960 2005-07-14 Thomas Vander Stichele <thomas at apestaart dot org>
6962 * docs/gst/gstreamer-sections.txt:
6963 * docs/gst/gstreamer.types:
6964 * docs/gst/tmpl/gst.sgml:
6965 * docs/gst/tmpl/gstbasesink.sgml:
6966 * docs/gst/tmpl/gstbasesrc.sgml:
6967 * docs/gst/tmpl/gstbasetransform.sgml:
6968 * docs/gst/tmpl/gstbin.sgml:
6969 * docs/gst/tmpl/gstbuffer.sgml:
6970 * docs/gst/tmpl/gstcaps.sgml:
6971 * docs/gst/tmpl/gstclock.sgml:
6972 * docs/gst/tmpl/gstcompat.sgml:
6973 * docs/gst/tmpl/gstconfig.sgml:
6974 * docs/gst/tmpl/gstelement.sgml:
6975 * docs/gst/tmpl/gstelementdetails.sgml:
6976 * docs/gst/tmpl/gstelementfactory.sgml:
6977 * docs/gst/tmpl/gstenumtypes.sgml:
6978 * docs/gst/tmpl/gsterror.sgml:
6979 * docs/gst/tmpl/gstevent.sgml:
6980 * docs/gst/tmpl/gstfakesink.sgml:
6981 * docs/gst/tmpl/gstfakesrc.sgml:
6982 * docs/gst/tmpl/gstfilesink.sgml:
6983 * docs/gst/tmpl/gstfilesrc.sgml:
6984 * docs/gst/tmpl/gstfilter.sgml:
6985 * docs/gst/tmpl/gstformat.sgml:
6986 * docs/gst/tmpl/gstghostpad.sgml:
6987 * docs/gst/tmpl/gstimplementsinterface.sgml:
6988 * docs/gst/tmpl/gstindex.sgml:
6989 * docs/gst/tmpl/gstindexfactory.sgml:
6990 * docs/gst/tmpl/gstinfo.sgml:
6991 * docs/gst/tmpl/gstiterator.sgml:
6992 * docs/gst/tmpl/gstmacros.sgml:
6993 * docs/gst/tmpl/gstmemchunk.sgml:
6994 * docs/gst/tmpl/gstminiobject.sgml:
6995 * docs/gst/tmpl/gstobject.sgml:
6996 * docs/gst/tmpl/gstpad.sgml:
6997 * docs/gst/tmpl/gstpadtemplate.sgml:
6998 * docs/gst/tmpl/gstparse.sgml:
6999 * docs/gst/tmpl/gstpipeline.sgml:
7000 * docs/gst/tmpl/gstplugin.sgml:
7001 * docs/gst/tmpl/gstpluginfeature.sgml:
7002 * docs/gst/tmpl/gstquery.sgml:
7003 * docs/gst/tmpl/gstqueue.sgml:
7004 * docs/gst/tmpl/gstregistry.sgml:
7005 * docs/gst/tmpl/gstregistrypool.sgml:
7006 * docs/gst/tmpl/gstscheduler.sgml:
7007 * docs/gst/tmpl/gstschedulerfactory.sgml:
7008 * docs/gst/tmpl/gststructure.sgml:
7009 * docs/gst/tmpl/gstsystemclock.sgml:
7010 * docs/gst/tmpl/gsttaglist.sgml:
7011 * docs/gst/tmpl/gsttagsetter.sgml:
7012 * docs/gst/tmpl/gsttrace.sgml:
7013 * docs/gst/tmpl/gsttrashstack.sgml:
7014 * docs/gst/tmpl/gsttypefind.sgml:
7015 * docs/gst/tmpl/gsttypefindfactory.sgml:
7016 * docs/gst/tmpl/gsttypes.sgml:
7017 * docs/gst/tmpl/gsturihandler.sgml:
7018 * docs/gst/tmpl/gsturitype.sgml:
7019 * docs/gst/tmpl/gstutils.sgml:
7020 * docs/gst/tmpl/gstvalue.sgml:
7021 * docs/gst/tmpl/gstversion.sgml:
7022 * docs/gst/tmpl/gstxml.sgml:
7023 * docs/libs/tmpl/gstcontrol.sgml:
7024 * docs/libs/tmpl/gstdataprotocol.sgml:
7025 * docs/libs/tmpl/gstdparam.sgml:
7026 * docs/libs/tmpl/gstdplinint.sgml:
7027 * docs/libs/tmpl/gstdpman.sgml:
7028 * docs/libs/tmpl/gstdpsmooth.sgml:
7029 * docs/libs/tmpl/gstgetbits.sgml:
7030 * docs/libs/tmpl/gstunitconvert.sgml:
7031 * gst/base/gstpushsrc.c: (gst_push_src_get_type),
7032 (gst_push_src_base_init), (gst_push_src_class_init),
7033 (gst_push_src_init), (gst_push_src_create):
7034 * gst/base/gstpushsrc.h:
7035 * gst/elements/gstelements.c:
7036 * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type),
7037 (gst_fake_sink_base_init), (gst_fake_sink_class_init),
7038 (gst_fake_sink_init), (gst_fake_sink_set_property),
7039 (gst_fake_sink_get_property), (gst_fake_sink_get_times),
7040 (gst_fake_sink_event), (gst_fake_sink_preroll),
7041 (gst_fake_sink_render), (gst_fake_sink_change_state):
7042 * gst/elements/gstfakesink.h:
7043 * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
7044 (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
7045 (gst_fake_src_base_init), (gst_fake_src_class_init),
7046 (gst_fake_src_init), (gst_fake_src_event_handler),
7047 (gst_fake_src_alloc_parent), (gst_fake_src_set_property),
7048 (gst_fake_src_get_property), (gst_fake_src_prepare_buffer),
7049 (gst_fake_src_alloc_buffer), (gst_fake_src_get_size),
7050 (gst_fake_src_create_buffer), (gst_fake_src_create),
7051 (gst_fake_src_start), (gst_fake_src_stop):
7052 * gst/elements/gstfakesrc.h:
7053 * gst/elements/gstfilesink.c: (_do_init),
7054 (gst_file_sink_base_init), (gst_file_sink_class_init),
7055 (gst_file_sink_init), (gst_file_sink_dispose),
7056 (gst_file_sink_set_location), (gst_file_sink_set_property),
7057 (gst_file_sink_get_property), (gst_file_sink_open_file),
7058 (gst_file_sink_close_file), (gst_file_sink_query),
7059 (gst_file_sink_event), (gst_file_sink_render),
7060 (gst_file_sink_change_state), (gst_file_sink_uri_get_type),
7061 (gst_file_sink_uri_get_protocols), (gst_file_sink_uri_get_uri),
7062 (gst_file_sink_uri_set_uri), (gst_file_sink_uri_handler_init):
7063 * gst/elements/gstfilesink.h:
7064 * gst/elements/gstfilesrc.c: (_do_init), (gst_file_src_base_init),
7065 (gst_file_src_class_init), (gst_file_src_init),
7066 (gst_file_src_finalize), (gst_file_src_set_location),
7067 (gst_file_src_set_property), (gst_file_src_get_property),
7068 (gst_file_src_map_region), (gst_file_src_map_small_region),
7069 (gst_file_src_create_mmap), (gst_file_src_create_read),
7070 (gst_file_src_create), (gst_file_src_is_seekable),
7071 (gst_file_src_get_size), (gst_file_src_start), (gst_file_src_stop),
7072 (gst_file_src_uri_get_type), (gst_file_src_uri_get_protocols),
7073 (gst_file_src_uri_get_uri), (gst_file_src_uri_set_uri),
7074 (gst_file_src_uri_handler_init):
7075 * gst/elements/gstfilesrc.h:
7076 more autistic cleanliness in functions/names/defines
7078 2005-07-13 Andy Wingo <wingo@pobox.com>
7080 * gst/base/gstbasesrc.c (gst_base_src_start): Post an error if the
7081 source couldn't negotiate.
7083 * gst/parse/grammar.y: Revert 1.54->1.55, so we now do filtered
7087 * gst/gstutils.c (gst_element_link_pads_filtered): New old
7088 function. I am channeling Hades. Put your boots on suckers!!!
7090 2005-07-13 Thomas Vander Stichele <thomas at apestaart dot org>
7092 * testsuite/caps/Makefile.am:
7093 * testsuite/caps/value_compare.c:
7094 * testsuite/caps/value_intersect.c:
7095 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
7096 move two testsuite apps over to the check dir
7098 2005-07-12 Wim Taymans <wim@fluendo.com>
7100 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
7101 Added more debug info in the negotiate process.
7104 Prepare for segment playback.
7106 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps):
7112 * tools/gst-launch.c: (main):
7113 NULL pipeline on errors.
7115 2005-07-12 Andy Wingo <wingo@pobox.com>
7117 * gst/gstbuffer.c (_gst_buffer_copy): Copy the buffer whether or
7118 not it comes from a malloc region. Make sure our copy gets freed.
7120 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
7122 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
7123 * check/gst/gstmessage.c: (GST_START_TEST):
7124 * check/gst/gststructure.c: (GST_START_TEST),
7125 (gst_structure_suite), (main):
7127 * gst/gstelement.c: (gst_element_message_full):
7128 clean up GError and debug string now that they get copied
7129 * gst/gstmessage.c: (gst_message_new_error),
7130 (gst_message_new_warning), (gst_message_parse_error),
7131 (gst_message_parse_warning):
7132 use GST_TYPE_G_ERROR for structure_new, and take copies of
7133 arguments, so that we don't mess up refcounting
7135 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
7137 * check/Makefile.am:
7138 add per-test valgrind targets
7139 * check/gst-libs/gdp.c: (GST_START_TEST),
7140 (gst_data_protocol_suite), (main):
7143 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
7145 * check/Makefile.am:
7146 instate more valgrindable tests
7147 * check/elements/gstfakesrc.c: (chain_func), (event_func),
7148 (GST_START_TEST), (fakesrc_suite):
7149 * check/gst/gstpad.c: (GST_START_TEST):
7150 * check/gst/gststructure.c: (GST_START_TEST):
7152 * docs/gst/tmpl/gstminiobject.sgml:
7153 * gst/gstpad.c: (gst_pad_finalize):
7154 fix the static mutex leak
7156 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
7158 * check/Makefile.am:
7159 add two more tests for valgrinding
7160 * check/gst/gstvalue.c: (GST_START_TEST):
7161 test refcount of deserialized buffer, found a leak
7162 * docs/gst/gstreamer-docs.sgml:
7163 * docs/gst/gstreamer-sections.txt:
7164 * docs/gst/gstreamer.types:
7165 * docs/gst/tmpl/gstminiobject.sgml:
7166 add miniobject to docs
7167 * gst/gstminiobject.c:
7169 * gst/gstvalue.c: (gst_value_deserialize_buffer),
7170 (gst_string_unwrap):
7171 fix a hard-to-find invalid write for one of the tests
7172 fix a leak for deserialized buffers
7174 2005-07-11 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7176 * docs/pwg/advanced-events.xml:
7177 * docs/pwg/advanced-request.xml:
7178 * docs/pwg/advanced-scheduling.xml:
7179 * docs/pwg/appendix-porting.xml:
7180 * docs/pwg/building-boiler.xml:
7181 * docs/pwg/intro-preface.xml:
7182 * docs/pwg/other-ntoone.xml:
7183 Rewrite scheduling-chapter for scheduling model in 0.9. Add lots
7184 of example code and explanation for pad activation, loop() and
7185 getrange() functions and a bit more. Remove old comments pointing
7187 * examples/pwg/Makefile.am:
7188 Add loop/getrange examples.
7190 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
7193 check for valgrind binary + some fixes
7195 valgrind suppressions for the tests
7196 * check/Makefile.am:
7197 add a valgrind: target that valgrinds the unit tests
7198 * check/gst/gst.c: (GST_START_TEST), (gst_suite):
7199 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
7200 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
7201 * check/gst/gstghostpad.c:
7203 * check/gst/gstdata.c:
7205 * check/gst/gstminiobject.c: (GST_START_TEST), (thread_ref),
7206 (thread_unref), (gst_mini_object_suite), (main):
7208 * gst/gst.c: (gst_deinit):
7210 add a method to clean up.
7211 * gst/gstsystemclock.c: (gst_system_clock_dispose),
7212 (gst_system_clock_obtain):
7213 allow for disposing the system clock.
7214 * tools/gst-launch.c: (main):
7217 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
7219 * docs/gst/tmpl/gstbasesrc.sgml:
7220 * docs/gst/tmpl/gstfakesrc.sgml:
7221 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
7222 (gst_base_src_init), (gst_base_src_set_property),
7223 (gst_base_src_get_property), (gst_base_src_get_range),
7224 (gst_base_src_start):
7225 * gst/base/gstbasesrc.h:
7226 add num-buffers property
7227 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
7228 (gst_fakesrc_init), (gst_fakesrc_set_property),
7229 (gst_fakesrc_get_property), (gst_fakesrc_create),
7230 (gst_fakesrc_start):
7231 remove num-buffers property
7233 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
7235 * docs/gst/gstreamer-sections.txt:
7236 * docs/gst/tmpl/gstbasesink.sgml:
7237 * docs/gst/tmpl/gstbasesrc.sgml:
7238 * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
7239 (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
7240 (gst_base_sink_finalize), (gst_base_sink_set_clock),
7241 (gst_base_sink_set_property), (gst_base_sink_get_property),
7242 (gst_base_sink_handle_object), (gst_base_sink_event),
7243 (gst_base_sink_do_sync), (gst_base_sink_handle_event),
7244 (gst_base_sink_handle_buffer), (gst_base_sink_chain),
7245 (gst_base_sink_loop), (gst_base_sink_deactivate),
7246 (gst_base_sink_activate_push), (gst_base_sink_activate_pull),
7247 (gst_base_sink_change_state):
7248 * gst/base/gstbasesink.h:
7249 * gst/base/gstbasesrc.h:
7250 * gst/elements/gstfakesink.c: (gst_fakesink_get_times):
7251 * gst/elements/gstfilesink.c: (gst_filesink_class_init),
7252 (gst_filesink_init):
7253 more macro splitting
7255 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
7257 * gst/gstelement.c: (gst_element_get_bus):
7259 * tools/gst-launch.c: (check_intr), (event_loop):
7262 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
7264 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
7267 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
7269 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
7270 (gst_base_src_finalize):
7271 add finalize method and clean up properly
7272 * gst/gstpipeline.c: (gst_pipeline_dispose):
7275 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
7277 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST),
7279 add more things to check
7280 * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
7284 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
7286 * check/elements/gstfakesrc.c: (chain_func), (event_func),
7287 (GST_START_TEST), (fakesrc_suite):
7288 * check/gst-libs/gdp.c: (GST_START_TEST):
7289 * check/gst/gst.c: (GST_START_TEST):
7290 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
7291 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
7292 * check/gst/gstbus.c: (GST_START_TEST):
7293 * check/gst/gstcaps.c: (GST_START_TEST):
7294 * check/gst/gstdata.c: (GST_START_TEST):
7295 * check/gst/gstelement.c: (GST_START_TEST):
7296 * check/gst/gstghostpad.c: (GST_START_TEST):
7297 * check/gst/gstiterator.c: (GST_START_TEST):
7298 * check/gst/gstmessage.c: (GST_START_TEST):
7299 * check/gst/gstobject.c: (GST_START_TEST):
7300 * check/gst/gstpad.c: (GST_START_TEST):
7301 * check/gst/gststructure.c: (GST_START_TEST):
7302 * check/gst/gstsystemclock.c: (GST_START_TEST),
7303 (gst_systemclock_suite):
7304 * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
7305 * check/gst/gstvalue.c: (GST_START_TEST):
7306 * check/pipelines/cleanup.c: (GST_START_TEST):
7307 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
7308 * check/states/sinks.c: (GST_START_TEST):
7309 * check/gstcheck.c: (gst_check_init):
7311 add debugging category
7312 use GST_START_TEST now, so we add a debug line
7314 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
7316 * check/gst/gstbin.c: (START_TEST), (gst_bin_suite):
7317 add test for state change message on a bin
7318 * check/gst/gstelement.c: (START_TEST), (gst_element_suite):
7320 * gst/gstbin.c: (gst_bin_init):
7321 * gst/gstbus.c: (gst_bus_init), (gst_bus_post):
7322 * gst/gstelement.c: (gst_element_post_message),
7323 (gst_element_set_state):
7324 * gst/gstelementfactory.c: (gst_element_factory_create):
7325 * gst/gstmessage.c: (gst_message_new):
7326 * gst/gstscheduler.c:
7327 various debugging additions and cleanups
7329 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
7331 * check/Makefile.am:
7332 * check/gst/gstelement.c: (START_TEST), (gst_element_suite),
7334 adding tests for elements
7335 * gst/gstelement.c: (gst_element_dispose):
7337 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
7339 * gst/registries/gstlibxmlregistry.c: (load_feature):
7340 plug more leaks. A simple gst_init() now is leakfree, yay.
7342 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
7344 * gst/registries/gstlibxmlregistry.c: (read_string), (load_paths),
7345 (gst_xml_registry_load):
7346 plug another memleak
7348 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
7351 use GST_SET_ERROR_CFLAGS
7353 change to ERROR_CFLAGS
7355 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
7358 make GST_ERROR_CFLAGS overridable and re-enable Werror
7360 add a note about error CFLAGS
7361 * docs/gst/tmpl/gstfakesrc.sgml:
7362 * gst/elements/gstfakesrc.c:
7363 comment out some unused code
7364 * gst/gst.c: (split_and_iterate):
7365 * gst/registries/gstlibxmlregistry.c: (load_pad_template),
7369 2005-07-07 Thomas Vander Stichele <thomas at apestaart dot org>
7371 * common/Makefile.am:
7372 * common/gtk-doc.mak:
7373 * docs/gst/Makefile.am:
7374 factor out gtk-doc.mak
7376 2005-07-07 Wim Taymans <wim@fluendo.com>
7378 * gst/schedulers/threadscheduler.c: (gst_thread_scheduler_func),
7379 (gst_thread_scheduler_dispose):
7380 Unlock the STREAM_LOCK completely.
7382 2005-07-07 Thomas Vander Stichele <thomas at apestaart dot org>
7384 * check/Makefile.am:
7385 * check/elements/.cvsignore:
7386 * check/elements/gstfakesrc.c: (chain_func), (event_func),
7387 (START_TEST), (fakesrc_suite), (main):
7388 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
7389 (gst_fakesrc_set_property), (gst_fakesrc_get_property),
7390 (gst_fakesrc_create), (gst_fakesrc_start):
7391 * gst/elements/gstfakesrc.h:
7392 adding a first element test
7394 2005-07-07 Andy Wingo <wingo@pobox.com>
7396 * gst/gstbus.c (gst_bus_have_pending): Remove intensely irritating
7399 2005-07-07 Wim Taymans <wim@fluendo.com>
7405 2005-07-07 Wim Taymans <wim@fluendo.com>
7407 * gst/base/gstbasesrc.c: (gst_base_src_get_range),
7408 (gst_base_src_default_negotiate), (gst_base_src_negotiate):
7409 Allow subclasses to implement their own negotiation.
7411 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
7413 * docs/design/part-gstbin.txt:
7414 * docs/design/part-gstpipeline.txt:
7415 Update design notes to reflect the movement of
7416 responsibility for bus handling from GstPipeline to
7419 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
7422 Remove unnecessary queue2/3/4 examples.
7424 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
7426 * examples/Makefile.am:
7427 * examples/helloworld/helloworld.c: (event_loop), (main):
7428 * examples/queue/queue.c: (event_loop), (main):
7429 * examples/queue2/queue2.c: (main):
7430 Update a couple of the examples to work again.
7432 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
7433 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_event):
7434 Spelling corrections and extra debug.
7436 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init), (is_eos),
7437 (gst_bin_add_func), (bin_element_is_sink), (gst_bin_get_state),
7438 (gst_bin_change_state), (gst_bin_dispose), (bin_bus_handler):
7440 * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
7441 (gst_pipeline_change_state):
7442 * gst/gstpipeline.h:
7443 Move the bus handler for children to the GstBin, and create a
7444 separate bus for receiving messages from children to the one the
7445 bus sends 'upwards' on.
7447 2005-07-06 Wim Taymans <wim@fluendo.com>
7450 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
7451 (gst_base_sink_handle_object), (gst_base_sink_loop),
7452 (gst_base_sink_change_state):
7453 * gst/base/gstbasesink.h:
7454 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
7455 (gst_base_src_init), (gst_base_src_setcaps),
7456 (gst_base_src_getcaps), (gst_base_src_loop),
7457 (gst_base_src_default_negotiate), (gst_base_src_negotiate),
7458 (gst_base_src_start), (gst_base_src_change_state):
7459 * gst/base/gstbasesrc.h:
7460 Make basesrc negotiate.
7461 Handle the case where preroll fails in basesink.
7464 2005-07-06 Wim Taymans <wim@fluendo.com>
7466 * gst/gstpad.c: (gst_pad_fixate_caps), (gst_pad_accept_caps):
7467 Implement the fixate function.
7468 Clean up acceptcaps.
7470 2005-07-06 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7472 * docs/pwg/building-filterfactory.xml:
7474 Remove never-written filter-factory chapter; I'll add the various
7475 base classes to part 4 ("other element types") later on.
7477 2005-07-06 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7479 * docs/pwg/advanced-negotiation.xml:
7480 * docs/pwg/building-boiler.xml:
7481 * docs/pwg/building-pads.xml:
7483 * examples/pwg/Makefile.am:
7484 Add a chapter on caps negotiation, simplify the original code
7485 samples a bit w.r.t. caps negotiation, add link to the advanced
7486 section. Add a bunch of examples showing different use cases of
7487 different types of caps negotiation. Upstream renegotiation isn't
7488 fully documented yet since nobody knows how that works.
7490 2005-07-06 Thomas Vander Stichele <thomas at apestaart dot org>
7492 * check/gst/gstpad.c:
7494 * gst/gstpad.c: (gst_pad_get_internal_links_default):
7495 if pad has no parent, return NULL as list of internal links
7497 2005-07-05 Andy Wingo <wingo@pobox.com>
7499 * gst/elements/gstfilesrc.c:
7500 * gst/elements/gstfakesrc.c:
7501 * gst/base/gstpushsrc.c:
7502 * gst/base/gstbasesrc.h:
7503 * gst/base/gstbasesrc.c: s/BASESRC/BASE_SRC/g.
7505 2005-07-05 Stefan Kost <ensonic@users.sf.net>
7508 better report generation target (lcov needs a patch)
7510 2005-07-05 Andy Wingo <wingo@pobox.com>
7512 * gst/elements, testsuite: Null if we got it...
7514 2005-07-05 Wim Taymans <wim@fluendo.com>
7517 * libs/gst/dataprotocol/Makefile.am:
7518 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_validate_packet):
7519 * libs/gst/dataprotocol/dataprotocol.h:
7520 * pkgconfig/Makefile.am:
7521 * pkgconfig/gstreamer-dataprotocol-uninstalled.pc.in:
7522 * pkgconfig/gstreamer-dataprotocol.pc.in:
7523 Ported dataprotol to 0.9.
7524 Added pkgconfig files.
7526 2005-07-05 Andy Wingo <wingo@pobox.com>
7528 * gst/base/gstbasetransform.c (gst_base_transform_setcaps):
7529 Default to returning TRUE for the case when tranform_caps returns
7530 a fixed caps, like for identity or volume.
7532 * check/gst/gstbus.c (pound_bus_with_messages):
7533 * check/gst/gstmessage.c (START_TEST):
7534 * check/pipelines/simple_launch_lines.c (got_handoff): Application
7537 * gst/base/gstbasetransform.c (gst_base_transform_setcaps): More
7538 logic weaks here: always run transform_caps, trying passthrough
7539 operation only if the original caps intersects with the transform.
7541 * gst/gstpad.c (gst_pad_link_check_compatible_unlocked): Debug
7542 source and sink caps.
7544 * gst/base/gstbasetransform.c (gst_base_transform_getcaps):
7545 Intersect the peer caps with the pad template before going into
7547 (gst_base_transform_transform_caps): More debugging.
7549 * gst/gstmessage.h (gst_message_new_application): Take a GstObject
7552 2005-07-04 Edward Hervey <edward@fluendo.com>
7556 (gst_pad_add_*_probe): now returns the signal id for better wrapping
7559 2005-07-04 Andy Wingo <wingo@pobox.com>
7561 * check/gst/gstpad.c: Only set explicit caps on pads.
7563 2005-07-01 Andy Wingo <wingo@pobox.com>
7565 * tests/network-clock.scm: Commentary update.
7567 * gst/elements/gstidentity.c (PROP_DUPLICATE): Gone daddy gone.
7568 Didn't really make sense, not implementable with basetransform,
7570 (gst_identity_transform): Unref inbuf via make_writable. Feeble
7571 attempt at implementing the sync property, needs an unlock method.
7573 * gst/base/gstbasetransform.c (gst_base_transform_transform_caps):
7574 New func, by default returns the same caps (the identity
7576 (gst_base_transform_getcaps): Uses transform_caps to return
7578 (gst_base_transform_setcaps): Complicated logic to get caps on
7579 both pads, even if they are different, and to call set_caps once
7580 for every time both pads get their caps set.
7581 (gst_base_transform_handle_buffer): Give the ref to the transform
7582 function. Allows in-place modification of the buffer.
7584 * gst/base/gstbasetransform.h (transform_caps): New class method.
7585 Given caps on one side, what can I do on the other.
7586 (set_caps): Take two caps, one for each side of the element.
7589 * gst/gstpad.c (gst_pad_fixate_caps): Change prototype to modify
7590 caps in place. This is safe because we can check the mutability of
7591 the caps, and a good idea because fixate functions are just called
7592 as a matter of last resort. (Not actually implemented.)
7593 (gst_pad_set_caps): If the caps we're setting is actually the same
7594 as the existing pad caps, just update the pointer without calling
7595 setcaps. Assert that caps is either NULL or fixed, as per the
7598 * gst/gstghostpad.c: Update for fixate changes.
7600 2005-07-02 Andy Wingo <wingo@pobox.com>
7603 * gst/gstcaps.h (gst_static_caps_get): Not const return, having
7604 two refcounts makes it immutable, which is enough. Doc more.
7606 2005-07-02 Jan Schmidt <thaytan@mad.scientist.com>
7608 * gst/gstpad.c: (gst_pad_emit_have_data_signal):
7609 Put the mini_object into GValue as a mini_object,
7610 not a gpointer, since that's how we declared
7613 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7615 * examples/pwg/Makefile.am:
7618 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7620 * docs/pwg/building-testapp.xml:
7622 * examples/pwg/Makefile.am:
7625 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7628 * examples/Makefile.am:
7629 * examples/pwg/Makefile.am:
7630 * examples/pwg/extract.pl:
7631 Enable building the PWG examples.
7632 * docs/pwg/advanced-interfaces.xml:
7633 Add URI interface stub.
7634 * docs/pwg/advanced-types.xml:
7635 * docs/pwg/other-autoplugger.xml:
7636 * docs/pwg/appendix-porting.xml:
7638 Add porting guide (mostly stubs), remove autoplugging (see ADM).
7639 * docs/pwg/building-boiler.xml:
7640 * docs/pwg/building-chainfn.xml:
7641 * docs/pwg/building-pads.xml:
7642 * docs/pwg/building-props.xml:
7643 * docs/pwg/building-state.xml:
7644 * docs/pwg/building-testapp.xml:
7645 Update the building-*.xml parts for 0.9 changes. All examples
7646 code blocks compile in examples/pwg/*.
7648 2005-06-30 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7650 * docs/manual/advanced-autoplugging.xml:
7651 * docs/manual/appendix-checklist.xml:
7652 * docs/manual/appendix-integration.xml:
7653 * docs/manual/highlevel-components.xml:
7654 Fix playbin/decodebin examples, update docs a bit, mention bus
7655 instead of signals in various places, mention kmplayer and
7656 kaffeine since they have a working GStreamer backend in the KDE
7659 2005-06-30 Wim Taymans <wim@fluendo.com>
7662 * docs/design/draft-ghostpads.txt:
7663 * docs/design/draft-push-pull.txt:
7664 * docs/design/draft-query.txt:
7665 * docs/design/part-TODO.txt:
7666 * docs/design/part-query.txt:
7667 Added CHANGES-0.9 doc, updated status of other docs.
7672 2005-06-30 Wim Taymans <wim@fluendo.com>
7674 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
7675 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
7676 (gst_base_sink_change_state):
7677 * gst/base/gstbasesink.h:
7678 Some tweaks, only EOS and a buffer complete a preroll.
7680 2005-06-30 Andy Wingo <wingo@pobox.com>
7682 * gst/gstghostpad.c (gst_ghost_pad_do_activate_push): Proxy
7683 activate_push down to the internal pad as well.
7685 2005-06-30 Torsten Schoenfeld <kaffeetisch@gmx.de>
7687 Reviewed by: Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7689 * gst/gsttaginterface.c:
7690 Some documentation fixes (#307394 and #307397).
7692 2005-06-30 Antoine Tremblay <hexa00@gmail.com>
7694 Reviewed by: Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7696 * gst/gstvalue.c: (gst_value_intersect_list):
7697 Fix memleak (#309125).
7699 2005-06-30 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7701 * docs/manual/advanced-dataaccess.xml:
7702 Fix fakesrc example to compile; doesn't work, bug somewhere...?
7703 * docs/manual/basics-pads.xml:
7704 Add reference for filtered caps to above chapter.
7706 2005-06-30 Wim Taymans <wim@fluendo.com>
7708 * gst/gstbin.c: (clear_queue), (remove_all_from_queue),
7709 (gst_bin_change_state):
7711 Lame attempt at making the state change function a bit
7714 2005-06-30 Wim Taymans <wim@fluendo.com>
7716 * docs/design/part-clocks.txt:
7717 * docs/design/part-element-sink.txt:
7718 * docs/design/part-events.txt:
7719 * docs/design/part-preroll.txt:
7720 * docs/design/part-states.txt:
7721 Some more tweeks and additions to the docs.
7723 2005-06-30 Wim Taymans <wim@fluendo.com>
7725 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
7726 (default_have_data), (gst_pad_class_init), (gst_pad_init),
7727 (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
7728 (gst_pad_check_pull_range), (gst_pad_get_range),
7729 (gst_pad_pull_range), (gst_pad_push_event), (gst_pad_send_event):
7731 * gst/gstutils.c: (gst_atomic_int_set), (gst_pad_add_data_probe),
7732 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
7733 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
7734 (gst_pad_remove_buffer_probe):
7735 Removed atomic operations, use existing LOCK.
7736 Move exception handling out of main code path.
7738 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7740 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
7741 (silly_return_true_function), (gst_pad_class_init),
7742 (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
7743 (gst_pad_get_range), (gst_pad_pull_range), (gst_pad_push_event),
7744 (gst_pad_send_event):
7745 Fix accumulator, add default value by using _emitv() instead
7746 of _emit() for signal emission.
7748 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7750 * docs/manual/advanced-dataaccess.xml:
7751 * examples/manual/Makefile.am:
7753 * gst/gstpad.c: (_gst_do_pass_data_accumulator):
7756 2005-06-29 Tim-Philipp Müller <tim at centricular dot net>
7758 * gst/elements/gstfilesink.c: (gst_filesink_render):
7759 Simplify code so that we don't have to handle short
7760 writes and return GST_FLOW_ERROR if an error occured.
7762 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7764 * docs/gst/gstreamer-docs.sgml:
7767 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7769 * docs/gst/gstreamer-sections.txt:
7770 * docs/gst/tmpl/gstpad.sgml:
7771 * docs/gst/tmpl/gstprobe.sgml:
7773 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
7774 (gst_pad_class_init), (gst_pad_init), (gst_pad_chain),
7775 (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
7776 (gst_pad_push_event), (gst_pad_send_event):
7778 * gst/gstutils.c: (gst_pad_add_data_probe),
7779 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
7780 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
7781 (gst_pad_remove_buffer_probe):
7783 Remove old probes, add new g-signal-based probes and some utility
7786 2005-06-29 Edward Hervey <edward@fluendo.com>
7788 * gst/gstelementfactory.c:
7791 Moved gst_element_factory_can_[sink|src]_caps() to gstutils and added
7792 the definition to the header file.
7794 2005-06-29 Andy Wingo <wingo@pobox.com>
7796 * docs/gst/Makefile.am (scan-build.stamp): Totally only check
7797 plugins from the source directory.
7799 2005-06-29 Wim Taymans <wim@fluendo.com>
7801 * docs/gst/tmpl/gstbuffer.sgml:
7802 * docs/gst/tmpl/gstclock.sgml:
7803 Some fixings for blantently wrong text.
7805 2005-06-29 Thomas Vander Stichele <thomas at apestaart dot org>
7807 * check/Makefile.am:
7808 * gst/gst.c: (add_path_func), (init_pre):
7809 * gst/gstregistry.c: (gst_registry_add_path):
7810 add A GST_PLUGIN_PATH_ONLY env var; if it is set, it will
7811 only scan the GST_PLUGIN_PATH locations, and not add
7814 2005-06-29 Thomas Vander Stichele <thomas at apestaart dot org>
7816 * docs/gst/gstreamer-sections.txt:
7817 * docs/gst/tmpl/gstbasesrc.sgml:
7824 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7826 * docs/manual/advanced-autoplugging.xml:
7827 Fix autoplugging example.
7829 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7831 * docs/manual/advanced-autoplugging.xml:
7832 * docs/manual/mime-world.fig:
7833 Try to get autoplugging working, fix type detection. Fix text
7834 in hello-world image.
7836 2005-06-29 Wim Taymans <wim@fluendo.com>
7838 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
7839 (gst_base_sink_change_state):
7843 map SIGNAL and BROADCAST to the right function.
7846 Remove redundant braces.
7848 * gst/gstpad.c: (gst_pad_set_caps):
7849 Don't call setcaps function when reseting caps to NULL.
7851 * gst/gstsystemclock.c: (gst_system_clock_dispose),
7852 (gst_system_clock_async_thread), (gst_system_clock_id_wait_async),
7853 (gst_system_clock_id_unschedule):
7854 Use BROADCAST as this is what we do.
7856 2005-06-29 Wim Taymans <wim@fluendo.com>
7858 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
7859 We are actually prerolling before commiting the state
7862 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7864 * docs/manual/advanced-clocks.xml:
7865 * docs/manual/advanced-interfaces.xml:
7866 * docs/manual/advanced-metadata.xml:
7867 * docs/manual/advanced-position.xml:
7868 * docs/manual/advanced-schedulers.xml:
7869 * docs/manual/advanced-threads.xml:
7870 * docs/manual/appendix-porting.xml:
7871 * docs/manual/basics-bins.xml:
7872 * docs/manual/basics-bus.xml:
7873 * docs/manual/basics-elements.xml:
7874 * docs/manual/basics-helloworld.xml:
7875 * docs/manual/basics-pads.xml:
7876 * docs/manual/highlevel-components.xml:
7877 * docs/manual/manual.xml:
7878 * docs/manual/thread.fig:
7879 Update (until threads/scheduling) Application Development Manual;
7880 remove GstThread, add GstBus, add simple porting checklist, add
7881 documentation for tag writing, clocks, make all examples until this
7882 part compile and run.
7883 * examples/manual/Makefile.am:
7884 Update from changes to Application Development Manual; add bus
7885 example, remove thread example.
7887 2005-06-28 Wim Taymans <wim@fluendo.com>
7889 * gst/gstbus.c: (gst_bus_post), (gst_bus_have_pending),
7890 (gst_bus_set_flushing), (gst_bus_pop), (gst_bus_peek),
7891 (gst_bus_source_dispatch):
7892 Add debugging messages.
7893 Make internal methods static.
7894 Handle the case where the bus is flushed in the handler.
7896 * gst/gstelement.c: (gst_element_get_bus):
7897 Fix refcount in _get_bus();
7899 * gst/gstpipeline.c: (gst_pipeline_change_state),
7900 (gst_pipeline_get_clock_func):
7901 Clock refcounting fixes.
7902 Handle the case where preroll timed out more gracefully.
7904 * gst/gstsystemclock.c: (gst_system_clock_dispose):
7905 Clean up the internal thread in dispose. This is needed
7906 for subclasses that actually get disposed.
7908 * gst/schedulers/threadscheduler.c:
7909 (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
7910 (gst_thread_scheduler_dispose):
7911 Free thread pool in dispose.
7913 2005-06-28 Andy Wingo <wingo@pobox.com>
7915 * tests/network-clock-utils.scm (debug, print-event): New utils.
7917 * tests/network-clock.scm (*debug*, *with-graph*): New parameters.
7918 (*packet-loss*): Unified loss probability.
7919 (network-time): Report out-of-band events.
7921 * tests/plot-data: Add support for out-of-band events. Hack it
7922 into this script instead of passing it down the pipe; should fix
7925 2005-06-28 Wim Taymans <wim@fluendo.com>
7927 * docs/gst/gstreamer.types:
7928 * docs/gst/tmpl/gstbasesrc.sgml:
7929 * docs/gst/tmpl/gstpad.sgml:
7932 2005-06-28 Wim Taymans <wim@fluendo.com>
7934 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
7935 (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_acceptcaps),
7936 (gst_proxy_pad_do_fixatecaps):
7937 Correctly proxy the check_pull_range function.
7939 2005-06-28 Andy Wingo <wingo@pobox.com>
7941 * tests/network-clock.scm: Removed need for slib.
7943 2005-06-28 Wim Taymans <wim@fluendo.com>
7945 * gst/base/gstbasesink.c: (gst_basesink_set_pad_functions),
7946 (gst_basesink_preroll_queue_flush):
7947 * gst/base/gstbasesrc.c: (gst_basesrc_set_dataflow_funcs):
7948 * gst/elements/gsttee.c: (gst_tee_update_pad_functions):
7949 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
7950 (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
7951 (gst_proxy_pad_set_property):
7954 * gst/gstqueue.c: (gst_queue_init):
7955 The deprecated pad loop function is removed now.
7957 2005-06-28 Andy Wingo <wingo@pobox.com>
7959 * tests/network-clock.scm (*timeout*, *send-loss*, *recv-loss*):
7960 New parameters, simulate network packet loss.
7962 * tests/network-clock-utils.scm: Initialize the RNG.
7964 2005-06-28 Wim Taymans <wim@fluendo.com>
7966 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_flush),
7967 (gst_basesink_event), (gst_basesink_deactivate):
7968 Flushing the preroll queue always needs to unlock the waiters.
7970 2005-06-28 Edward Hervey <edward@fluendo.com>
7972 * gst/gstpipeline.c: (gst_pipeline_send_event):
7973 Wheen a seek was successful on a pipeline, set the stream_time to the
7974 seek offset in order to have a synchronized stream_time.
7976 2005-06-28 Wim Taymans <wim@fluendo.com>
7978 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
7979 (gst_proxy_pad_do_getrange), (gst_proxy_pad_do_checkgetrange),
7980 (gst_proxy_pad_do_getcaps), (gst_proxy_pad_do_acceptcaps),
7981 (gst_proxy_pad_do_fixatecaps):
7982 Call wrapper function instead of just calling the function
7983 pointers. This takes care of any locking and whatmore.
7985 2005-06-28 Wim Taymans <wim@fluendo.com>
7987 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push),
7988 (gst_pad_pull_range):
7990 CONNECTED -> LINKED.
7992 2005-06-28 Andy Wingo <wingo@pobox.com>
7994 * *.c: Don't cast to GST_OBJECT when reffing or unreffing. Large
7995 source-munging commit!!!
7997 * gst/gstobject.c (gst_object_unref, gst_object_ref)
7998 (gst_object_sink): Take gpointer arguments, not GstObject --
7999 avoids casts. Like GLib.
8001 * gst/gstghostpad.c (gst_proxy_pad_do_activate): Don't proxy
8004 2005-06-27 Andy Wingo <wingo@pobox.com>
8006 * gst/base/gsttypefindhelper.c (gst_type_find_helper): Unref any
8009 * gst/gsttrace.c (gst_alloc_trace_list_sorted): New helper,
8010 returns a sorted copy of the trace list.
8011 (gst_alloc_trace_print_live): New API, only prints traces with
8012 live objects. Sort the list.
8013 (gst_alloc_trace_print_all): Sort the list.
8014 (gst_alloc_trace_print): Align columns.
8016 * gst/elements/gstttypefindelement.c:
8017 * gst/elements/gsttee.c:
8018 * gst/base/gstbasesrc.c:
8019 * gst/base/gstbasesink.c:
8020 * gst/base/gstbasetransform.c:
8021 * gst/gstqueue.c: Adapt for pad activation changes.
8023 * gst/gstpipeline.c (gst_pipeline_init): Unref after parenting
8025 (gst_pipeline_dispose): Drop ref on sched.
8027 * gst/gstpad.c (gst_pad_init): Set the default activate func.
8028 (gst_pad_activate_default): Push mode by default.
8029 (pre_activate_switch, post_activate_switch): New stubs, things to
8030 do before and after switching activation modes on pads.
8031 (gst_pad_set_active): Take a boolean and not a mode, dispatch to
8032 the pad's activate function to choose which mode to activate.
8033 Shortcut on deactivation and call the right function directly.
8034 (gst_pad_activate_pull): New API, (de)activates a pad in pull
8036 (gst_pad_activate_push): New API, same for push mode.
8037 (gst_pad_set_activate_function)
8038 (gst_pad_set_activatepull_function)
8039 (gst_pad_set_activatepush_function): Setters for new API.
8041 * gst/gstminiobject.c (gst_mini_object_new, gst_mini_object_free):
8042 Trace all miniobjects.
8043 (gst_mini_object_make_writable): Unref the arg if we copy, like
8044 gst_caps_make_writable.
8046 * gst/gstmessage.c (_gst_message_initialize): No trace init.
8048 * gst/gstghostpad.c (gst_proxy_pad_do_activate)
8049 (gst_proxy_pad_do_activatepull, gst_proxy_pad_do_activatepush):
8050 Adapt for new pad API.
8052 * gst/gstevent.c (_gst_event_initialize): Don't initialize trace.
8055 * gst/gstelement.c (gst_element_iterate_src_pads)
8056 (gst_element_iterate_sink_pads): New API functions.
8058 * gst/gstelement.c (iterator_fold_with_resync): New utility,
8059 should fold into gstiterator.c in some form.
8060 (gst_element_pads_activate): Simplified via use of fold and
8061 delegation of decisions to gstpad->activate.
8063 * gst/gstbus.c (gst_bus_source_finalize): Set the bus to NULL,
8066 * gst/gstbuffer.c (_gst_buffer_initialize): Ref the buffer type
8067 class once in init, like gstmessage. Didn't run into this issue
8068 but it seems correct. Don't initialize a trace, gstminiobject does
8071 * check/pipelines/simple_launch_lines.c (test_stop_from_app): New
8072 test, runs fakesrc ! fakesink, stopping on ::handoff via a message
8074 (assert_live_count): New util function, uses alloc traces to check
8077 * check/gst/gstghostpad.c (test_ghost_pads): More refcount checks.
8078 To be modified when unlink drops the internal pad.
8080 2005-06-27 Wim Taymans <wim@fluendo.com>
8082 * gst/gstbin.c: (gst_bin_get_state), (gst_bin_iterate_state_order),
8083 (gst_bin_change_state):
8084 Cleanup the get_state() function a little, make sure it
8085 iterates the same set of elements.
8086 Added stub iterate_state_order().
8088 2005-06-27 Thomas Vander Stichele <thomas at apestaart dot org>
8090 * docs/gst/gstreamer-docs.sgml:
8091 * docs/gst/gstreamer-sections.txt:
8092 * docs/gst/gstreamer.types:
8093 * docs/gst/tmpl/gstbasesink.sgml:
8094 * docs/gst/tmpl/gstbasesrc.sgml:
8095 * docs/gst/tmpl/gstbasetransform.sgml:
8096 * docs/gst/tmpl/gstelement.sgml:
8097 * docs/gst/tmpl/gstiterator.sgml:
8098 * gst/base/gstbasesrc.c:
8099 * gst/base/gstbasesrc.h:
8100 * gst/base/gstbasetransform.h:
8102 * gst/gstiterator.h:
8103 adding basetransform and iterator docs
8105 2005-06-27 Andy Wingo <wingo@pobox.com>
8107 * docs/design/part-activation.txt: Notes on how activation should
8108 work -- not quite implemented yet.
8110 2005-06-25 Wim Taymans <wim@fluendo.com>
8112 * gst/gstghostpad.c: (gst_proxy_pad_do_chain):
8113 At least get the chain function correct, needs more
8116 2005-06-25 Wim Taymans <wim@fluendo.com>
8118 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
8119 (gst_basesink_handle_object), (gst_basesink_event),
8120 (gst_basesink_do_sync), (gst_basesink_handle_event),
8121 (gst_basesink_change_state):
8123 Right, two problems here: ghostpads don't take locks and
8124 glib _rec_mutex_lock_full() with depth==0 still locks.
8125 Catch illegal locking and g_warn them.
8127 2005-06-25 Wim Taymans <wim@fluendo.com>
8129 * check/states/sinks.c: (START_TEST), (gst_object_suite):
8130 Have to check for completion now...
8132 2005-06-25 Wim Taymans <wim@fluendo.com>
8134 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
8135 (gst_basesink_handle_object), (gst_basesink_event),
8136 (gst_basesink_do_sync), (gst_basesink_handle_event),
8137 (gst_basesink_change_state):
8139 Unlock STREAM_LOCK whatever the recursion was.
8141 2005-06-25 Wim Taymans <wim@fluendo.com>
8143 * gst/base/gstbasesink.c: (gst_basesink_set_property),
8144 (gst_basesink_preroll_queue_empty),
8145 (gst_basesink_preroll_queue_flush), (gst_basesink_handle_object),
8146 (gst_basesink_event), (gst_basesink_do_sync),
8147 (gst_basesink_handle_event), (gst_basesink_handle_buffer),
8148 (gst_basesink_chain), (gst_basesink_loop), (gst_basesink_activate),
8149 (gst_basesink_change_state):
8150 Reworked the base sink, handle event and buffer serialisation
8151 correctly and removed possible deadlock.
8152 Handle EOS correctly.
8154 2005-06-25 Wim Taymans <wim@fluendo.com>
8156 * gst/gstpipeline.c: (is_eos), (pipeline_bus_handler),
8157 (gst_pipeline_change_state):
8158 * tools/gst-launch.c: (check_intr), (event_loop), (main):
8159 Allow elements to post EOS in the state change function.
8160 Fix up -launch, make it exit the poll loop when the
8161 pipeline actually changed state.
8162 Fix up warning parsing in -launch.
8164 2005-06-25 Wim Taymans <wim@fluendo.com>
8166 * gst/elements/gsttee.c: (gst_tee_chain), (gst_tee_loop),
8167 (gst_tee_sink_activate):
8168 Core takes STREAM_LOCK for us now.
8170 2005-06-25 Wim Taymans <wim@fluendo.com>
8172 * gst/gstelement.c: (gst_element_get_state_func),
8173 (gst_element_set_state):
8175 * gst/gstmessage.c: (gst_message_parse_error),
8176 (gst_message_parse_warning):
8177 Keep track of current target state while performing a state
8178 change so that subclasses can do something interesting.
8179 Fix parsing of warning/error messages when GError is NULL.
8181 2005-06-24 Thomas Vander Stichele <thomas at apestaart dot org>
8183 * docs/gst/Makefile.am:
8184 * docs/gst/gstreamer-docs.sgml:
8185 * docs/gst/gstreamer-sections.txt:
8186 * docs/gst/gstreamer.types:
8187 * docs/gst/tmpl/gstbasesink.sgml:
8188 * docs/gst/tmpl/gstbasesrc.sgml:
8189 * docs/gst/tmpl/gstbin.sgml:
8190 * docs/gst/tmpl/gstcompat.sgml:
8191 * docs/gst/tmpl/gstfakesink.sgml:
8192 * docs/gst/tmpl/gstfakesrc.sgml:
8193 * docs/gst/tmpl/gstfilesink.sgml:
8194 * docs/gst/tmpl/gstfilesrc.sgml:
8195 * docs/gst/tmpl/gstindex.sgml:
8196 * docs/manual/appendix-quotes.xml:
8197 * gst/base/gstbasesrc.h:
8198 * gst/elements/gstfakesrc.h:
8200 start pulling in base classes and elements in our docs
8202 2005-06-24 Stefan Kost <ensonic@users.sf.net>
8204 * docs/gst/Makefile.am:
8205 * docs/libs/Makefile.am:
8206 fixed make distcheck with gtk-doc 1.3
8208 2005-06-23 Wim Taymans <wim@fluendo.com>
8210 * gst/gstelement.c: (gst_element_get_state_func),
8211 (gst_element_set_state), (gst_element_change_state):
8212 When the state did not change, also report NO_PREROLL
8215 2005-06-23 Wim Taymans <wim@fluendo.com>
8217 * gst/gstpad.c: (gst_pad_event_default):
8218 * gst/gstqueue.c: (gst_queue_loop):
8219 No unsafe task pausing please.
8221 2005-06-23 Wim Taymans <wim@fluendo.com>
8223 * gst/schedulers/threadscheduler.c:
8224 (gst_thread_scheduler_task_start),
8225 (gst_thread_scheduler_task_pause), (gst_thread_scheduler_func):
8226 Ref the task before pushing it on the threadpool. This
8227 makes sure that we have a ref when the threadfunction is
8230 2005-06-23 Andy Wingo <wingo@pobox.com>
8232 * gst/base/gstbasesrc.c (gst_basesrc_get_range): Check if the
8233 offset is greater than the file's size.
8235 * gst/gstobject.h (GST_CLASS_LOCK, GST_CLASS_TRYLOCK)
8236 (GST_CLASS_UNLOCK, GST_CLASS_GET_LOCK, GstObjectClass)
8237 * gst/gstobject.c (gst_object_class_init): Make the class lock
8238 recursive. Wim won't let me drop deep_notify. Decodebin works
8241 * gst/gstghostpad.c (on_int_notify): Catches notify::caps on the
8242 internal pad, and hacks accordingly. Doesn't do it on the target
8243 pad because we change its caps. Probably catches all cases of
8245 (gst_ghost_pad_set_property): Connect to notify::caps as
8248 * tests/network-clock.scm (plot-simulation): Pipe data to the
8249 elite python skript.
8251 * tests/network-clock-utils.scm (define-parameter): New macro,
8252 defines a parameter that can be set via the command line.
8253 (set-parameter!, parse-parameter-arguments): Command line args
8256 * tests/plot-data: Simple matplotlib-based plotter, takes input on
8259 2005-06-23 Jan Schmidt <thaytan@mad.scientist.com>
8261 * gst/elements/gsttypefindelement.c:
8262 (gst_type_find_element_handle_event):
8263 Don't restart typefinding on a discont.
8264 * gst/gstelement.c: (gst_element_set_state):
8266 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_send_event):
8267 Allow changing mode of an active pad.
8269 * gst/registries/gstlibxmlregistry.c: (load_feature):
8270 Don't cast a static pad template to a normal pad template.
8272 2005-06-23 Thomas Vander Stichele <thomas at apestaart dot org>
8274 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
8275 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
8276 remove gst_strtoll completely, since it didn't actually do
8277 anything more than what g_ascii_strtoull already does.
8278 check for range errors when deserializing
8279 do a cast for the unsigned cases; but further fixing needs
8280 a decision on what the interpretation of "(int)" and
8281 deserialization should be for values that fall outside the
8282 type's boundaries (ie, refuse, or interpret as casting)
8284 2005-06-23 Wim Taymans <wim@fluendo.com>
8286 * check/Makefile.am:
8287 * check/states/sinks.c: (START_TEST), (gst_object_suite), (main):
8288 * docs/design/part-live-source.txt:
8289 * docs/design/part-states.txt:
8290 * gst/base/gstbasesrc.c: (gst_basesrc_init),
8291 (gst_basesrc_set_live), (gst_basesrc_is_live),
8292 (gst_basesrc_get_range), (gst_basesrc_activate),
8293 (gst_basesrc_change_state):
8294 * gst/base/gstbasesrc.h:
8295 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
8296 (gst_fakesrc_set_property), (gst_fakesrc_get_property):
8297 * gst/gstbin.c: (gst_bin_get_state), (gst_bin_change_state):
8298 * gst/gstelement.c: (gst_element_get_state_func),
8299 (gst_element_set_state):
8302 * tools/gst-launch.c: (event_loop), (main):
8303 Added support for live sources and other elements that
8305 Updated design docs, added live-source design doc.
8306 Implemented live source functionality in basesrc
8307 Fix error condition in _bin_get_state()
8308 Implement live source handling in -launch.
8309 Added check for live sources.
8310 Fixed case in GstBin where elements were changed state
8314 2005-06-23 Andy Wingo <wingo@pobox.com>
8316 * check/gst/gstpad.c (test_get_allowed_caps, test_refcount): Fix
8319 * gst/gstpad.c (gst_pad_set_caps): Remove needless refs,
8320 gst_caps_replace takes care of this for us.
8322 * gst/gstghostpad.c (gst_proxy_pad_do_setcaps): Call the full
8323 gst_pad_set_caps on the target, not just its setcaps() function.
8325 * tests/network-clock.scm:
8326 * tests/network-clock-utils.scm: A network clock simulator.
8327 Something of an algorithmic testbed before doing something in C.
8329 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
8331 * check/Makefile.am:
8332 * check/gst/capslist.h:
8333 copy over from 0.8, and add two with bitmasks specified with
8335 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
8336 add test to parse everything from capslist.h
8337 * check/gst/gststructure.c: (START_TEST), (gst_value_suite),
8339 add test for structure deserialization
8340 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
8341 add tests for deserialization of strings to int types
8342 * gst/gststructure.c: (gst_structure_nth_field_name):
8343 * gst/gststructure.h:
8344 add a way to get the name of a field referenced by index
8345 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
8346 instead of checking if the resulting long long lies between
8347 min and max, we check if the long long would fit into
8348 a number of bytes for the final type.
8349 This fixes cases where a string represents 2^32 - 1, which
8350 when cast to int would be the (valid) -1, but is bigger than
8353 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
8355 * gst/parse/grammar.y:
8356 add a log line for type deserialization
8358 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
8360 * check/gst/gstvalue.c: (START_TEST):
8361 * gst/gstvalue.c: (gst_value_deserialize):
8362 return long long, not int, so gint64 deserialization actually
8363 works. Is there any flag that makes the compiler check this ?
8366 2005-06-22 Wim Taymans <wim@fluendo.com>
8369 Added convenience macros for setting buffers in GValue.
8371 2005-06-21 Thomas Vander Stichele <thomas at apestaart dot org>
8373 * check/gst/.cvsignore:
8374 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
8375 add a test deserializing int64, and comment part out because
8378 2005-06-21 Thomas Vander Stichele <thomas at apestaart dot org>
8380 * check/Makefile.am:
8381 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite), (main):
8382 * testsuite/Makefile.am:
8383 * testsuite/caps/Makefile.am:
8384 * testsuite/caps/value_serialize.c:
8385 * testsuite/test_gst_init.c:
8386 move a value_serialize test over
8388 2005-06-20 Wim Taymans <wim@fluendo.com>
8393 * gst/gstvalue.c: (gst_value_compare_buffer),
8394 (gst_value_serialize_buffer), (gst_value_deserialize_buffer),
8395 (gst_value_compare_flags), (gst_value_serialize_flags),
8396 (gst_value_deserialize_flags), (_gst_value_initialize):
8397 Fix serialisation of buffers, they are not boxed types anymore
8399 2005-06-20 Wim Taymans <wim@fluendo.com>
8401 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
8402 Testcase to show error in buffer-on-caps serialisation.
8404 2005-06-20 Andy Wingo <wingo@pobox.com>
8406 * docs/random/wingo/porting-plugins-to-0.9: A pitiful document I
8407 will be adding to later.
8409 * gst/gstsystemclock.c (gst_system_clock_init): Unlock the clock
8410 if its socks fill with rocks.
8411 (gst_system_clock_obtain): Set the name on object construction.
8412 Avoid double-checked locking.
8414 2005-06-20 Tim-Philipp Müller <tim at centricular dot net>
8416 * gst/gsturi.c: (gst_element_make_from_uri):
8417 Fix potential endless loop.
8419 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
8421 * check/Makefile.am:
8423 * check/gst/gsttag.c: (check_tags), (START_TEST), (gst_tag_suite),
8425 move over from testsuite dir and clean up
8428 * testsuite/Makefile.am:
8429 * testsuite/tags/.cvsignore:
8430 * testsuite/tags/Makefile.am:
8431 * testsuite/tags/merge.c:
8432 remove testsuite/tags
8434 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
8436 * docs/gst/gstreamer-sections.txt:
8437 * docs/gst/tmpl/gstenumtypes.sgml:
8438 * win32/gstenumtypes.c:
8439 clean up documentation build a little
8441 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
8444 add macros for checking refcounts on objects and caps
8445 * check/gst/gstpad.c: (START_TEST), (gst_pad_suite):
8446 add some more unit tests
8447 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
8448 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_allowed_caps):
8449 fix leaked refcounts (I hope :)) so unittest works
8453 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
8455 * configure.ac: back to HEAD
8457 === release 0.9.1 ===
8459 2005-06-17 Thomas Vander Stichele <thomas at apestaart dot org>
8465 2005-06-17 Andy Wingo <wingo@pobox.com>
8467 * gst/base/gstbasesink.c (gst_basesink_chain): Remove bogus
8468 assert; it's always possible that the pad gets deactivated in
8469 between the checks in gstpad.c and the implementation. Rely on
8470 finish_preroll() to return a FLUSHING or similar instead of on the
8473 * gst/base/gstbasesink.c (gst_basesink_event): Only wait for the
8474 clock and post an EOS message if we come out of finish_preroll in
8477 2005-06-16 David Schleef <ds@schleef.org>
8479 * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
8480 (gst_capsfilter_set_property): Allow NULL as possible value
8481 for filter_caps property, indicating GST_CAPS_ANY.
8483 2005-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
8485 * gst/elements/gstfakesrc.c: (gst_fakesrc_create):
8487 * gst/schedulers/Makefile.am:
8489 * gstreamer.spec.in:
8492 2005-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
8494 * gstreamer.spec.in:
8497 2005-06-08 Andy Wingo <wingo@pobox.com>
8499 * gst/gstutils.c: RPAD fixes all around.
8500 (gst_element_link_pads): Refcounting fixes.
8502 * tools/gst-inspect.c:
8503 * tools/gst-xmlinspect.c:
8505 * gst/base/gsttypefindhelper.c:
8506 * gst/base/gstbasesink.c:
8507 * gst/gstqueue.c: RPAD fixes.
8509 * gst/gstghostpad.h:
8510 * gst/gstghostpad.c: New ghost pad implementation as full proxy
8511 pads. The tricky thing is they provide both source and sink
8512 interfaces, since they proxy the internal pad for the external
8513 pad, and vice versa. Implement with lower-level ProxyPad objects,
8514 with the interior proxy pad as a child of the exterior ghost pad.
8515 Should write a doc on this.
8517 * gst/gstpad.h: s/RPAD/PAD/, s/RealPad/Pad/.
8518 (gst_pad_set_name, gst_pad_set_parent): Macros removed, use
8521 * gst/gstpad.c: Big changes. No more stub base GstPad, now all
8522 pads are real pads. No ghost pads in this file. Not documenting
8523 the myriad s/RPAD/PAD/ and REALIZE fixes.
8524 (gst_pad_class_init): Add properties for "direction" and
8525 "template". Both are construct-only, so they can't change during
8526 the life of the pad. Fixes properly deriving from GstPad.
8527 (gst_pad_custom_new, gst_pad_custom_new_from_template): Gone. For
8528 derived objects, just set properties when creating the objects via
8530 (gst_pad_get_parent): Implement as a function, return NULL if the
8531 parent is not an element.
8532 (gst_pad_get_real_parent, gst_pad_add_ghost_pad)
8533 (gst_pad_remove_ghost_pad, gst_pad_realize): Removed.
8535 * gst/gstobject.c (gst_object_class_init): Make name a construct
8536 property. Don't set it in the object init.
8538 * gst/gstelement.c (gst_element_add_pad): Don't allow adding pads
8539 with UNKNOWN direction.
8540 (gst_element_add_ghost_pad): Remove non-orthogonal API. Replace
8541 with gst_element_add_pad (e, gst_ghost_pad_new (name, pad)).
8542 (gst_element_remove_pad): Remove ghost-pad special cases.
8543 (gst_element_pads_activate): Remove rpad cruft.
8545 * gst/gstbin.c (gst_bin_change_state): Use gst_pad_get_parent to
8546 catch the pad's-parent-not-an-element case.
8548 * gst/gst.h: Include gstghostpad.h.
8550 * gst/gst.c (init_post): No more real, ghost pads.
8552 * gst/Makefile.am: Add gstghostpad.[ch].
8554 * check/Makefile.am:
8555 * check/gst/gstbin.c:
8556 * check/gst/gstghostpad.c (test_ghost_pads): Check that linking
8557 into a bin creates ghost pads, and that the refcounts are right.
8558 Partly moved from gstbin.c.
8560 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
8562 * check/gst-libs/.cvsignore:
8563 * check/gst/.cvsignore:
8564 * check/pipelines/.cvsignore:
8566 * check/pipelines/cleanup.c: (setup_pipeline), (run_pipeline),
8567 (START_TEST), (cleanup_suite), (main):
8568 add some tests related to cleanup after running pipelines
8570 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
8572 * check/gst/gstbuffer.c: (START_TEST), (gst_test_suite), (main):
8573 add a testsuite for GstBuffer
8575 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
8577 * gst/gstminiobject.h:
8578 add defines for accessing the refcount
8580 2005-06-03 Stefan Kost <ensonic@users.sf.net>
8582 * Makefile.am: added support for html unit test coverage reports
8584 2005-06-03 Jan Schmidt <thaytan@mad.scientist.com>
8586 * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
8587 Free existing caps if the capsfilter changes. Add a FIXME about
8588 setting those caps on the pads.
8590 * gst/gstutils.c: (gst_element_get_compatible_pad), (ghost_up):
8591 Before adding a ghost pad to a parent bin, check that there isn't
8592 already one for the element on the bin. Prevents infinite recursion
8593 when using decodebin in parse pipelines. Andy says he'll rewrite the
8594 way this works anyway, so ignore the hack.
8596 2005-06-02 Andy Wingo <wingo@pobox.com>
8598 * gst/elements/gsttypefindelement.c (do_pull_typefind): Query the
8599 file size, pass it on to the type find helper.
8601 * gst/base/gstbasesrc.c (gst_basesrc_do_seek): Set the
8602 segment_start and segment_end properly according to the seek
8603 method. Segment_end is still a bit flaky because offset can be
8604 negative for CUR and END cases, but it takes -1 as an "unset"
8607 2005-06-02 Wim Taymans <wim@fluendo.com>
8609 * gst/base/gstbasesink.c: (gst_basesink_pad_buffer_alloc),
8610 (gst_base_sink_buffer_alloc), (gst_basesink_preroll_queue_push),
8611 (gst_basesink_activate):
8612 * gst/base/gstbasesink.h:
8613 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
8614 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
8615 (gst_pad_query), (gst_pad_start_task):
8617 * gst/gstqueue.c: (gst_queue_bufferalloc),
8618 (gst_queue_handle_sink_event), (gst_queue_chain):
8619 Bufferalloc: return GstFlowReturn to more accuratly report
8620 why allocation failed.
8622 2005-06-02 Wim Taymans <wim@fluendo.com>
8624 * gst/gstpipeline.c: (gst_pipeline_send_event):
8625 Take snapshot of state without blocking.
8627 2005-06-02 Wim Taymans <wim@fluendo.com>
8629 * docs/design/part-TODO.txt:
8630 * docs/design/part-caps.txt:
8631 * docs/design/part-clocks.txt:
8632 * docs/design/part-negotiation.txt:
8633 * docs/design/part-preroll.txt:
8636 2005-05-30 Wim Taymans <wim@fluendo.com>
8638 * gst/elements/gstidentity.c: (gst_identity_event),
8639 (gst_identity_transform), (gst_identity_get_property):
8640 Protect last_message property as it is accessed from
8643 2005-05-30 Wim Taymans <wim@fluendo.com>
8645 * gst/gstelement.c: (gst_element_init),
8646 (gst_element_pads_activate), (gst_element_change_state):
8647 Slicker pad activation code.
8649 2005-05-30 Wim Taymans <wim@fluendo.com>
8653 * gst/gstelementfactory.h:
8655 Move elementfactory methods to separate .h file.
8657 2005-05-30 Wim Taymans <wim@fluendo.com>
8659 * docs/design/part-overview.txt:
8660 * gst/gstsystemclock.h:
8661 Small typo fixes, doc updates.
8663 2005-05-30 Wim Taymans <wim@fluendo.com>
8665 * gst/gst.c: (gst_init_get_popt_table), (init_post),
8666 (init_popt_callback):
8667 Remove cpu-opt flag.
8669 2005-05-30 Wim Taymans <wim@fluendo.com>
8671 * gst/gstbuffer.c: (gst_subbuffer_finalize),
8672 (gst_buffer_create_sub), (gst_buffer_is_span_fast):
8674 Avoid typechecking in places where not needed.
8675 Added accessor for malloc_data.
8677 2005-05-30 Wim Taymans <wim@fluendo.com>
8679 * gst/gstpad.c: (gst_real_pad_init), (gst_pad_set_active),
8680 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_accept_caps),
8681 (gst_pad_configure_sink), (gst_pad_configure_src),
8682 (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_send_event),
8683 (gst_pad_start_task):
8684 Propagate errors from _set_caps() in configure_src/sink
8685 functions instead of returning TRUE.
8686 FLUSH events can travel up and downstream
8689 2005-05-30 Wim Taymans <wim@fluendo.com>
8691 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
8692 (gst_basesink_activate):
8693 Handle EOS in preroll.
8695 2005-05-30 Wim Taymans <wim@fluendo.com>
8697 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
8698 (gst_queue_loop), (gst_queue_handle_src_event):
8699 Remove old pieces of code
8700 Flushing the queue in an upstream event is a very bad idea.
8702 2005-05-26 Andy Wingo <wingo@pobox.com>
8704 * gst/gstminiobject.c (gst_value_mini_object_collect): Use
8705 gst_value_set_mini_object so as to add a ref on the object (which
8706 will be removed when the value is unset).
8708 * gst/elements/gstfakesink.c (gst_fakesink_class_init): Fix signal
8709 arg type in ::handoff.
8711 * gst/gstelement.c (gst_element_change_state): Also deactivate
8712 pads in READY->NULL, just in case the element didn't make it to
8713 PAUSED. Wingo tested, Wim approved.
8715 2005-05-26 Wim Taymans <wim@fluendo.com>
8717 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
8718 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
8719 (gst_pad_query), (gst_pad_send_event), (gst_pad_start_task):
8720 A flushing pad cannot be used to alloc_buffer from.
8722 2005-05-26 Wim Taymans <wim@fluendo.com>
8724 * gst/gstbus.c: (gst_bus_init), (gst_bus_dispose), (gst_bus_post),
8725 (gst_bus_pop), (gst_bus_source_prepare), (gst_bus_source_check),
8726 (gst_bus_source_dispatch), (gst_bus_source_finalize),
8727 (gst_bus_create_watch), (gst_bus_add_watch_full):
8729 Implement a real GSource and use g_main_context_wakeup() to
8730 signal new messages instead of the socketpair.
8732 2005-05-25 Wim Taymans <wim@fluendo.com>
8734 * gst/gstbin.c: (bin_element_is_sink), (has_ancestor),
8735 (bin_element_is_semi_sink), (append_child), (gst_bin_change_state):
8736 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
8737 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
8738 (gst_pad_send_event), (gst_pad_start_task):
8739 * gst/gstqueue.c: (gst_queue_init), (gst_queue_locked_flush),
8740 (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
8741 (gst_queue_sink_activate), (gst_queue_src_activate),
8742 (gst_queue_change_state):
8744 Fix state changes for non sinks. We now change sinks, then elements
8745 with unconnected srcpads, then the rest.
8746 More efficient queue unlocking in flush and state changes.
8747 Set the pad activate mode even if it does not have an activate
8750 2005-05-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8752 * gst/base/gstbasesrc.c: (gst_basesrc_activate):
8753 Don't go in pull mode for non-seekable sources.
8754 * gst/elements/gsttypefindelement.h:
8755 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
8756 (gst_type_find_element_dispose), (gst_type_find_handle_src_query),
8757 (free_entry), (stop_typefinding),
8758 (gst_type_find_element_handle_event), (find_peek),
8759 (gst_type_find_element_chain), (do_pull_typefind),
8760 (gst_type_find_element_change_state):
8761 Allow typefinding (w/o seeking) in push-mode, simplified version
8763 * gst/gstutils.c: (gst_buffer_join):
8765 gst_buffer_join() from 0.8.
8767 2005-05-25 Wim Taymans <wim@fluendo.com>
8769 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
8770 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
8771 (gst_pad_send_event), (gst_pad_start_task):
8772 Disable attempt at mode switching until it is figured out.
8774 2005-05-25 Wim Taymans <wim@fluendo.com>
8776 * gst/base/gstadapter.c: (gst_adapter_peek), (gst_adapter_flush):
8777 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
8778 (gst_basesink_finish_preroll), (gst_basesink_chain),
8779 (gst_basesink_loop), (gst_basesink_activate),
8780 (gst_basesink_change_state):
8781 * gst/base/gstbasesrc.c: (gst_basesrc_do_seek),
8782 (gst_basesrc_get_range), (gst_basesrc_loop),
8783 (gst_basesrc_activate):
8784 * gst/elements/gsttee.c: (gst_tee_sink_activate):
8785 * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
8786 (gst_real_pad_init), (gst_real_pad_set_property),
8787 (gst_real_pad_get_property), (gst_pad_set_active),
8788 (gst_pad_is_active), (gst_pad_get_query_types), (gst_pad_unlink),
8789 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_real_parent),
8790 (gst_real_pad_get_caps_unlocked), (gst_pad_peer_get_caps),
8791 (gst_pad_accept_caps), (gst_pad_get_peer), (gst_pad_realize),
8792 (gst_pad_event_default_dispatch), (gst_pad_event_default),
8793 (gst_pad_dispatcher), (gst_pad_query), (gst_real_pad_dispose),
8794 (gst_pad_save_thyself), (handle_pad_block), (gst_pad_chain),
8795 (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
8796 (gst_pad_send_event), (gst_pad_start_task), (gst_pad_pause_task),
8797 (gst_pad_stop_task):
8799 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
8800 (gst_queue_loop), (gst_queue_src_activate):
8801 * gst/gsttask.c: (gst_task_init), (gst_task_set_lock),
8802 (gst_task_get_state):
8804 * gst/schedulers/threadscheduler.c:
8805 (gst_thread_scheduler_task_start), (gst_thread_scheduler_func):
8806 Implement gst_pad_pause/start/stop_task(), take STREAM lock
8808 Remove ACTIVE pad flag, use FLUSHING everywhere
8809 Added _pad_chain(), _pad_get_range() to call chain/getrange
8811 Add locks around IS_FLUSHING when reading.
8812 Take STREAM lock in chain(), get_range() functions so plugins
8813 don't need to take it anymore.
8817 2005-05-25 Wim Taymans <wim@fluendo.com>
8819 * tools/gst-launch.c: (event_loop):
8820 Unref message after using its contents instead of
8823 2005-05-24 Wim Taymans <wim@fluendo.com>
8825 * docs/design/draft-ghostpads.txt:
8826 * docs/design/draft-push-pull.txt:
8827 * docs/design/draft-query.txt:
8828 * docs/design/part-overview.txt:
8829 Docs updates, added general overview doc.
8831 2005-05-21 David Schleef <ds@schleef.org>
8833 * docs/gst/tmpl/old/GstBin.sgml:
8834 * docs/gst/tmpl/old/GstBuffer.sgml:
8835 * docs/gst/tmpl/old/GstCaps.sgml:
8836 * docs/gst/tmpl/old/GstClock.sgml:
8837 * docs/gst/tmpl/old/GstCompat.sgml:
8838 * docs/gst/tmpl/old/GstData.sgml:
8839 * docs/gst/tmpl/old/GstElement.sgml:
8840 * docs/gst/tmpl/old/GstEvent.sgml:
8841 * docs/gst/tmpl/old/GstIndex.sgml:
8842 * docs/gst/tmpl/old/GstStructure.sgml:
8843 * docs/gst/tmpl/old/GstTag.sgml:
8844 * docs/gst/tmpl/old/cothreads.sgml:
8845 * docs/gst/tmpl/old/cothreads_compat.sgml:
8846 * docs/gst/tmpl/old/gettext.sgml:
8847 * docs/gst/tmpl/old/gobject2gtk.sgml:
8848 * docs/gst/tmpl/old/grammar.tab.sgml:
8849 * docs/gst/tmpl/old/gst-i18n-app.sgml:
8850 * docs/gst/tmpl/old/gst-i18n-lib.sgml:
8851 * docs/gst/tmpl/old/gst_private.sgml:
8852 * docs/gst/tmpl/old/gstaggregator.sgml:
8853 * docs/gst/tmpl/old/gstarch.sgml:
8854 * docs/gst/tmpl/old/gstatomic_impl.sgml:
8855 * docs/gst/tmpl/old/gstbufferstore.sgml:
8856 * docs/gst/tmpl/old/gstdata_private.sgml:
8857 * docs/gst/tmpl/old/gstdisksink.sgml:
8858 * docs/gst/tmpl/old/gstdisksrc.sgml:
8859 * docs/gst/tmpl/old/gstelementfactory.sgml:
8860 * docs/gst/tmpl/old/gstextratypes.sgml:
8861 * docs/gst/tmpl/old/gstfakesink.sgml:
8862 * docs/gst/tmpl/old/gstfakesrc.sgml:
8863 * docs/gst/tmpl/old/gstfdsink.sgml:
8864 * docs/gst/tmpl/old/gstfdsrc.sgml:
8865 * docs/gst/tmpl/old/gstfilesink.sgml:
8866 * docs/gst/tmpl/old/gstfilesrc.sgml:
8867 * docs/gst/tmpl/old/gsthttpsrc.sgml:
8868 * docs/gst/tmpl/old/gstidentity.sgml:
8869 * docs/gst/tmpl/old/gstindexfactory.sgml:
8870 * docs/gst/tmpl/old/gstmarshal.sgml:
8871 * docs/gst/tmpl/old/gstmd5sink.sgml:
8872 * docs/gst/tmpl/old/gstmultidisksrc.sgml:
8873 * docs/gst/tmpl/old/gstmultifilesrc.sgml:
8874 * docs/gst/tmpl/old/gstpadtemplate.sgml:
8875 * docs/gst/tmpl/old/gstpipefilter.sgml:
8876 * docs/gst/tmpl/old/gstschedulerfactory.sgml:
8877 * docs/gst/tmpl/old/gstsearchfuncs.sgml:
8878 * docs/gst/tmpl/old/gstshaper.sgml:
8879 * docs/gst/tmpl/old/gstspider.sgml:
8880 * docs/gst/tmpl/old/gstspideridentity.sgml:
8881 * docs/gst/tmpl/old/gststatistics.sgml:
8882 * docs/gst/tmpl/old/gsttee.sgml:
8883 * docs/gst/tmpl/old/gsttimecache.sgml:
8884 * docs/gst/tmpl/old/gsttypefindfactory.sgml:
8885 * docs/gst/tmpl/old/gstxmlregistry.sgml:
8886 * docs/gst/tmpl/old/gthread-cothreads.sgml:
8887 * docs/gst/tmpl/old/types.sgml:
8888 I didn't intend to add these or check them in.
8890 2005-05-19 David Schleef <ds@schleef.org>
8892 * configure.ac: Use -no-common everywhere. In a sane world, it
8893 would be the default in libtool, because without it, you can't
8894 build DLLs on Windows.
8895 * docs/gst/gstreamer-docs.sgml: Remove GstCpu, GstData, GstThread
8896 * docs/gst/gstreamer-sections.txt:
8897 * docs/gst/tmpl/gstcpu.sgml:
8898 * docs/gst/tmpl/gstdata.sgml:
8899 * docs/gst/tmpl/gstthread.sgml:
8901 2005-05-19 David Schleef <ds@schleef.org>
8903 * gst/gstminiobject.c: (gst_value_set_mini_object),
8904 (gst_value_take_mini_object), (gst_value_get_mini_object):
8905 * gst/gstminiobject.h: Add GValue set/get functions.
8907 2005-05-19 Wim Taymans <wim@fluendo.com>
8909 * gst/gstbuffer.c: (gst_buffer_init), (gst_subbuffer_get_type),
8910 (gst_subbuffer_class_init), (gst_subbuffer_finalize),
8911 (gst_subbuffer_init), (gst_buffer_is_span_fast):
8913 * gst/gstbus.c: (gst_bus_post):
8914 * gst/gstelement.c: (gst_element_get_random_pad):
8915 * gst/gstmessage.c: (gst_message_init), (gst_message_finalize):
8916 Make subbufer unref the parent in finalize.
8917 some more debugging info.
8920 2005-05-19 Wim Taymans <wim@fluendo.com>
8922 * gst/base/gstbasesink.c: (gst_basesink_class_init),
8923 (gst_basesink_init), (gst_basesink_finalize),
8924 (gst_basesink_activate), (gst_basesink_change_state):
8925 Don't free preroll queue too early.
8927 2005-05-19 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8931 Hi, I'm outdated. Please shoot me.
8933 2005-05-19 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8935 * gst/gstpipeline.c: (gst_pipeline_send_event):
8936 Do not access variables after they have been deleted.
8938 2005-05-19 Wim Taymans <wim@fluendo.com>
8940 * tools/gst-inspect.c: (print_plugin_features):
8941 A plugin feature does unfortunatly not use the
8944 2005-05-18 Wim Taymans <wim@fluendo.com>
8946 * gst/gstbuffer.c: (gst_buffer_is_span_fast), (gst_buffer_span):
8947 Port _span() functions to new subbuffers.
8949 2005-05-18 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8951 * gst/gstbin.c: (gst_bin_add_func):
8952 Fix clock settery in bins when adding kids after the clock has
8955 2005-05-18 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8957 * gst/elements/gstidentity.c: (gst_identity_class_init):
8958 Workaround until signals support GstMiniObject.
8960 2005-05-18 Jan Schmidt <thaytan@mad.scientist.com>
8963 Oops, fix a typo GST_TYPE_BUFFER -> GST_TYPE_SUBBUFFER.
8965 2005-05-18 Wim Taymans <wim@fluendo.com>
8967 * gst/base/Makefile.am:
8968 * gst/base/gstadapter.c: (gst_adapter_base_init),
8969 (gst_adapter_class_init), (gst_adapter_init),
8970 (gst_adapter_dispose), (gst_adapter_finalize), (gst_adapter_new),
8971 (gst_adapter_clear), (gst_adapter_push), (gst_adapter_peek),
8972 (gst_adapter_flush), (gst_adapter_available),
8973 (gst_adapter_available_fast):
8974 * gst/base/gstadapter.h:
8975 Ported and added adapter to the base classes.
8977 2005-05-17 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
8981 Make sure the class is reffed/unreffed once before threads can be
8982 used. Fixes #304551.
8984 2005-05-17 Wim Taymans <wim@fluendo.com>
8986 * gst/base/gstbasesink.c: (gst_basesink_finish_preroll),
8987 (gst_basesink_chain_unlocked), (gst_basesink_activate):
8988 * gst/gstminiobject.c: (gst_mini_object_get_type),
8989 (gst_mini_object_free):
8990 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query),
8991 (gst_pad_push), (gst_pad_push_event):
8992 * gst/gstqueue.c: (gst_queue_change_state):
8993 Don't queue buffers in basesink when we are flushing.
8994 Unref buffer when flushing in basesink.
8995 Flush queue when going to READY
8996 Unref buffer when _push() returns an error.
8997 Don't free MiniObject instance when refcount is incremented
8998 in _finalize() so that we can recover objects.
9000 2005-05-17 Thomas Vander Stichele <thomas at apestaart dot org>
9002 * docs/manual/advanced-schedulers.xml:
9003 * docs/manual/appendix-checklist.xml:
9004 * docs/pwg/advanced-clock.xml:
9005 * docs/pwg/advanced-interfaces.xml:
9006 * docs/pwg/advanced-request.xml:
9007 * docs/pwg/advanced-types.xml:
9008 * docs/pwg/intro-preface.xml:
9009 * examples/plugins/example.c: (gst_example_get_type),
9010 (gst_example_class_init), (gst_example_chain),
9011 (gst_example_set_property), (gst_example_get_property),
9012 (gst_example_change_state), (plugin_init):
9013 * examples/plugins/example.h:
9016 2005-05-17 Wim Taymans <wim@fluendo.com>
9018 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps),
9019 (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_push):
9020 * gst/gstqueue.c: (gst_queue_change_state):
9021 Clear queue when going to READY.
9022 Remove IN_SETCAPS flag too.
9024 2005-05-17 Tim-Philipp Müller <tim at centricular dot net>
9026 * gst/base/gstbasesrc.c: (gst_basesrc_change_state):
9027 Remove implicit cast from gboolean to GstElementStateReturn;
9028 make sure we still return failure in paused => ready case if
9029 the parent class fails to change state and our own stop
9032 2005-05-17 Wim Taymans <wim@fluendo.com>
9034 * tools/gst-launch.c: (event_loop):
9035 Message was unreffed too soon.
9037 2005-05-16 Andy Wingo <wingo@pobox.com>
9039 * gst/gstbin.c (sink_iterator_filter): Err... um...
9041 * check/gst/gstbin.c (test_ghost_pads): New test for the
9042 ghosting-if-elements-not-in-same-bin behavior.
9044 2005-05-16 David Schleef <ds@schleef.org>
9046 * gst/gstminiobject.c: Use g_atomic_int_get() instead of
9047 accessing refcount directly.
9049 2005-05-15 David Schleef <ds@schleef.org>
9051 * check/Makefile.am: remove GstData checks
9052 * check/gst-libs/gdp.c: (START_TEST): fix for API changes
9053 * gst/Makefile.am: add miniobject, remove data
9054 * gst/gst.h: add miniobject, remove data
9055 * gst/gstdata.c: remove
9056 * gst/gstdata.h: remove
9057 * gst/gstdata_private.h: remove
9058 * gst/gsttypes.h: remove GstEvent and GstMessage
9059 * gst/gstelement.c: (gst_element_post_message): fix for API changes
9060 * gst/gstmarshal.list: change BOXED -> OBJECT
9062 Implement GstMiniObject.
9063 * gst/gstminiobject.c:
9064 * gst/gstminiobject.h:
9066 Modify to be subclasses of GstMiniObject.
9067 * gst/gstbuffer.c: (_gst_buffer_initialize), (gst_buffer_get_type),
9068 (gst_buffer_class_init), (gst_buffer_finalize), (_gst_buffer_copy),
9069 (gst_buffer_init), (gst_buffer_new), (gst_buffer_new_and_alloc),
9070 (gst_subbuffer_get_type), (gst_subbuffer_init),
9071 (gst_buffer_create_sub), (gst_buffer_is_span_fast),
9074 * gst/gstevent.c: (_gst_event_initialize), (gst_event_get_type),
9075 (gst_event_class_init), (gst_event_init), (gst_event_finalize),
9076 (_gst_event_copy), (gst_event_new):
9078 * gst/gstmessage.c: (_gst_message_initialize),
9079 (gst_message_get_type), (gst_message_class_init),
9080 (gst_message_init), (gst_message_finalize), (_gst_message_copy),
9081 (gst_message_new), (gst_message_new_error),
9082 (gst_message_new_warning), (gst_message_new_tag),
9083 (gst_message_new_state_changed), (gst_message_new_application):
9085 * gst/gstprobe.c: (gst_probe_perform),
9086 (gst_probe_dispatcher_dispatch):
9088 * gst/gstquery.c: (_gst_query_initialize), (gst_query_get_type),
9089 (gst_query_class_init), (gst_query_finalize), (gst_query_init),
9090 (_gst_query_copy), (gst_query_new):
9092 Update elements for GstData -> GstMiniObject changes
9094 * gst/gstqueue.c: (gst_queue_finalize), (gst_queue_locked_flush),
9095 (gst_queue_chain), (gst_queue_loop):
9096 * gst/elements/gstbufferstore.c:
9097 (gst_buffer_store_add_buffer_func),
9098 (gst_buffer_store_cleared_func), (gst_buffer_store_get_buffer):
9099 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
9100 (gst_fakesink_render):
9101 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
9102 * gst/elements/gstfilesrc.c: (gst_mmap_buffer_get_type),
9103 (gst_mmap_buffer_class_init), (gst_mmap_buffer_init),
9104 (gst_mmap_buffer_finalize), (gst_filesrc_map_region),
9105 (gst_filesrc_create_read):
9106 * gst/elements/gstidentity.c: (gst_identity_class_init):
9107 * gst/elements/gsttypefindelement.c:
9108 (gst_type_find_element_src_event), (free_entry_buffers),
9109 (gst_type_find_element_handle_event):
9110 * libs/gst/dataprotocol/dataprotocol.c:
9111 (gst_dp_header_from_buffer):
9112 * libs/gst/dataprotocol/dataprotocol.h:
9113 * libs/gst/dataprotocol/dp-private.h:
9115 2005-05-15 David Schleef <ds@schleef.org>
9117 * gst/elements/gstelements.c: Don't include headers that were
9120 2005-05-15 David Schleef <ds@schleef.org>
9122 * gst/elements/Makefile.am: Remove some elements that don't
9123 need to be in the core (or even exist at all).
9124 * gst/elements/gstaggregator.c:
9125 * gst/elements/gstaggregator.h:
9126 * gst/elements/gstmd5sink.c:
9127 * gst/elements/gstmd5sink.h:
9128 * gst/elements/gstmultifilesrc.c:
9129 * gst/elements/gstmultifilesrc.h:
9130 * gst/elements/gstpipefilter.c:
9131 * gst/elements/gstpipefilter.h:
9132 * gst/elements/gstshaper.c:
9133 * gst/elements/gstshaper.h:
9134 * gst/elements/gststatistics.c:
9135 * gst/elements/gststatistics.h:
9136 * po/POTFILES.in: Remove above files.
9138 2005-05-14 Andy Wingo <wingo@pobox.com>
9140 * gst/gstbin.c (gst_bin_iterate_sinks): Use sink_iterator_filter
9141 so as to get the refs right.
9142 (sink_iterator_filter): New function, wraps bin_element_is_sink,
9143 unreffing objects that don't pass the filter.
9145 * gst/gstpipeline.c (gst_pipeline_init): Drop ref on bus after
9146 gst_element_set_bus.
9147 (gst_pipeline_dispose): Set the bus on the pipeline to NULL. In
9148 normal cases, this will destroy the bus.
9150 * gst/gstutils.c (prepare_link_maybe_ghosting): Drop ref on root
9153 * gst/gstbin.c (gst_bin_change_state): Fix state changes if a bin
9156 2005-05-13 Andy Wingo <wingo@pobox.com>
9158 * gst/gstutils.c (gst_element_link_pads): Instead of calling
9159 gst_pad_link, call pad_link_maybe_ghosting,
9160 (pad_link_maybe_ghosting): Links pads, making sure that the
9161 elements being linked are in the same bin.
9162 (find_common_root, object_has_ancestor, ghost_up, remove_pad):
9163 Helpers for pad_link_maybe_ghosting.
9165 2005-05-13 Tim-Philipp Müller <tim at centricular dot net>
9168 Require GLib >= 2.4.0 (for the g_atomic_* funcs)
9170 2005-05-13 Tim-Philipp Müller <tim at centricular dot net>
9172 * docs/design/part-element-source.txt:
9175 2005-05-12 Wim Taymans <wim@fluendo.com>
9177 * gst/base/gstbasesink.c: (gst_basesink_init),
9178 (gst_basesink_activate):
9179 * gst/base/gstbasesrc.c: (gst_basesrc_unlock),
9180 (gst_basesrc_is_seekable):
9181 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
9182 (bin_element_is_sink), (gst_bin_change_state):
9183 * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
9185 Identify sinks by their flag to avoid overly complicated
9187 Do state changes even for elements not reachable from the
9189 BaseSink is a sink now :)
9190 Some more debugging info in the basesrc.
9193 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
9195 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_query):
9196 Implement _query on a bin, similar to _send_event.
9198 2005-05-12 Tim-Philipp Müller <tim at centricular dot net>
9200 * gst/base/gstbasesrc.c: (gst_basesrc_do_seek):
9201 Discont event offset format should be GST_FORMAT_BYTES,
9202 not GST_FORMAT_TIME.
9204 2005-05-12 Wim Taymans <wim@fluendo.com>
9206 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_get_state):
9207 Same fix as Ronald's but without the signal.
9209 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
9211 * gst/gstutils.c: (gst_element_query_position):
9212 No, an element is not a pad.
9214 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
9216 * gst/gstbin.c: (gst_bin_add_func), (cb_parent_unset),
9217 (gst_bin_get_state):
9218 If a child is removed from a bin while we remove the child from
9219 the bin and while we're retrieving its state, signal this to the
9220 get_state function so we abort the wait (instead of waiting for
9221 a timeout) and can immediately re-iterate over all other elements.
9223 2005-05-12 Wim Taymans <wim@fluendo.com>
9225 * gst/base/Makefile.am:
9226 * gst/base/gstbasesrc.c: (gst_basesrc_is_seekable),
9227 (gst_basesrc_start):
9228 * gst/base/gstbasesrc.h:
9229 * gst/base/gstpushsrc.c: (gst_pushsrc_get_type),
9230 (gst_pushsrc_base_init), (gst_pushsrc_class_init),
9231 (gst_pushsrc_init), (gst_pushsrc_create):
9232 * gst/base/gstpushsrc.h:
9233 Added is_seekable to BaseSrc
9234 Added simple PushSrc.
9236 2005-05-11 Wim Taymans <wim@fluendo.com>
9238 * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
9239 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
9240 (gst_element_link_pads), (gst_element_query_position),
9241 (gst_element_query_convert), (intersect_caps_func),
9242 (gst_pad_query_position), (gst_pad_query_convert):
9243 Fix refcounting in utils function.
9244 No point in trying to activate a pad when it's added, it could
9245 be added from the state change function and then we deadlock, the
9246 element has to decide what to do.
9248 2005-05-10 Andy Wingo <wingo@pobox.com>
9250 * gst/elements/gstfakesink.c (gst_fakesink_render): Er, emit with
9251 *all* the arguments.
9253 * gst/base/gstbasetransform.c (gst_base_transform_event): Grab the
9254 stream lock if it's a FLUSH_DONE; normal flushes don't get the
9255 lock (according to the docs -- if this is wrong change the docs).
9257 * gst/gstpipeline.c (gst_pipeline_change_state): Set the bus to
9258 flush messages in the NULL state.
9260 * gst/gstbus.c (gst_bus_post): If a bus is flushing, unref the
9261 message immediately and return.
9262 (gst_bus_set_flushing): New function. If a bus is flushing, it
9263 flushes out any queued messages and immediately unrefs new
9264 messages. This is so when an element goes to NULL, all of the
9265 unhandled messages coming from it can be freed, and their
9266 references to the element dropped. In other words: message source
9267 ref considered harmful :P
9269 * gst/gstbin.c (gst_bin_change_state): Unref peer element when
9270 we're finished with it.
9272 * gst/gstmessage.c (gst_message_new_state_changed):
9274 2005-05-10 Wim Taymans <wim@fluendo.com>
9276 * gst/gstvalue.c: (gst_value_compare_flags),
9277 (gst_value_serialize_flags), (gst_value_deserialize_flags),
9278 (_gst_value_initialize):
9279 Added flags serialize/deserialize/compare code.
9281 2005-05-09 Andy Wingo <wingo@pobox.com>
9283 * gst/base/gstbasetransform.c (gst_base_transform_proxy_getcaps):
9284 Intersect the peer's caps with our caps.
9286 2005-05-09 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
9288 * gst/base/gsttypefindhelper.c: (helper_find_peek):
9289 * gst/elements/gsttypefindelement.c: (find_peek):
9290 Handle negative offsets better. Fixes decodebin.
9292 2005-05-09 Wim Taymans <wim@fluendo.com>
9294 * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps),
9295 (gst_base_transform_event):
9296 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query):
9297 Implement accept_caps.
9298 Fix silly lock/unlock mismatch in base class.
9300 2005-05-09 Wim Taymans <wim@fluendo.com>
9302 * docs/design/draft-push-pull.txt:
9303 * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_query):
9304 * gst/elements/gstfilesink.c: (gst_filesink_init),
9305 (gst_filesink_query):
9306 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
9307 (gst_type_find_handle_src_query), (find_element_get_length):
9308 * gst/gstelement.c: (gst_element_seek), (gst_element_query):
9312 * gst/gstpad.c: (gst_real_pad_init), (gst_pad_get_query_types),
9313 (gst_real_pad_get_caps_unlocked),
9314 (gst_pad_get_internal_links_default), (gst_pad_get_internal_links),
9315 (gst_pad_event_default_dispatch), (gst_pad_event_default),
9316 (gst_pad_dispatcher), (gst_pad_query), (gst_pad_query_default),
9317 (gst_real_pad_dispose), (gst_real_pad_finalize),
9318 (gst_pad_load_and_link), (gst_pad_save_thyself),
9319 (gst_ghost_pad_save_thyself), (handle_pad_block), (gst_pad_push),
9320 (gst_pad_check_pull_range), (gst_pad_pull_range),
9321 (gst_pad_template_get_type), (gst_pad_template_class_init),
9322 (gst_pad_template_init), (gst_pad_template_dispose),
9323 (name_is_valid), (gst_static_pad_template_get),
9324 (gst_pad_template_new), (gst_static_pad_template_get_caps),
9325 (gst_pad_template_get_caps), (gst_pad_set_element_private),
9326 (gst_pad_get_element_private), (gst_pad_start_task),
9327 (gst_pad_pause_task), (gst_pad_stop_task),
9328 (gst_ghost_pad_get_type), (gst_ghost_pad_class_init),
9329 (gst_ghost_pad_init), (gst_ghost_pad_dispose),
9330 (gst_ghost_pad_set_property), (gst_ghost_pad_get_property),
9331 (gst_ghost_pad_new):
9333 * gst/gstquery.c: (_gst_query_initialize), (gst_query_new),
9334 (gst_query_new_position), (gst_query_set_position),
9335 (gst_query_parse_position), (gst_query_new_convert),
9336 (gst_query_set_convert), (gst_query_parse_convert):
9338 * gst/gstqueryutils.c:
9339 * gst/gstqueryutils.h:
9340 * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
9341 (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
9342 (gst_queue_handle_src_query):
9343 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
9344 (gst_element_query_position), (gst_element_query_convert),
9345 (intersect_caps_func), (gst_pad_query_position),
9346 (gst_pad_query_convert):
9348 * tools/gst-inspect.c: (print_pad_info):
9349 * tools/gst-xmlinspect.c: (print_element_info):
9350 Remove old query functions. Ported old code.
9351 Added position/convert helper functions to gstutils.
9352 Reordered gstpad.c code, grouping relevant things.
9353 Remove gst_message_new(), always need to speficy a specific
9357 2005-05-09 Andy Wingo <wingo@pobox.com>
9359 * gst/gstiterator.h: Add some includes.
9361 * gst/gstqueryutils.h: Include more headers.
9364 * gst/gstpad.c (gst_pad_query_position): New routine, replaces
9365 some uses of gst_pad_query.
9367 * gst/gstqueryutils.c: Build fixes. Make parse functions ignore
9368 NULL out parameters.
9369 (gst_query_new_position): New proc, allocates a new position
9372 * gst/Makefile.am (libgstreamer_@GST_MAJORMINOR@_la_SOURCES): Add
9373 gstqueryutils.c to the build.
9375 * gst/gststructure.c (gst_structure_set_valist): Implement with
9376 the generic G_VALUE_COLLECT.
9378 2005-05-08 Edward Hervey <bilboed@bilboed.com>
9380 * gst/Makefile.am: (gst_headers):
9381 Added gstqueryutils.h to the list of headers to install, that was
9382 a 'nachty' move wingo :)
9384 2005-05-06 Andy Wingo <wingo@pobox.com>
9387 * gst/gstquery.c (_gst_query_initialize): Extend GstQuery from
9388 GstData, init a memchunk.
9389 (standard_definitions): Add a few query types, deprecate a few.
9390 (gst_query_get_type): New proc.
9391 (_gst_query_copy, _gst_query_free, gst_query_new): GstData
9393 (gst_query_new_application, gst_query_get_structure): New public
9396 * docs/design/draft-query.txt: Removed LINKS from the query types,
9397 because all the rest can be dispatched to other pads -- seemed
9398 ugly to have a query that couldn't be dispatched. internal_links
9399 is fine as a pad method.
9401 * gst/gstpad.h: Add query2 as a pad method, add the new functions
9402 in gstpad.c, but maintain binary compatibility for the moment.
9403 Will fix before 0.9 is out.
9405 * gst/gstqueryutils.c:
9406 * gst/gstqueryutils.h: New files, implement 3 methods for each
9407 query type: parse_query, parse_response, and set. Probably need an
9410 * gst/gst.h: Add gstquery.h and gstqueryutils.h to the list.
9412 * gst/elements/gstfilesink.c (gst_filesink_query2):
9413 * gst/base/gstbasesrc.c (gst_basesrc_query2): Replace old query,
9414 query_types, and formats methods.
9416 * gst/gstpad.c (gst_pad_query2, gst_pad_query2_default)
9417 (gst_pad_set_query2_function): New functions.
9418 (gst_real_pad_init): Set query2_default as the default query2
9419 function. Basically just dispatches to internally linked pads.
9423 * gst/gstdata_private.h (_GST_DATA_INIT): Set data->refcount to 1
9424 without using the atomic operations. Only one thread can possibly
9425 be accessing the data at this point. Changed so as to avoid
9426 gst_atomic operations.
9428 2005-05-06 Wim Taymans <wim@fluendo.com>
9430 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push):
9431 Also set caps if we use the fallback buffer alloc.
9433 2005-05-06 Tim-Philipp Müller <tim at centricular dot net>
9435 * docs/gst/Makefile.am:
9436 * docs/gst/gstreamer-docs.sgml:
9437 * docs/gst/gstreamer-sections.txt:
9438 * docs/gst/tmpl/gstatomic.sgml:
9439 * docs/gst/tmpl/gstmemchunk.sgml:
9440 * testsuite/elements/struct_i386.h:
9441 * win32/GStreamer.vcproj:
9443 Purge GstAtomic stuff from docs and win32 makefiles as well
9445 2005-05-06 Wim Taymans <wim@fluendo.com>
9447 * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps):
9448 * gst/elements/gstcapsfilter.c: (gst_capsfilter_getcaps):
9449 * gst/gstpad.c: (gst_pad_peer_get_caps):
9450 * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
9451 (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
9452 (gst_queue_src_activate), (gst_queue_change_state):
9454 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
9455 (intersect_caps_func):
9456 Fix gst_pad_peer_get_caps(), make it return NULL if no peer.
9457 Always take QUEUE_LOCK after STREAM_LOCK or we might deadlock.
9458 Some fixes for the peer_get_caps() change.
9460 2005-05-06 Wim Taymans <wim@fluendo.com>
9462 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
9463 (gst_basesink_handle_buffer), (gst_basesink_chain_unlocked),
9464 (gst_basesink_activate):
9465 Actually do something with error codes returned from the push
9468 2005-05-06 Wim Taymans <wim@fluendo.com>
9470 * docs/design/part-element-sink.txt:
9471 * docs/design/part-element-source.txt:
9472 * gst/base/gstbasesink.c: (gst_basesink_class_init),
9473 (gst_basesink_event), (gst_basesink_activate):
9474 * gst/base/gstbasesink.h:
9475 * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_unlock),
9476 (gst_basesrc_activate):
9477 * gst/base/gstbasesrc.h:
9478 * gst/gstelement.c: (gst_element_pads_activate):
9479 Some more documentation.
9480 Fixed scheduling decision in _pads_activate().
9482 2005-05-05 Andy Wingo <wingo@pobox.com>
9484 * check/pipelines/simple_launch_lines.c (test_2_elements): "Fix"
9487 2005-05-05 Wim Taymans <wim@fluendo.com>
9489 * gst/base/Makefile.am:
9490 * gst/base/gstbasesink.h:
9491 * gst/base/gstbasesrc.c: (gst_basesrc_init),
9492 (gst_basesrc_set_dataflow_funcs), (gst_basesrc_query):
9493 * gst/base/gstcollectpads.c: (gst_collectpads_get_type),
9494 (gst_collectpads_class_init), (gst_collectpads_init),
9495 (gst_collectpads_finalize), (gst_collectpads_new),
9496 (gst_collectpads_set_function), (gst_collectpads_add_pad),
9497 (find_pad), (gst_collectpads_remove_pad),
9498 (gst_collectpads_is_active), (gst_collectpads_collect),
9499 (gst_collectpads_collect_range), (gst_collectpads_start),
9500 (gst_collectpads_stop), (gst_collectpads_peek),
9501 (gst_collectpads_pop), (gst_collectpads_available),
9502 (gst_collectpads_read), (gst_collectpads_flush),
9503 (gst_collectpads_chain):
9504 * gst/base/gstcollectpads.h:
9505 * gst/elements/Makefile.am:
9506 * gst/elements/gstelements.c:
9507 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
9508 (gst_fakesink_get_times), (gst_fakesink_event),
9509 (gst_fakesink_preroll), (gst_fakesink_render):
9510 * gst/elements/gstfilesink.c: (gst_filesink_class_init),
9511 (gst_filesink_init), (gst_filesink_set_location),
9512 (gst_filesink_open_file), (gst_filesink_close_file),
9513 (gst_filesink_pad_query), (gst_filesink_event),
9514 (gst_filesink_render), (gst_filesink_change_state):
9515 * gst/elements/gstfilesink.h:
9516 Added object to help in making collect pad based elements.
9518 Make event function in sink baseclass return gboolean.
9520 2005-05-05 Wim Taymans <wim@fluendo.com>
9522 * gst/gstbin.c: (gst_bin_send_event), (compare_name),
9523 (gst_bin_get_by_name):
9525 * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_class_init),
9526 (gst_clock_finalize):
9527 * gst/gstdata.c: (gst_data_replace):
9529 * gst/gstelement.c: (gst_element_request_pad),
9530 (gst_element_pads_activate):
9531 * gst/gstobject.c: (gst_object_init), (gst_object_ref),
9533 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
9534 (gst_pad_set_checkgetrange_function),
9535 (gst_pad_link_check_compatible_unlocked), (gst_pad_set_caps),
9536 (gst_pad_check_pull_range), (gst_pad_pull_range),
9537 (gst_static_pad_template_get_caps), (gst_pad_start_task),
9538 (gst_pad_pause_task), (gst_pad_stop_task):
9539 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
9540 (gst_element_request_pad), (gst_pad_proxy_getcaps):
9541 Fix name lookup in GstBin.
9542 Added _data_replace() function and _buffer_replace()
9543 Use finalize method to clean up clock.
9544 Fix refcounting on request pads.
9545 Fix pad schedule mode error.
9546 Some more object refcounting debug info,
9549 2005-05-04 Andy Wingo <wingo@pobox.com>
9551 * check/Makefile.am:
9552 * docs/gst/tmpl/gstatomic.sgml:
9553 * docs/gst/tmpl/gstplugin.sgml:
9554 * gst/base/gstbasesink.c: (gst_basesink_activate):
9555 * gst/base/gstbasesrc.c: (gst_basesrc_class_init),
9556 (gst_basesrc_init), (gst_basesrc_set_dataflow_funcs),
9557 (gst_basesrc_query), (gst_basesrc_set_property),
9558 (gst_basesrc_get_property), (gst_basesrc_check_get_range),
9559 (gst_basesrc_activate):
9560 * gst/base/gstbasesrc.h:
9561 * gst/base/gstbasetransform.c: (gst_base_transform_sink_activate),
9562 (gst_base_transform_src_activate):
9563 * gst/elements/gstelements.c:
9564 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
9565 (gst_fakesrc_set_property), (gst_fakesrc_get_property):
9566 * gst/elements/gsttee.c: (gst_tee_sink_activate):
9567 * gst/elements/gsttypefindelement.c: (find_element_get_length),
9568 (gst_type_find_element_checkgetrange),
9569 (gst_type_find_element_activate):
9570 * gst/gstbin.c: (gst_bin_save_thyself), (gst_bin_restore_thyself):
9571 * gst/gstcaps.c: (gst_caps_do_simplify), (gst_caps_save_thyself),
9572 (gst_caps_load_thyself):
9573 * gst/gstelement.c: (gst_element_pads_activate),
9574 (gst_element_save_thyself), (gst_element_restore_thyself):
9575 * gst/gstpad.c: (gst_pad_load_and_link), (gst_pad_save_thyself),
9576 (gst_ghost_pad_save_thyself), (gst_pad_check_pull_range):
9578 * gst/gstxml.c: (gst_xml_write), (gst_xml_parse_doc),
9579 (gst_xml_parse_file), (gst_xml_parse_memory),
9580 (gst_xml_get_element), (gst_xml_make_element):
9581 * gst/indexers/gstfileindex.c: (gst_file_index_load),
9582 (_file_index_id_save_xml), (gst_file_index_commit):
9583 * gst/registries/gstlibxmlregistry.c: (read_string), (read_uint),
9584 (read_enum), (load_pad_template), (load_feature), (load_plugin),
9586 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_caps),
9587 (gst_dp_packet_from_event), (gst_dp_caps_from_packet):
9588 * tools/gst-complete.c: (main):
9589 * tools/gst-compprep.c: (main):
9590 * tools/gst-inspect.c: (print_element_properties_info):
9591 * tools/gst-launch.c: (xmllaunch_parse_cmdline):
9592 * tools/gst-xmlinspect.c: (print_element_properties):
9595 2005-05-03 Thomas Vander Stichele <thomas at apestaart dot org>
9597 * gst/gstplugin.c: (gst_plugin_check_module),
9598 (gst_plugin_check_file), (gst_plugin_load_file):
9599 apply patch from #172526 to make register work on MacOSX
9601 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
9603 * docs/gst/tmpl/gstconfig.sgml:
9604 * gst/gstconfig.h.in:
9605 move documentation for some symbols. Add doc for GST_PTR_FORMAT
9606 * testsuite/debug/printf_extension.c: (main):
9607 Do not use GST_PTR_FORMAT on pointers to types with
9608 sizeof < sizeof(gpointer). Fixes test on 64-bit
9609 * testsuite/elements/property.h:
9610 use correct printf format
9612 2005-05-02 Wim Taymans <wim@fluendo.com>
9614 * docs/design/draft-push-pull.txt:
9615 * docs/design/draft-query.txt:
9616 * gst/base/gstbasesrc.c: (gst_basesrc_get_range_unlocked),
9617 (gst_basesrc_start):
9618 Added draft for new query API.
9619 Added draft for better selecting scheduling methods.
9620 Make basesrc ignore length if the subclass does not support
9623 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
9626 possible fixes for automake-1.5 - _LIBADD is reserved
9628 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
9630 * docs/faq/Makefile.am:
9631 * docs/manual/Makefile.am:
9633 * docs/pwg/Makefile.am:
9635 possible fixes for automake-1.5
9637 2005-04-28 Wim Taymans <wim@fluendo.com>
9639 * gst/base/gstbasesink.c: (gst_basesink_base_init),
9640 (gst_basesink_pad_getcaps), (gst_basesink_init),
9641 (gst_basesink_do_sync):
9642 * gst/gstclock.c: (gst_clock_entry_new):
9643 * gst/gstevent.c: (gst_event_discont_get_value):
9644 * gst/gstpipeline.c: (pipeline_bus_handler),
9645 (gst_pipeline_change_state):
9646 * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
9647 Better debugging of clocking info.
9648 Allow NULL values when getting discont values.
9650 2005-04-27 Wim Taymans <wim@fluendo.com>
9652 * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
9653 * check/gst/gstpad.c: (gst_pad_suite):
9654 Increase timeout for checks.
9656 2005-04-27 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
9658 * check/Makefile.am:
9659 fix the broken rule for cleanup. Apparently this rule is
9660 only needed on FC2, so maybe this warrants further autotool
9663 2005-04-26 Wim Taymans <wim@fluendo.com>
9665 * gst/gsttrashstack.h:
9666 Ooohh. a nasty one! After having a failed pop() from the stack,
9667 it's possible that the stack is empty. In that case, don't
9668 follow the NULL pointer.
9670 2005-04-25 Wim Taymans <wim@fluendo.com>
9672 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
9673 (gst_pad_set_checkgetrange_function),
9674 (gst_pad_link_check_compatible_unlocked), (gst_pad_link_prepare),
9675 (gst_pad_check_pull_range), (gst_pad_pull_range),
9676 (gst_static_pad_template_get_caps), (gst_pad_start_task),
9677 (gst_pad_pause_task), (gst_pad_stop_task):
9678 * gst/gstplugin.c: (gst_plugin_load):
9680 Remove gst_library_load as it does more harm than good with
9681 the new g_module flags.
9682 Revert bogus caps template check in pad linking, pad caps
9683 are important when linking not the template, which is more
9684 general than the current caps.
9686 2005-04-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
9688 * gst/autoplug/.cvsignore:
9689 * gst/autoplug/Makefile.am:
9690 * gst/autoplug/gstsearchfuncs.c:
9691 * gst/autoplug/gstsearchfuncs.h:
9692 * gst/autoplug/gstspider.c:
9693 * gst/autoplug/gstspider.h:
9694 * gst/autoplug/gstspideridentity.c:
9695 * gst/autoplug/gstspideridentity.h:
9696 * gst/autoplug/spidertest.c:
9699 2005-04-25 Wim Taymans <wim@fluendo.com>
9701 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
9702 (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
9703 (gst_pad_pull_range), (gst_static_pad_template_get_caps),
9704 (gst_pad_start_task), (gst_pad_pause_task), (gst_pad_stop_task):
9706 Added stubs for unimplemented functions.
9708 2005-04-24 David Schleef <ds@schleef.org>
9710 * gst/gstpad.h: Disable some unimplemented functions. Wim,
9713 2005-04-24 David Schleef <ds@schleef.org>
9715 Convert everything from GstAtomicInt to g_atomic_int_*, and
9720 * gst/gstatomic_impl.h:
9728 * gst/gstdata_private.h:
9735 * gst/gststructure.c:
9736 * gst/gststructure.h:
9737 * gst/gstutils.c: Add gst_atomic_int_set() compaitibility function.
9740 2005-04-24 David Schleef <ds@schleef.org>
9742 * check/gst/gstpad.c: (START_TEST): Oh yeah, it's always nice to
9743 make the regressions tests work. Remove some code that is no
9745 * gst/gstpad.c: (gst_pad_link_check_templates_compatible_unlocked):
9746 Disable warning for pads without templates.
9748 2005-04-24 David Schleef <ds@schleef.org>
9750 * gst/gstpad.c: Remove handling of filtered caps. Fix/merge
9751 functions that handle filtered links.
9752 * gst/gstpad.h: Remove 'appfilter' field and prototypes of
9754 * gst/gstutils.c: Fix/remove utility functions that handle
9757 * gst/gstvalue.c: Add serialization/deserialization of caps
9758 * gst/parse/grammar.y: Ignore filtered caps when linking. This
9759 requires fixing so that the filter caps notation creates
9760 a capsfilter element and sets the filter_caps property. I
9761 think everyone probably wants to keep the shorthand notation.
9762 * docs/gst/tmpl/gstelement.sgml: updates for API changes.
9763 * docs/gst/tmpl/gstpad.sgml:
9765 * gst/elements/gstelements.c: Register capsfilter element.
9766 * gst/Makefile.am: fix spacing
9767 * docs/random/ds/0.9-suggested-changes: random
9769 2005-04-23 David Schleef <ds@schleef.org>
9771 * gst/elements/Makefile.am:
9772 * gst/elements/gstcapsfilter.c: New element that acts like an
9773 identity, but filters caps. Will eventually replace filtered
9774 caps in pad linking.
9775 * gst/gstutils.c: (gst_element_create_all_pads): New function
9776 to create all the ALWAYS pads that are registered with an
9777 element class. This functionality should eventually be
9778 merged in with GstElement initialization.
9780 * testsuite/trigger/README: part of trigger test code that should
9781 have been checked in a long time ago.
9783 2005-04-23 David Schleef <ds@schleef.org>
9785 * gst/Makefile.am: Remove as-libtool stuff. It's likely not
9786 needed with new versions of libtool (nobody will confirm this),
9787 and hard to carry around.
9788 * gst/autoplug/Makefile.am:
9789 * gst/base/Makefile.am:
9790 * gst/elements/Makefile.am:
9791 * gst/indexers/Makefile.am:
9792 * gst/schedulers/Makefile.am:
9793 * libs/gst/bytestream/Makefile.am:
9794 * libs/gst/control/Makefile.am:
9795 * libs/gst/dataprotocol/Makefile.am:
9796 * libs/gst/getbits/Makefile.am:
9798 2005-04-21 Wim Taymans <wim@fluendo.com>
9800 * docs/design/draft-push-pull.txt:
9801 * docs/design/part-MT-refcounting.txt:
9802 * docs/design/part-TODO.txt:
9803 * docs/design/part-caps.txt:
9804 * docs/design/part-events.txt:
9805 * docs/design/part-gstbus.txt:
9806 * docs/design/part-gstpipeline.txt:
9807 * docs/design/part-messages.txt:
9808 * docs/design/part-push-pull.txt:
9809 * docs/design/part-query.txt:
9812 2005-04-21 Wim Taymans <wim@fluendo.com>
9814 * gst/gstmessage.c: (_gst_message_copy), (_gst_message_free),
9815 (gst_message_new), (gst_message_new_error),
9816 (gst_message_new_warning), (gst_message_new_tag),
9817 (gst_message_new_state_changed), (gst_message_new_application),
9818 (gst_message_get_structure):
9820 * gst/gststructure.c: (gst_structure_set_parent_refcount),
9821 (gst_structure_copy_conditional):
9822 Use parent refcount in GstMessage to ensure GstStructure
9824 Cleaned up headers a bit.
9827 2005-04-20 Wim Taymans <wim@fluendo.com>
9829 * gst/base/gstbasesink.c: (gst_basesink_base_init),
9830 (gst_basesink_pad_getcaps), (gst_basesink_init),
9831 (gst_basesink_chain_unlocked):
9832 * gst/base/gsttypefindhelper.c: (helper_find_suggest),
9833 (gst_type_find_helper):
9834 * gst/elements/gsttypefindelement.c:
9835 (gst_type_find_element_have_type), (gst_type_find_element_init),
9836 (stop_typefinding), (gst_type_find_element_handle_event),
9837 (find_suggest), (gst_type_find_element_chain),
9838 (gst_type_find_element_checkgetrange),
9839 (gst_type_find_element_getrange), (do_typefind),
9840 (gst_type_find_element_activate):
9841 * gst/gstbuffer.c: (_gst_buffer_sub_free),
9842 (gst_buffer_default_free), (gst_buffer_default_copy),
9843 (gst_buffer_set_caps):
9844 * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref),
9846 * gst/gstmessage.c: (gst_message_new),
9847 (gst_message_new_state_changed):
9848 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
9849 (gst_pad_set_checkgetrange_function),
9850 (gst_pad_link_prepare_filtered), (gst_pad_relink_filtered),
9851 (gst_pad_set_caps), (gst_pad_check_pull_range),
9852 (gst_pad_pull_range), (gst_static_pad_template_get_caps):
9854 * gst/gsttypefind.c: (gst_type_find_register):
9855 Make gst_caps_replace() work like other _replace() functions.
9856 Use _caps_replace() where possible.
9857 Make sure _message_new() initialises its field.
9858 Add gst_static_pad_template_get_caps()
9861 2005-04-18 Andy Wingo <wingo@pobox.com>
9863 * gst/gstelement.c (gst_element_pads_activate): Check pull_range
9864 on the peer, not the pad. I think that was a typo. Pass an extra
9865 arg to see if random access is possible. Activate the pads as
9866 PULL_RANGE if possible.
9868 * gst/elements/gstfakesrc.c: s/ARG_/PROP_/.
9870 * gst/base/gstbasesrc.c (gst_basesrc_set_property)
9871 (gst_basesrc_get_property): BLOCKSIZE is a ULONG. Rename ARG_...
9874 2005-04-14 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
9876 * docs/faq/using.xml:
9877 Add note on gstreamer-properties (#154996).
9879 2005-04-13 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
9881 * docs/random/bbb/optional-properties:
9882 Some analysis on optional properties.
9884 2005-04-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
9886 * docs/gst/tmpl/gstelementfactory.sgml:
9888 * gst/gstelementfactory.c: (gst_element_factory_init),
9889 (gst_element_factory_cleanup), (gst_element_register),
9890 (__gst_element_factory_add_static_pad_template),
9891 (gst_element_factory_get_static_pad_templates),
9892 (gst_element_factory_can_src_caps),
9893 (gst_element_factory_can_sink_caps):
9894 * gst/registries/Makefile.am:
9895 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_get_type),
9896 (gst_xml_registry_class_init), (gst_xml_registry_init),
9897 (gst_xml_registry_new), (gst_xml_registry_set_property),
9898 (gst_xml_registry_get_property), (get_time), (make_dir),
9899 (gst_xml_registry_get_perms_func),
9900 (plugin_times_older_than_recurse), (plugin_times_older_than),
9901 (gst_xml_registry_open_func), (gst_xml_registry_load_func),
9902 (gst_xml_registry_save_func), (gst_xml_registry_close_func),
9903 (add_to_char_array), (read_string), (read_uint), (read_enum),
9904 (load_pad_template), (load_feature), (load_plugin), (load_paths),
9905 (gst_xml_registry_load), (gst_xml_registry_load_plugin),
9906 (gst_xml_registry_save_caps), (gst_xml_registry_save_pad_template),
9907 (gst_xml_registry_save_feature), (gst_xml_registry_save_plugin),
9908 (gst_xml_registry_save), (gst_xml_registry_rebuild_recurse),
9909 (gst_xml_registry_rebuild):
9910 * gst/registries/gstlibxmlregistry.h:
9911 * tools/gst-compprep.c: (main):
9912 * tools/gst-inspect.c: (print_pad_templates_info):
9913 * tools/gst-xmlinspect.c: (print_element_info):
9914 Use libxml2 for registry parsing, use staticpadtemplates in
9915 elementfactories. Makes gst_init() +/- 10x faster.
9917 2005-04-12 Wim Taymans <wim@fluendo.com>
9919 * gst/base/Makefile.am:
9920 * gst/base/gstbasesink.c: (gst_basesink_base_init),
9921 (gst_basesink_pad_getcaps), (gst_basesink_init),
9922 (gst_basesink_event), (gst_basesink_change_state):
9923 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
9924 (gst_basesrc_init), (gst_basesrc_query),
9925 (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
9926 (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
9927 (gst_basesrc_check_get_range), (gst_basesrc_loop),
9928 (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
9929 (gst_basesrc_stop), (gst_basesrc_activate),
9930 (gst_basesrc_change_state):
9931 * gst/base/gsttypefindhelper.c: (helper_find_peek),
9932 (helper_find_suggest), (gst_type_find_helper):
9933 * gst/base/gsttypefindhelper.h:
9934 * gst/elements/Makefile.am:
9935 * gst/elements/gstelements.c:
9936 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
9937 (gst_fakesink_get_times), (gst_fakesink_event),
9938 (gst_fakesink_preroll), (gst_fakesink_render):
9939 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
9940 (gst_fakesrc_init), (gst_fakesrc_event_handler),
9941 (gst_fakesrc_get_property), (gst_fakesrc_create),
9942 (gst_fakesrc_start), (gst_fakesrc_stop):
9943 * gst/elements/gstfakesrc.h:
9944 * gst/elements/gstfilesrc.c: (gst_filesrc_class_init),
9945 (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
9946 (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
9947 (gst_filesrc_create_read), (gst_filesrc_create),
9948 (gst_filesrc_is_seekable), (gst_filesrc_get_size),
9949 (gst_filesrc_start):
9950 * gst/elements/gsttypefindelement.c:
9951 (gst_type_find_element_have_type), (gst_type_find_element_init),
9952 (start_typefinding), (stop_typefinding), (push_buffer_store),
9953 (gst_type_find_element_handle_event),
9954 (gst_type_find_element_chain),
9955 (gst_type_find_element_checkgetrange),
9956 (gst_type_find_element_getrange), (do_typefind),
9957 (gst_type_find_element_activate),
9958 (gst_type_find_element_change_state):
9959 * gst/elements/gsttypefindelement.h:
9960 * gst/gstpipeline.c: (pipeline_bus_handler):
9961 Added typefind helper.
9962 Small preroll fix in the base sink.
9963 Disable typefind code in basesrc.
9964 Crude port of typefindelement.
9968 2005-04-11 Wim Taymans <wim@fluendo.com>
9970 * check/gst/gstbus.c: (gstbus_suite):
9971 * check/gst/gstdata.c: (thread_ref), (gst_data_suite):
9973 Fix up the timeout so that the test does not fail.
9975 2005-04-06 Wim Taymans <wim@fluendo.com>
9978 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
9979 (gst_basesrc_init), (gst_basesrc_get_formats), (gst_basesrc_query),
9980 (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
9981 (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
9982 (gst_basesrc_check_get_range), (gst_basesrc_loop),
9983 (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
9984 (gst_basesrc_stop), (gst_basesrc_activate),
9985 (gst_basesrc_change_state), (basesrc_find_peek),
9986 (basesrc_find_suggest), (gst_basesrc_type_find):
9987 * gst/base/gstbasesrc.h:
9988 * gst/elements/gstfilesrc.c: (gst_filesrc_base_init),
9989 (gst_filesrc_class_init), (gst_filesrc_init),
9990 (gst_filesrc_finalize), (gst_filesrc_set_location),
9991 (gst_filesrc_set_property), (gst_filesrc_get_property),
9992 (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
9993 (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
9994 (gst_filesrc_create_read), (gst_filesrc_create),
9995 (gst_filesrc_get_size), (gst_filesrc_start), (gst_filesrc_stop):
9996 * gst/elements/gstfilesrc.h:
9997 * gst/gstelement.c: (gst_element_get_state_func),
9998 (gst_element_lost_state), (gst_element_pads_activate):
9999 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
10000 (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
10001 (gst_pad_pull_range):
10003 More work on the generic source base class, implement seeking,
10005 Make filesrc extend the base source class.
10006 Added gst_pad_set_checkgetrange_function to GstPad.
10008 2005-04-06 Andy Wingo <wingo@pobox.com>
10010 * pkgconfig/gstreamer-base.pc.in:
10011 * pkgconfig/gstreamer-base-uninstalled.pc.in: New files.
10013 * pkgconfig/Makefile.am:
10014 * configure.ac (AC_OUTPUT): Add gstreamer-base pkgconfig files.
10016 2005-04-04 Wim Taymans <wim@fluendo.com>
10018 * gst/base/Makefile.am:
10020 * gst/base/gstbasesink.c: (gst_basesink_base_init),
10021 (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
10022 (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
10023 (gst_basesink_do_sync), (gst_basesink_chain_unlocked):
10024 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
10025 (gst_basesrc_base_init), (gst_basesrc_class_init),
10026 (gst_basesrc_init), (gst_basesrc_get_formats),
10027 (gst_basesrc_get_query_types), (gst_basesrc_query),
10028 (gst_basesrc_get_event_mask), (gst_basesrc_event_handler),
10029 (gst_basesrc_set_property), (gst_basesrc_get_property),
10030 (gst_basesrc_get_range_unlocked), (gst_basesrc_get_range),
10031 (gst_basesrc_loop), (gst_basesrc_activate),
10032 (gst_basesrc_change_state):
10033 * gst/base/gstbasesrc.h:
10034 * gst/elements/gstfakesrc.c: (gst_fakesrc_base_init),
10035 (gst_fakesrc_class_init), (gst_fakesrc_init),
10036 (gst_fakesrc_event_handler), (gst_fakesrc_set_property),
10037 (gst_fakesrc_get_property), (gst_fakesrc_create):
10038 * gst/elements/gstfakesrc.h:
10039 * gst/elements/gstfilesrc.c: (gst_filesrc_getrange),
10040 (gst_filesrc_open_file), (gst_filesrc_loop),
10041 (gst_filesrc_activate), (filesrc_find_peek),
10042 (gst_filesrc_type_find):
10043 Made base source class, make fakesrc extend it.
10044 Add comments to basesink class.
10045 Some filesrc cleanup.
10047 2005-03-31 David Schleef <ds@schleef.org>
10049 * gst/gstplugin.c: (gst_plugin_check_file), (gst_plugin_load_file):
10050 Switch to using G_MODULE_BIND_LOCAL, which means plugins are now
10051 expected to link against libgstreamer.
10052 * gst/base/Makefile.am: link against libgstreamer
10053 * gst/elements/Makefile.am: same
10055 2005-03-31 Andy Wingo <wingo@pobox.com>
10057 * tests/instantiate/Makefile.am:
10058 * tests/instantiate/caps.c: Add test to test speed of caps copy
10061 * tests/memchunk/gmemchunktest.c (main): Use alloc only on the
10062 GMemChunk to be fair.
10064 * gst/gsttrashstack.h: Remove warning about using the fallback
10065 trash stack implementation, it's still faster than malloc.
10067 2005-03-30 Andy Wingo <wingo@pobox.com>
10069 * tests/complexity.c: Add a copyright.
10071 2005-03-31 Wim Taymans <wim@fluendo.com>
10073 * gst/base/gstbasetransform.c: (gst_base_transform_base_init),
10074 (gst_base_transform_class_init), (gst_base_transform_init),
10075 (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
10076 (gst_base_transform_get_property),
10077 (gst_base_transform_sink_activate),
10078 (gst_base_transform_src_activate),
10079 (gst_base_transform_change_state):
10080 * gst/base/gstbasetransform.h:
10081 * gst/elements/gstidentity.c: (gst_identity_class_init),
10082 (gst_identity_event), (gst_identity_check_perfect),
10083 (gst_identity_transform), (gst_identity_start),
10084 (gst_identity_stop):
10085 Added start/stop methods to transform base class so subclasses
10086 don't need to deal with state changes even.
10088 2005-03-31 Wim Taymans <wim@fluendo.com>
10090 * gst/gstevent.c: (gst_event_new_discontinuous_valist),
10091 (gst_event_new_discontinuous), (gst_event_discont_get_value):
10093 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
10094 (gst_pad_pull_range):
10095 Added rate to the discont event to prepare for variable speed
10096 and reverse playback.
10098 2005-03-29 David Schleef <ds@schleef.org>
10101 * testsuite/trigger/Makefile.am:
10102 * testsuite/trigger/trigger.c: A little example program to show
10103 how trigger-based elements can work.
10105 2005-03-29 Wim Taymans <wim@fluendo.com>
10107 * gst/base/Makefile.am:
10109 * gst/base/gstbasesink.c: (gst_basesink_get_type),
10110 (gst_basesink_base_init), (gst_basesink_class_init),
10111 (gst_basesink_pad_getcaps), (gst_basesink_init),
10112 (gst_basesink_activate), (gst_basesink_change_state):
10113 * gst/base/gstbasesink.h:
10114 * gst/base/gstbasetransform.c: (gst_base_transform_get_type),
10115 (gst_base_transform_base_init), (gst_base_transform_finalize),
10116 (gst_base_transform_class_init), (gst_base_transform_init),
10117 (gst_base_transform_proxy_getcaps), (gst_base_transform_setcaps),
10118 (gst_base_transform_event), (gst_base_transform_getrange),
10119 (gst_base_transform_chain), (gst_base_transform_handle_buffer),
10120 (gst_base_transform_set_property),
10121 (gst_base_transform_get_property),
10122 (gst_base_transform_sink_activate),
10123 (gst_base_transform_src_activate),
10124 (gst_base_transform_change_state):
10125 * gst/base/gstbasetransform.h:
10126 * gst/elements/gstidentity.c: (gst_identity_finalize),
10127 (gst_identity_class_init), (gst_identity_init),
10128 (gst_identity_event), (gst_identity_check_perfect),
10129 (gst_identity_transform), (gst_identity_set_property),
10130 (gst_identity_get_property), (gst_identity_change_state):
10131 * gst/elements/gstidentity.h:
10132 * gst/gstelement.c: (gst_element_get_state_func),
10133 (gst_element_lost_state), (gst_element_pads_activate):
10134 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
10135 (gst_pad_check_pull_range), (gst_pad_pull_range):
10137 Simplify pad activation.
10138 Added function to check if pull_range can be performed.
10139 Error out when pulling inactive or flushing pads.
10140 Removed const from refcounted types as it does not make sense.
10141 Simplify pad templates in basesink
10142 Added base class for simple 1-to-1 transforms.
10143 Make identity subclass the base transform.
10145 2005-03-29 Andy Wingo <wingo@pobox.com>
10147 * docs/libs/gstreamer-libs-overrides.txt:
10148 * docs/gst/gstreamer-overrides.txt: Add these files to CVS. Now I
10149 really don't understand what's going on, but like whatever. I want
10152 * docs/gst/Makefile.am:
10153 * docs/libs/Makefile.am: Dist the overrides files.
10155 * check/Makefile.am (clean-local): Remove .libs directories.
10157 * gst/elements/Makefile.am (EXTRA_DIST): Add all the attic
10158 elements to EXTRA_DIST, so po/ files are happy.
10160 * po/POTFILES.in: Er, remove it here.
10162 * po/POTFILES: Remove gstspider.c.
10164 * configure.ac (AC_OUTPUT): Add missing testsuite makefiles.
10166 * docs/libs/gstreamer-libs-docs.sgml:
10167 * docs/libs/gstreamer-libs-sections.txt: Remove the section on
10170 * tests/complexity.c (main): Set the length of the preroll queue
10171 on the sinks to prevent a lockup.
10173 * libs/gst/dataprotocol/Makefile.am:
10174 * libs/gst/dataprotocol/dataprotocol-test.c: Remove test, it's
10175 the same as the one in check/gst-libs/gdp.c.
10177 * po/, docs/gst/: Commit automatic changes to docs and po files.
10179 * gst/elements/Makefile.am (libgstelements_la_LDFLAGS): Link to
10180 the versioned libgstbase.
10182 * check/Makefile.am: Depend on an unversioned gst-register, seems
10183 to make autoconf happier.
10185 * gst/base/Makefile.am: Make libgstbase a versioned lib.
10187 2005-03-28 Wim Taymans <wim@fluendo.com>
10190 * docs/design/part-gstelement.txt:
10191 * docs/design/part-negotiation.txt:
10192 * docs/design/part-preroll.txt:
10193 * docs/design/part-scheduling.txt:
10194 * docs/design/part-states.txt:
10196 * gst/base/Makefile.am:
10198 * gst/base/gstbasesink.c: (gst_basesink_get_template),
10199 (gst_basesink_base_init), (gst_basesink_class_init),
10200 (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
10201 (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
10202 (gst_basesink_set_pad_functions),
10203 (gst_basesink_set_all_pad_functions), (gst_basesink_set_clock),
10204 (gst_basesink_set_property), (gst_basesink_get_property),
10205 (gst_base_sink_get_template), (gst_base_sink_get_caps),
10206 (gst_base_sink_set_caps), (gst_base_sink_buffer_alloc),
10207 (gst_basesink_preroll_queue_push),
10208 (gst_basesink_preroll_queue_empty),
10209 (gst_basesink_preroll_queue_flush), (gst_basesink_finish_preroll),
10210 (gst_basesink_event), (gst_basesink_get_times),
10211 (gst_basesink_do_sync), (gst_basesink_handle_buffer),
10212 (gst_basesink_chain_unlocked), (gst_basesink_chain),
10213 (gst_basesink_loop), (gst_basesink_activate),
10214 (gst_basesink_change_state):
10215 * gst/base/gstbasesink.h:
10216 * gst/elements/Makefile.am:
10217 * gst/elements/gstfakesink.c: (gst_fakesink_base_init),
10218 (gst_fakesink_class_init), (gst_fakesink_init),
10219 (gst_fakesink_set_property), (gst_fakesink_get_property),
10220 (gst_fakesink_get_times), (gst_fakesink_event),
10221 (gst_fakesink_preroll), (gst_fakesink_render),
10222 (gst_fakesink_change_state):
10223 * gst/elements/gstfakesink.h:
10224 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
10225 (gst_bin_get_state), (gst_bin_change_state), (gst_bin_send_event):
10226 * gst/gstelement.c: (gst_element_add_pad),
10227 (gst_element_get_state_func), (gst_element_abort_state),
10228 (gst_element_commit_state), (gst_element_lost_state),
10229 (gst_element_set_state), (gst_element_pads_activate):
10230 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_event_default):
10231 * gst/gstpipeline.c: (gst_pipeline_send_event),
10232 (gst_pipeline_change_state):
10233 Added state change code.
10234 Added/updated docs.
10235 Added sink base class, make fakesink extend the base class.
10236 Small cleanups in GstPipeline.
10238 2005-03-26 David Schleef <ds@schleef.org>
10240 * gst/Makefile.am: remove gstcpu.[ch]. The gst_cpu functionality
10241 is broken and should be implemented in a different library.
10242 * gst/gst.c: (init_post): don't call _gst_cpu_initialize()
10243 * gst/gst.h: remove gstcpu.h
10244 * gst/gstcpu.c: remove
10245 * gst/gstcpu.h: remove
10246 * gst/Makefile.am.future: Remove this file. It's ancient.
10248 2005-03-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
10250 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
10251 (gst_bin_send_event):
10252 Add default event/set_manager handlers. The set_manager handler
10253 takes care that the manager is distributed over kids that were
10254 already in the bin before the manager was set. The event handler
10255 is a utility virtual function that sends the event over all sinks,
10256 so that gst_element_send_event (bin, event); has the expected
10258 * gst/gstpad.c: (gst_pad_event_default):
10259 Re-install default event handling for discontinuities, so that
10260 seeking works without requiring hacks in applications or extra
10262 * gst/gstpipeline.c: (gst_pipeline_class_init),
10263 (gst_pipeline_send_event):
10264 Half hack, half utility: set a pipeline to PAUSED for seek events,
10265 since that is the only way we can guarantee a/v sync. Means that
10266 you can do gst_element_seek (pipeline, method, pos); on a pipeline
10267 and it "just works".
10269 2005-03-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
10271 * gst/gstpipeline.c: (gst_pipeline_use_clock):
10272 Lock/unlock mismatch.
10274 2005-03-25 Thomas Vander Stichele <thomas at apestaart dot org>
10276 * docs/faq/gst-uninstalled:
10277 add gst-plugins-base
10278 * docs/gst/Makefile.am:
10279 don't error out until docs are fixed
10280 * docs/gst/gstreamer.types:
10283 2005-03-22 Wim Taymans <wim@fluendo.com>
10285 * check/Makefile.am:
10286 * check/gst/gstmessage.c: (START_TEST), (gst_data_suite), (main):
10287 * gst/gststructure.c: (gst_structure_set_valist),
10288 (gst_structure_copy_conditional):
10289 Activated more tests.
10290 Added message test.
10291 Added G_TYPE_POINTER to GstStructure.
10294 2005-03-22 Wim Taymans <wim@fluendo.com>
10296 * docs/design/part-TODO.txt:
10297 * docs/design/part-events.txt:
10298 * docs/design/part-gstbin.txt:
10299 * docs/design/part-gstbus.txt:
10300 * docs/design/part-gstpipeline.txt:
10301 * docs/design/part-messages.txt:
10303 * gst/gstmessage.c:
10306 2005-03-21 Wim Taymans <wim@fluendo.com>
10308 * gst/gstbus.c: (gst_bus_post):
10309 Fix copy-and-paste error.
10311 2005-03-21 Wim Taymans <wim@fluendo.com>
10313 * check/Makefile.am:
10315 * gst/elements/Makefile.am:
10316 * gst/elements/gstelements.c:
10317 * gst/elements/gstfakesink.c: (gst_fakesink_init),
10318 (gst_fakesink_event), (gst_fakesink_chain):
10319 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
10320 (gst_fakesrc_init), (gst_fakesrc_get_event_mask),
10321 (gst_fakesrc_event_handler), (gst_fakesrc_set_pad_functions),
10322 (gst_fakesrc_set_all_pad_functions), (gst_fakesrc_request_new_pad),
10323 (gst_fakesrc_set_property), (gst_fakesrc_get_property),
10324 (gst_fakesrc_get_range_unlocked), (gst_fakesrc_get_range),
10325 (gst_fakesrc_loop), (gst_fakesrc_activate),
10326 (gst_fakesrc_change_state):
10327 * gst/elements/gstfakesrc.h:
10328 * gst/elements/gstfilesrc.c: (gst_filesrc_init),
10329 (gst_filesrc_get_read), (gst_filesrc_getrange), (gst_filesrc_get),
10330 (gst_filesrc_open_file), (gst_filesrc_loop),
10331 (gst_filesrc_activate), (gst_filesrc_change_state),
10332 (filesrc_find_peek), (filesrc_find_suggest),
10333 (gst_filesrc_type_find):
10334 * gst/elements/gstidentity.c: (gst_identity_finalize),
10335 (gst_identity_class_init), (gst_identity_init),
10336 (gst_identity_proxy_getcaps), (identity_queue_push),
10337 (identity_queue_pop), (identity_queue_flush), (gst_identity_event),
10338 (gst_identity_getrange), (gst_identity_chain),
10339 (gst_identity_sink_loop), (gst_identity_src_loop),
10340 (gst_identity_handle_buffer), (gst_identity_set_dataflow_funcs),
10341 (gst_identity_set_property), (gst_identity_get_property),
10342 (gst_identity_change_state):
10343 * gst/elements/gstidentity.h:
10344 * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_init),
10345 (gst_tee_update_pad_functions), (gst_tee_request_new_pad),
10346 (gst_tee_set_property), (gst_tee_get_property), (gst_tee_do_push),
10347 (gst_tee_handle_buffer), (gst_tee_chain), (gst_tee_loop),
10348 (gst_tee_sink_activate):
10349 * gst/elements/gsttee.h:
10350 * gst/gst.c: (gst_register_core_elements), (init_post):
10352 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_bus),
10353 (gst_bin_set_scheduler), (gst_bin_add_func), (gst_bin_add),
10354 (gst_bin_remove_func), (gst_bin_remove), (gst_bin_get_state),
10355 (gst_bin_change_state):
10357 * gst/gstbus.c: (gst_bus_get_type), (gst_bus_class_init),
10358 (gst_bus_init), (gst_bus_dispose), (gst_bus_set_property),
10359 (gst_bus_get_property), (gst_bus_new), (gst_bus_post),
10360 (gst_bus_have_pending), (gst_bus_pop), (gst_bus_peek),
10361 (gst_bus_set_sync_handler), (gst_bus_create_watch),
10362 (bus_watch_callback), (bus_watch_destroy),
10363 (gst_bus_add_watch_full), (gst_bus_add_watch), (poll_handler),
10364 (poll_timeout), (gst_bus_poll):
10368 * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
10369 (gst_element_post_message), (gst_element_message_full),
10370 (gst_element_get_state_func), (gst_element_get_state),
10371 (gst_element_abort_state), (gst_element_commit_state),
10372 (gst_element_lost_state), (gst_element_set_state),
10373 (gst_element_pads_activate), (gst_element_change_state),
10374 (gst_element_dispose), (gst_element_set_manager_func),
10375 (gst_element_set_bus_func), (gst_element_set_scheduler_func),
10376 (gst_element_set_manager), (gst_element_get_manager),
10377 (gst_element_set_bus), (gst_element_get_bus),
10378 (gst_element_set_scheduler), (gst_element_get_scheduler):
10379 * gst/gstelement.h:
10380 * gst/gstevent.c: (gst_event_new_segment_seek),
10381 (gst_event_new_flush):
10383 * gst/gstmessage.c: (_gst_message_initialize), (_gst_message_copy),
10384 (_gst_message_free), (gst_message_get_type), (gst_message_new),
10385 (gst_message_new_eos), (gst_message_new_error),
10386 (gst_message_new_warning), (gst_message_new_tag),
10387 (gst_message_new_state_changed), (gst_message_new_application),
10388 (gst_message_get_structure), (gst_message_parse_tag),
10389 (gst_message_parse_state_changed), (gst_message_parse_error),
10390 (gst_message_parse_warning):
10391 * gst/gstmessage.h:
10392 * gst/gstpad.c: (gst_real_pad_class_init), (gst_real_pad_init),
10393 (gst_real_pad_set_property), (gst_pad_set_active),
10394 (gst_pad_is_active), (gst_pad_set_blocked_async),
10395 (gst_pad_set_blocked), (gst_pad_is_blocked),
10396 (gst_pad_set_activate_function), (gst_pad_set_loop_function),
10397 (gst_pad_set_getrange_function), (gst_pad_set_acceptcaps_function),
10398 (gst_pad_set_fixatecaps_function), (gst_pad_set_setcaps_function),
10399 (gst_pad_unlink), (gst_pad_link_prepare_filtered),
10400 (gst_pad_link_filtered), (gst_pad_relink_filtered),
10401 (gst_real_pad_get_caps_unlocked), (gst_pad_get_caps),
10402 (gst_pad_peer_get_caps), (gst_pad_fixate_caps),
10403 (gst_pad_accept_caps), (gst_pad_peer_accept_caps),
10404 (gst_pad_set_caps), (gst_pad_configure_sink),
10405 (gst_pad_configure_src), (gst_pad_get_negotiated_caps),
10406 (gst_pad_get_filter_caps), (gst_pad_alloc_buffer),
10407 (gst_real_pad_dispose), (gst_real_pad_finalize),
10408 (handle_pad_block), (gst_pad_push), (gst_pad_pull_range),
10409 (gst_pad_event_default_dispatch), (gst_pad_event_default),
10410 (gst_pad_push_event), (gst_pad_send_event), (gst_pad_get_formats):
10412 * gst/gstpipeline.c: (gst_pipeline_init), (is_eos),
10413 (pipeline_bus_handler), (gst_pipeline_change_state),
10414 (gst_pipeline_get_scheduler), (gst_pipeline_get_bus):
10415 * gst/gstpipeline.h:
10417 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
10418 (gst_queue_finalize), (gst_queue_getcaps), (gst_queue_link_sink),
10419 (gst_queue_link_src), (gst_queue_bufferalloc),
10420 (gst_queue_locked_flush), (gst_queue_handle_sink_event),
10421 (gst_queue_is_empty), (gst_queue_is_filled), (gst_queue_chain),
10422 (gst_queue_loop), (gst_queue_handle_src_event),
10423 (gst_queue_handle_src_query), (gst_queue_src_activate),
10424 (gst_queue_change_state):
10426 * gst/gstscheduler.c: (gst_scheduler_init),
10427 (gst_scheduler_dispose), (gst_scheduler_create_task),
10428 (gst_scheduler_factory_create):
10429 * gst/gstscheduler.h:
10430 * gst/gststructure.c: (gst_structure_get_type),
10431 (gst_structure_copy_conditional):
10432 * gst/gststructure.h:
10433 * gst/gsttaginterface.h:
10434 * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
10435 (gst_task_init), (gst_task_dispose), (gst_task_create),
10436 (gst_task_get_state), (gst_task_start), (gst_task_stop),
10442 * gst/schedulers/Makefile.am:
10443 * gst/schedulers/cothreads_compat.h:
10444 * gst/schedulers/entryscheduler.c:
10445 * gst/schedulers/faircothreads.c:
10446 * gst/schedulers/faircothreads.h:
10447 * gst/schedulers/fairscheduler.c:
10448 * gst/schedulers/gstbasicscheduler.c:
10449 * gst/schedulers/gstoptimalscheduler.c:
10450 * gst/schedulers/gthread-cothreads.h:
10451 * gst/schedulers/threadscheduler.c:
10452 (gst_thread_scheduler_task_get_type),
10453 (gst_thread_scheduler_task_class_init),
10454 (gst_thread_scheduler_task_init),
10455 (gst_thread_scheduler_task_start),
10456 (gst_thread_scheduler_task_stop),
10457 (gst_thread_scheduler_task_pause), (gst_thread_scheduler_get_type),
10458 (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
10459 (gst_thread_scheduler_init), (gst_thread_scheduler_create_task),
10460 (gst_thread_scheduler_setup), (gst_thread_scheduler_reset),
10462 * libs/gst/Makefile.am:
10463 * libs/gst/bytestream/bytestream.c: (gst_bytestream_get_next_buf):
10464 * libs/gst/bytestream/filepad.c: (gst_file_pad_init),
10465 (gst_file_pad_parent_set):
10466 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
10467 (gst_dp_event_from_packet):
10468 * tests/complexity.c: (main):
10469 * tests/mass_elements.c: (main):
10470 * testsuite/states/locked.c: (message_received), (main):
10471 * testsuite/states/parent.c: (main):
10472 * tools/gst-inspect.c: (print_element_flag_info),
10473 (print_implementation_info), (print_pad_info):
10474 * tools/gst-launch.c: (check_intr), (play_handler), (event_loop),
10476 * tools/gst-md5sum.c: (event_loop), (main):
10477 * tools/gst-typefind.c: (main):
10478 * tools/gst-xmlinspect.c: (print_element_info):
10480 Added GstBus for mainloop integration.
10481 Added GstMessage for sending notifications on the bus.
10482 Added GstTask as an abstraction for pipeline entry points.
10484 Removed Schedulers.
10485 Simplified GstQueue for multithreaded core.
10486 Made _link threadsafe, removed old capsnego.
10487 Added STREAM_LOCK and PREROLL_LOCK in GstPad.
10488 Added pad blocking functions.
10489 Reworked scheduling functions in GstPad to prepare for
10490 scheduling updates soon.
10491 Moved events out of data stream.
10492 Simplified GstEvent types.
10493 Added return values to push/pull.
10494 Removed clocking from GstElement.
10495 Added prototypes for state change function for next merge.
10496 Removed iterate from bins and state change management.
10497 Fixed some elements, disabled others for now.
10498 Fixed -inspect and -launch.
10499 Added check for GstBus.
10501 2005-03-10 Wim Taymans <wim@fluendo.com>
10503 * docs/design/part-MT-refcounting.txt:
10504 * docs/design/part-clocks.txt:
10505 * docs/design/part-gstelement.txt:
10506 * docs/design/part-gstobject.txt:
10507 * docs/design/part-standards.txt:
10508 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
10509 (gst_bin_remove_func), (gst_bin_remove):
10513 * testsuite/clock/clock1.c: (main):
10514 * testsuite/clock/clock2.c: (gst_clock_debug), (element_wait),
10516 * testsuite/dlopen/loadgst.c: (do_test):
10517 * testsuite/refcounting/bin.c: (add_remove_test1),
10518 (add_remove_test2), (main):
10519 * testsuite/refcounting/element.c: (main):
10520 * testsuite/refcounting/element_pad.c: (main):
10521 * testsuite/refcounting/pad.c: (main):
10522 * tools/gst-launch.c: (sigint_handler_sighandler):
10523 * tools/gst-typefind.c: (main):
10525 Added doc about clock.
10526 removed gst_bin_iterate_recurse_up(), marked methods
10528 Fix more testsuites.
10530 2005-03-09 Wim Taymans <wim@fluendo.com>
10532 * gst/gstpad.c: (gst_pad_get_direction),
10533 (_gst_pad_default_fixate_foreach), (gst_pad_collectv),
10534 (gst_pad_collect_valist):
10535 * testsuite/bins/interface.c: (main):
10536 * testsuite/caps/audioscale.c: (test_caps):
10537 * testsuite/caps/caps.c: (test1), (test2), (test3):
10538 * testsuite/caps/deserialize.c: (main):
10539 * testsuite/caps/enumcaps.c: (main):
10540 * testsuite/caps/filtercaps.c: (main):
10541 * testsuite/caps/intersect2.c: (main):
10542 * testsuite/caps/random.c: (main):
10543 * testsuite/caps/renegotiate.c: (my_fixate), (main):
10544 * testsuite/caps/sets.c: (check_caps):
10545 * testsuite/caps/simplify.c: (check_caps), (main):
10546 * testsuite/caps/subtract.c: (check_caps):
10547 Fix _pad_get_direction wrt ghostpads.
10548 Fix caps testsuite.
10550 2005-03-09 Wim Taymans <wim@fluendo.com>
10552 * check/Makefile.am:
10553 * check/gst/gstbin.c: (START_TEST), (gst_bin_suite), (main):
10554 * check/gst/gstsystemclock.c: (START_TEST), (gst_clock_debug),
10555 (ok_callback), (error_callback), (gst_systemclock_suite), (main):
10556 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_index_func),
10557 (gst_bin_set_clock_func), (gst_bin_get_clock_func),
10558 (gst_bin_add_func), (gst_bin_add), (gst_bin_remove_func),
10559 (gst_bin_remove), (gst_bin_iterate_recurse_up),
10560 (bin_element_is_sink), (gst_bin_iterate_sinks),
10561 (gst_bin_iterate_all_by_interface):
10563 * gst/gstelement.c: (gst_element_init), (gst_element_error_full),
10564 (gst_element_change_state), (gst_element_dispose),
10565 (gst_element_finalize), (gst_element_set_loop_function):
10566 * gst/gstelement.h:
10567 * gst/gstiterator.c: (find_custom_fold_func):
10568 * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
10569 (gst_pad_collectv), (gst_pad_collect_valist),
10570 (gst_pad_template_new):
10571 * gst/gstpipeline.c: (gst_pipeline_class_init),
10572 (gst_pipeline_dispose), (gst_pipeline_set_property),
10573 (gst_pipeline_get_property), (gst_pipeline_get_clock_func),
10574 (gst_pipeline_get_clock), (gst_pipeline_use_clock),
10575 (gst_pipeline_set_clock), (gst_pipeline_auto_clock):
10577 * gst/schedulers/entryscheduler.c:
10578 * gst/schedulers/gstbasicscheduler.c:
10579 (gst_basic_scheduler_cothreaded_chain),
10580 (gst_basic_scheduler_chain_add_element):
10581 * testsuite/bins/interface.c: (main):
10583 Added GstSystemClock test.
10584 Implemented clock distribution code in GstBin.
10585 Implemented iterate sinks method for future use.
10586 Rearranged gstelement.h
10587 Fix GstIterator comparison bug.
10588 Moved some code to GstPipeline, mostly clocking related.
10590 2005-03-09 Wim Taymans <wim@fluendo.com>
10593 * gst/gst_private.h:
10594 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
10595 (gst_bin_remove_func), (gst_bin_remove),
10596 (gst_bin_get_by_name_recurse_up):
10597 * gst/gstclock.c: (gst_clock_id_ref), (gst_clock_id_unref),
10598 (gst_clock_id_compare_func), (gst_clock_id_wait),
10599 (gst_clock_id_wait_async), (gst_clock_init),
10600 (gst_clock_adjust_unlocked), (gst_clock_get_time):
10601 * gst/gstelement.h:
10602 * gst/gstinfo.c: (_gst_debug_init):
10604 * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
10605 (gst_pad_collectv), (gst_pad_collect_valist), (gst_pad_query):
10607 Bump version number, we're now 0.9.0
10608 Add future debugging category.
10609 Fix NULL _unref() in _get_by_name_recurse_up
10610 Rearrange gstpad.h.
10613 2005-03-08 Wim Taymans <wim@fluendo.com>
10615 * gst/elements/gstaggregator.c: (gst_aggregator_class_init):
10616 * gst/elements/gstfakesink.c: (gst_fakesink_class_init):
10617 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
10618 * gst/elements/gstfdsink.c: (gst_fdsink_class_init):
10619 * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init):
10620 * gst/elements/gstfilesink.c: (gst_filesink_class_init):
10621 * gst/elements/gstfilesrc.c: (gst_filesrc_class_init):
10622 * gst/elements/gstidentity.c: (gst_identity_class_init):
10623 * gst/elements/gstmd5sink.c: (gst_md5sink_class_init):
10624 * gst/elements/gstmultifilesrc.c: (gst_multifilesrc_class_init):
10625 * gst/elements/gstshaper.c: (gst_shaper_class_init):
10626 * gst/elements/gststatistics.c: (gst_statistics_class_init):
10627 * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_getcaps),
10629 * gst/gstelement.c: (gst_element_class_init),
10630 (gst_element_base_class_init), (gst_element_init),
10631 (gst_element_get_random_pad), (gst_element_wait_state_change),
10632 (gst_element_change_state), (gst_element_dispose),
10633 (gst_element_finalize), (gst_element_set_loop_function):
10634 * gst/gstelement.h:
10635 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_link_src):
10636 * gst/gstthread.c: (gst_thread_class_init),
10637 (gst_thread_release_children_locks), (gst_thread_change_state):
10638 * gst/schedulers/gstbasicscheduler.c:
10639 (gst_basic_scheduler_loopfunc_wrapper),
10640 (gst_basic_scheduler_chain_wrapper),
10641 (gst_basic_scheduler_src_wrapper),
10642 (gst_basic_scheduler_remove_element):
10643 * gst/schedulers/gstoptimalscheduler.c: (schedule_group):
10644 Remove threadsafe properties. Fix elements because GObject
10645 complains when installing a property before declaring a
10646 set/get_property handler.
10647 Rearrange gstelement.h file, use STATE macros for state locks.
10648 Free mutexes in the finalize method instead of dispose.
10650 2005-03-08 Wim Taymans <wim@fluendo.com>
10652 * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
10653 * gst/gstthread.c: (gst_thread_release_children_locks):
10654 Added parentage check.
10655 Fix build og GstThread again.
10657 2005-03-08 Wim Taymans <wim@fluendo.com>
10659 * docs/design/part-MT-refcounting.txt:
10660 * docs/design/part-conventions.txt:
10661 * docs/design/part-gstobject.txt:
10662 * docs/design/part-relations.txt:
10663 * docs/design/part-standards.txt:
10664 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
10665 (gst_bin_remove_func), (gst_bin_remove), (gst_bin_iterate_recurse),
10666 (gst_bin_get_by_name), (gst_bin_get_by_interface),
10667 (gst_bin_iterate_all_by_interface):
10670 * gst/gstelement.c: (gst_element_class_init),
10671 (gst_element_change_state), (gst_element_set_loop_function):
10672 * gst/gstelement.h:
10673 * gst/gstiterator.c:
10674 * gst/gstobject.c: (gst_object_class_init), (gst_object_ref),
10675 (gst_object_unref), (gst_object_sink), (gst_object_dispose),
10676 (gst_object_dispatch_properties_changed), (gst_object_set_name),
10677 (gst_object_set_parent), (gst_object_unparent),
10678 (gst_object_check_uniqueness):
10680 Docs updates, clean up some headers.
10682 2005-03-07 Wim Taymans <wim@fluendo.com>
10684 * check/.cvsignore:
10685 * check/Makefile.am:
10686 * check/gst-libs/.cvsignore:
10687 * check/gst-libs/gdp.c: (START_TEST), (gst_object_suite), (main):
10688 * check/gst/.cvsignore:
10689 * check/gst/gstbus.c: (pound_bus_with_messages), (pull_messages),
10690 (START_TEST), (gstbus_suite), (main):
10691 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite), (main):
10692 * check/gst/gstdata.c: (START_TEST), (thread_ref), (thread_unref),
10693 (gst_data_suite), (main):
10694 * check/gst/gstiterator.c: (make_list_of_ints), (START_TEST),
10695 (add_fold_func), (gstiterator_suite), (main):
10696 * check/gst/gstobject.c: (gst_fake_object_get_type), (START_TEST),
10697 (thread_name_object), (thread_name_object_default),
10698 (gst_object_name_compare), (gst_object_suite), (main):
10699 * check/gst/gstpad.c: (START_TEST), (thread_link_unlink),
10700 (gst_pad_suite), (main):
10701 * check/gstcheck.c: (gst_check_log_message_func),
10702 (gst_check_log_critical_func), (gst_check_init):
10703 * check/gstcheck.h:
10704 * check/pipelines/simple_launch_lines.c: (setup_pipeline),
10705 (run_pipeline), (START_TEST), (simple_launch_lines_suite), (main):
10708 2005-03-07 Wim Taymans <wim@fluendo.com>
10710 * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
10711 (gst_list_iterator_next), (gst_list_iterator_resync),
10712 (gst_list_iterator_free), (gst_iterator_new_list),
10713 (gst_iterator_pop), (gst_iterator_next), (gst_iterator_resync),
10714 (gst_iterator_free), (gst_iterator_push), (filter_next),
10715 (filter_resync), (filter_uninit), (filter_free),
10716 (gst_iterator_filter), (gst_iterator_fold), (foreach_fold_func),
10717 (gst_iterator_foreach), (find_custom_fold_func),
10718 (gst_iterator_find_custom):
10719 * gst/gstiterator.h:
10720 Added missing files.
10722 2005-03-07 Wim Taymans <wim@fluendo.com>
10726 * docs/design/part-MT-refcounting.txt:
10727 * docs/design/part-conventions.txt:
10728 * docs/design/part-gstobject.txt:
10729 * docs/design/part-relations.txt:
10730 * examples/mixer/mixer.c: (main):
10731 * examples/thread/thread.c: (eos), (main):
10733 * gst/autoplug/gstsearchfuncs.c: (gst_autoplug_caps_intersect):
10734 * gst/autoplug/gstspider.c: (gst_spider_identity_plug),
10735 (gst_spider_plug_from_srcpad):
10736 * gst/autoplug/gstspideridentity.c: (gst_spider_identity_getcaps),
10737 (gst_spider_identity_change_state),
10738 (gst_spider_identity_sink_loop_type_finding):
10739 * gst/elements/gstfakesrc.c: (gst_fakesrc_loop):
10740 * gst/elements/gstidentity.c: (gst_identity_init):
10741 * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_getcaps),
10742 (gst_tee_link), (gst_tee_request_new_pad), (gst_tee_chain):
10743 * gst/elements/gsttypefindelement.c: (free_entry):
10746 * gst/gstbin.c: (gst_bin_init), (gst_bin_get_clock_func),
10747 (gst_bin_set_clock_func), (gst_bin_auto_clock),
10748 (gst_bin_set_index), (gst_bin_set_element_sched),
10749 (gst_bin_unset_element_sched), (gst_bin_add_func), (gst_bin_add),
10750 (gst_bin_remove_func), (gst_bin_remove), (iterate_child),
10751 (gst_bin_iterate_elements), (iterate_child_recurse),
10752 (gst_bin_iterate_recurse), (gst_bin_dispose), (compare_name),
10753 (gst_bin_get_by_name), (gst_bin_get_by_name_recurse_up),
10754 (compare_interface), (gst_bin_get_by_interface),
10755 (gst_bin_iterate_all_by_interface), (gst_bin_iterate_func):
10757 * gst/gstbuffer.c: (gst_buffer_get_type), (_gst_buffer_sub_free),
10758 (gst_buffer_default_free), (gst_buffer_default_copy),
10759 (gst_buffer_new), (gst_buffer_get_caps), (gst_buffer_set_caps),
10760 (gst_buffer_create_sub):
10762 * gst/gstcaps.c: (gst_caps_get_type), (gst_caps_new_empty),
10763 (_gst_caps_free), (gst_caps_make_writable), (gst_caps_ref),
10764 (gst_caps_unref), (gst_static_caps_get),
10765 (gst_caps_remove_and_get_structure), (gst_caps_append),
10766 (gst_caps_append_structure), (gst_caps_remove_structure),
10767 (gst_caps_copy_nth), (gst_caps_set_simple),
10768 (gst_caps_set_simple_valist), (gst_caps_is_fixed_foreach),
10769 (gst_structure_is_equal_foreach), (gst_caps_is_subset),
10770 (gst_caps_structure_intersect_field), (gst_caps_intersect),
10771 (gst_caps_structure_subtract_field), (gst_caps_subtract),
10772 (gst_caps_normalize_foreach), (gst_caps_compare_structures),
10773 (gst_caps_structure_figure_out_union),
10774 (gst_caps_switch_structures), (gst_caps_do_simplify),
10775 (gst_caps_replace), (gst_caps_from_string),
10776 (gst_caps_copy_conditional):
10778 * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_ref),
10779 (_gst_clock_id_free), (gst_clock_id_unref),
10780 (gst_clock_id_compare_func), (gst_clock_id_wait),
10781 (gst_clock_id_wait_async), (gst_clock_class_init),
10782 (gst_clock_init), (gst_clock_dispose), (gst_clock_adjust_unlocked),
10783 (gst_clock_get_time), (gst_clock_set_time_adjust),
10784 (gst_clock_set_property), (gst_clock_get_property):
10787 * gst/gstcpu.c: (_gst_cpu_initialize_i386), (gst_cpu_get_flags):
10788 * gst/gstdata.c: (gst_data_is_writable), (gst_data_copy_on_write):
10790 * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
10791 (gst_element_requires_clock), (gst_element_provides_clock),
10792 (gst_element_set_clock), (gst_element_clock_wait),
10793 (gst_element_wait), (gst_element_set_time_delay),
10794 (gst_element_is_indexable), (gst_element_add_pad),
10795 (gst_element_add_ghost_pad), (gst_element_remove_pad),
10796 (pad_compare_name), (gst_element_get_static_pad),
10797 (gst_element_request_pad), (gst_element_get_request_pad),
10798 (gst_element_get_pad), (iterate_pad), (gst_element_iterate_pads),
10799 (gst_element_class_get_pad_template_list),
10800 (gst_element_class_get_pad_template), (gst_element_error_func),
10801 (gst_element_get_random_pad), (gst_element_get_event_masks),
10802 (gst_element_send_event), (gst_element_seek),
10803 (gst_element_get_query_types), (gst_element_query),
10804 (gst_element_get_formats), (gst_element_convert),
10805 (gst_element_is_locked_state), (gst_element_set_locked_state),
10806 (gst_element_sync_state_with_parent), (gst_element_change_state),
10807 (gst_element_finalize), (gst_element_yield),
10808 (gst_element_interrupt), (gst_element_set_scheduler),
10809 (gst_element_get_scheduler), (gst_element_set_loop_function):
10810 * gst/gstelement.h:
10812 * gst/gstformat.c: (_gst_format_initialize), (gst_format_register),
10813 (gst_format_get_by_nick), (gst_format_get_details),
10814 (gst_format_iterate_definitions):
10816 * gst/gstindex.c: (gst_index_gtype_resolver):
10819 * gst/gstmemchunk.c: (gst_mem_chunk_alloc), (gst_mem_chunk_alloc0),
10820 (gst_mem_chunk_free):
10821 * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
10822 (gst_object_ref), (gst_object_unref), (gst_object_sink),
10823 (gst_object_replace), (gst_object_dispose), (gst_object_finalize),
10824 (gst_object_dispatch_properties_changed),
10825 (gst_object_set_name_default), (gst_object_set_name),
10826 (gst_object_get_name), (gst_object_set_name_prefix),
10827 (gst_object_get_name_prefix), (gst_object_set_parent),
10828 (gst_object_get_parent), (gst_object_unparent),
10829 (gst_object_check_uniqueness), (gst_object_save_thyself),
10830 (gst_object_restore_thyself), (gst_object_real_restore_thyself),
10831 (gst_object_set_property), (gst_object_get_property),
10832 (gst_object_get_path_string):
10834 * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
10835 (gst_real_pad_init), (gst_real_pad_get_property),
10836 (gst_pad_custom_new), (gst_pad_get_direction),
10837 (gst_pad_set_active), (gst_pad_is_active),
10838 (gst_pad_set_event_function), (gst_pad_is_linked),
10839 (gst_pad_link_free), (gst_pad_link_intersect),
10840 (gst_pad_link_fixate), (gst_pad_set_caps),
10841 (gst_pad_try_set_caps_nonfixed), (gst_pad_set_pad_template),
10842 (gst_pad_get_real_parent), (gst_pad_add_ghost_pad),
10843 (gst_pad_remove_ghost_pad), (_gst_pad_default_fixate_foreach),
10844 (gst_pad_link_unnegotiate), (gst_pad_proxy_fixate),
10845 (gst_pad_get_caps), (gst_pad_peer_get_caps),
10846 (gst_pad_get_pad_template_caps), (gst_pad_get_peer),
10847 (gst_pad_realize), (gst_pad_get_allowed_caps),
10848 (gst_real_pad_dispose), (gst_real_pad_finalize),
10849 (gst_pad_collectv), (gst_pad_collect_valist),
10850 (gst_pad_template_dispose), (gst_pad_template_new),
10851 (gst_pad_get_internal_links):
10853 * gst/gstpipeline.c: (gst_pipeline_dispose),
10854 (gst_pipeline_change_state):
10855 * gst/gstpipeline.h:
10857 * gst/gstpluginfeature.c: (gst_plugin_feature_get_name),
10858 (gst_plugin_feature_set_rank), (gst_plugin_feature_get_rank):
10859 * gst/gstpluginfeature.h:
10860 * gst/gstprobe.c: (gst_probe_dispatcher_dispatch):
10861 * gst/gstquery.c: (_gst_query_type_initialize),
10862 (gst_query_type_register), (gst_query_type_get_by_nick),
10863 (gst_query_type_get_details), (gst_query_type_iterate_definitions):
10865 * gst/gstqueue.c: (gst_queue_link_sink), (gst_queue_link_src):
10866 * gst/gstscheduler.c: (gst_scheduler_add_element),
10867 (gst_scheduler_factory_create):
10868 * gst/gststructure.c: (gst_structure_set_parent_refcount),
10869 (gst_structure_free), (gst_structure_set_name),
10870 (gst_structure_id_set_value), (gst_structure_set_value),
10871 (gst_structure_set_valist), (gst_structure_remove_field),
10872 (gst_structure_remove_fields),
10873 (gst_structure_remove_fields_valist),
10874 (gst_structure_remove_all_fields), (gst_structure_foreach),
10875 (gst_structure_map_in_place),
10876 (gst_caps_structure_fixate_field_nearest_int),
10877 (gst_caps_structure_fixate_field_nearest_double):
10878 * gst/gststructure.h:
10879 * gst/gstsystemclock.c: (gst_system_clock_class_init),
10880 (gst_system_clock_init), (gst_system_clock_dispose),
10881 (gst_system_clock_async_thread),
10882 (gst_system_clock_id_wait_unlocked), (gst_system_clock_id_wait),
10883 (gst_system_clock_id_wait_async), (gst_system_clock_id_unschedule):
10884 * gst/gstsystemclock.h:
10885 * gst/gsttag.c: (gst_tag_list_add_value_internal),
10886 (gst_tag_list_copy_foreach), (structure_foreach_wrapper):
10887 * gst/gsttaginterface.c:
10888 * gst/gstthread.c: (gst_thread_dispose),
10889 (gst_thread_release_children_locks), (gst_thread_change_state),
10890 (gst_thread_main_loop):
10891 * gst/gsttrashstack.h:
10892 * gst/gsttypefind.c: (gst_type_find_factory_dispose):
10894 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
10895 (gst_element_request_pad), (gst_element_get_pad_from_template),
10896 (gst_element_request_compatible_pad),
10897 (gst_element_get_compatible_pad_filtered),
10898 (gst_element_get_compatible_pad), (gst_element_state_get_name),
10899 (gst_element_link_pads_filtered), (gst_element_link_filtered),
10900 (gst_element_link_many), (gst_element_link),
10901 (gst_element_link_pads), (gst_element_unlink_pads),
10902 (gst_element_unlink_many), (gst_element_unlink),
10903 (gst_pad_can_link_filtered), (gst_pad_can_link),
10904 (gst_pad_use_fixed_caps), (gst_pad_get_fixed_caps_func),
10905 (gst_object_default_error), (gst_bin_add_many),
10906 (gst_bin_remove_many), (gst_element_populate_std_props),
10907 (gst_element_class_install_std_props), (gst_buffer_merge),
10908 (gst_buffer_stamp), (intersect_caps_func), (gst_pad_proxy_getcaps),
10909 (link_fold_func), (gst_pad_proxy_setcaps):
10911 * gst/gstvalue.c: (gst_value_deserialize_string):
10912 * gst/parse/grammar.y:
10913 * gst/schedulers/gstbasicscheduler.c:
10914 (gst_basic_scheduler_cothreaded_chain),
10915 (gst_basic_scheduler_chain_recursive_add),
10916 (gst_basic_scheduler_pad_link):
10917 * gst/schedulers/gstoptimalscheduler.c:
10918 (get_group_schedule_function),
10919 (gst_opt_scheduler_state_transition),
10920 (gst_opt_scheduler_add_element), (element_get_reachables_func):
10921 * libs/gst/bytestream/bytestream.c:
10922 * libs/gst/dataprotocol/dataprotocol.c:
10923 (gst_dp_header_from_buffer):
10926 * tests/threadstate/threadstate2.c: (eos):
10927 * tools/gst-compprep.c: (main):
10928 * tools/gst-inspect.c: (print_field), (print_element_flag_info),
10929 (print_pad_info), (print_children_info):
10930 * tools/gst-launch.c: (idle_func), (main):
10931 * tools/gst-md5sum.c: (idle_func), (main):
10932 * tools/gst-xmlinspect.c: (print_element_info):
10933 First THREADED backport attempt, focusing on adding locks and
10934 making sure the API is threadsafe. Needs more work. More docs
10937 2005-02-24 Andy Wingo <wingo@pobox.com>
10939 * tests/bench-complexity.scm:
10940 * tests/complexity.gnuplot: New files, good for running complexity
10943 * tests/Makefile.am:
10944 * tests/complexity.c: New test, sets up N elements, at each level
10945 teeing into M streams per element. Eeeenteresting.
10947 * tests/mass_elements.gnuplot: gnuplot file for the mass_elements
10948 benchmark. Run as gnuplot mass_elements.gnuplot > foo.ps, after
10949 running bench-mass_elements.scm.
10951 * tests/bench-mass_elements.scm: New script, runs mass_elements
10952 for various numbers of identities, outputting the results to a
10953 file. Requires guile 1.6. Just for testing.
10955 2005-02-23 Thomas Vander Stichele <thomas at apestaart dot org>
10957 * gst/schedulers/fairscheduler.c:
10958 compile with debug disabled
10960 2005-02-22 Thomas Vander Stichele <thomas at apestaart dot org>
10963 hunting season on 0.9 is now OPEN