1 2005-11-17 Torsten Schoenfeld <kaffeetisch at gmx dot net>
3 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
5 * gst/gstmessage.c: (gst_message_parse_clock_lost):
6 Assertion should check for CLOCK_LOST, not NEW_CLOCK (#321648).
8 * gst/gstpadtemplate.h:
9 * gst/gstpluginfeature.h:
10 Don't use c++ style comments in headers (#321638).
12 2005-11-16 Andy Wingo <wingo@pobox.com>
14 * gst/net/gstnettimepacket.c (gst_net_time_packet_send): Free
17 * check/net/gstnettimeprovider.c: Check to see that the time
18 provider actually provides times. Works, yo!
20 2005-11-16 Wim Taymans <wim@fluendo.com>
25 * check/elements/fakesrc.c: (GST_START_TEST):
26 Set element to NULL before disposing it.
28 2005-11-16 Andy Wingo <wingo@pobox.com>
30 * gst/net/Makefile.am:
32 * gst/net/gstnettimeprovider.c:
33 * gst/net/gstnettimeprovider.h: Use the timepacket stuff in the
34 provider, include it from gstnet.h, and add it to the build.
36 * gst/net/gstnettimepacket.h:
37 * gst/net/gstnettimepacket.c: New files, abstracts out the packet
38 sending and receiving.
40 2005-11-16 Wim Taymans <wim@fluendo.com>
43 Enable valgrind check.
45 * gst/elements/gstfakesrc.c: (gst_fake_src_alloc_parent),
46 (gst_fake_src_alloc_buffer):
49 2005-11-16 Wim Taymans <wim@fluendo.com>
51 * gst/net/gstnettimeprovider.c: (gst_net_time_provider_finalize):
52 Call parent finalize too.
54 2005-11-16 Wim Taymans <wim@fluendo.com>
57 Enable valgrind check that should work fine now.
59 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
60 * gst/gstqueue.c: (gst_queue_init):
61 Fix memleaks in pad allocation.
63 2005-11-16 Andy Wingo <wingo@pobox.com>
65 * gst/net/Makefile.am:
66 * gst/net/gstnet.h: New part of core to hold network elements and
67 objects. Put in core because it exposes API that applications want
68 to use. The library is named libgstnet-tempname right now because
69 of the existing libgstnet in gst-plugins-base. Solution is
70 probably to rename the one in plugins-base; will file a bug for
73 * gst/net/gstnettimeprovider.c:
74 * gst/net/gstnettimeprovider.h: New object to export a GstClock's
75 get_time call over the network.
78 * gst/Makefile.am (lib_LTLIBRARIES): Add gstnet to the build.
81 * check/net/gstnettimeprovider.c: A most minimal test suite. Will
82 get additions shortly.
84 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
86 * gst/gstpad.c: (gst_pad_new_from_static_template):
88 add gst_pad_new_from_static_template functions
89 * gst/check/gstcheck.c: (gst_check_setup_src_pad),
90 (gst_check_setup_sink_pad):
91 * gst/elements/gsttee.c: (gst_tee_init):
94 2005-11-16 Wim Taymans <wim@fluendo.com>
96 * gst/gstpad.c: (gst_pad_pause_task):
97 Removed warning, it's not really an error either.
99 2005-11-16 Wim Taymans <wim@fluendo.com>
101 * gst/base/gstbasetransform.c:
102 (gst_base_transform_prepare_output_buf),
103 (gst_base_transform_event):
104 Check if the caps are NULL, this can happen if the element
105 is shutting down and the pad caps are set to NULL.
107 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
109 * gst/elements/gsttee.c: (gst_tee_init):
110 fix pad tempalte leak in tee
112 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
114 * gst/glib-compat.c: (g_value_dup_gst_object):
116 * gst/gstpad.c: (gst_pad_set_property):
117 use gst_object_ref when setting the pad template; this will
118 trigger the pad template leaks on GLib 2.6 and the slaves
120 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
122 * gst/glib-compat.c: (gst_flags_get_first_value):
124 * gst/gstregistryxml.c:
125 remove functions copied from GLib 2.6
127 2005-11-16 Michael Smith <msmith@fluendo.com>
130 Don't link against VALGRIND_LIBS. That was always the wrong thing to
131 do, but only breaks with newer valgrind versions. We're not a
132 valgrind tool, we have no link-time dependencies on libcoregrind.
134 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
136 * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
141 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
143 * gst/base/gstbasesrc.c: (gst_base_src_init):
144 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
145 * gst/gstqueue.c: (gst_queue_init):
146 * gst/gstregistryxml.c: (load_feature):
147 Revert all these unrefs, they don't even pass make check !
149 2005-11-15 Johan Dahlin <johan@gnome.org>
151 * gst/base/gstbasesrc.c: (gst_base_src_init):
152 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
153 * gst/gstqueue.c: (gst_queue_init):
154 Free pad templates, fixes a couple of leaks.
156 2005-11-15 Daniel Fischer <dan at f3c dot com>
158 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
160 * gst/gstpad.c: (gst_pad_get_property):
161 GST_PAD_PAD_TEMPLATE(pad) gets the pad template, while
162 GST_PAD_TEMPLATE(pad) does a cast. We want the former here.
165 2005-11-15 Wim Taymans <wim@fluendo.com>
170 2005-11-15 Andy Wingo <wingo@pobox.com>
172 * gst/gstelement.c (gst_element_set_base_time): Add debugging.
174 * gst/gstpipeline.c (gst_pipeline_set_new_stream_time): Document
175 using GST_CLOCK_TIME_NONE to disable base time management.
176 (do_pipeline_seek, gst_pipeline_change_state): Don't reset stream
177 time if it was NONE before.
178 (gst_pipeline_change_state): Only munge the base time if
179 stream_time != GST_CLOCK_TIME_NONE.
181 * check/gst/gstpipeline.c (test_base_time): Punt around the
182 problem of the probe not being called, because that's not the
183 issue I'm looking at. Add a check that setting stream_time to NONE
184 disables base time management.
186 2005-11-15 Wim Taymans <wim@fluendo.com>
188 * gst/base/gstbasesink.c: (gst_base_sink_change_state):
189 segment_stop == -1 at startup.
191 * gst/base/gstbasetransform.c: (gst_base_transform_event),
192 (gst_base_transform_change_state):
193 Init segment values at start.
195 2005-11-15 Wim Taymans <wim@fluendo.com>
197 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
198 0 segment values are 0 in any format.
200 * gst/base/gstbasetransform.c: (gst_base_transform_event):
201 * gst/base/gstbasetransform.h:
202 Parse newsegment correctly in basetransform
204 * gst/elements/gstidentity.c: (gst_identity_transform_ip):
205 Sync to clock using updated segment values.
207 2005-11-15 Andy Wingo <wingo@pobox.com>
209 * check/gst/gstpipeline.c (test_base_time): Add check that the
210 base time and stream time are reset correctly.
212 2005-11-15 Wim Taymans <wim@fluendo.com>
214 * docs/design/part-TODO.txt:
215 Some more TODO items.
217 2005-11-15 Andy Wingo <wingo@pobox.com>
219 * gst/elements/gstfakesrc.c (gst_fake_src_create): It's not an
220 error if the user selected "no clock" as the clocking method.
222 * check/gst/gstpipeline.c (test_base_time): New test for buffer
223 timestamps with live capture.
225 * gst/elements/gstfakesrc.c (gst_fake_src_create): If the datarate
226 is 0 but we are a live source, timestamp the buffers using the
229 2005-11-14 Stefan Kost <ensonic@users.sf.net>
231 * docs/gst/gstreamer-sections.txt:
238 2005-11-14 Wim Taymans <wim@fluendo.com>
241 add suppressions from Wim's Debian machine
243 2005-11-14 Thomas Vander Stichele <thomas at apestaart dot org>
246 add suppressions from Andy's AMD64 Ubuntu machine
248 2005-11-14 Andy Wingo <wingo@pobox.com>
250 * gst/gstpad.c (gst_pad_set_active): Change docs; parent's
251 STATE_LOCK not necessary. Fixes #311489.
253 * gst/gsterror.c (FILE_A_BUG): Be polite *and* helpful. Fixes
256 * gst/gstindex.c (gst_index_add_object): Note in the docs that
257 this function is not implemented.
259 2005-11-14 Julien MOUTTE <julien@moutte.net>
261 * gst/base/gstbasetransform.c:
262 (gst_base_transform_prepare_output_buf):
263 Ref the source pad caps while we need them.
266 2005-11-11 Wim Taymans <wim@fluendo.com>
268 * docs/gst/gstreamer-sections.txt:
269 Added some docs for GstCollectData.
271 * gst/base/gstadapter.c:
272 Some small code example fix.
274 * gst/base/gstcollectpads.c:
275 * gst/base/gstcollectpads.h:
278 2005-11-11 Thomas Vander Stichele <thomas at apestaart dot org>
280 * configure.ac: back to HEAD
282 === release 0.9.5 ===
284 2005-11-11 Thomas Vander Stichele <thomas at apestaart dot org>
287 releasing 0.9.5, "Bike Lunch Day"
289 2005-11-11 Wim Taymans <wim@fluendo.com>
291 * gst/gstbuffer.c: (_gst_buffer_copy):
294 * gst/gstcaps.c: (gst_caps_is_equal):
296 Make _is_equal fast in the trivial cases.
298 * gst/gstminiobject.c:
299 * gst/gstminiobject.h:
300 More docs. Spifify .h file.
305 2005-11-11 Wim Taymans <wim@fluendo.com>
307 * gst/base/gstbasetransform.c:
308 (gst_base_transform_prepare_output_buf),
309 (gst_base_transform_handle_buffer):
311 If we're processing a buffer and need to allocate an output
312 buffer, we cannot accept a format change. If we did get a
313 format change, we have to alloc a buffer ourselves of the
316 2005-11-11 Wim Taymans <wim@fluendo.com>
318 * gst/gstpad.c: (gst_pad_get_caps), (gst_pad_peer_get_caps):
319 While checking the flag for reentrancy in the gstcaps function
320 is nice to detect recursive invocations, it also makes it
321 impossible to call getcaps from multiple threads, which must be
322 possible. So, checking for recursive calls has to go.
324 2005-11-11 Michael Smith <msmith@fluendo.com>
326 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
327 Don't sync on buffers that fall partially outside our current
328 segment. Prevents an assertion failure/abort playing some files.
330 2005-11-10 Andy Wingo <wingo@pobox.com>
332 * check/gst/gstbin.c (test_message_state_changed_children): Style
335 * gst/gstbus.c (poll_destroy, poll_func, gst_bus_poll): Implement
336 gst_bus_poll with the signal watch. Ensures that poll and a signal
337 watch see the same messages.
339 * check/gst/gstbus.c (test_watch_with_poll): New test, checks that
340 a poll and a watch at the same time get the same messages.
342 2005-11-10 Thomas Vander Stichele <thomas at apestaart dot org>
344 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps):
345 * gst/gstcaps.c: (gst_caps_intersect):
346 Don't call gst_caps_do_simplify - it doesn't respect order of caps
349 2005-11-10 Wim Taymans <wim@fluendo.com>
351 * docs/design/part-TODO.txt:
354 2005-11-10 Wim Taymans <wim@fluendo.com>
356 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
357 * gst/base/gstbasesrc.c: (gst_base_src_wait),
358 (gst_base_src_do_sync), (gst_base_src_get_range):
359 Implement clock sync in base class.
361 2005-11-10 Thomas Vander Stichele <thomas at apestaart dot org>
363 patch by: Tim-Philipp Müller <tim at centricular dot net>
365 * gst/gststructure.c: (gst_structure_parse_field),
366 (gst_structure_from_string):
367 Forward-port a 0.8 patch to handle escaped spaces in structure string,
368 so that gst_parse_launch() can deal with spaces in filtered link
370 * check/gst/capslist.h:
371 * check/gst/gststructure.c: (GST_START_TEST):
372 add unit tests for this change
374 2005-11-10 Wim Taymans <wim@fluendo.com>
376 * docs/gst/gstreamer-sections.txt:
379 Fix docs, move some STATE macros to private.
381 2005-11-10 Wim Taymans <wim@fluendo.com>
383 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
384 Added check for bug #317341
388 Some more spiffifying.
390 * gst/gstghostpad.c: (gst_ghost_pad_do_link):
391 Call peer linkfunction if we are a source pad. Totally fixes
395 Update docs, source pads should call the peer linkfunction
396 so they can atomically perform the pad link.
398 2005-11-09 Wim Taymans <wim@fluendo.com>
402 Uber-spiffy-spiffify some more.
404 2005-11-09 Tim-Philipp Müller <tim at centricular dot net>
406 * gst/base/gstcollectpads.c: (gst_collectpads_add_pad):
407 * gst/elements/gstfilesink.c: (gst_file_sink_init):
408 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
409 * gst/gstghostpad.c: (gst_ghost_pad_set_internal),
410 (gst_ghost_pad_init), (gst_ghost_pad_new_notarget):
411 * gst/gstpad.c: (gst_pad_init):
412 Use GST_DEBUG_FUNCPTR() more extensively.
414 2005-11-09 Wim Taymans <wim@fluendo.com>
416 * gst/gstobject.c: (gst_object_class_init):
420 2005-11-09 Edward Hervey <edward@fluendo.com>
422 * gst/gsttypefindfactory.c:
425 2005-11-09 Edward Hervey <edward@fluendo.com>
427 * gst/base/gsttypefindhelper.c:
432 2005-11-09 Wim Taymans <wim@fluendo.com>
441 2005-11-09 Wim Taymans <wim@fluendo.com>
447 2005-11-09 Wim Taymans <wim@fluendo.com>
449 * docs/gst/gstreamer-sections.txt:
450 Moved the message async delivery private lock and cond
451 to the private section.
457 2005-11-09 Edward Hervey <edward@fluendo.com>
459 * docs/gst/gstreamer-sections.txt:
462 Document GstURIHandler
464 2005-11-09 Wim Taymans <wim@fluendo.com>
466 * gst/gstiterator.c: (gst_iterator_fold), (gst_iterator_foreach),
467 (gst_iterator_find_custom):
471 2005-11-09 Wim Taymans <wim@fluendo.com>
474 Document another field.
476 * gst/gststructure.c:
477 * gst/gststructure.h:
480 2005-11-09 Wim Taymans <wim@fluendo.com>
485 2005-11-09 Wim Taymans <wim@fluendo.com>
487 * docs/gst/gstreamer-sections.txt:
488 Added some new macros.
495 2005-11-09 Wim Taymans <wim@fluendo.com>
497 * docs/design/part-TODO.txt:
498 Some more items for the TODO
504 2005-11-09 Andy Wingo <wingo@pobox.com>
506 * gst/base/gstbasesink.c: Add the beginning of docs here -- have
507 to work on something else now tho...
509 * gst/base/gstadapter.c: More adapter docs.
511 * gst/elements/gstfilesink.c (gst_file_sink_start)
512 (gst_file_sink_stop): New functions, replace the state change
514 (gst_file_sink_class_init): Hook up the start and stop functions.
515 (gst_file_sink_base_init): Don't set the state change handler any
516 more. It was a bit ugly too, being set from here...
517 (gst_file_sink_get_property, gst_file_sink_set_property):
519 (gst_file_sink_set_location): More robust check that doesn't call
522 2005-11-08 Tim-Philipp Müller <tim at centricular dot net>
524 * gst/base/gstbasetransform.c: (gst_base_transform_event):
525 Hold STREAM_LOCK while pushing newsegment or tag events as well.
527 2005-11-08 Wim Taymans <wim@fluendo.com>
529 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
530 (gst_base_sink_do_sync), (gst_base_sink_handle_event),
531 (gst_base_sink_chain), (gst_base_sink_change_state):
532 * gst/base/gstbasesink.h:
533 * gst/base/gstbasesrc.h:
536 Avoid excessive typechecking in macros.
538 * gst/gstminiobject.c: (gst_mini_object_get_type),
539 (gst_mini_object_init), (gst_mini_object_new),
540 (gst_mini_object_free):
541 * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
542 (gst_object_finalize):
543 Remove cruft code, optimize alloc_trace.
545 2005-11-07 Thomas Vander Stichele <thomas at apestaart dot org>
547 * docs/faq/gst-uninstalled:
548 fix up PS1 for systems that try to reset it
550 2005-11-07 Wim Taymans <wim@fluendo.com>
552 * gst/base/gstbasesrc.c: (gst_base_src_init),
553 (gst_base_src_get_range):
554 Set the segment_end to -1 initially. Fixed typefind.
556 2005-11-07 Tim-Philipp Müller <tim at centricular dot net>
558 * gst/base/gstadapter.c:
559 Debug category should be 'adapter', not 'GstAdapter'.
561 * gst/base/gstcollectpads.c: (gst_collectpads_base_init),
562 (gst_collectpads_class_init), (gst_collectpads_init),
563 (gst_collectpads_peek), (gst_collectpads_pop),
564 (gst_collectpads_event), (gst_collectpads_chain):
565 Add debug category and some debugging output. Use boilerplate
566 macros. Remove some extraneous words from docs.
568 2005-11-05 Andy Wingo <wingo@pobox.com>
570 * gst/base/gstpushsrc.c: Shorten by 30% via use of boilerplate
573 2005-11-04 Stefan Kost <ensonic@users.sf.net>
575 * docs/gst/gstreamer-sections.txt:
578 * gst/gstminiobject.h:
583 2005-11-04 Wim Taymans <wim@fluendo.com>
585 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
586 Small update to stop at the configured segment_end
589 2005-11-04 Stefan Kost <ensonic@users.sf.net>
595 2005-11-04 Edward Hervey <edward@fluendo.com>
597 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
598 Check if we are doing a segment seek and have arrived at the
601 2005-11-04 Wim Taymans <wim@fluendo.com>
603 * gst/gstbus.c: (gst_bus_post), (gst_bus_set_sync_handler):
604 Don't leak a mutex unlock in case of an error.
609 2005-11-04 Wim Taymans <wim@fluendo.com>
611 * gst/gstbus.c: (gst_bus_class_init), (gst_bus_init),
613 Get the context to wake up only once.
615 2005-11-03 Wim Taymans <wim@fluendo.com>
617 * check/states/sinks.c: (GST_START_TEST):
618 Uncomment fixed check.
620 * docs/design/part-TODO.txt:
623 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
624 (gst_base_sink_handle_object), (gst_base_sink_do_sync),
625 (gst_base_sink_get_position):
626 If we are going to PLAYING, post the right pending state
627 when we post the intermediate paused message.
629 * gst/gstelement.c: (gst_element_continue_state),
630 (gst_element_set_state_func), (gst_element_change_state):
631 Don't post state changes that were between the same state
634 2005-11-03 Stefan Kost <ensonic@users.sf.net>
636 * docs/gst/gstreamer-sections.txt:
639 * gst/gstminiobject.h:
642 more docs and doc style fixes
644 2005-11-03 Stefan Kost <ensonic@users.sf.net>
646 * docs/gst/gstreamer-sections.txt:
648 * gst/gstminiobject.c:
651 2005-11-03 Andy Wingo <wingo@pobox.com>
653 * check/states/sinks.c (test_livesrc_sink): Add checks that the
654 state-changed messages actually have the right order and the right
657 2005-11-03 Wim Taymans <wim@fluendo.com>
659 * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
660 Added some more checks. Specifically the case where NO_PREROLL
661 elements are in the pipeline.
663 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
664 (gst_base_sink_handle_object), (gst_base_sink_do_sync),
665 (gst_base_sink_get_position):
666 Post READY->PAUSED state change messages too.
667 Fix bug where VOID was posted as pending state...
669 * gst/gstbin.c: (gst_bin_recalc_state):
670 use _element_continue_state() to continue the state change.
672 * gst/gstelement.c: (gst_element_continue_state),
673 (gst_element_commit_state), (gst_element_set_state_func),
674 (gst_element_change_state), (gst_element_change_state_func):
675 Lots of state change cleanups, assign the STATE_RETURN in
676 a new continue_state() function that also propagates the
677 last return value from a state change to the app.
678 Update some debug statements with proper category.
680 2005-11-03 Wim Taymans <wim@fluendo.com>
682 * docs/design/part-events.txt:
683 * docs/design/part-gstpipeline.txt:
684 * docs/design/part-messages.txt:
685 * docs/design/part-overview.txt:
686 * docs/design/part-seeking.txt:
687 * docs/design/part-states.txt:
688 * docs/design/part-trickmodes.txt:
689 * docs/manual/advanced-position.xml:
693 People think !! is ugly, this looks better.
695 * gst/gstpad.c: (gst_pad_set_blocked_async):
696 Remove !! since it's fixed elsewhere now.
698 2005-11-03 Tim-Philipp Müller <tim at centricular dot net>
700 * gst/gstminiobject.h:
702 Add !! to _FLAG_IS_SET macros to make the result boolean.
704 2005-11-03 Edward Hervey <edward@fluendo.com>
706 * gst/gstpad.c: (gst_pad_set_blocked_async):
707 comparing a flag and a gboolean rarely returns coherent results...
708 Added two characters (!!) to make that work correctly.
710 2005-11-03 Tim-Philipp Müller <tim at centricular dot net>
712 * gst/gstbus.c: (gst_bus_class_init):
715 * gst/gstqueue.c: (gst_queue_loop):
716 Don't assume a miniobject that isn't a buffer is an
717 event (it could be that there is a refcounting
718 problem somewhere and the pointer is stale and
719 refers to an already destroyed miniobject).
721 2005-11-03 Julien MOUTTE <julien@moutte.net>
723 * gst/gstpad.c: (gst_pad_alloc_buffer): Fix some typos.
725 2005-11-03 Tim-Philipp Müller <tim at centricular dot net>
727 * docs/manual/advanced-position.xml:
728 Update seek example and explanations to current 0.9 API.
730 * gst/elements/gsttypefindelement.c:
731 (gst_type_find_element_activate):
732 Remove FIXME comment now that the found caps
735 2005-11-03 Thomas Vander Stichele <thomas at apestaart dot org>
737 * gst/gstregistryxml.c: (load_feature):
738 Add another GST_STR_NULL instance
740 2005-11-02 Edward Hervey <edward@fluendo.com>
742 * gst/gstpad.c: (handle_pad_block):
743 Follow-up to Wim's patch, solves deadlock for blocked and flushing pads
745 2005-11-02 Wim Taymans <wim@fluendo.com>
750 * gst/gstelement.c: (gst_element_commit_state):
754 Mention that the returned element is reffed in the docs.
756 2005-11-02 Wim Taymans <wim@fluendo.com>
758 * gst/gstpad.c: (gst_pad_alloc_buffer), (handle_pad_block),
759 (gst_pad_push), (gst_pad_push_event):
760 Unlock blocked pads when they are flushed.
762 2005-11-02 Thomas Vander Stichele <thomas at apestaart dot org>
765 * docs/gst/gstreamer-sections.txt:
768 * gst/gstregistry.c: (gst_registry_scan_path_level):
769 fix for a nasty little missed situation where an installed plug-in
770 which was in the cache did not get overridden by an uninstalled one
771 which was earlier in the plugin path because the newly created plugin
772 for the uninstalled one (not in the registry) didn't get its
773 ->registered set to TRUE
775 2005-11-02 Tim-Philipp Müller <tim at centricular dot net>
777 * gst/base/gstcollectpads.c: (gst_collectpads_set_function),
778 (gst_collectpads_add_pad), (gst_collectpads_remove_pad),
779 (gst_collectpads_is_active), (gst_collectpads_collect),
780 (gst_collectpads_collect_range), (gst_collectpads_start),
781 (gst_collectpads_stop), (gst_collectpads_peek),
782 (gst_collectpads_pop), (gst_collectpads_available),
783 (gst_collectpads_read), (gst_collectpads_flush):
784 Guard public API with assertions.
787 Fix docs for gst_pad_set_link_function().
789 2005-11-02 Johan Dahlin <johan@gnome.org>
791 * gst/elements/gsttypefindelement.c (gst_type_find_element_activate):
792 Unref found_caps after we used it.
794 2005-11-02 Tim-Philipp Müller <tim at centricular dot net>
796 * gst/base/gstcollectpads.c: (gst_collectpads_peek):
797 Don't try to ref NULL.
799 2005-11-02 Thomas Vander Stichele <thomas at apestaart dot org>
801 * win32/common/config.h.in:
802 provide a GST_FUNCTION that just gives a string for now
804 2005-11-02 Thomas Vander Stichele <thomas at apestaart dot org>
806 * win32/common/gstenumtypes.c: (register_gst_object_flags),
807 (gst_object_flags_get_type), (register_gst_bin_flags),
808 (gst_bin_flags_get_type), (register_gst_buffer_flag),
809 (gst_buffer_flag_get_type), (register_gst_bus_flags),
810 (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
811 (gst_bus_sync_reply_get_type), (register_gst_clock_return),
812 (gst_clock_return_get_type), (register_gst_clock_entry_type),
813 (gst_clock_entry_type_get_type), (register_gst_clock_flags),
814 (gst_clock_flags_get_type), (register_gst_state),
815 (gst_state_get_type), (register_gst_state_change_return),
816 (gst_state_change_return_get_type), (register_gst_state_change),
817 (gst_state_change_get_type), (register_gst_element_flags),
818 (gst_element_flags_get_type), (register_gst_core_error),
819 (gst_core_error_get_type), (register_gst_library_error),
820 (gst_library_error_get_type), (register_gst_resource_error),
821 (gst_resource_error_get_type), (register_gst_stream_error),
822 (gst_stream_error_get_type), (register_gst_event_type),
823 (gst_event_type_get_type), (register_gst_seek_type),
824 (gst_seek_type_get_type), (register_gst_seek_flags),
825 (gst_seek_flags_get_type), (register_gst_format),
826 (gst_format_get_type), (register_gst_index_certainty),
827 (gst_index_certainty_get_type), (register_gst_index_entry_type),
828 (gst_index_entry_type_get_type),
829 (register_gst_index_lookup_method),
830 (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
831 (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
832 (gst_index_resolver_method_get_type), (register_gst_index_flags),
833 (gst_index_flags_get_type), (register_gst_debug_level),
834 (gst_debug_level_get_type), (register_gst_debug_color_flags),
835 (gst_debug_color_flags_get_type), (register_gst_iterator_result),
836 (gst_iterator_result_get_type), (register_gst_iterator_item),
837 (gst_iterator_item_get_type), (register_gst_message_type),
838 (gst_message_type_get_type), (register_gst_mini_object_flags),
839 (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
840 (gst_pad_link_return_get_type), (register_gst_flow_return),
841 (gst_flow_return_get_type), (register_gst_activate_mode),
842 (gst_activate_mode_get_type), (register_gst_pad_direction),
843 (gst_pad_direction_get_type), (register_gst_pad_flags),
844 (gst_pad_flags_get_type), (register_gst_pad_presence),
845 (gst_pad_presence_get_type), (register_gst_pad_template_flags),
846 (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
847 (gst_pipeline_flags_get_type), (register_gst_plugin_error),
848 (gst_plugin_error_get_type), (register_gst_plugin_flags),
849 (gst_plugin_flags_get_type), (register_gst_rank),
850 (gst_rank_get_type), (register_gst_query_type),
851 (gst_query_type_get_type), (register_gst_tag_merge_mode),
852 (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
853 (gst_tag_flag_get_type), (register_gst_task_state),
854 (gst_task_state_get_type), (register_gst_alloc_trace_flags),
855 (gst_alloc_trace_flags_get_type),
856 (register_gst_type_find_probability),
857 (gst_type_find_probability_get_type), (register_gst_uri_type),
858 (gst_uri_type_get_type), (register_gst_parse_error),
859 (gst_parse_error_get_type):
860 * win32/common/gstversion.h:
863 2005-11-01 Luca Ognibene <luogni@tin.it>
866 fix docs. popt is dead, long live GOption.
868 2005-10-31 Wim Taymans <wim@fluendo.com>
873 2005-10-31 Andy Wingo <wingo@pobox.com>
877 * gst/gstqueue.c (gst_queue_chain): Fix downstream leaky mode.
879 * gst/gstobject.c (gst_object_dispatch_properties_changed): No
880 need to serialize property notifications on GLib 2.8. GLib 2.6 has
881 the possibility of deadlocks here if code calling notify() or
882 set() has a lock that can be taken in another notify handler (ABBA
883 with class lock and e.g. python GIL state lock).
885 2005-10-28 Julien MOUTTE <julien@moutte.net>
887 * gst/gstbus.c: Doc updates.
889 2005-10-28 Wim Taymans <wim@fluendo.com>
891 * docs/design/part-TODO.txt:
893 * gst/gstsystemclock.c:
894 * gst/gstsystemclock.h:
897 2005-10-28 Edward Hervey <edward@fluendo.com>
899 * docs/gst/gstreamer-docs.sgml:
900 * docs/gst/gstreamer-sections.txt:
901 the GstURIType documentation page is private, it only defines GstURIType
902 which should be defined in the GstURIHandler page
904 2005-10-28 Thomas Vander Stichele <thomas at apestaart dot org>
906 * gst/gstbin.c: (gst_bin_class_init):
909 Documentation updates.
911 2005-10-28 Wim Taymans <wim@fluendo.com>
913 * docs/gst/gstreamer-sections.txt:
916 Documented the clocks.
918 2005-10-28 Stefan Kost <ensonic@users.sf.net>
920 * docs/gst/gstreamer-sections.txt:
921 move some macros to private sections
922 * gst/gstminiobject.c:
923 * gst/gstminiobject.h:
924 add descriptions provided by ds and some more
926 mark macro as to be removed
928 2005-10-28 Wim Taymans <wim@fluendo.com>
930 * docs/design/part-TODO.txt:
933 * gst/gstiterator.c: (gst_iterator_fold),
934 (gst_iterator_find_custom):
938 2005-10-28 Wim Taymans <wim@fluendo.com>
940 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
941 (gst_base_transform_init):
944 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_loop):
945 An EOS event marks the queue as completely filled.
947 2005-10-27 Wim Taymans <wim@fluendo.com>
949 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
950 (gst_base_sink_do_sync), (gst_base_sink_get_position):
953 * gst/base/gstbasetransform.c: (gst_base_transform_finalize),
954 (gst_base_transform_init), (gst_base_transform_buffer_alloc),
955 (gst_base_transform_event), (gst_base_transform_getrange),
956 (gst_base_transform_chain):
957 * gst/base/gstbasetransform.h:
959 Protect transform and concurrent buffer alloc with a new lock.
960 Try not to break ABI/API.
962 2005-10-27 Wim Taymans <wim@fluendo.com>
964 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
965 (gst_base_src_init), (gst_base_src_query),
966 (gst_base_src_default_newsegment),
967 (gst_base_src_configure_segment), (gst_base_src_do_seek),
968 (gst_base_src_send_event), (gst_base_src_event_handler),
969 (gst_base_src_pad_get_range), (gst_base_src_loop),
970 (gst_base_src_unlock), (gst_base_src_default_negotiate),
971 (gst_base_src_start), (gst_base_src_deactivate),
972 (gst_base_src_activate_push), (gst_base_src_change_state):
973 Move some stuff around and cleanup things.
975 2005-10-27 Tim-Philipp Müller <tim at centricular dot net>
977 * gst/base/gstbasesrc.c: (gst_base_src_query):
978 Add missing break statements.
980 2005-10-27 Wim Taymans <wim@fluendo.com>
982 * check/gst/gstbin.c: (GST_START_TEST):
983 An extra refcount is taken in basesrc.
985 * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
986 (gst_base_src_get_range), (gst_base_src_pad_get_range),
988 Small cleanups, check for flushing after being unlocked from the
989 LIVE_LOCK. take refcounts correctly (not yet everywhere).
990 Don't send out EOS when going to READY.
992 2005-10-27 Wim Taymans <wim@fluendo.com>
994 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
995 (gst_base_sink_get_position):
998 * gst/gstbin.c: (message_check), (bin_replace_message),
999 (bin_remove_messages), (is_eos), (gst_bin_add_func),
1000 (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
1001 (bin_query_duration_init), (bin_query_duration_fold),
1002 (bin_query_duration_done), (bin_query_generic_fold),
1004 * tools/gst-launch.c: (main):
1007 2005-10-26 Stefan Kost <ensonic@users.sf.net>
1009 * examples/controller/audio-example.c: (main):
1010 * examples/queue/queue.c: (event_loop):
1011 * gst/base/gstbasetransform.h:
1012 * gst/gstelement.c: (gst_element_send_event):
1014 * gst/gstpad.c: (gst_pad_send_event):
1017 changing log priority in error situations
1019 2005-10-25 Wim Taymans <wim@fluendo.com>
1021 * gst/gstbin.c: (message_check), (bin_replace_message),
1022 (bin_remove_messages), (is_eos), (gst_bin_add_func),
1023 (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
1024 (bin_query_duration_init), (bin_query_duration_fold),
1025 (bin_query_duration_done), (bin_query_generic_fold),
1027 Some doc and debug updates.
1028 Cache previously requested query DURATION for speed. invalidate
1029 cached duration if element posts a DURATION message.
1031 2005-10-25 Wim Taymans <wim@fluendo.com>
1033 * docs/design/part-TODO.txt:
1036 * gst/gstbin.c: (message_check), (bin_replace_message),
1037 (bin_remove_messages), (is_eos), (gst_bin_add_func),
1038 (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
1039 (bin_query_duration_init), (bin_query_duration_fold),
1040 (bin_query_duration_done), (bin_query_generic_fold),
1042 Handle SEGMENT_START/DONE messages correctly.
1043 More evolved query algorithm that handles duration queries
1046 * gst/gstelement.c: (gst_element_send_event), (gst_element_query),
1047 (gst_element_get_state_func), (gst_element_abort_state),
1048 (gst_element_commit_state), (gst_element_lost_state):
1049 Some more debugging.
1054 2005-10-25 Wim Taymans <wim@fluendo.com>
1056 * gst/base/gstbasesink.c: (gst_base_sink_get_position):
1057 Don't use invalid stream_time.
1059 * gst/gstevent.c: (gst_event_new_newsegment):
1060 stream_time in newsegment cannot be undefined.
1062 2005-10-24 Wim Taymans <wim@fluendo.com>
1067 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
1069 Fix potential deadlock when QUEUE_LOCK is taken before STREAM_LOCK.
1071 2005-10-24 Stefan Kost <ensonic@users.sf.net>
1073 * docs/libs/tmpl/gstdparam.sgml:
1074 * docs/libs/tmpl/gstdplinint.sgml:
1075 * docs/libs/tmpl/gstdpman.sgml:
1076 * docs/libs/tmpl/gstdpsmooth.sgml:
1077 * docs/libs/tmpl/gstunitconvert.sgml:
1080 2005-10-24 Thomas Vander Stichele <thomas at apestaart dot org>
1085 === release 0.9.4 ===
1087 2005-10-23 Thomas Vander Stichele <thomas at apestaart dot org>
1090 releasing 0.9.4, "Tyrannosaurus Rex"
1092 2005-10-23 Tim-Philipp Müller <tim at centricular dot net>
1094 * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
1095 (gst_file_sink_get_current_offset):
1096 Use fseeko() and ftello() if available. When falling back on
1097 lseek() to get the current offset, fflush() first to make sure
1098 everything is up-to-date and we get the right offset.
1100 2005-10-23 Thomas Vander Stichele <thomas at apestaart dot org>
1102 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
1103 * gst/base/gstbasesrc.c: (gst_base_src_loop):
1104 * gst/gsterror.c: (_gst_stream_errors_init):
1106 * gst/gstqueue.c: (gst_queue_loop):
1108 remove prematurely added error category and clean up the instances
1110 2005-10-21 Wim Taymans <wim@fluendo.com>
1112 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
1113 (gst_base_sink_get_position), (gst_base_sink_query),
1114 (gst_base_sink_change_state):
1115 Simply set the right flag when going to playing, that's all
1116 we need to do instead of calling a function inside the object
1117 lock (that could take the lock as well and deadlock)
1119 2005-10-21 Wim Taymans <wim@fluendo.com>
1121 * gst/base/gstbasesrc.c: (gst_base_src_do_seek),
1122 (gst_base_src_loop):
1123 Don't warn, the peer element knows what to do best when
1124 the seek failed, it might try something else.
1126 2005-10-21 Wim Taymans <wim@fluendo.com>
1128 * gst/base/gstbasesrc.c: (gst_base_src_init),
1129 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
1132 2005-10-21 Wim Taymans <wim@fluendo.com>
1134 * docs/design/part-segments.txt:
1137 * gst/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
1138 Correctly set caps, even on the subbufer.
1140 2005-10-21 Wim Taymans <wim@fluendo.com>
1142 * docs/gst/gstreamer-docs.sgml:
1143 * docs/gst/gstreamer-sections.txt:
1150 * gst/gsttask.c: (gst_task_finalize), (gst_task_func):
1154 And 2% more doc coverage.
1156 2005-10-21 Andy Wingo <wingo@pobox.com>
1158 * gst/base/gstbasesrc.c (gst_base_src_query): Clean up percent
1161 2005-10-20 Wim Taymans <wim@fluendo.com>
1163 * gst/gsterror.c: (gst_error_get_message):
1166 * gst/gststructure.c:
1171 2005-10-20 Wim Taymans <wim@fluendo.com>
1176 Another 1% more coverage.
1178 2005-10-20 Wim Taymans <wim@fluendo.com>
1180 * docs/gst/gstreamer-sections.txt:
1181 * gst/gstelement.c: (gst_element_get_state_func),
1182 (gst_element_abort_state), (gst_element_commit_state),
1183 (gst_element_lost_state):
1185 * gst/gstquery.c: (gst_query_set_position),
1186 (gst_query_parse_position), (gst_query_set_duration),
1187 (gst_query_parse_duration), (gst_query_new_convert):
1189 Yay! 1% more docs coverage.
1191 2005-10-20 Wim Taymans <wim@fluendo.com>
1194 * gst/gstquery.c: (gst_query_set_position),
1195 (gst_query_parse_position), (gst_query_set_duration),
1196 (gst_query_parse_duration), (gst_query_new_convert):
1198 * gst/gstutils.c: (gst_element_query_convert):
1200 Docs and consistency fixes.
1202 2005-10-20 Wim Taymans <wim@fluendo.com>
1208 2005-10-20 Wim Taymans <wim@fluendo.com>
1210 * gst/gstbin.c: (message_check), (bin_replace_message),
1211 (bin_remove_messages), (is_eos), (gst_bin_add_func),
1212 (update_degree), (gst_bin_sort_iterator_next),
1213 (gst_bin_change_state_func), (gst_bin_dispose), (bin_bus_handler):
1214 Reworked the message handling a bit, cache the messages instead of
1215 only the senders. alows us to do more in the future.
1217 2005-10-20 Wim Taymans <wim@fluendo.com>
1219 * docs/design/part-TODO.txt:
1222 * gst/base/gstbasesink.c: (gst_base_sink_get_position),
1223 (gst_base_sink_query):
1224 Don't use clock time to report position when in EOS.
1226 2005-10-20 Tim-Philipp Müller <tim at centricular dot net>
1228 * tools/gst-inspect.c: (print_interfaces),
1229 (print_element_properties_info), (print_element_info):
1230 Fix interface output with gst-inspect -a; don't print
1231 newlines after double/float properties.
1233 2005-10-20 Wim Taymans <wim@fluendo.com>
1235 * gst/base/gstbasesink.c: (gst_base_sink_get_position),
1236 (gst_base_sink_query):
1237 Speed up current position calculation.
1239 * gst/base/gstbasesrc.c: (gst_base_src_query),
1240 (gst_base_src_default_newsegment):
1241 Correctly set stream position in newsegment.
1243 * gst/gstbin.c: (gst_bin_add_func), (add_to_queue),
1244 (update_degree), (gst_bin_sort_iterator_next),
1245 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free):
1246 * gst/gstmessage.c: (gst_message_new_custom):
1247 Clean up debugging info
1249 * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
1250 (gst_queue_loop), (gst_queue_handle_src_query):
1253 2005-10-19 Wim Taymans <wim@fluendo.com>
1255 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
1256 (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
1257 Fix query handling again.
1259 2005-10-19 Wim Taymans <wim@fluendo.com>
1261 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
1262 (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
1263 * gst/base/gstbasesrc.c: (gst_base_src_query):
1264 * gst/elements/gstfilesink.c: (gst_file_sink_query):
1265 * gst/elements/gsttypefindelement.c:
1266 (gst_type_find_handle_src_query), (find_element_get_length),
1267 (gst_type_find_element_activate):
1270 * gst/gstquery.c: (gst_query_new_position),
1271 (gst_query_set_position), (gst_query_parse_position),
1272 (gst_query_new_duration), (gst_query_set_duration),
1273 (gst_query_parse_duration), (gst_query_set_segment),
1274 (gst_query_parse_segment):
1276 Bundling query position/duration is not a good idea since duration
1277 does not change much and we don't want to recalculate it for every
1278 position query, so they are separated again..
1279 Base value in segment query is not needed.
1281 * gst/gstqueue.c: (gst_queue_handle_src_query):
1282 * gst/gstutils.c: (gst_element_query_position),
1283 (gst_element_query_duration), (gst_pad_query_position),
1284 (gst_pad_query_duration):
1286 Updates for query API change.
1287 Added some docs here and there.
1289 2005-10-19 Thomas Vander Stichele <thomas at apestaart dot org>
1291 * check/gst/gstbin.c: (GST_START_TEST):
1292 * check/gst/gstghostpad.c: (GST_START_TEST):
1293 * check/pipelines/cleanup.c: (GST_START_TEST):
1294 wait on thread to die so we can check refcount correctly
1296 2005-10-18 Wim Taymans <wim@fluendo.com>
1298 * check/pipelines/stress.c: (GST_START_TEST):
1299 Make check a little more time consuming.
1301 2005-10-18 Wim Taymans <wim@fluendo.com>
1303 * check/Makefile.am:
1304 * check/pipelines/stress.c: (GST_START_TEST),
1305 (simple_launch_lines_suite), (main):
1306 Small state change torture test.
1308 * docs/design/part-states.txt:
1309 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
1310 (gst_base_sink_handle_object), (gst_base_sink_event), (do_playing),
1311 (gst_base_sink_change_state):
1312 Never take state lock from streaming thread, clean up ugly
1313 hacks. Unfortunatly core does not yet support nice ways to
1316 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_recalc_state),
1318 Start state recalc if a STATE_DIRTY message is posted, but only
1319 on the toplevel bin.
1321 * gst/gstelement.c: (gst_element_sync_state_with_parent),
1322 (gst_element_get_state_func), (gst_element_abort_state),
1323 (gst_element_commit_state), (gst_element_lost_state),
1324 (gst_element_set_state_func), (gst_element_change_state):
1326 State variables are now protected with the LOCK, the state
1327 lock is only used to serialize _set_state().
1329 2005-10-18 Wim Taymans <wim@fluendo.com>
1331 * check/gst/gstbin.c: (GST_START_TEST):
1332 * check/gst/gstmessage.c: (GST_START_TEST):
1333 * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
1334 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_recalc_func),
1336 * gst/gstelement.c: (gst_element_abort_state),
1337 (gst_element_commit_state), (gst_element_lost_state):
1338 * gst/gstmessage.c: (gst_message_new_state_changed),
1339 (gst_message_new_state_dirty), (gst_message_new_segment_start),
1340 (gst_message_new_segment_done), (gst_message_new_duration),
1341 (gst_message_parse_state_changed),
1342 (gst_message_parse_segment_start),
1343 (gst_message_parse_segment_done), (gst_message_parse_duration):
1345 * tools/gst-launch.c: (event_loop):
1346 Seriously, this is better than a previous commit as we only need
1347 to notify the fact that an element changed state in a streaming
1348 thread, marking the state of the parents dirty, hence the
1349 STATE_DIRTY message instead of abusing a boolean in a STATE_CHANGE
1352 2005-10-18 Wim Taymans <wim@fluendo.com>
1354 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_get_state_func),
1355 (gst_bin_recalc_func):
1356 * gst/gstelement.c: (gst_element_set_clock),
1357 (gst_element_abort_state), (gst_element_lost_state):
1358 Cleanups, prepare for state change fixes.
1360 2005-10-18 Wim Taymans <wim@fluendo.com>
1363 * gst/gstelement.c: (gst_element_class_init),
1364 (gst_element_set_state), (gst_element_set_state_func):
1366 Pending ABI changes.
1367 GThreadPool in GstBinClass to monitor async state changes.
1368 state_cookie in GstElement to detect concurrent gst/set state.
1369 set_state is now virtual too in case a very complicated element
1370 has to be constructed.
1372 2005-10-18 Wim Taymans <wim@fluendo.com>
1374 * check/gst/gstbin.c: (GST_START_TEST):
1375 * check/gst/gstmessage.c: (GST_START_TEST):
1376 * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
1377 * gst/gstbin.c: (bin_bus_handler):
1378 * gst/gstelement.c: (gst_element_commit_state),
1379 (gst_element_lost_state):
1380 * gst/gstmessage.c: (gst_message_new_state_changed),
1381 (gst_message_new_segment_start), (gst_message_new_segment_done),
1382 (gst_message_new_duration), (gst_message_parse_state_changed),
1383 (gst_message_parse_segment_start),
1384 (gst_message_parse_segment_done), (gst_message_parse_duration):
1386 * tools/gst-launch.c: (event_loop):
1387 Make messages future proof.
1388 state-change gets a flag if it was a message comming from the
1390 segment-start/stop can also be specified in other formats.
1391 A message to notify an app that a pipeline changed playback
1393 Also fix a GstMessage leak in -launch
1395 2005-10-18 Andy Wingo <wingo@pobox.com>
1397 * gst/gstelement.c (gst_element_dispose): More helpful message.
1399 2005-10-18 Thomas Vander Stichele <thomas at apestaart dot org>
1401 reviewed by: <delete if not using a buddy>
1403 * common/gtk-doc.mak:
1405 2005-10-18 Thomas Vander Stichele <thomas at apestaart dot org>
1407 * gst/gstregistry.c: (gst_registry_scan_path_level):
1408 unref a plug-in we get that was already initialized
1410 2005-10-18 Stefan Kost <ensonic@users.sf.net>
1412 * docs/gst/gstreamer-sections.txt:
1413 * docs/libs/gstreamer-libs-sections.txt:
1418 2005-10-17 Andy Wingo <wingo@pobox.com>
1420 * gst/base/gstcollectpads.c (gst_collectpads_chain): Slight
1423 * gst/Makefile.am (gstenumtypes.c): Threadsafe now.
1425 * gst/gstevent.c (gst_event_new, gst_event_finalize): LOG.
1427 * gst/gstelement.c (gst_element_get_state_func): s/INFO/DEBUG/.
1428 (gst_element_get_state_func): Better debug message.
1429 (gst_element_commit_state): s/INFO/DEBUG/.
1430 (gst_element_lost_state, gst_element_change_state):
1432 * gst/gstmessage.c (gst_message_init): s/INFO/LOG/.
1433 (gst_message_new_custom): s/INFO/LOG/.
1435 2005-10-17 Michael Smith <msmith@fluendo.com>
1437 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
1438 Check if end time is valid using end time, not start time.
1440 2005-10-17 Stefan Kost <ensonic@users.sf.net>
1442 * check/gst-libs/controller.c: (GST_START_TEST),
1443 (gst_controller_suite):
1444 * libs/gst/controller/gstcontroller.c:
1445 (gst_controlled_property_set_interpolation_mode):
1446 * libs/gst/controller/gstcontroller.h:
1447 * libs/gst/controller/gstinterpolation.c:
1448 * testsuite/controller/.cvsignore:
1449 * testsuite/controller/Makefile.am:
1450 * testsuite/controller/interpolator.c:
1451 merge controller testsuites
1453 remove mem-chunk from docs
1455 2005-10-17 Thomas Vander Stichele <thomas at apestaart dot org>
1457 * gst/gstmemchunk.c:
1458 * gst/gstmemchunk.h:
1459 * gst/gsttrashstack.c:
1460 * gst/gsttrashstack.h:
1461 out. get out. you're fired. to the Attic !
1463 2005-10-17 Thomas Vander Stichele <thomas at apestaart dot org>
1465 * gst/gstcaps.c: (gst_caps_intersect):
1466 fix signedness issues in a (hopefully) correct way
1467 * gst/gstelement.c: (gst_element_pads_activate):
1469 * gst/gstobject.c: (gst_object_set_parent):
1472 2005-10-17 Julien MOUTTE <julien@moutte.net>
1474 * gst/gstvalue.h: Fix prototypes.
1476 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
1478 * docs/gst/gstreamer-sections.txt:
1479 * gst/gst.c: (gst_version_string):
1481 * gst/gstversion.h.in:
1482 * win32/common/libgstreamer.def:
1483 add gst_version_string ()
1485 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
1489 * gst/gst.c: (init_post):
1490 * win32/common/config.h.in:
1492 * gst/gstcaps.c: (gst_caps_intersect):
1493 use gint64, the range could be bigger than a guint
1495 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
1498 document potential problem in 2038
1500 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
1502 * gst/gstcaps.c: (gst_caps_intersect):
1503 Fix guint j diving under 0
1505 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
1508 * win32/common/config.h:
1509 * win32/common/config.h.in:
1510 check for process.h, declares getpid() on Windows
1512 include process.h if we have it
1513 * gst/gstmemchunk.c: (populate), (gst_mem_chunk_new):
1514 * gst/gstmemchunk.h:
1515 fix signedness issues
1516 * win32/common/libgstreamer.def:
1519 2005-10-16 Julien MOUTTE <julien@moutte.net>
1521 * gst/gstcaps.c: (gst_caps_intersect): Fix a bad bug with a simple
1522 fix. Because of unsigned ints, caps intersection was going nuts and
1523 trying to access structures with G_MAXUINT index. That fixes
1524 videotestsrc ! ffmpegcolorspace ! fakesink
1525 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked): logs
1528 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
1531 use the gettext macro
1532 * gst/elements/gstelements.c:
1534 * gst/indexers/gstindexers.c:
1535 update for GST_PACKAGE_NAME, GST_PACKAGE_ORIGIN
1536 * win32/common/config.h:
1538 * win32/common/config.h.in:
1539 add the template to generate config.h
1540 * win32/common/gstenumtypes.c:
1541 * win32/common/gstversion.h:
1544 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
1546 * gst/gst.c: (gst_version):
1547 * gst/gstversion.h.in:
1550 2005-10-15 Tim-Philipp Müller <tim at centricular dot net>
1553 Oops, add missing closing bracket.
1555 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
1558 use common m4's for argument checking
1560 2005-10-15 Tim-Philipp Müller <tim at centricular dot net>
1562 * docs/gst/gstreamer-sections.txt:
1564 Add GST_EVENT_TYPE_NAME() macro.
1566 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
1569 * gst/gstpluginfeature.c:
1571 privatize more symbols
1573 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
1576 add srcdir, builddir includes to GST_ALL_CFLAGS, since
1577 everything that uses GStreamer API should have the includes
1579 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
1581 * docs/gst/gstreamer-sections.txt:
1582 * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
1584 give each value a _get_type, removes the DATA exports
1586 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
1590 remove _gst_registry_auto_load, not used anymore
1591 * gst/gstbin.c: (gst_bin_get_type):
1593 * gst/gstelement.c: (gst_element_get_type):
1595 * gst/gstobject.c: (gst_object_get_type):
1597 * gst/gstpad.c: (gst_pad_get_type):
1599 make _get_type functions similar, fixes data export from library
1601 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
1604 correctly make conditionals
1605 * gst/elements/Makefile.am:
1606 * gst/elements/gstelements.c:
1607 fix typo causing fdsrc not to build
1609 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
1611 * testsuite/Makefile.am:
1612 * testsuite/bytestream/.cvsignore:
1613 * testsuite/bytestream/Makefile.am:
1614 * testsuite/bytestream/filepadsink.c:
1615 * testsuite/bytestream/gstbstest.c:
1616 * testsuite/bytestream/test1.c:
1617 * testsuite/bytestream/testfile1:
1618 * testsuite/caps/normalisation.c:
1619 * testsuite/caps/random.c: (main):
1620 * testsuite/cleanup/.cvsignore:
1621 * testsuite/cleanup/Makefile.am:
1622 * testsuite/cleanup/cleanup1.c:
1623 * testsuite/cleanup/cleanup2.c:
1624 * testsuite/cleanup/cleanup3.c:
1625 * testsuite/cleanup/cleanup4.c:
1626 * testsuite/cleanup/cleanup5.c:
1627 * testsuite/controller/interpolator.c:
1628 * testsuite/debug/printf_extension.c: (main):
1629 * testsuite/elements/tee.c:
1630 * testsuite/negotiation/.cvsignore:
1631 * testsuite/negotiation/Makefile.am:
1632 * testsuite/negotiation/pad_link.c:
1633 * testsuite/pad/Makefile.am:
1634 * testsuite/pad/chainnopull.c:
1635 * testsuite/pad/getnopush.c:
1636 * testsuite/pad/link.c:
1637 * testsuite/refcounting/sched.c: (create_pipeline):
1638 * testsuite/registry/Makefile.am:
1639 * testsuite/registry/gst-print-formats.c:
1640 * testsuite/schedulers/.cvsignore:
1641 * testsuite/schedulers/142183-2.c:
1642 * testsuite/schedulers/142183.c:
1643 * testsuite/schedulers/143777-2.c:
1644 * testsuite/schedulers/143777.c:
1645 * testsuite/schedulers/147713.c:
1646 * testsuite/schedulers/147819.c:
1647 * testsuite/schedulers/147894-2.c:
1648 * testsuite/schedulers/147894.c:
1649 * testsuite/schedulers/Makefile.am:
1650 * testsuite/schedulers/group_link.c:
1651 * testsuite/schedulers/queue_link.c:
1652 * testsuite/schedulers/relink.c:
1653 * testsuite/schedulers/unlink.c:
1654 * testsuite/schedulers/unref.c:
1655 * testsuite/schedulers/useless_iteration.c:
1656 * testsuite/states/bin.c:
1657 clean out/remove some stuff from the testsuite directories
1659 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
1662 check for some headers
1663 * gst/elements/Makefile.am:
1664 * gst/elements/gstelements.c:
1665 don't compile fdsrc without sys/socket.h
1666 * gst/indexers/Makefile.am:
1667 * gst/indexers/gstindexers.c: (plugin_init):
1668 don't compile fileindex without mmap
1670 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
1677 * check/Makefile.am:
1678 * docs/gst/Makefile.am:
1679 * examples/helloworld/Makefile.am:
1681 * gst/base/Makefile.am:
1682 * gst/check/Makefile.am:
1683 * gst/elements/Makefile.am:
1684 * gst/indexers/Makefile.am:
1685 * gst/parse/Makefile.am:
1686 * libs/gst/controller/Makefile.am:
1687 * libs/gst/dataprotocol/Makefile.am:
1688 * examples/helloworld/helloworld.c: (event_loop):
1689 compile fixes, though it's not being compiled currently
1691 2005-10-14 Tim-Philipp Müller <tim at centricular dot net>
1693 * check/gst/gsttag.c: (test_date_tags), (gst_tag_suite):
1694 Add some simple tests for the new taglist date API.
1696 2005-10-14 Tim-Philipp Müller <tim at centricular dot net>
1698 * gst/elements/gstfakesink.c: (gst_fake_sink_render):
1699 * gst/elements/gstfakesrc.c: (gst_fake_src_create):
1700 Beautify 'last-message' output: print 'none' for buffer timestamps
1701 and durations if none is set; improve alignment with next messages.
1703 2005-10-14 Tim-Philipp Müller <tim at centricular dot net>
1705 * gst/gstpluginfeature.c: (gst_plugin_feature_check_version):
1706 * gst/gstpluginfeature.h:
1707 * gst/gstregistry.c: (gst_default_registry_check_feature_version):
1708 * gst/gstregistry.h:
1709 * docs/gst/gstreamer-sections.txt:
1710 Add new API to check plugin feature version requirements.
1712 * check/gst/gstplugin.c: (test_version_checks), (gst_plugin_suite):
1713 Some basic tests for the above.
1715 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
1717 * gst/gststructure.c: (gst_structure_to_string):
1718 guard against NULL printf - happens when for example
1719 a message structure with GstClock gets serialized
1721 2005-10-13 Tim-Philipp Müller <tim at centricular dot net>
1723 * gst/base/gstcollectpads.c: (gst_collectpads_event):
1724 Fix presumable copy'n'pasto.
1726 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
1728 * gst/elements/gstfakesrc.h:
1729 * gst/elements/gstfilesrc.c: (gst_file_src_create_read):
1730 * gst/elements/gsttypefindelement.c:
1732 * gst/elements/gstfilesink.c: (gst_file_sink_render):
1733 I wonder if this could actually write +2GB files before
1735 2005-10-13 Andy Wingo <wingo@pobox.com>
1737 * libs/gst/dataprotocol/dataprotocol.c (gst_dp_packet_from_caps):
1738 Fix Timmeke Waymans bug.
1739 (gst_dp_caps_from_packet): Make sure we pass a NUL-terminated
1740 string of the proper length to gst_caps_from_string. There's a
1741 potential for, before this fix, that this could cause someone
1742 connecting over the network to cause a segfault if the payload is
1745 2005-10-13 Stefan Kost <ensonic@users.sf.net>
1747 * docs/design/draft-push-pull.txt:
1748 * docs/design/part-overview.txt:
1749 * docs/random/TODO-pre-0.9:
1750 * docs/random/old/ChangeLog.gstreamer:
1751 * gst/base/gstpushsrc.c:
1755 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
1757 * gst/glib-compat.c: (gst_flags_get_first_value):
1758 * gst/glib-compat.h:
1759 * gst/gstvalue.c: (gst_value_deserialize_int_helper),
1760 (gst_value_compare_double), (gst_value_serialize_flags):
1761 GLib 2.6 g_flags_get_first_value has a bug that triggers an
1764 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
1766 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
1767 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
1769 * tools/gst-launch.c: (event_loop):
1770 print out clock nicely
1772 2005-10-13 Tim-Philipp Müller <tim at centricular dot net>
1774 * docs/gst/gstreamer-sections.txt:
1776 * gst/gsttaglist.c: (_gst_tag_initialize), (gst_tag_list_get_date),
1777 (gst_tag_list_get_date_index):
1778 Added gst_tag_list_get_date() and gst_tag_list_get_date_index().
1779 GST_TAG_DATE now has a tag type of GST_TYPE_DATE (#170777).
1781 2005-10-13 Julien MOUTTE <julien@moutte.net>
1783 * gst/base/gstcollectpads.c: (gst_collectpads_event),
1784 (gst_collectpads_chain):
1785 * gst/base/gstcollectpads.h: Handle newsegment and store informations
1788 2005-10-13 Stefan Kost <ensonic@users.sf.net>
1790 * docs/gst/gstreamer-sections.txt:
1793 * tools/gst-inspect.c: (main):
1794 * tools/gst-launch.c: (main):
1795 * tools/gst-run.c: (main):
1796 * tools/gst-xmlinspect.c: (main):
1797 fix GOption context leaks
1800 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
1804 * win32/common/config.h:
1806 * win32/vs6/grammar.dsp:
1807 * win32/vs6/libgstelements.dsp:
1808 * win32/vs6/libgstreamer.dsp:
1811 2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
1813 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
1814 * gst/base/gstbasesrc.c: (gst_base_src_query):
1815 fix more guint64<->gdouble conversions
1817 2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
1820 add win32-update target
1821 * win32/common/gstconfig.h:
1822 * win32/common/gstenumtypes.c:
1823 * win32/common/gstenumtypes.h:
1824 * win32/common/gstversion.h:
1825 add files that visual studio can't generate
1827 2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
1830 add a win32-update target
1833 2005-10-12 Wim Taymans <wim@fluendo.com>
1835 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
1836 (reset_degree), (gst_bin_dispose), (bin_bus_handler):
1837 * gst/gstelement.c: (gst_element_commit_state),
1838 (gst_element_set_state):
1839 Protect flags with proper lock.
1840 unref provided cached clock in dispose.
1842 2005-10-12 Stefan Kost <ensonic@users.sf.net>
1845 * gst/gstminiobject.h:
1847 * win32/gstenumtypes.c: (gst_mini_object_flags_get_type):
1848 removed unused flags from miniobject
1851 2005-10-12 Wim Taymans <wim@fluendo.com>
1853 * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
1854 (gst_file_sink_event), (gst_file_sink_render):
1855 Flush before seeking.
1857 2005-10-12 Andy Wingo <wingo@pobox.com>
1859 * gst/gst.c (gst_init_check): Ignore unknown options, as has
1860 always been the case.
1862 2005-10-12 Stefan Kost <ensonic@users.sf.net>
1864 * check/gst/gstbin.c: (GST_START_TEST):
1865 * docs/gst/gstreamer-sections.txt:
1866 * gst/base/gstbasesink.c: (gst_base_sink_init):
1867 * gst/base/gstbasesrc.c: (gst_base_src_init),
1868 (gst_base_src_get_range), (gst_base_src_check_get_range),
1869 (gst_base_src_start), (gst_base_src_stop):
1870 * gst/base/gstbasesrc.h:
1871 * gst/elements/gstfakesrc.c: (gst_fake_src_set_property):
1872 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
1873 (bin_element_is_sink), (reset_degree), (gst_bin_element_set_state),
1877 * gst/gstbus.c: (gst_bus_post), (gst_bus_set_flushing):
1879 * gst/gstelement.c: (gst_element_is_locked_state),
1880 (gst_element_set_locked_state), (gst_element_commit_state),
1881 (gst_element_set_state):
1883 * gst/gstindex.c: (gst_index_init):
1885 * gst/gstminiobject.h:
1886 * gst/gstobject.c: (gst_object_init), (gst_object_sink),
1887 (gst_object_set_parent):
1889 * gst/gstpad.c: (gst_pad_set_blocked_async), (gst_pad_is_blocked),
1890 (gst_pad_get_caps_unlocked), (gst_pad_set_caps):
1892 * gst/gstpadtemplate.h:
1893 * gst/gstpipeline.c: (gst_pipeline_provide_clock_func),
1894 (gst_pipeline_use_clock), (gst_pipeline_auto_clock):
1895 * gst/gstpipeline.h:
1896 * gst/indexers/gstfileindex.c: (gst_file_index_load),
1897 (gst_file_index_commit):
1898 * testsuite/bytestream/filepadsink.c: (gst_fp_sink_init):
1899 * testsuite/pad/link.c: (gst_test_src_init),
1900 (gst_test_filter_init), (gst_test_sink_init):
1901 * testsuite/states/locked.c: (main):
1902 renamed GST_FLAGS macros to GST_OBJECT_FLAGS
1903 moved bitshift from macro to enum definition
1905 2005-10-12 Wim Taymans <wim@fluendo.com>
1907 * gst/base/gstbasesink.c: (gst_base_sink_handle_buffer):
1908 * gst/elements/gstfilesink.c: (gst_file_sink_event),
1909 (gst_file_sink_render):
1910 Some more debugging info.
1912 2005-10-12 Wim Taymans <wim@fluendo.com>
1914 * docs/design/part-states.txt:
1915 * tools/gst-launch.c: (main):
1917 Revert non-intentional change.
1919 2005-10-12 Wim Taymans <wim@fluendo.com>
1921 * check/gst/gstbin.c: (GST_START_TEST):
1922 * check/gst/gstelement.c: (GST_START_TEST):
1923 * check/gst/gstevent.c: (GST_START_TEST), (test_event):
1924 * check/gst/gstghostpad.c: (GST_START_TEST):
1925 * check/gst/gstpipeline.c: (GST_START_TEST):
1926 * check/pipelines/simple_launch_lines.c: (run_pipeline):
1927 * check/states/sinks.c: (GST_START_TEST):
1928 * gst/elements/gsttypefindelement.c: (stop_typefinding):
1929 * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
1930 (gst_bin_remove_func), (gst_bin_get_state_func),
1931 (gst_bin_recalc_state), (gst_bin_change_state_func),
1933 * gst/gstelement.c: (gst_element_get_state_func),
1934 (gst_element_get_state), (gst_element_abort_state),
1935 (gst_element_commit_state), (gst_element_set_state),
1936 (gst_element_change_state), (gst_element_change_state_func):
1938 * gst/gstpipeline.c: (gst_pipeline_class_init), (do_pipeline_seek),
1939 (gst_pipeline_provide_clock_func):
1940 * gst/gstutils.c: (gst_element_link_pads_filtered):
1941 * tools/gst-launch.c: (main):
1942 * tools/gst-typefind.c: (main):
1943 Use GstClockTime in _get_state() instead of GTimeVal.
1944 Remove old code in gstutils.c
1946 2005-10-12 Andy Wingo <wingo@pobox.com>
1948 * gst/gstregistry.h (gst_registry_scan_paths): Not implemented, so
1951 * gst/gstpad.c (gst_pad_pause_task): Actually return FALSE if
1952 there is no task. Shouldn't affect any code, as nothing in our
1953 plugins checks this return value.
1954 (gst_pad_stop_task): Also take the stream lock if the pad has no
1957 2005-10-12 Wim Taymans <wim@fluendo.com>
1959 * gst/gstpad.c: (pre_activate), (post_activate),
1960 (gst_pad_activate_pull), (gst_pad_activate_push):
1961 Cleanup activation code. Reset old state if
1964 2005-10-12 Wim Taymans <wim@fluendo.com>
1966 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
1967 (gst_base_sink_change_state):
1968 No need to prerol after receiving EOS.
1970 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
1971 * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler):
1972 * gst/elements/gstidentity.c: (gst_identity_event):
1973 Print events more verbosely.
1975 2005-10-12 Wim Taymans <wim@fluendo.com>
1977 * check/Makefile.am:
1978 * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
1979 * check/states/sinks2.c:
1980 Moved sinks2 testcode in sinks check.
1982 * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
1983 (gst_bin_remove_func), (gst_bin_recalc_state),
1984 (gst_bin_change_state_func), (bin_bus_handler):
1985 Fix potential race condition when _get_state() iterated over an
1986 ASYNC element right before it posted a state completion.
1989 Do proper cast here.
1991 * gst/gstevent.c: (gst_event_new_newsegment),
1992 (gst_event_parse_newsegment):
1993 A playback rate of 0.0 is not allowed.
1995 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
1997 * win32/common/config.h:
1998 * win32/common/dirent.c: (_topendir), (_treaddir), (_tclosedir),
1999 (_trewinddir), (_ttelldir), (_tseekdir):
2000 * win32/common/dirent.h:
2001 * win32/common/gtchar.h:
2002 * win32/common/libgstbase.def:
2003 * win32/common/libgstreamer.def:
2004 * win32/vs6/grammar.dsp:
2005 * win32/vs6/gst_inspect.dsp:
2006 * win32/vs6/gst_launch.dsp:
2007 * win32/vs6/gstreamer.dsw:
2008 * win32/vs6/libgstbase.dsp:
2009 * win32/vs6/libgstelements.dsp:
2010 * win32/vs6/libgstreamer.dsp:
2011 Visual Studio 6 project files, and a new common directory.
2014 2005-10-11 Wim Taymans <wim@fluendo.com>
2016 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
2017 (gst_base_sink_do_sync), (gst_base_sink_query),
2018 (gst_base_sink_change_state):
2019 * gst/base/gstbasesink.h:
2020 Correctly parse newsegment info.
2022 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
2024 * gst/gst.c: (init_post):
2025 split plugin paths correctly
2027 2005-10-11 Wim Taymans <wim@fluendo.com>
2029 * check/gst/gstevent.c: (GST_START_TEST):
2030 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
2031 (gst_base_sink_change_state):
2032 * gst/base/gstbasesrc.c: (gst_base_src_default_newsegment):
2033 * gst/base/gstbasetransform.c: (gst_base_transform_event):
2034 * gst/elements/gstfilesink.c: (gst_file_sink_event):
2035 * gst/gstevent.c: (gst_event_new_newsegment),
2036 (gst_event_parse_newsegment):
2038 Added extra flag to newsegment for future API freeze.
2039 Updated check and base elements.
2041 2005-10-11 Julien MOUTTE <julien@moutte.net>
2043 * gst/base/gstcollectpads.c: (gst_collectpads_init),
2044 (gst_collectpads_add_pad), (gst_collectpads_pop),
2045 (gst_collectpads_event), (gst_collectpads_chain):
2046 * gst/base/gstcollectpads.h: Handle EOS correctly.
2048 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
2050 * tools/gst-launch.c: (main):
2051 more null protecting
2053 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
2055 * gst/gst-i18n-lib.h:
2056 check for ENABLE_NLS, not GETTEXT_PACKAGE
2057 * gst/gstregistry.c: (gst_registry_add_plugin),
2058 (gst_registry_scan_path_level),
2059 (_gst_registry_remove_cache_plugins):
2060 protect possibly NULL strings
2061 * gst/parse/types.h:
2062 config.h already included before
2063 * tools/gst-inspect.c: (main):
2064 sys/wait.h also doesn�t exist on mingw, so change the ifdef check
2065 check for ENABLE_NLS, not GETTEXT_PACKAGE
2066 * tools/gst-launch.c: (main):
2067 check for ENABLE_NLS, not GETTEXT_PACKAGE
2069 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
2072 if we don't have glib, fail before testing 2.8
2073 * gst/base/gstbasetransform.c: (gst_base_transform_change_state):
2074 fix a leak, should fix plugins-base testsuite
2076 2005-10-11 Andy Wingo <wingo@pobox.com>
2078 * gst/gstpad.c (pre_activate): Renamed from pre_activate_switch,
2079 take the mode we're going to as an arg. Go head and set the mode
2080 and flushing flags now, so that if the activate function starts a
2081 thread all the flags will be in the right state.
2082 (post_activate): Renamed also. Just handle making sure streaming
2083 finishes for the deactivation case, and setting the deactivated
2085 (gst_pad_set_active): Complain loudly if deactivation fails.
2086 (gst_pad_activate_pull): Adapt to pre/post_activate changes.
2087 (gst_pad_activate_push): Adapt to pre/post_activate changes,
2088 remove the terrible hack.
2090 2005-10-11 Wim Taymans <wim@fluendo.com>
2092 * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
2093 (is_eos), (gst_bin_add_func), (gst_bin_remove_func),
2094 (gst_bin_recalc_state), (gst_bin_change_state_func),
2095 (gst_bin_dispose), (bin_bus_handler):
2097 Prepare to make current EOS message queue more generic.
2100 * gst/gstevent.c: (gst_event_new_newsegment),
2101 (gst_event_parse_newsegment):
2103 Rename base to stream_time.
2108 2005-10-11 Wim Taymans <wim@fluendo.com>
2110 * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
2111 (gst_bin_add_func), (gst_bin_remove_func), (gst_bin_recalc_state),
2112 (gst_bin_change_state_func), (bin_bus_handler):
2114 Work on proper clock selection.
2116 2005-10-11 Edward Hervey <edward@fluendo.com>
2118 * libs/gst/controller/gstcontroller.c: (gst_controller_remove_properties_list):
2119 * libs/gst/controller/gstcontroller.h:
2120 Added GList* version of _remove_properties() in order to be able to wrap
2123 2005-10-11 Wim Taymans <wim@fluendo.com>
2125 * docs/design/part-states.txt:
2128 * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_recalc_state),
2129 (gst_bin_change_state_func), (bin_bus_handler):
2130 Doc updates. Don't distribute the same clock over and over again.
2136 * gst/gstpad.c: (gst_flow_get_name), (gst_flow_to_quark),
2137 (gst_pad_get_type), (gst_pad_push), (gst_pad_push_event),
2138 (gst_pad_send_event):
2140 Make probe emission threadsafe again.
2141 Register quarks and move _get_name() from utils.
2144 * gst/gstpipeline.c: (gst_pipeline_class_init),
2145 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
2146 Only redistribute the clock of it changed.
2148 * gst/gstsystemclock.h:
2153 Moved the _flow_get_name() to GstPad.
2155 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
2157 * check/gst-libs/gdp.c: (GST_START_TEST):
2158 * check/gst/gstcaps.c: (GST_START_TEST):
2159 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc),
2160 (gst_dp_dump_byte_array), (gst_dp_header_from_buffer),
2161 (gst_dp_packet_from_caps):
2162 fix more valgrind warnings before turning up the heat
2164 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
2166 * gst/parse/grammar.y:
2167 some cleanup before the hacking
2169 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
2171 * gst/base/gstbasesrc.c: (gst_base_src_query):
2173 * gst/gstutils.c: (gst_guint64_to_gdouble),
2174 (gst_gdouble_to_guint64), (gst_util_uint64_scale):
2176 externalize, basesrc uses it
2177 obviously the implementation needs testing
2179 2005-10-10 Wim Taymans <wim@fluendo.com>
2181 * tests/sched/Makefile.am:
2182 * tests/sched/sort.c: (make_pipeline1), (make_pipeline2),
2183 (make_pipeline3), (make_pipeline4), (print_elem), (main):
2185 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
2187 * gst/gstutils.c: (guint64_to_gdouble), (gst_util_uint64_scale):
2188 apparently converting from guint64 to double is not implemented
2191 2005-10-10 Wim Taymans <wim@fluendo.com>
2193 * check/Makefile.am:
2194 * check/generic/states.c: (GST_START_TEST):
2195 * check/gst/gstbin.c: (GST_START_TEST):
2196 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
2197 * check/states/sinks.c: (GST_START_TEST):
2198 * check/states/sinks2.c: (GST_START_TEST), (gst_object_suite),
2200 Check fixes, use API as stated in design docs, remove hacks.
2202 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
2203 (gst_base_sink_change_state):
2204 Catch stopping our task while we're shutting down.
2206 * gst/gstbin.c: (gst_bin_init), (gst_bin_add_func),
2207 (gst_bin_remove_func), (gst_bin_get_state_func),
2208 (gst_bin_recalc_state), (gst_bin_change_state_func),
2211 * gst/gstelement.c: (gst_element_init),
2212 (gst_element_get_state_func), (gst_element_abort_state),
2213 (gst_element_commit_state), (gst_element_lost_state),
2214 (gst_element_set_state), (gst_element_change_state),
2215 (gst_element_change_state_func):
2217 New state change algorithm (see #318116)
2219 * gst/gstpipeline.c: (gst_pipeline_class_init),
2220 (gst_pipeline_init), (gst_pipeline_set_property),
2221 (gst_pipeline_get_property), (do_pipeline_seek),
2222 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
2223 * gst/gstpipeline.h:
2224 Remove crude state change hacks.
2229 * tools/gst-launch.c: (main):
2230 Fixes for state change. Needs some more work to fully use the
2233 2005-10-10 Andy Wingo <wingo@pobox.com>
2235 * tests/Makefile.am (noinst_PROGRAMS): No more init.c.
2237 * gst/gst.c (G_OPTION_FLAG_NO_ARG): Apparently GLib 2.8 requires
2238 this flag, but it's not even in GLib 2.6. Odd. Hack around the
2241 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
2243 * gst/gstiterator.c: (gst_iterator_new):
2244 Fix my previous commit: GTypes passed to gst_iterator_new()
2245 can be fundamental types.
2247 2005-10-10 Wim Taymans <wim@fluendo.com>
2249 * gst/gstelement.c: (gst_element_iterate_pad_list),
2250 (gst_element_iterate_pads), (gst_element_iterate_src_pads),
2251 (gst_element_iterate_sink_pads):
2252 Use src/sink pads lists for the respective iterators instead
2255 2005-10-10 Andy Wingo <wingo@pobox.com>
2257 Merged in popt removal + GOption addition patch from Ronald, bug
2260 * docs/gst/gstreamer-sections.txt: Add STATE_(UN)LOCK_FULL, move
2261 GstElement macros around, remove popt-related symbols, add goption
2264 * configure.ac: Remove popt checks, require GLib 2.6 for GOption.
2266 * docs/gst/Makefile.am:
2267 * docs/libs/Makefile.am: No POPT_CFLAGS.
2269 * examples/manual/Makefile.am:
2270 * docs/manual/basics-init.xml: Doc updates with an example.
2272 * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
2273 (gst_init), (parse_one_option), (parse_goption_arg):
2274 * gst/gst.h: Removed gst_init_with_popt_table and friends. Took a
2275 bit of hand merging and debugging to get the GOption stuff working
2278 * tests/Makefile.am:
2279 * tools/Makefile.am:
2280 * tools/gst-inspect.c: (main):
2281 * tools/gst-launch.c: (main):
2282 * tools/gst-run.c: (main):
2283 * tools/gst-xmlinspect.c: (main): Thanks Ronald!
2285 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
2287 * gst/gstiterator.c: (gst_iterator_new):
2288 Add assertions to make sure passed GType is likely to really
2289 be a GType (as the compiler won't catch it if the size and
2290 GType arguments get mixed up, see #318447).
2292 2005-10-10 Josef Zlomek <josef dot zlomek at xeris dot cz>
2294 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
2296 * gst/gstbin.c: (gst_bin_iterate_sorted):
2297 Pass GType and size arguments to gst_iterator_new() in the right
2298 order (maybe we should make _new() take the GType as first argument
2299 just like _new_list()?) (#318447).
2302 2005-10-10 Wim Taymans <wim@fluendo.com>
2304 * gst/gstelement.c: (gst_element_finalize):
2305 And free the GStaticRecMutex too
2307 2005-10-10 Andy Wingo <wingo@pobox.com>
2309 * gst/gstelement.c (gst_element_init, gst_element_finalize):
2310 Allocate and free the mutex properly.
2312 * gst/gstelement.h (GST_STATE_UNLOCK_FULL, GST_STATE_LOCK_FULL):
2314 (GstElement): The state_lock is now recursive. Rebuild your
2315 plugins, suckers. Old macros adapted.
2317 * docs/gst/gstreamer-sections.txt: Doc updates.
2320 * gst/gstutils.c (g_static_rec_cond_timed_wait)
2321 (g_static_rec_cond_wait): Ported from state changes patch, while
2322 we wait on bug #317802 to be solved in a well-distributed GLib.
2324 * gst/gstelement.c (gst_element_change_state_func): Renamed from
2325 gst_element_change_state, variable name changes.
2326 (gst_element_change_state): Split out of gst_element_set_state in
2327 preparation for the state change merge. Doesn't pay attention to
2328 the 'transition' argument.
2329 (gst_element_set_state): Updates, hopefully purely cosmetic.
2330 (gst_element_sync_state_with_parent): MT-safety. Ported from the
2332 (gst_element_get_state_func): Renamed from get_state, cosmetic
2335 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
2337 * gst/elements/gstelements.c:
2338 * win32/GStreamer.vcproj:
2340 * win32/dirent.c: (_tseekdir):
2341 * win32/gst-inspect.vcproj:
2342 * win32/gst-launch.vcproj:
2343 * win32/gstconfig.h:
2344 * win32/gstelements.vcproj:
2345 * win32/gstenumtypes.c: (gst_object_flags_get_type):
2346 * win32/gstreamer.def:
2348 updates for the win32 build (patch from Sebastien Moutte)
2350 2005-10-10 Andy Wingo <wingo@pobox.com>
2352 * gst/gstbin.c (gst_bin_get_state_func): Renamed from
2353 gst_bin_get_state, cleaned up (but no logic changes).
2354 (bin_element_is_sink): Comment updates.
2355 (sink_iterator_filter): Remove needless cast.
2356 (gst_bin_iterate_sinks): Doc update.
2357 (gst_bin_change_state_func): Renamed from gst_bin_change_state,
2358 cleaned up (but no logic changes).
2360 * check/states/sinks.c (test_src_sink): Cleanups from the state
2362 (test_livesrc_sink): Sync on the state.
2364 * check/pipelines/simple_launch_lines.c (run_pipeline): Merge from
2365 the state change patch.
2367 * check/gst/gstghostpad.c (test_ghost_pads): Merge from the state
2370 * check/gst/gstbin.c: Merge in some style fixes and additional
2371 checks from Wim's state change patch.
2373 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
2375 * gst/base/gsttypefindhelper.c: (helper_find_peek),
2376 (gst_type_find_helper):
2377 Check whether we have the requested data already in our list of
2378 cached buffers before pulling a new buffer; also make the buffer
2379 list a GSList. Speeds up typefinding by ca. 5-10% altogether.
2381 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
2386 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
2387 don't use long long, it's not portable. Replacing with
2388 gint64 seems to work; let's hope no skeletons fall out of the closet.
2390 2005-10-10 Andy Wingo <wingo@pobox.com>
2392 * autogen.sh (CONFIGURE_DEF_OPT): No more --plugin-buiddir, yay
2394 2005-10-09 Stefan Kost <ensonic@users.sf.net>
2396 * docs/gst/gstreamer-sections.txt:
2401 * gst/gstmessage.c: (gst_message_parse_state_changed):
2404 more docs, fix compilation
2406 2005-10-09 Philippe Khalaf <burger@speedy.org>
2408 Fixed a few forgotten variables on previous commit
2410 2005-10-09 Tim-Philipp Müller <tim at centricular dot net>
2412 * gst/base/gsttypefindhelper.c: (helper_find_peek):
2413 Fix evil typefind crasher: getrange() might return a short
2414 buffer at the end of a file, but gst_type_find_peek() must
2415 either return the full data as requested or NULL, but
2416 never a short buffer.
2418 2005-10-09 Thomas Vander Stichele <thomas at apestaart dot org>
2420 * gst/gstmessage.c: (gst_message_new_state_changed),
2421 (gst_message_parse_state_changed):
2423 don't use "new", it's a C++ keyword
2425 2005-10-08 Wim Taymans <wim@fluendo.com>
2427 * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_query):
2428 * gst/gstelement.c: (gst_element_post_message):
2429 * gst/gstpipeline.c: (gst_pipeline_change_state):
2430 Small docs and debug updates.
2432 2005-10-08 Stefan Kost <ensonic@users.sf.net>
2434 * docs/gst/gstreamer-sections.txt:
2435 * gst/gstelementfactory.c:
2440 2005-10-08 Wim Taymans <wim@fluendo.com>
2442 * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_change_state),
2443 (gst_bin_dispose), (bin_bus_handler):
2444 Fix typos, add comments.
2445 Clear EOS list when going to PAUSED from any direction and do it
2446 in a threadsafe way.
2447 Get base time in a threadsafe way too.
2448 Fix confusing debug in the change_state function.
2449 Various other small cleanups.
2451 * gst/gstelement.c: (gst_element_post_message):
2452 Fix very verbose bus posting code.
2454 * gst/gstpipeline.c: (gst_pipeline_class_init),
2455 (gst_pipeline_set_property), (gst_pipeline_get_property),
2456 (gst_pipeline_change_state):
2457 Small ARG_ -> PROP_ cleanup
2459 2005-10-08 Wim Taymans <wim@fluendo.com>
2461 * gst/gstbin.c: (is_eos), (bin_bus_handler):
2462 Do a less CPU demanding EOS check because we can.
2464 2005-10-08 Wim Taymans <wim@fluendo.com>
2466 * libs/gst/dataprotocol/dataprotocol.c:
2467 (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
2468 (gst_dp_packet_from_event):
2469 * libs/gst/dataprotocol/dataprotocol.h:
2470 * libs/gst/dataprotocol/dp-private.h:
2471 It's about time we bump the version number.
2472 Since event types don't fit in the guint8 anymore describing
2473 the payload type, make payload type 16 bits wide.
2475 2005-10-08 Wim Taymans <wim@fluendo.com>
2477 * docs/design/part-TODO.txt:
2478 * docs/design/part-clocks.txt:
2479 * docs/design/part-events.txt:
2480 * docs/design/part-gstbin.txt:
2481 * docs/design/part-gstelement.txt:
2482 * docs/design/part-gstpipeline.txt:
2483 * docs/design/part-live-source.txt:
2484 * docs/design/part-messages.txt:
2485 * docs/design/part-overview.txt:
2486 * docs/design/part-states.txt:
2489 2005-10-08 Wim Taymans <wim@fluendo.com>
2493 Fix event quark registration.
2494 Add some space between events so we can insert them in the
2497 2005-10-08 Wim Taymans <wim@fluendo.com>
2499 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
2500 (gst_base_sink_handle_buffer):
2507 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
2508 (gst_queue_set_property), (gst_queue_get_property):
2510 Remove old unused properties.
2512 2005-10-08 Stefan Kost <ensonic@users.sf.net>
2513 * docs/gst/gstreamer-sections.txt:
2516 * gst/gstminiobject.c:
2517 * gst/gstminiobject.h:
2521 lots of new docs and doc fixes
2523 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
2525 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_load_file):
2527 * gst/gstregistry.c: (gst_registry_lookup_locked),
2528 (gst_registry_scan_path_level):
2529 * gst/gstregistryxml.c: (load_plugin):
2530 Only ever load one plugin for a given plugin basename.
2531 This ensures correct overriding of GST_PLUGIN_PATH over
2532 GST_PLUGIN_SYSTEM_PATH and of home dir plugins over
2533 system installed plugins.
2535 2005-10-08 Wim Taymans <wim@fluendo.com>
2537 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
2538 (gst_base_sink_do_sync), (gst_base_sink_handle_buffer):
2539 Prepare for doing QOS.
2541 2005-10-08 Wim Taymans <wim@fluendo.com>
2543 * check/gst/gstbin.c: (GST_START_TEST):
2544 * check/pipelines/cleanup.c: (GST_START_TEST):
2545 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
2546 Allow new clock message too.
2548 2005-10-08 Wim Taymans <wim@fluendo.com>
2550 * gst/gstmessage.c: (gst_message_new_error),
2551 (gst_message_new_warning), (gst_message_new_tag),
2552 (gst_message_new_state_changed), (gst_message_new_clock_provide),
2553 (gst_message_new_clock_lost), (gst_message_new_new_clock),
2554 (gst_message_new_segment_start), (gst_message_new_segment_done),
2555 (gst_message_parse_state_changed),
2556 (gst_message_parse_clock_provide), (gst_message_parse_clock_lost),
2557 (gst_message_parse_new_clock):
2559 Also carry the clock in question.
2561 2005-10-08 Wim Taymans <wim@fluendo.com>
2563 * gst/gstmessage.c: (gst_message_new_custom),
2564 (gst_message_new_eos), (gst_message_new_error),
2565 (gst_message_new_warning), (gst_message_new_tag),
2566 (gst_message_new_state_changed), (gst_message_new_clock_provide),
2567 (gst_message_new_new_clock), (gst_message_new_segment_start),
2568 (gst_message_new_segment_done), (gst_message_parse_state_changed),
2569 (gst_message_parse_clock_provide), (gst_message_parse_new_clock):
2572 Added clock related messages.
2574 * gst/gstpipeline.c: (gst_pipeline_change_state):
2575 Post message when the clock changed.
2577 * tools/gst-launch.c: (event_loop):
2580 2005-10-08 Tim-Philipp Müller <tim at centricular dot net>
2582 * tools/gst-inspect.c: (print_element_properties_info):
2583 Can't pass NULL strings to g_print() on windows.
2585 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
2588 * docs/gst/Makefile.am:
2589 * docs/gst/gstreamer-docs.sgml:
2590 * docs/gst/running.xml:
2591 * docs/version.entities.in:
2592 add a chapter on running GStreamer.
2593 document GST_DEBUG and GST_PLUGIN* env vars
2595 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
2600 remove PLUGINS_BUILDDIR stuff
2601 * gst/gst.c: (init_post):
2602 reorder parsing of GST_PLUGIN_PATH and GST_PLUGIN_SYSTEM_PATH
2604 remove, it was condescending and not needed
2606 2005-10-08 Wim Taymans <wim@fluendo.com>
2608 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
2609 (gst_base_sink_handle_object), (gst_base_sink_event),
2610 (gst_base_sink_wait), (gst_base_sink_handle_event),
2611 (gst_base_sink_change_state):
2612 * gst/base/gstbasesink.h:
2613 Repost EOS message while going to PLAYING if still EOS.
2614 Make sure that when receiving a FLUSH_START we don't attempt
2615 to sync on the clock anymore.
2617 2005-10-08 Wim Taymans <wim@fluendo.com>
2619 * tools/gst-launch.c: (event_loop):
2620 Better message printout.
2622 2005-10-08 Wim Taymans <wim@fluendo.com>
2624 * gst/gstbin.c: (gst_bin_child_proxy_get_child_by_index),
2625 (gst_bin_child_proxy_get_children_count):
2626 * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
2627 (gst_child_proxy_lookup), (gst_child_proxy_get_property),
2628 (gst_child_proxy_get_valist), (gst_child_proxy_set_property),
2629 (gst_child_proxy_set_valist):
2630 * gst/parse/grammar.y:
2631 Make ChildProxy threadsafe and fix mem leaks.
2633 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
2635 * gst/gst.c: (init_post):
2636 debug the GST_PLUGIN_ env vars
2638 2005-10-08 Wim Taymans <wim@fluendo.com>
2640 * check/gst/gstbin.c: (GST_START_TEST):
2641 * check/gst/gstmessage.c: (GST_START_TEST):
2642 * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
2643 * gst/gstelement.c: (gst_element_commit_state),
2644 (gst_element_lost_state):
2645 * gst/gstmessage.c: (gst_message_new_state_changed),
2646 (gst_message_parse_state_changed):
2648 * tools/gst-launch.c: (event_loop):
2649 Added extra field to STATE_CHANGE message with the pending
2650 state, which will be different from the new state soon.
2652 2005-10-08 Wim Taymans <wim@fluendo.com>
2654 * gst/gstbus.c: (gst_bus_pop):
2656 * gst/gstsystemclock.c: (gst_system_clock_async_thread):
2657 Small cleanups and doc updates.
2659 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
2661 * gst/gst.c: (init_pre):
2662 * gst/gstbin.c: (gst_bin_add_func):
2663 log distributing clocks and base time
2664 * gst/gstregistry.c: (gst_registry_add_plugin),
2665 (gst_registry_scan_path_level), (gst_registry_scan_path):
2666 clean up the debugging output a little
2667 * gst/gstutils.c: (gst_element_state_get_name):
2668 warn about a memleak (I've actually seen this be used, though
2669 it was probably a bug)
2671 2005-10-07 Wim Taymans <wim@fluendo.com>
2673 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
2674 (gst_base_src_init), (gst_base_src_default_newsegment),
2675 (gst_base_src_newsegment), (gst_base_src_do_seek),
2676 (gst_base_src_loop), (gst_base_src_start):
2677 * gst/base/gstbasesrc.h:
2678 Make the newsegment event customizable by subclasses.
2680 2005-10-07 Wim Taymans <wim@fluendo.com>
2682 * gst/gstevent.c: (gst_event_new_buffersize),
2683 (gst_event_parse_buffersize):
2685 New event for future idea.
2687 2005-10-07 Andy Wingo <wingo@pobox.com>
2689 * gst/gstelement.c (gst_element_post_message): Doc update.
2691 * docs/gst/gstreamer-sections.txt: Update.
2693 * gst/gstmessage.c (gst_message_new_application): Made into a
2694 function like honest API calls.
2695 (gst_message_new_element): New message type.
2697 * gst/gstmessage.h (enum): Add GST_MESSAGE_ELEMENT type.
2699 * check/elements/fakesrc.c (test_no_preroll): New check, checks
2700 that setting a live fakesrc to PAUSED returns NO_PREROLL both
2703 * gst/base/gstbasesrc.c (gst_base_src_change_state): Allow a
2704 NO_PREROLL from gst_element_change_state to fall through.
2706 2005-10-07 Wim Taymans <wim@fluendo.com>
2708 * gst/gstghostpad.c: (gst_ghost_pad_get_internal),
2709 (gst_ghost_pad_do_activate_push):
2710 Activating a ghostpad with no internal pad in push mode
2713 2005-10-07 Thomas Vander Stichele <thomas at apestaart dot org>
2716 there's no point in wrapping FLAG_SET/_UNSET in STMT macros.
2717 Fixes compilation on Windows.
2719 2005-10-07 Michael Smith <msmith@fluendo.com>
2721 * tools/gst-inspect.c:
2722 Print out feature and plugin count at the end when printing out
2725 2005-10-04 Michael Smith <msmith@fluendo.com>
2727 * gst/gsterror.c: (_gst_stream_errors_init):
2728 Add another error string used in a few existing plugins.
2731 * gst/gstpluginfeature.c: (gst_plugin_feature_load):
2732 * tools/gst-inspect.c: (print_element_info):
2733 When a feature disappears from a plugin (and the feature exists in
2734 the cached registry file), things went horribly wrong. This isn't a
2735 complete fix, we should actually be removing the 'missing' features
2736 from the features list when we load the actual plugin. That's not
2739 2005-10-04 Johan Dahlin <johan@gnome.org>
2741 * check/gst/gstiterator.c: (GST_START_TEST):
2742 * gst/gstbin.c: (gst_bin_iterate_elements),
2743 (gst_bin_iterate_recurse), (gst_bin_iterate_sorted):
2744 * gst/gstelement.c: (gst_element_iterate_pads):
2745 * gst/gstformat.c: (gst_format_iterate_definitions):
2746 * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
2747 (gst_iterator_new_list), (gst_iterator_filter):
2748 * gst/gstiterator.h:
2749 * gst/gstquery.c: (gst_query_type_iterate_definitions):
2750 Add a GType to GstIterator, update callsites and tests.
2752 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
2754 * gst/gstpad.c: (gst_pad_event_default_dispatch):
2755 give events a chance to be handled by event probes when the pad
2758 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
2760 * gst/gstevent.c: (gst_event_type_get_name),
2761 (gst_event_type_to_quark), (gst_event_finalize), (gst_event_new):
2763 add string representations for event types
2765 2005-10-06 Wim Taymans <wim@fluendo.com>
2767 * gst/elements/gstfilesink.c: (gst_file_sink_close_file):
2768 Don't use NULL pointers.
2770 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
2772 * gst/gst_private.h:
2776 * gst/gstpluginfeature.c:
2777 widen the debug category in output to fit the biggest one we have
2778 add a bus category and use it
2779 play with the colors
2780 fix up some categories
2782 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
2784 * gst/gstghostpad.c: (gst_ghost_pad_internal_do_activate_push):
2785 add push activation of sink ghost pads.
2786 Andye, please verify
2788 2005-10-05 Thomas Vander Stichele <thomas at apestaart dot org>
2790 * gst/gstutils.c: (gst_element_link_pads):
2791 fix a bug in the case where neither element has a pad
2792 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
2793 add a test for that case
2795 2005-10-05 Thomas Vander Stichele <thomas at apestaart dot org>
2797 * gst/gstpad.c: (gst_pad_push), (gst_pad_push_event):
2798 emit have-data before checking for peers. This allows
2799 for probe handlers to connect elements. This helps autopluggers.
2800 * check/gst/gstpad.c: (GST_START_TEST), (_probe_handler),
2802 add six checks, linked/unlinked with no/true/false probe
2804 2005-10-04 Wim Taymans <wim@fluendo.com>
2806 * gst/elements/gstfakesink.c: (gst_fake_sink_get_property),
2807 (gst_fake_sink_event), (gst_fake_sink_preroll),
2808 (gst_fake_sink_render), (gst_fake_sink_change_state):
2809 * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler),
2810 (gst_fake_src_get_property), (gst_fake_src_create),
2811 (gst_fake_src_stop):
2812 * gst/elements/gstidentity.c: (gst_identity_stop):
2813 Protect last_message with lock.
2815 2005-10-04 Edward Hervey <edward@fluendo.com>
2818 Added precision in the comments for GST_FORMAT_DEFAULT
2820 2005-10-04 Tim-Philipp Müller <tim at centricular dot net>
2822 * tools/gst-launch.c: (main):
2823 Don't try to run erroneous pipelines.
2825 2005-10-04 Julien MOUTTE <julien@moutte.net>
2827 * gst/gstbus.c: We don't need this header.
2829 2005-10-03 Thomas Vander Stichele <thomas at apestaart dot org>
2834 === release 0.9.3 ===
2836 2005-10-03 Thomas Vander Stichele <thomas at apestaart dot org>
2840 Releasing 0.9.3, "Unregistered"
2842 2005-10-03 Andy Wingo <wingo@pobox.com>
2844 * gst/gstpad.c (gst_pad_activate_push): There is a race condition
2845 whereby calling a pad's activatepush() function can start a thread
2846 that starts to push or pull before the pad gets the FLUSHING flag
2847 unset. Hack around it by holding the stream lock until the flag is
2848 set. Need to replace this with a proper solution. Together with
2849 the ghost pad fixes, this fixes mp3 playing/tagreading.
2851 * docs/design/part-gstghostpad.txt: Add a note about activation of
2852 proxy pads outside of ghost pads.
2854 * gst/gstghostpad.c: Implement the ghost pad activation design.
2856 2005-10-02 Andy Wingo <wingo@pobox.com>
2858 * gst/gstobject.h (GST_OBJECT_REFCOUNT_VALUE): Just use the int.
2859 It is volatile, after all.
2861 * docs/design/part-gstghostpad.txt: Flesh out activation with
2864 * gst/base/gstbasesrc.c (gst_base_src_init): Use
2867 2005-10-02 Tim-Philipp Müller <tim at centricular dot net>
2870 Fix (unused) AM_CONDITIONAL tests.
2872 2005-10-01 Alessandro Decina <alessandro at nnva dot org>
2874 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
2876 * gst/gstutils.c: (gst_pad_query_convert):
2877 Add assertion that makes sure src_val is >=0, just like
2878 gst_query_new_convert() has. (#315895)
2880 2005-09-30 Edward Hervey <edward@fluendo.com>
2882 * gst/elements/gsttee.c: (gst_tee_do_push), (gst_tee_handle_buffer):
2883 Let's not iterate pads we're not interested in, it avoids getting
2884 sky-high refcounts on sinkpad.
2886 2005-09-30 Wim Taymans <wim@fluendo.com>
2888 * gst/gstelement.c: (gst_element_set_state),
2889 (gst_element_change_state):
2890 Small tweak, element in ASYNC remains ASYNC.
2892 2005-09-30 Wim Taymans <wim@fluendo.com>
2894 * gst/base/gstbasesink.c: (gst_base_sink_change_state):
2895 Only error is an error.
2897 * gst/gstbin.c: (gst_bin_change_state):
2900 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_chain):
2901 Also call pad_block in pad alloc.
2903 * gst/gstutils.c: (gst_flow_get_name):
2906 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
2908 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
2909 (gst_base_src_get_range):
2910 Fix documentation typos. Add some more debug info.
2912 2005-09-29 David Schleef <ds@schleef.org>
2914 * gst/gstplugin.c: (gst_plugin_load_file): Make some error messages
2915 more end-user friendly.
2916 * tools/gst-inspect.c: (main): Check if command-line argument is
2917 a file and attempt to load that file as a plugin.
2919 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
2921 * check/gst/gstbin.c:
2922 * check/states/sinks.c:
2923 fix tests for the new warning
2924 * check/gst/gstpipeline.c:
2925 add a test for pipeline and bus interaction
2927 elements should be NULL if they get disposed; add a warning if not
2929 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
2932 for 2.6 refcounting, make debug log more correct by printing
2933 the actual refcounts at the time of swap (Wim)
2935 2005-09-29 Andy Wingo <wingo@pobox.com>
2937 * gst/gstbus.c (gst_bus_remove_signal_watch): New function,
2938 removes signal watches previously added via
2939 gst_bus_add_signal_watch.
2940 (gst_bus_add_signal_watch): Don't return the source id, just store
2941 it on the bus if there wasn't an id already.
2943 * gst/gstbus.h (GstBus): Add a couple new fields. API changes for
2944 add_signal_watch and remove_signal_watch.
2946 2005-09-29 Edward Hervey <edward@fluendo.com>
2948 * libs/gst/controller/gstcontroller.c: (gst_controller_new_list):
2949 Better if we actually iterate the list :)
2951 2005-09-29 Wim Taymans <wim@fluendo.com>
2953 * check/gst/gstbin.c: (GST_START_TEST):
2954 Change for new bus API.
2956 * check/gst/gstbus.c: (message_func_eos), (message_func_app),
2957 (send_messages), (GST_START_TEST), (gstbus_suite):
2958 Change for new bus signal API.
2960 * gst/gstbus.c: (gst_bus_class_init), (gst_bus_have_pending),
2961 (gst_bus_source_prepare), (gst_bus_source_check),
2962 (gst_bus_create_watch), (gst_bus_add_watch_full),
2963 (gst_bus_add_watch), (gst_bus_poll), (gst_bus_async_signal_func),
2964 (gst_bus_sync_signal_handler), (gst_bus_add_signal_watch):
2966 Remove support for multiple GSources operating on different
2967 message types as it is too complex and unneeded when using
2969 Added support for receiving signals from the bus.
2971 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
2973 * docs/libs/tmpl/gstdataprotocol.sgml:
2974 * docs/manual/advanced-dataaccess.xml:
2975 * gst/elements/gstcapsfilter.c:
2977 rename filter-caps to caps property
2979 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
2981 * gst/gstvalue.c: (gst_value_deserialize_fraction):
2982 More robust fraction string parsing.
2984 * docs/pwg/appendix-porting.xml:
2985 Mention gst_pad_use_explicit_caps() => gst_pad_use_fixed_caps()
2987 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
2989 * gst/gstcaps.c: (gst_caps_do_simplify):
2990 Thou shalt not free a structure and then continue using it
2991 in the next loop iteration.
2993 * check/gst/gstcaps.c: (check_fourcc_list), (test_simplify),
2995 Add test case for caps simplification.
2997 2005-09-29 Wim Taymans <wim@fluendo.com>
2999 * check/gst/gstbin.c: (GST_START_TEST):
3002 2005-09-29 Wim Taymans <wim@fluendo.com>
3004 * check/gst/gstbin.c: (GST_START_TEST):
3007 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
3008 (add_to_queue), (clear_queue), (reset_degree), (update_degree),
3009 (find_element), (gst_bin_sort_iterator_next),
3010 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
3011 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
3012 (gst_bin_change_state), (gst_bin_dispose):
3013 A bin does not have a bus, it gets the bus from the parent.
3015 * gst/gstelement.c: (gst_element_requires_clock),
3016 (gst_element_provides_clock), (gst_element_is_indexable),
3017 (gst_element_is_locked_state), (gst_element_change_state),
3018 (gst_element_set_bus_func):
3021 * gst/gstpipeline.c: (gst_pipeline_class_init),
3022 (gst_pipeline_init), (gst_pipeline_provide_clock_func):
3023 The pipeline provides a bus.
3025 2005-09-28 Johan Dahlin <johan@gnome.org>
3027 * gst/gstmessage.c (gst_message_parse_state_changed): Use
3028 gst_structure_get_enum instead of gst_structure_get_int
3030 * gst/gststructure.c (gst_structure_get_enum): Impl.
3032 * gst/gststructure.h (gst_structure_get_enum): Add
3034 * docs/gst/gstreamer-sections.txt: Ditto
3036 * gst/gstmessage.c (gst_message_new_state_changed): Use
3037 GST_TYPE_STATE instead of G_TYPE_INT, mainly for language bindings
3038 which does introspection.
3039 Reviewed by Christian Schaller
3041 2005-09-28 Stefan Kost <ensonic@users.sf.net>
3043 * gst/gstinfo.c: (gst_debug_log_default):
3044 don't do dummy g_strdup()s
3045 * libs/gst/controller/gstcontroller.c:
3046 (on_object_controlled_property_changed),
3047 (gst_controlled_property_new), (gst_controller_new_valist),
3048 (gst_controller_new_list),
3049 (gst_controller_remove_properties_valist), (gst_controller_set),
3050 (gst_controller_get), (gst_controller_sync_values),
3051 (gst_controller_get_value_array), (_gst_controller_class_init),
3052 (gst_controller_get_type):
3053 * libs/gst/controller/gstcontroller.h:
3054 * libs/gst/controller/gstinterpolation.c:
3055 (gst_controlled_property_find_timed_value_node):
3056 convert // to /**/ comments
3058 2005-09-28 Wim Taymans <wim@fluendo.com>
3060 * gst/gstbus.c: (marshal_VOID__MINIOBJECT), (gst_bus_class_init),
3061 (gst_bus_post), (poll_func), (gst_bus_async_signal_func),
3062 (gst_bus_sync_signal_handler):
3064 Added async-message and sync-message signals to the bus.
3065 Added helper BusFunc to emit signals for all posted messages.
3067 * gst/gstmessage.c: (gst_message_type_get_name),
3068 (gst_message_type_to_quark), (gst_message_get_type):
3070 Register quarks for message names.
3072 2005-09-28 Stefan Kost <ensonic@users.sf.net>
3074 * docs/libs/gstreamer-libs-sections.txt:
3075 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
3076 (gst_controller_new_list):
3077 * libs/gst/controller/gstcontroller.h:
3078 added another constructor for language bindings
3080 2005-09-28 Thomas Vander Stichele <thomas at apestaart dot org>
3082 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
3086 * gst/gstinfo.c: (_gst_debug_init):
3087 slightly more readable color for refcount debugging
3089 2005-09-28 Wim Taymans <wim@fluendo.com>
3091 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
3092 (add_to_queue), (clear_queue), (reset_degree), (update_degree),
3093 (find_element), (gst_bin_sort_iterator_next),
3094 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
3095 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
3096 (gst_bin_change_state), (gst_bin_dispose):
3097 Small doc fixes. get_clock -> provide_clock.
3099 * gst/gstelement.c: (gst_element_class_init),
3100 (gst_element_provides_clock), (gst_element_provide_clock),
3101 (gst_element_get_clock), (gst_element_commit_state),
3102 (gst_element_lost_state):
3104 Make get/set_clock() symetric. Add provide_clock vmethod since
3105 that is actually what this function does.
3107 * gst/gstpipeline.c: (gst_pipeline_class_init),
3108 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func),
3109 (gst_pipeline_get_clock):
3110 get_clock -> provide_clock.
3112 2005-09-28 Andy Wingo <wingo@pobox.com>
3114 * gst/base/gstbasesrc.c (gst_base_src_unlock): Comment a bit in
3115 lieu of real docs...
3117 * gst/elements/gstfdsrc.c: Cleaned up a bit.
3119 2005-09-28 Tim-Philipp Müller <tim at centricular dot net>
3121 * gst/elements/gstcapsfilter.c:
3122 * gst/elements/gstfakesink.c:
3123 * gst/elements/gstfakesrc.c:
3124 * gst/elements/gstfdsink.c:
3125 * gst/elements/gstfdsrc.c:
3126 * gst/elements/gstfilesink.c:
3127 * gst/elements/gstfilesrc.c:
3128 * gst/elements/gstidentity.c:
3129 * gst/elements/gsttee.c:
3130 * gst/elements/gsttypefindelement.c:
3131 Make element details static.
3133 2005-09-28 Wim Taymans <wim@fluendo.com>
3135 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
3136 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
3137 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
3138 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
3139 (gst_bin_change_state), (gst_bin_dispose):
3140 Some documentation updates.
3141 Clean up dispose handlers.
3143 * gst/gstobject.c: (gst_object_ref), (gst_object_unref):
3144 * gst/gstpad.c: (gst_pad_dispose):
3145 Clean up dispose handler.
3147 * gst/gstpipeline.c: (gst_pipeline_change_state):
3148 Removed spurious UNLOCK.
3150 2005-09-27 Stefan Kost <ensonic@users.sf.net>
3152 * docs/gst/gstreamer-sections.txt:
3153 * gst/base/gstbasesrc.h:
3158 * gst/gstpipeline.c:
3159 * gst/gstpipeline.h:
3162 added two new functions to the docs
3163 documents all undocumented GstXXXFlags
3164 completed some incomplete docs
3166 2005-09-27 Thomas Vander Stichele <thomas at apestaart dot org>
3168 * gst/gstbin.c: (gst_bin_dispose):
3169 * gst/gstelement.c: (gst_element_dispose):
3170 remove now useless and leaky resurrection code in dispose
3171 * gst/base/gstbasesrc.c: (gst_base_src_init):
3172 * gst/gstelementfactory.c: (gst_element_factory_create):
3173 * gst/gstobject.c: (gst_object_set_parent):
3176 2005-09-27 Wim Taymans <wim@fluendo.com>
3178 * docs/design/part-TODO.txt:
3181 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
3182 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
3183 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
3184 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
3185 (gst_bin_change_state):
3187 Remove element variable, we keep element info in the iterator now.
3189 2005-09-27 Andy Wingo <wingo@pobox.com>
3191 * libs/gst/dataprotocol/dataprotocol.c: Fix error-checking return
3194 2005-09-27 Wim Taymans <wim@fluendo.com>
3196 * check/gst/gstbin.c: (GST_START_TEST):
3197 Enable check that works now.
3199 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
3200 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
3201 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
3202 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
3203 (gst_bin_change_state):
3205 Redid the state change algorithm using a topological sort algo.
3206 Handles all cases correctly.
3207 Exposed iterator for state change order.
3210 Temp storage for state changes. Need to get rid of this soon.
3212 2005-09-27 Wim Taymans <wim@fluendo.com>
3214 * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_do_push):
3215 * gst/gstutils.c: (intersect_caps_func), (gst_pad_proxy_getcaps),
3216 (link_fold_func), (gst_pad_proxy_setcaps):
3217 Leak fixes, the fold functions need to unref the passed object and
3218 _get_parent_*() returns ref to parent.
3220 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
3222 * check/gst/gstbuffer.c: (test_make_writable):
3223 Plug leak in test case and fix 'make check-valgrind'
3225 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
3227 * gst/gstbuffer.c: (gst_subbuffer_init):
3228 Set READONLY flag on subbuffers, so that gst_buffer_make_writable()
3229 works correctly in all circumstances (we could have just copied
3230 the parent buffer's readonly flag, but conceptually it seems
3231 cleaner to mark all subbuffers as read-only). (based on patch
3232 by Alessandro Decina, #314710).
3234 * check/gst/gstbuffer.c: (create_read_only_buffer),
3235 (test_make_writable), (test_subbuffer_make_writable),
3237 Add some tests for gst_buffer_make_writable().
3239 2005-09-27 Wim Taymans <wim@fluendo.com>
3241 * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_change_state):
3242 use gst_object_has_ancestor().
3244 * gst/gstobject.c: (gst_object_has_ancestor):
3246 gst_object_has_ancestor() copied from gstbin.c as it is a
3249 * tests/instantiate/create.c: (create_all_elements):
3250 * tests/lat.c: (handoff_src), (handoff_sink):
3251 * tests/sched/runxml.c: (main):
3252 * tests/seeking/seeking1.c: (main):
3253 * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
3255 Fix compilation of some tests.
3257 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
3260 Remove comment. GST_TYPE_G_ERROR is here to stay,
3261 G_TYPE_ERROR has been WONTFIX'ed by the GLib folks
3264 2005-09-26 Wim Taymans <wim@fluendo.com>
3266 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
3267 Added check that shows error in state change order.
3269 2005-09-26 Wim Taymans <wim@fluendo.com>
3271 * gst/gstbin.c: (gst_bin_change_state):
3272 Make state change function use 3 queues again, we were
3273 adding elements in the wrong order.
3275 * gst/gstghostpad.c: (gst_ghost_pad_do_unlink):
3278 * gst/gstpad.c: (gst_pad_dispose):
3279 Added some debug info first.
3281 2005-09-26 Tim-Philipp Müller <tim at centricular dot net>
3283 * docs/design/draft-push-pull.txt:
3284 * docs/design/part-events.txt:
3285 * docs/design/part-overview.txt:
3286 * docs/design/part-scheduling.txt:
3287 Replace all _pull_region() with _pull_range()
3289 2005-09-26 Andy Wingo <wingo@pobox.com>
3291 * gst/gstvalue.c (_gst_value_initialize): Better fakeout.
3293 * check/gst-libs/controller.c: Update for controller api change.
3296 * tests/Makefile.am:
3297 * tests/memchunk: Remove memchunk benchmark stuff, this is taken
3298 over by GLib bug 118439.
3300 * gst/base/gstbasesink.c (gst_base_sink_wait): Factor out the wait
3301 routines to a function.
3303 * docs/libs/gstreamer-libs-sections.txt: I am a good person today.
3305 * libs/gst/controller/gsthelper.c:
3306 * libs/gst/controller/gstcontroller.h (gst_controller_sync_values)
3307 (gst_object_sync_values): Renamed from sink_values. Ugh.
3309 * libs/gst/controller/gsthelper.c: Update for __gst_controller_key.
3311 * libs/gst/controller/gstcontroller.c (__gst_controller_key):
3312 Renamed from controller_key, as it is exported.
3314 * gst/gstvalue.c (_gst_value_initialize): Fake out the compiler.
3316 2005-09-26 Thomas Vander Stichele <thomas at apestaart dot org>
3321 * gst/gstpadtemplate.h:
3324 * gst/gstqueryutils.c:
3325 * gst/gstqueryutils.h:
3326 remove queryutils headers after moving the two used functions
3327 to gstquery. also fixes build problem for gstsiddec
3329 2005-09-26 Michael Smith <msmith@fluendo.com>
3331 * tools/gst-launch.1.in:
3332 Correct documentation in manpage of debug syntax
3334 2005-09-26 Wim Taymans <wim@fluendo.com>
3336 * gst/base/gstbasesrc.c: (gst_base_src_get_range),
3337 (gst_base_src_is_seekable), (gst_base_src_change_state):
3338 Some more debugging info.
3340 2005-09-25 Stefan Kost <ensonic@users.sf.net>
3342 * docs/gst/gstreamer-sections.txt:
3343 * gst/base/gstbasetransform.h:
3347 2005-09-25 Stefan Kost <ensonic@users.sf.net>
3349 * docs/gst/.cvsignore:
3350 * docs/gst/tmpl/.cvsignore:
3351 * docs/gst/tmpl/gstpipeline.sgml:
3352 * docs/gst/tmpl/gstplugin.sgml:
3353 * gst/gstpipeline.c:
3356 inlined the last two docs files
3357 removed the tmpl directory from cvs (no more conflicts here!)
3359 2005-09-25 Stefan Kost <ensonic@users.sf.net>
3361 * docs/gst/gstreamer-sections.txt:
3362 * docs/gst/tmpl/.cvsignore:
3363 * docs/gst/tmpl/gstpad.sgml:
3364 * docs/gst/tmpl/gstpadtemplate.sgml:
3366 * gst/gstpad.c: (gst_pad_class_init), (gst_pad_dispose),
3367 (gst_pad_finalize), (gst_pad_set_pad_template):
3369 * gst/gstpadtemplate.c: (gst_pad_template_get_type),
3370 (gst_pad_template_class_init), (gst_pad_template_init),
3371 (gst_pad_template_dispose), (name_is_valid),
3372 (gst_static_pad_template_get), (gst_pad_template_new),
3373 (gst_static_pad_template_get_caps), (gst_pad_template_get_caps),
3374 (gst_pad_template_pad_created):
3375 * gst/gstpadtemplate.h:
3376 inlined two more docs
3377 factored gstpadtemplate out of gstpad
3379 2005-09-24 Tim-Philipp Müller <tim at centricular dot net>
3381 * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
3382 (test_children_state_change_order_semi_sink):
3383 Fix test case: we can't rely on a fixed state change order when
3384 going from READY => PAUSED because the sink might commit its
3385 new state first when the first buffer created by the source
3386 reaches the sink before the source has finished its change state.
3387 (Test case still fails at times, see #316856, comment 5 onwards)
3389 2005-09-24 Wim Taymans <wim@fluendo.com>
3391 * docs/design/part-events.txt:
3392 * docs/design/part-gstbus.txt:
3393 * docs/design/part-gstpipeline.txt:
3394 * docs/design/part-messages.txt:
3395 * docs/design/part-overview.txt:
3396 * docs/design/part-segments.txt:
3403 * gst/gstiterator.c:
3404 Various documentation updates.
3406 2005-09-24 Thomas Vander Stichele <thomas at apestaart dot org>
3409 Well, that's embarassing. Luckily we weren't using
3410 GST_CLOCK_DIFF anywhere.
3412 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
3414 * common/gtk-doc.mak:
3415 don't fail on building XML, FC4 slave shows a bunch of doc
3416 missing bits that I don't get
3418 * gst/gstpipeline.c:
3419 * gst/gststructure.c:
3422 2005-09-23 Tim-Philipp Müller <tim at centricular dot net>
3424 * docs/design/part-gstbin.txt:
3425 * docs/design/part-gstbus.txt:
3427 Add blurb about how the bus goes into flushing mode and
3428 drops all messages when its bin goes from READY into NULL
3431 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
3433 * docs/gst/gstreamer-sections.txt:
3434 * gst/gststructure.c: (gst_structure_get_clock_time):
3435 * gst/gststructure.h:
3436 add a method to get a GstClockTime out of a structure
3438 2005-09-23 Tim-Philipp Müller <tim at centricular dot net>
3440 * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
3441 (test_children_state_change_order_semi_sink), (gst_bin_suite):
3442 Added test to check state change order in bins (can still be made
3443 to fail here under heavy disk load; bails out with 'Push on pad
3444 fakesink:sink0, but it was not activated in push mode').
3446 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_change_state):
3447 Fix state change order when there is only a semi sink (#316856)
3449 * gst/gstbus.c: (gst_bus_class_init):
3450 Use _class_peek_parent(), not _class_ref(); fix docs to say
3451 'default main context' instead of 'mainloop' where that is
3454 * gst/gstelement.c: (gst_element_commit_state),
3455 (gst_element_set_state):
3456 Fix typos in debug messages
3458 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
3461 * gst/gstpad.c: (gst_pad_class_init), (gst_pad_chain):
3462 * gst/gstpluginfeature.c:
3465 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
3466 change an assert into an error until it gets fixed properly
3468 2005-09-23 Stefan Kost <ensonic@users.sf.net>
3470 * docs/gst/gstreamer-sections.txt:
3471 * docs/gst/tmpl/.cvsignore:
3472 * docs/gst/tmpl/gstelement.sgml:
3473 * docs/gst/tmpl/gstinfo.sgml:
3474 * docs/gst/tmpl/gstobject.sgml:
3479 * gst/gstobject.c: (gst_object_class_init):
3481 inlined 3 more biiiig doc files and added some missing docs on the fly
3483 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
3485 * check/gst/.cvsignore:
3486 * check/gst/gstplugin.c: (GST_START_TEST), (gst_plugin_suite):
3487 * gst/gstregistryxml.c: (load_plugin),
3488 (gst_registry_xml_save_plugin):
3489 put back source in registry. add checks for find_plugin.
3490 * testsuite/states/bin.c: (assert_state), (empty_bin),
3491 (test_adding_one_element), (main):
3492 * testsuite/states/locked.c: (main):
3493 some compile/run fixes
3495 2005-09-22 Thomas Vander Stichele <thomas at apestaart dot org>
3497 * check/gst/gstvalue.c: (GST_START_TEST):
3498 fix leaks in the test itself
3500 2005-09-22 Wim Taymans <wim@fluendo.com>
3502 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
3503 (gst_base_sink_send_event), (gst_base_sink_peer_query),
3504 (gst_base_sink_query):
3505 Prepare for more accurate position reporting and query
3508 * gst/gstelement.c: (gst_element_send_event),
3509 (gst_element_set_state):
3512 2005-09-22 Wim Taymans <wim@fluendo.com>
3514 * gst/gstquery.c: (gst_query_new_segment), (gst_query_set_segment),
3515 (gst_query_parse_segment):
3518 Add segment query for future use.
3520 2005-09-22 Wim Taymans <wim@fluendo.com>
3522 * gst/gstbin.c: (gst_bin_add_func):
3523 Some more debug info.
3525 * gst/gstelement.c: (gst_element_send_event):
3529 Don't know how flags got broken.
3534 2005-09-22 Tim-Philipp Müller <tim at centricular dot net>
3536 * check/gst/gstvalue.c: (test_date), (gst_value_suite):
3537 Add simplistic test suite for GST_TYPE_DATE serialisation and
3540 2005-09-22 Tim-Philipp Müller <tim at centricular dot net>
3542 * docs/gst/gstreamer-sections.txt:
3543 * gst/gststructure.c: (gst_structure_set_valist),
3544 (gst_structure_get_date):
3545 * gst/gststructure.h:
3546 * gst/gstvalue.c: (gst_value_set_date), (gst_value_get_date),
3547 (gst_date_copy), (gst_value_compare_date),
3548 (gst_value_serialize_date), (gst_value_deserialize_date),
3549 (gst_value_transform_date_string),
3550 (gst_value_transform_string_date), (_gst_value_initialize):
3552 Add GST_TYPE_DATE, a boxed type that wraps GDate, and the usual
3553 bunch of utility functions along with a hack that checks that
3554 developers don't accidentally use G_TYPE_DATE where GST_TYPE_DATE
3555 is required. Part of the grand scheme in #170777.
3557 2005-09-22 Andy Wingo <wingo@pobox.com>
3559 * gst/gstconfig.h.in: Psych out gtk-doc.
3561 * docs/gst/gstreamer-sections.txt: Add GST_HAVE_GLIB_2_8.
3563 * check/Makefile.am (check_PROGRAMS): Add gstplugin to the tests.
3565 * tools/gst-inspect.c (print_element_list): Plug some
3566 inconsequential leaks.
3568 * gst/gstregistry.c (gst_registry_get_default): Doc.
3570 * check/gst/gstplugin.c:
3571 * gst/gsttypefindfactory.c (gst_type_find_factory_call_function):
3572 * gst/gstelementfactory.c (gst_element_factory_create):
3573 * gst/gstindexfactory.c (gst_index_factory_create): Update for
3576 * gst/gstpluginfeature.c (gst_plugin_feature_list_free): Doc.
3577 (gst_plugin_feature_load): Doc, don't eat refs.
3579 * gst/gstplugin.c (gst_plugin_load): Doc, don't eat refs.
3580 (gst_plugin_list_free): Doc.
3581 (gst_plugin_load_file): Doc updates.
3583 * gst/gstbuffer.c (gst_buffer_get_caps): Like all our _get
3584 accessors returning refcounted objects, return a ref.
3586 * check/gst/gstbuffer.c (GST_START_TEST): Use refcount-idempotent
3587 accessor for caps. IDEMPOTENCE. Oh yes.
3589 2005-09-21 Francis Labonte <francis_labonte at hotmail dot com>
3591 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
3593 * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
3594 (_gst_debug_register_funcptr):
3595 Add mutex to serialise access to the hash table with
3596 the function pointer => function name string mapping;
3597 make that hash table static scope (#316809).
3599 * gst/registries/.cvsignore:
3600 Remove left-over file.
3602 2005-09-21 Tim-Philipp Müller <tim at centricular dot net>
3604 * docs/pwg/appendix-porting.xml:
3605 And something about newsegment events and caps-on-buffers to
3606 the porting guide (feel free to improve).
3608 2005-09-21 Andy Wingo <wingo@pobox.com>
3610 * check/gst/gstutils.c (test_buffer_probe_n_times): Add tests for
3611 data and event probes on the same pad.
3612 (test_buffer_probe_once): Test that removing probes from within
3613 the probe functions works.
3615 2005-09-21 Andy Wingo <wingo@pobox.com>
3617 * check/gst/gstutils.c: New file.
3618 (test_buffer_probe_n_times): A simple buffer probe test. More to
3621 * gst/gstutils.c (gst_pad_add_buffer_probe): Connect to
3622 have-data::buffer, not have-data.
3623 (gst_pad_add_event_probe): Likewise for have-data::event.
3624 (gst_pad_add_data_probe): More docs. The part about 'resolving the
3625 peer' isn't quite right yet though.
3626 (gst_pad_remove_buffer_probe, gst_pad_remove_event_probe)
3627 (gst_pad_remove_data_probe): Change to take the guint handler_id
3628 as their arg, not the function+data, which is more glib-like.
3630 * gst/gstpad.c (gst_pad_emit_have_data_signal): Add a detail to
3631 the signal emission to indicate if the data is a buffer or an
3633 (gst_pad_get_type): Initialize buffer and event quarks.
3634 (gst_pad_class_init): have-data is now a detailed signal, yes it
3637 2005-09-21 Tim-Philipp Müller <tim at centricular dot net>
3639 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
3640 * gst/gstutils.c: (gst_util_set_value_from_string),
3641 (gst_util_set_object_arg):
3642 Don't put functional code in g_return_if_fail() or
3643 g_return_val_if_fail() statements, otherwise things will
3644 break when G_DISABLE_CHECKS is defined during compilation.
3646 2005-09-21 Stefan Kost <ensonic@users.sf.net>
3648 * docs/gst/tmpl/.cvsignore:
3649 * docs/gst/tmpl/gstvalue.sgml:
3652 inlied another one and added some obvious docs
3654 2005-09-21 Wim Taymans <wim@fluendo.com>
3656 * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
3657 (gst_fdsrc_init), (gst_fdsrc_start), (gst_fdsrc_stop),
3658 (gst_fdsrc_unlock), (gst_fdsrc_set_property),
3659 (gst_fdsrc_get_property), (gst_fdsrc_create):
3660 * gst/elements/gstfdsrc.h:
3661 Properly implement fdsrc. Removed signal and timeout,
3662 better implemented somewhere else.
3664 2005-09-21 Stefan Kost <ensonic@users.sf.net>
3666 * docs/gst/tmpl/.cvsignore:
3667 * docs/gst/tmpl/gstimplementsinterface.sgml:
3668 * gst/gstinterface.c:
3671 2005-09-21 Stefan Kost <ensonic@users.sf.net>
3673 * docs/gst/gstreamer-sections.txt:
3674 * docs/gst/tmpl/.cvsignore:
3675 * docs/gst/tmpl/gstenumtypes.sgml:
3676 remove obsolete doc file
3678 2005-09-21 David Schleef <ds@schleef.org>
3680 * gst/gstelementfactory.c: (gst_element_factory_make): Drink a
3681 little beer, fix a little leak.
3683 2005-09-21 Stefan Kost <ensonic@users.sf.net>
3685 * docs/gst/gstreamer-docs.sgml:
3686 * docs/gst/gstreamer-sections.txt:
3687 * docs/gst/tmpl/.cvsignore:
3692 * gst/gstindex.c: (gst_index_class_init):
3694 * gst/gstindexfactory.c: (gst_index_factory_get_type),
3695 (gst_index_factory_class_init), (gst_index_factory_init),
3696 (gst_index_factory_finalize), (gst_index_factory_new),
3697 (gst_index_factory_destroy), (gst_index_factory_find),
3698 (gst_index_factory_create), (gst_index_factory_make):
3699 * gst/gstindexfactory.h:
3700 * gst/gstpluginfeature.c:
3701 * gst/gstpluginfeature.h:
3702 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
3703 more docs inlined, splitted gstindex.{c,h}
3705 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
3707 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
3710 2005-09-20 Tim-Philipp Müller <tim at centricular dot net>
3712 * gst/elements/gstfilesink.c: (gst_file_sink_init):
3713 Set sync to FALSE by default.
3715 2005-09-20 Wim Taymans <wim@fluendo.com>
3717 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
3718 (gst_base_sink_init):
3719 Make sync property settable from subclass.
3721 * gst/elements/gstfakesink.c: (gst_fake_sink_init),
3722 (gst_fake_sink_change_state):
3723 Set sync to FALSE by default.
3725 2005-09-20 Wim Taymans <wim@fluendo.com>
3727 * gst/gstbus.c: (poll_func), (poll_timeout), (gst_bus_poll):
3728 * tools/gst-launch.c: (main):
3729 The timeout handler should have lower priority than the source
3730 so we don't timeout before popping a message with 0 timeout.
3731 Dump error messages after failed state change.
3733 2005-09-20 Tim-Philipp Müller <tim at centricular dot net>
3735 * tools/gst-inspect.c: (print_element_properties_info):
3738 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
3740 * check/gst/gstevent.c:
3741 * gst/elements/gstfakesink.c:
3742 * gst/elements/gstfakesink.h:
3743 remove the sync property from fakesink.
3744 has the side effect of setting sync TRUE
3745 for fakesink, which is a change. Anyone who knows how
3746 to fix this nicely in a GObject-y way, feel free.
3748 2005-09-20 Stefan Kost <ensonic@users.sf.net>
3750 * docs/gst/gstreamer-docs.sgml:
3751 remove probe refsection
3753 2005-09-20 Stefan Kost <ensonic@users.sf.net>
3755 * check/Makefile.am:
3756 disable valgrinding the controller test again
3757 * docs/gst/gstreamer-sections.txt:
3758 update for api-changes
3760 2005-09-20 Wim Taymans <wim@fluendo.com>
3762 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
3763 (gst_base_sink_set_property), (gst_base_sink_get_property),
3764 (gst_base_sink_do_sync):
3765 * gst/base/gstbasesink.h:
3766 Added sync property to basesink to disable clock sync.
3768 2005-09-20 Andy Wingo <wingo@pobox.com>
3770 * gst/gstelementfactory.c (gst_element_factory_create): Avoid
3771 eating the caller's refcount.
3773 * gst/gstobject.h (GST_OBJECT_REFCOUNT)
3774 (GST_OBJECT_REFCOUNT_VALUE): Conditionally fondle the right
3777 * gst/gstconfig.h.in (GST_HAVE_GLIB_2_8):
3778 * configure.ac (GST_HAVE_GLIB_2_8_DEFINE): Make the availability
3779 of GLib 2.8 public, so we can know which refcount to check in
3782 * gst/gstobject.c: Use the GST_HAVE_GLIB_2_8 define.
3783 (gst_object_init): Only set the gst refcount if we're going ahead
3784 with the refcount hack.
3786 2005-09-20 Stefan Kost <ensonic@users.sf.net>
3788 * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
3789 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
3790 more leaks plumbed, added more debug-logging
3794 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
3797 remove include of gstmemchunk.h
3799 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
3801 * gst/gstclock.c: (_gst_clock_id_free):
3802 Commit from the Political Party For More Atomic CVS Commits,
3803 so that people don't waste too much of their day fishing
3804 out obvious leaks out of massive commits.
3805 Oh, and fix a pretty damn obvious leak in the memchunk
3808 2005-09-20 Stefan Kost <ensonic@users.sf.net>
3810 * check/Makefile.am:
3811 * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
3812 plug mem-leak, re-add to valgrindable tests
3814 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
3817 unbreak the build for those who have chronic arthritis
3818 and typing "make check" is just too taxing on the hands
3820 2005-09-20 Andy Wingo <wingo@pobox.com>
3822 * gst/gst.h: Re-add marshal to gst.h's include list -- if we
3823 really want it out, you should fix plugins at the same time.
3825 2005-09-19 Stefan Kost <ensonic@users.sf.net>
3828 * docs/gst/gstreamer-sections.txt:
3830 added missing symbols to api docs
3831 disable ref-count hack if we have glib >= 2.8
3833 2005-09-19 David Schleef <ds@schleef.org>
3835 * docs/gst/Makefile.am: Ignore a few more internal headers
3836 * docs/gst/gstreamer-docs.sgml: Remove old sections
3837 * docs/gst/gstreamer-sections.txt: Remove old sections
3838 * docs/gst/tmpl/gstobject.sgml: update
3839 * docs/gst/tmpl/gstplugin.sgml: update
3840 * docs/gst/tmpl/gstpluginfeature.sgml: update
3841 * docs/random/ds/0.9-suggested-changes: update.
3842 * gst/Makefile.am: remove memchunk and trashstack, since they're
3844 * gst/gst.c: (gst_deinit): rename gst_registry_deinit to _cleanup
3845 * gst/gst.h: don't include some headers
3846 * gst/gstchildproxy.c: add gstmarshal.h
3847 * gst/gstclock.c: Don't use memchunks
3848 * gst/gstminiobject.c: Add some docs
3849 * gst/gstobject.c: remove DESTROYED flag, since it's redundant
3850 * gst/gstobject.h: same
3851 * gst/gstplugin.c: include gstmacros.h
3852 * gst/gstplugin.h: don't include gstmacros.h, since it's private
3853 * gst/gstquery.c: don't use memchunks
3854 * gst/gstregistry.c: rename gst_registry_deinit()
3855 * gst/gstregistry.h: same
3857 2005-09-19 David Schleef <ds@schleef.org>
3859 * docs/libs/gstreamer-libs-docs.sgml: Remove docs for getbits
3860 * docs/libs/gstreamer-libs-sections.txt:
3861 * docs/libs/tmpl/gstgetbits.sgml:
3862 * docs/libs/tmpl/gstputbits.sgml:
3864 2005-09-19 Tim-Philipp Müller <tim at centricular dot net>
3866 * win32/gstenumtypes.c:
3867 * win32/gstenumtypes.h:
3870 2005-09-19 Wim Taymans <wim@fluendo.com>
3872 * gst/gstpipeline.c: (do_pipeline_seek), (gst_pipeline_send_event):
3873 Automatically PAUSE and RESUME a pipeline when a flushing seek
3876 2005-09-19 Andy Wingo <wingo@pobox.com>
3878 * gst/gstregistry.h: Spacing fixen.
3880 2005-09-19 Wim Taymans <wim@fluendo.com>
3882 * gst/base/gstbasesrc.c: (gst_base_src_change_state):
3883 Handle state change failure more correctly.
3885 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
3887 * check/Makefile.am:
3888 * check/pipelines/cleanup.c: (run_pipeline):
3889 * check/pipelines/simple_launch_lines.c: (run_pipeline),
3891 enable cleanup again after fixing the leak
3893 some more info on docs
3895 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
3897 * check/Makefile.am:
3898 re-enable tests now that leaks are plugged
3900 * check/gst/gstbin.c:
3901 * check/gst/gstpipeline.c:
3902 add some more tests while fixing leaks
3904 make sure binaries are uptodate when valgrinding/gdbing
3906 * gst/gstelementfactory.c:
3907 remove a ref too many, and add a FIXME for when we get
3908 round to disposing of classes
3910 fix the refcounting when loading a plugin from a file and
3911 the code pretends that the pointer is the same even though
3912 of course it can change
3913 * gst/gstpluginfeature.c:
3914 unref plugins marked cached (a bit confusing as a name)
3915 as the docs state should be done
3916 various doc additions to explain refcounting
3917 * gst/gstregistry.c:
3918 * gst/gstregistryxml.c:
3921 2005-09-19 Wim Taymans <wim@fluendo.com>
3923 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
3924 * check/gst/gstbus.c: (message_func_eos), (message_func_app),
3925 (send_messages), (GST_START_TEST), (gstbus_suite):
3926 * check/gst/gstpipeline.c: (GST_START_TEST):
3927 * check/pipelines/cleanup.c: (run_pipeline):
3928 * check/pipelines/simple_launch_lines.c: (run_pipeline),
3930 * gst/gstbus.c: (gst_bus_have_pending), (gst_bus_source_prepare),
3931 (gst_bus_source_check), (gst_bus_source_dispatch),
3932 (gst_bus_create_watch), (gst_bus_add_watch_full),
3933 (gst_bus_add_watch), (poll_func), (poll_timeout), (gst_bus_poll):
3935 * tools/gst-launch.c: (event_loop):
3936 * tools/gst-md5sum.c: (event_loop):
3937 GstBusHandler -> GstBusFunc, return value has the same meaning as
3938 any other GSource (FALSE == remove source).
3939 _add_watch() and _add_watch_full() now take a MessageType mask to
3940 only handle specific types of messages.
3941 _poll() returns the GstMessage instead of the message type to avoid
3943 _have_pending() takes a MessageType mask now too.
3944 Added testsuite for multiple bus watches.
3945 Fix testsuites and applications for new bus API.
3947 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
3949 * check/Makefile.am:
3950 mark a bunch of the tests as to fix until we fix them
3952 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
3955 use GST_PLUGIN settings for valgrind tests as well, so we're
3956 valgrinding the correct thing
3957 * gst/gst.c: (init_post):
3960 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
3962 * gst/gst.c: (init_post), (gst_deinit):
3963 * gst/gstelementfactory.c: (gst_element_factory_class_init),
3964 (gst_element_factory_finalize), (gst_element_factory_cleanup):
3965 * gst/gstindex.c: (gst_index_factory_class_init),
3966 (gst_index_factory_finalize):
3967 * gst/gstobject.c: (gst_object_dispose):
3968 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
3969 (gst_plugin_load_file), (gst_plugin_desc_free):
3970 * gst/gstpluginfeature.c: (gst_plugin_feature_class_init),
3971 (gst_plugin_feature_finalize):
3972 * gst/gstregistry.c: (gst_registry_class_init),
3973 (gst_registry_init), (gst_registry_finalize),
3974 (gst_registry_get_default), (gst_registry_deinit):
3975 * gst/gstregistry.h:
3976 * gst/gstregistryxml.c: (load_feature), (load_plugin):
3977 various cleanups and memleak plugging. make valgrind is happy now.
3979 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
3982 add a check-valgrind target
3984 2005-09-18 David Schleef <ds@schleef.org>
3986 * tools/gst-inspect.c: Revert the GOption code.
3988 2005-09-17 David Schleef <ds@schleef.org>
3990 * check/Makefile.am: Fix environment variables.
3991 * check/gst/gstplugin.c: Fix for API changes.
3992 * tools/gst-inspect.c: Fix for API changes.
3993 * tools/gst-xmlinspect.c: Fix for API changes.
3994 * gst/gstelementfactory.c:
3997 * gst/gstpluginfeature.c:
3998 * gst/gstpluginfeature.h:
3999 * gst/gstregistry.c:
4000 * gst/gstregistry.h:
4001 * gst/gstregistryxml.c:
4002 * gst/gsttypefind.c:
4003 * gst/gsttypefindfactory.c:
4004 * gst/indexers/gstfileindex.c:
4005 * gst/indexers/gstmemindex.c:
4006 * gst/schedulers/Makefile.am:
4007 Change registry to keep track of both plugins and features,
4008 removing the feature tracking from plugins themselves.
4010 2005-09-16 Thomas Vander Stichele <thomas at apestaart dot org>
4012 * check/Makefile.am:
4013 * tools/gst-register.1.in:
4016 2005-09-15 David Schleef <ds@schleef.org>
4018 * check/gst/gstplugin.c:
4019 * gst/gstelementfactory.c:
4021 * gst/gstpluginfeature.c:
4022 * gst/gstregistry.c:
4023 Getting tired of debugging. Disabled all the unreffing of
4024 plugins and features, which fixes the segfaults, but of
4025 course leaks like crazy. At least playbin works.
4027 2005-09-15 David Schleef <ds@schleef.org>
4029 * check/gst/gstplugin.c: (register_check_elements),
4030 (GST_START_TEST), (peek), (suggest), (gst_plugin_suite):
4032 * gst/elements/gsttypefindelement.c: Fix refcounting.
4033 * gst/gsttypefind.c:
4034 * gst/gsttypefindfactory.c:
4035 * gst/gsttypefindfactory.h:
4037 2005-09-15 David Schleef <ds@schleef.org>
4039 * gst/gstindex.c: get refcounting correct.
4040 * gst/gstregistry.c: Handle the case where a feature/plugin is
4043 2005-09-15 David Schleef <ds@schleef.org>
4045 * check/Makefile.am:
4046 * check/gst/gstplugin.c: Add test
4047 * gst/gstplugin.c: Fix problems noticed by testsuite
4049 * gst/gstregistry.c:
4050 * gst/gstregistry.h:
4052 2005-09-15 David Schleef <ds@schleef.org>
4054 * gst/gstplugin.c: Implement semi-decent recounting and locking
4055 in plugins and plugin features.
4057 * gst/gstpluginfeature.c:
4058 * gst/gstpluginfeature.h:
4059 * gst/gstregistry.c:
4061 2005-09-15 Michael Smith <msmith@fluendo.com>
4063 * gst/gstregistry.c: (gst_registry_get_feature_list):
4064 Implement this. Makes oggdemux work; decodebin still broken.
4066 2005-09-14 David Schleef <ds@schleef.org>
4068 * configure.ac: Add -no-undefined to GST_PLUGIN_LDFLAGS (bug
4070 * gst/base/Makefile.am: Add -no-undefined to LDFLAGS for libs
4071 * gst/check/Makefile.am:
4072 * libs/gst/controller/Makefile.am:
4073 * libs/gst/dataprotocol/Makefile.am:
4075 2005-09-14 David Schleef <ds@schleef.org>
4077 * configure.ac: Remove getbits library. Nothing uses it, and
4078 it should be in something like liboil if someone did want
4080 * libs/gst/Makefile.am:
4081 * libs/gst/getbits/Makefile.am:
4082 * libs/gst/getbits/gbtest.c:
4083 * libs/gst/getbits/getbits.c:
4084 * libs/gst/getbits/getbits.h:
4085 * libs/gst/getbits/gstgetbits_generic.c:
4086 * libs/gst/getbits/gstgetbits_i386.s:
4087 * libs/gst/getbits/gstgetbits_inl.h:
4089 2005-09-14 David Schleef <ds@schleef.org>
4091 * gst/Makefile.am: Dist glib-compat.h
4093 2005-09-14 David Schleef <ds@schleef.org>
4095 * configure.ac: Remove gst/registries, since it's no longer used.
4096 * gst/registries/Makefile.am:
4097 * gst/registries/gstlibxmlregistry.c:
4098 * gst/registries/gstlibxmlregistry.h:
4099 * gst/registries/gstxmlregistry.c:
4100 * gst/registries/gstxmlregistry.h:
4101 * gst/registries/registrytest.c:
4103 2005-09-14 David Schleef <ds@schleef.org>
4105 * gst/glib-compat.h:
4106 * gst/gstregistryxml.c:
4107 Convergence is near. Seriously.
4109 2005-09-14 David Schleef <ds@schleef.org>
4111 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
4112 * gst/glib-compat.h:
4113 Attempt #4 to appease the buildbots.
4115 2005-09-14 David Schleef <ds@schleef.org>
4117 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
4120 2005-09-14 David Schleef <ds@schleef.org>
4122 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
4125 2005-09-14 David Schleef <ds@schleef.org>
4127 * gst/Makefile.am: Oh yeah, libgstreamer.so needs to contain
4130 2005-09-14 David Schleef <ds@schleef.org>
4132 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
4133 * gst/glib-compat.h: Add some functions that are in newer versions
4134 of glib than we care to require.
4135 * gst/gstregistryxml.c: Use them.
4137 2005-09-14 David Schleef <ds@schleef.org>
4139 * po/POTFILES.in: remove gst-register.c
4141 2005-09-14 David Schleef <ds@schleef.org>
4143 * docs/gst/gstreamer-docs.sgml:
4144 * docs/gst/gstreamer-sections.txt:
4145 * docs/gst/gstreamer.types:
4146 * docs/gst/tmpl/gstelement.sgml:
4147 * docs/gst/tmpl/gstplugin.sgml:
4148 * docs/gst/tmpl/gstpluginfeature.sgml:
4149 Documentation updates for registry changes.
4151 2005-09-14 David Schleef <ds@schleef.org>
4153 * gst/gstregistryxml.c: Copy g_mkdir_with_parent() from glib,
4154 because we don't require glib-2.8.
4156 2005-09-14 David Schleef <ds@schleef.org>
4158 * gst/gstregistryxml.c: Added. Essentially moved out of the
4159 registries directory.
4161 2005-09-14 David Schleef <ds@schleef.org>
4163 * check/Makefile.am:
4164 * check/generic/states.c:
4168 * gst/gst_private.h:
4169 * gst/gstelementfactory.c:
4174 * gst/gstpluginfeature.c:
4175 * gst/gstpluginfeature.h:
4176 * gst/gstregistry.c:
4177 * gst/gstregistry.h:
4178 * gst/gstregistrypool.c: remove
4179 * gst/gstregistrypool.h: remove
4180 * gst/gsttypefind.c:
4181 * gst/gsttypefindfactory.c:
4183 * tools/Makefile.am:
4184 * tools/gst-compprep.c:
4185 * tools/gst-inspect.c:
4186 * tools/gst-register.c: remove
4187 * tools/gst-xmlinspect.c:
4188 Registry rewrite. Changes registry from being a file created
4189 by a tool into a simple cache file created automatically by
4190 libgstreamer. Removed gst-register (because it's no longer
4191 needed). Remove registry pools, because we only have one
4192 registry implementation (XML). Fix up other subsystems as
4195 2005-09-13 Michael Smith <msmith@fluendo.com>
4197 * gst/gstconfig.h.in:
4198 Don't Use windows linking attributes for MinGW. Fixes #316157
4200 2005-09-13 Thomas Vander Stichele <thomas at apestaart dot org>
4202 * gst/gstutils.c: (set_state_async_thread_func),
4203 (gst_element_set_state_async):
4204 Apparently people think it's better if this function doesn't
4205 try to set the state to whatever state was asked for on the first
4206 call to this function for any object. Seriously.
4208 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
4210 * check/gst/gstpipeline.c: (GST_START_TEST):
4211 * docs/gst/gstreamer-sections.txt:
4212 * gst/gstutils.c: (set_state_async_thread_func),
4213 (gst_element_set_state_async):
4215 add a "gst_element_set_state_async" method that
4216 sets the state and starts a thread to make sure the state
4217 change completes as best as it can
4219 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
4221 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
4222 codify design+behaviour in testsuite after discussion
4224 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
4226 * docs/gst/tmpl/gstelement.sgml:
4227 * docs/manual/appendix-quotes.xml:
4229 * gst/gstelement.c: (gst_element_set_state):
4232 2005-09-12 Jan Schmidt <thaytan@mad.scientist.com>
4234 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
4235 (gst_base_transform_prepare_output_buf),
4236 (gst_base_transform_handle_buffer):
4237 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip),
4238 (gst_capsfilter_prepare_buf):
4239 Remove the requirement for sub-classes to call the parent
4240 implementation of prepare_output_buffer with a wrapper function.
4243 * gst/gsttagsetter.h:
4246 2005-09-11 Stefan Kost <ensonic@users.sf.net>
4248 * docs/gst/gstreamer-sections.txt:
4251 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
4253 * docs/gst/gstreamer-sections.txt:
4254 * docs/gst/tmpl/gstelement.sgml:
4255 * docs/gst/tmpl/gstplugin.sgml:
4256 * gst/gstminiobject.c:
4258 docs now stop throwing warnings
4260 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
4262 * docs/gst/gstreamer-sections.txt:
4263 * docs/gst/gstreamer.types:
4264 * docs/gst/tmpl/gstpad.sgml:
4265 * docs/gst/tmpl/gsttypes.sgml:
4266 * gst/base/gstadapter.h:
4267 * gst/base/gstbasesink.h:
4268 * gst/base/gstbasesrc.h:
4278 * gst/gststructure.c:
4279 * gst/registries/gstlibxmlregistry.h:
4280 various documentation fixes
4282 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
4284 * docs/gst/gstreamer-sections.txt:
4285 * docs/gst/tmpl/gstvalue.sgml:
4286 rearrange gstvalue section
4287 * gst/gstutils.c: (gst_element_state_get_name):
4289 * gst/gstvalue.c: (_gst_value_initialize):
4293 2005-09-10 Jan Schmidt <thaytan@mad.scientist.com>
4295 * check/gst-libs/controller.c:
4297 * gst/base/gstbasetransform.c:
4298 (gst_base_transform_default_prepare_buf),
4299 (gst_base_transform_handle_buffer):
4300 * gst/base/gstbasetransform.h:
4301 Some more basetransform changes and fixes to enable sub-classes
4302 that modify buffer metadata only.
4303 * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
4304 (gst_capsfilter_init), (gst_capsfilter_transform_ip),
4305 (gst_capsfilter_prepare_buf):
4306 If the output pad has fixed allowed caps and input buffers
4307 don't have any, set the fixed caps on outgoing buffers.
4309 2005-09-09 Jan Schmidt <thaytan@mad.scientist.com>
4310 * check/elements/identity.c: (GST_START_TEST):
4311 Make the error a little clearer when the test fails because
4312 identity made a copy of the buffer.
4313 * docs/gst/gstreamer-sections.txt:
4314 New symbols in gstbasetransform.h
4315 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
4316 (gst_base_transform_init), (gst_base_transform_transform_size),
4317 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
4318 (gst_base_transform_default_prepare_buf),
4319 (gst_base_transform_get_unit_size),
4320 (gst_base_transform_buffer_alloc),
4321 (gst_base_transform_handle_buffer), (gst_base_transform_chain),
4322 (gst_base_transform_change_state),
4323 (gst_base_transform_set_passthrough),
4324 (gst_base_transform_set_in_place),
4325 (gst_base_transform_is_in_place):
4326 * gst/base/gstbasetransform.h:
4327 Change BaseTransform to separate in_place operate from same_caps
4328 output. in_place implies that the element can perform the transform
4329 on incoming buffers in-place, even if the caps on the output are
4331 Sub-class elements can now implement special buffer allocation
4332 methods for outgoing buffers if they wish to.
4333 Big documentation addition.
4334 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip):
4335 * gst/elements/gstelements.c:
4336 Changes for basetransform modifications.
4337 * gst/elements/Makefile.am:
4338 * gst/elements/gstfdsrc.c: (gst_fdsrc_init), (gst_fdsrc_create):
4339 Compile fix. Extra debug output.
4341 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
4343 * check/gst/gstpad.c: (GST_START_TEST), (name_is_valid),
4345 add tests for valid pad naming
4346 * gst/check/gstcheck.c: (gst_check_log_message_func),
4347 (gst_check_log_critical_func):
4349 remove printing of code, it is fragile when the code contains
4350 % and the line number is enough info
4351 * gst/check/gstcheck.h:
4352 * gst/gstpad.c: (gst_pad_template_new):
4355 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
4358 say what CHECK flags we use
4359 * docs/libs/gstreamer-libs.types:
4360 * libs/gst/controller/Makefile.am:
4361 * libs/gst/controller/gst-controller.c:
4362 * libs/gst/controller/gst-controller.h:
4363 * libs/gst/controller/gst-helper.c:
4364 * libs/gst/controller/gst-interpolation.c:
4365 * libs/gst/controller/gstcontroller.c:
4366 * libs/gst/controller/gsthelper.c:
4367 * libs/gst/controller/gstinterpolation.c:
4368 * tools/gst-inspect.c: (print_plugin_info):
4369 we don't use dashes in header names
4371 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
4373 * check/Makefile.am:
4374 * check/gst/.cvsignore:
4375 * check/gst/gstpipeline.c: (pop_messages), (GST_START_TEST),
4376 (gst_pipeline_suite), (main):
4377 adding a test for pipelines and state changes
4378 * gst/gstutils.c: (get_state_func):
4380 * gstreamer.spec.in:
4383 2005-09-08 Michael Smith <msmith@fluendo.com>
4385 * gst/elements/gstfilesrc.c: (gst_file_src_map_region),
4386 (gst_file_src_map_small_region), (gst_file_src_create_mmap),
4387 (gst_file_src_is_seekable), (gst_file_src_get_size),
4388 (gst_file_src_start):
4389 * gst/elements/gstfilesrc.h:
4390 Various fixes for unseekable, unmmapable, and non-normal files, so
4391 that fallback to read() rather than mmap() works.
4392 * gst/gstevent.c: (gst_event_new_newsegment):
4393 Allow newsegment events with segment_start == segment_end, as will
4394 correctly happen if you use filesrc on a zero-size file, for
4397 2005-09-07 Jan Schmidt <thaytan@mad.scientist.com>
4399 * gst/gstplugin.c: (gst_plugin_load_file):
4400 Call g_module_close when we don't load the module
4402 * gst/registries/gstlibxmlregistry.c:
4403 (gst_xml_registry_get_property):
4404 Port leak fix from 0.8
4406 2005-09-07 Stefan Kost <ensonic@users.sf.net>
4408 * docs/gst/gstreamer-docs.sgml:
4409 * docs/gst/tmpl/.cvsignore:
4410 * docs/gst/tmpl/gsttrace.sgml:
4411 * docs/gst/tmpl/gsttrashstack.sgml:
4420 * gst/gsttaginterface.c:
4421 * gst/gsttaginterface.h:
4424 * gst/gsttagsetter.c:
4425 * gst/gsttagsetter.h:
4428 * gst/gsttrashstack.c:
4429 renamed gsttag -> gsttaglist, gsttaginterface -> gsttagsetter
4430 inlined docs for gsttrace, gsttrashstack
4432 2005-09-07 Stefan Kost <ensonic@users.sf.net>
4435 * gst/elements/gstbufferstore.h:
4436 * gst/elements/gsttypefindelement.c:
4437 * gst/elements/gsttypefindelement.h:
4439 * gst/gsttypefind.c:
4440 * gst/gsttypefind.h:
4441 * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type),
4442 (gst_type_find_factory_class_init), (gst_type_find_factory_init),
4443 (gst_type_find_factory_dispose),
4444 (gst_type_find_factory_unload_thyself),
4445 (gst_type_find_load_plugin), (gst_type_find_factory_get_list),
4446 (gst_type_find_factory_get_caps),
4447 (gst_type_find_factory_get_extensions),
4448 (gst_type_find_factory_call_function):
4449 * gst/gsttypefindfactory.h:
4450 * gst/registries/gstlibxmlregistry.c:
4451 * gst/registries/gstxmlregistry.c:
4452 splitted gsttypefind into gsttypefind, gsttypefindfactory
4454 2005-09-07 Andy Wingo <wingo@pobox.com>
4456 * gst/base/gstbasesink.c (gst_base_sink_activate_pull): Fix a race
4457 condition whereby the pad's task function is entered before the
4458 pad_mode variable was set.
4460 2005-09-07 Jan Schmidt <thaytan@mad.scientist.com>
4462 * gst/gstpad.c: (gst_pad_alloc_buffer):
4463 Catch misbehaving pad_alloc functions that don't
4464 set up caps and do it for them.
4466 2005-09-07 Stefan Kost <ensonic@users.sf.net>
4468 * check/pipelines/simple_launch_lines.c: (run_pipeline):
4470 * docs/gst/tmpl/.cvsignore:
4471 * docs/gst/tmpl/gstmemchunk.sgml:
4472 * docs/gst/tmpl/gstparse.sgml:
4473 * docs/gst/tmpl/gsttaglist.sgml:
4474 * docs/gst/tmpl/gsttagsetter.sgml:
4475 * docs/gst/tmpl/gsttypefind.sgml:
4476 * docs/gst/tmpl/gsttypefindfactory.sgml:
4477 * gst/gstmemchunk.c:
4480 * gst/gsttaginterface.c:
4481 * gst/gsttypefind.c:
4482 * gst/gsttypefind.h:
4485 === release 0.9.2 ===
4487 2005-09-06 Thomas Vander Stichele <thomas at apestaart dot org>
4492 releasing 0.9.2, "South"
4494 2005-09-05 Andy Wingo <wingo@pobox.com>
4496 * gst/registries/gstxmlregistry.h:
4497 * gst/registries/gstxmlregistry.c: Um... resurrect...
4499 * gst/registries/gstxmlregistry.h:
4500 * gst/registries/gstxmlregistry.c: and update to newer API.
4501 Incidentally they should be a bit faster now that they don't have
4504 2005-09-05 Andy Wingo <wingo@pobox.com>
4506 * gst/registries/gstxmlregistry.h:
4507 * gst/registries/gstxmlregistry.c: Remove from CVS, they were
4508 replaced by the libxml registry a while back
4510 2005-09-03 Thomas Vander Stichele <thomas at apestaart dot org>
4512 * docs/gst/tmpl/gstplugin.sgml:
4513 * gst/elements/gstelements.c:
4515 * gst/gstplugin.c: (gst_plugin_register_func),
4516 (gst_plugin_desc_copy), (gst_plugin_desc_free),
4517 (gst_plugin_get_source):
4519 * gst/registries/gstlibxmlregistry.c: (load_plugin),
4520 (gst_xml_registry_save_plugin):
4521 * gst/registries/gstxmlregistry.c: (gst_xml_registry_parse_plugin),
4522 (gst_xml_registry_save_plugin):
4523 * tools/gst-inspect.c: (print_plugin_info):
4524 add a "source" plugin description field, to represent the source
4525 module this plugin is a part of. By default GST_PLUGIN_DEFINE
4526 will set it to PACKAGE, which is automake's idea of the name of
4529 2005-09-03 Thomas Vander Stichele <thomas at apestaart dot org>
4535 * docs/faq/Makefile.am:
4536 * docs/gst/tmpl/gstelement.sgml:
4537 * docs/gst/tmpl/gsttypes.sgml:
4538 * docs/htmlinstall.mak:
4539 * docs/manual/Makefile.am:
4540 * docs/pwg/Makefile.am:
4541 reorganize doc build a little
4542 split out docbook and gtk-doc stuff
4543 have two separate --enable's and enable them through autogen
4544 but disable by default in configure (to be similar to other
4546 * gstreamer.spec.in:
4547 clean up docs install
4567 2005-09-03 Tim-Philipp Müller <tim at centricular dot net>
4569 * gst/base/gstbasesink.c: (gst_base_sink_pad_buffer_alloc):
4572 * gst/elements/gstfakesink.c: (gst_fake_sink_init),
4573 (gst_fake_sink_change_state):
4574 Make state change function thread-safe.
4576 * gst/gstpad.c: (gst_pad_alloc_buffer):
4577 Set offset on generic buffer allocated by fallback.
4579 2005-09-03 Stefan Kost <ensonic@users.sf.net>
4581 * docs/gst/gstreamer-sections.txt:
4582 * docs/gst/tmpl/gstelement.sgml:
4584 * libs/gst/controller/gst-controller.c:
4585 (gst_controlled_property_set_interpolation_mode),
4586 (gst_controlled_property_new),
4587 (gst_controller_find_controlled_property):
4588 run the wingo-magic script against the docs
4590 2005-09-02 Stefan Kost <ensonic@users.sf.net>
4592 * docs/gst/gstreamer-docs.sgml:
4593 * docs/gst/gstreamer-sections.txt:
4594 * docs/gst/tmpl/.cvsignore:
4595 * docs/gst/tmpl/gstelementdetails.sgml:
4596 * docs/gst/tmpl/gstelementfactory.sgml:
4599 * gst/gstelementfactory.c:
4600 * gst/gstelementfactory.h:
4601 merged elementdetails docs into elementfactory docs
4604 2005-09-02 Andy Wingo <wingo@pobox.com>
4606 * gst/gstelement.h: Add magical pixie dust to make glib-mkenums
4607 consider this enum an enum and not a flags.
4609 2005-09-02 Stefan Kost <ensonic@users.sf.net>
4611 * docs/gst/gstreamer-docs.sgml:
4612 * docs/gst/tmpl/.cvsignore:
4613 * docs/gst/tmpl/gstghostpad.sgml:
4614 * docs/gst/tmpl/gstiterator.sgml:
4615 * docs/gst/tmpl/gstmacros.sgml:
4616 * docs/gst/tmpl/gstrealpad.sgml:
4617 * docs/gst/tmpl/gstregistry.sgml:
4618 * docs/gst/tmpl/gstregistrypool.sgml:
4619 * docs/gst/tmpl/gststructure.sgml:
4620 * docs/gst/tmpl/gstsystemclock.sgml:
4621 * docs/gst/tmpl/gsttrace.sgml:
4622 * gst/gstghostpad.c:
4624 * gst/gstmemchunk.c:
4625 * gst/gstmemchunk.h:
4627 * gst/gstregistry.c:
4628 * gst/gstregistrypool.c:
4629 * gst/gststructure.c:
4630 * gst/gstsystemclock.c:
4633 2005-09-02 Andy Wingo <wingo@pobox.com>
4635 * gst/gstelement.h (GstState): Renamed from GstElementState,
4636 changed to be a normal enum instead of flags.
4637 (GstStateChangeReturn): Renamed from GstElementStateReturn, names
4638 munged to be GST_STATE_CHANGE_*.
4639 (GST_STATE_CHANGE): Renamed from GST_STATE_TRANSITION, updated to
4640 work with the new state representation.
4641 (GstStateChange): New enumeration of possible state transitions.
4642 Replaces GST_STATE_FOO_TO_BAR with GST_STATE_CHANGE_FOO_TO_BAR.
4643 (GstElementClass::change_state): Pass the GstStateChange along as
4644 an argument. Helps language bindings, so they don't have to use
4645 tricky lock-needing macros like GST_STATE_CHANGE ().
4647 * scripts/update-states (file): New script. Run it on a file to
4648 update it for state naming and API changes. Updates files in
4651 * All files updated for the new API.
4653 2005-09-02 Thomas Vander Stichele <thomas at apestaart dot org>
4655 * gst/gsttrace.c: (gst_trace_flush), (gst_trace_text_flush):
4656 * gst/gstutils.c: (gst_util_set_value_from_string),
4657 (gst_util_set_object_arg):
4658 fix a bunch of unchecked return values
4659 * tools/gst-complete.c: (main):
4660 * gstreamer.spec.in:
4663 2005-09-01 Wim Taymans <wim@fluendo.com>
4665 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
4666 (gst_base_sink_event), (gst_base_sink_do_sync),
4667 (gst_base_sink_handle_event):
4668 * gst/base/gstbasesink.h:
4669 Handle newsegments more correctly.
4674 * gst/gstevent.c: (gst_event_new_newsegment):
4675 A newsegment cannot have a start_time of -1
4677 2005-09-01 Tim-Philipp Müller <tim at centricular dot net>
4679 * win32/gstenumtypes.c:
4680 * win32/gstenumtypes.h:
4683 2005-08-31 Stefan Kost <ensonic@users.sf.net>
4685 * libs/gst/controller/gst-controller.c:
4686 (gst_controlled_property_set_interpolation_mode),
4687 (gst_controlled_property_new):
4690 2005-08-31 Thomas Vander Stichele <thomas at apestaart dot org>
4692 * docs/faq/gst-uninstalled:
4697 * gst/gstutils.c: (gst_element_link_filtered):
4699 add gst_element_link_filtered
4701 2005-08-31 Stefan Kost <ensonic@users.sf.net>
4703 * docs/gst/gstreamer-docs.sgml:
4704 * docs/gst/gstreamer-sections.txt:
4705 * docs/gst/tmpl/.cvsignore:
4706 * docs/gst/tmpl/gsterror.sgml:
4707 * docs/gst/tmpl/gstfilter.sgml:
4708 * docs/gst/tmpl/gsturihandler.sgml:
4709 * docs/gst/tmpl/gsturitype.sgml:
4710 * docs/gst/tmpl/gstutils.sgml:
4711 * docs/gst/tmpl/gstxml.sgml:
4719 inlined more docs, fixed double id-ref
4721 2005-08-31 Wim Taymans <wim@fluendo.com>
4723 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
4724 (gst_base_transform_handle_buffer):
4725 Passthrough elements don't need the caps as they don't care.
4727 2005-08-31 Wim Taymans <wim@fluendo.com>
4729 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
4730 (gst_base_transform_handle_buffer), (gst_base_transform_chain):
4731 Don't leak refcounts on buffers.
4733 2005-08-31 Wim Taymans <wim@fluendo.com>
4735 * gst/base/gstbasetransform.c: (gst_base_transform_configure_caps),
4736 (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
4737 (gst_base_transform_chain), (gst_base_transform_change_state):
4738 * gst/base/gstbasetransform.h:
4739 Handle the case where we are not negotiated more gracefully.
4741 2005-08-31 Tim-Philipp Müller <tim at centricular dot net>
4743 * gst/elements/gstfilesrc.c: (gst_mmap_buffer_init),
4744 (gst_file_src_map_region):
4745 Set READONLY flag on mmap'ed buffers, otherwise
4746 gst_buffer_make_writable() won't work properly (#314708).
4748 2005-08-31 Wim Taymans <wim@fluendo.com>
4750 * gst/base/gstbasetransform.c: (gst_base_transform_handle_buffer):
4751 passthrough elements can even do inplace on non writable
4752 buffers (as they don't touch them).
4754 2005-08-31 Stefan Kost <ensonic@users.sf.net>
4756 * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
4757 (gst_test_mono_source_set_property),
4758 (gst_test_mono_source_class_init), (GST_START_TEST),
4759 (gst_controller_suite):
4760 more tests (hehe I have the most)
4762 describe popping messages whenusing mulltiple sources
4763 * libs/gst/controller/gst-controller.c:
4764 (gst_controlled_property_set_interpolation_mode),
4765 (gst_controlled_property_new):
4766 * libs/gst/controller/gst-controller.h:
4767 * libs/gst/controller/gst-interpolation.c:
4768 implement boolean properties
4770 2005-08-31 Wim Taymans <wim@fluendo.com>
4772 * gst/gstminiobject.c: (gst_mini_object_ref):
4773 Cannot assert that the refcount has to be positive
4774 since a disposed object can be resurrected.
4776 2005-08-31 Wim Taymans <wim@fluendo.com>
4778 * gst/gstpad.c: (gst_pad_init):
4779 Revert change, need to first fix badly behaving
4782 2005-08-30 Wim Taymans <wim@fluendo.com>
4784 * check/elements/fakesrc.c: (setup_fakesrc):
4785 * check/elements/identity.c: (setup_identity):
4786 Activate pads before using them.
4788 2005-08-30 Wim Taymans <wim@fluendo.com>
4790 * gst/base/gstadapter.c: (gst_adapter_flush):
4791 Flushing out 0 bytes is ok for this function.
4793 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
4794 no newsegment gives a warning and sets the start/stop to
4797 * gst/base/gstbasetransform.c: (gst_base_transform_change_state),
4798 (gst_base_transform_set_passthrough):
4801 * gst/gstminiobject.c: (gst_mini_object_ref):
4802 Check refcount here too.
4804 * gst/gstpad.c: (gst_pad_init):
4805 Pads are initially flushing and refusing data.
4807 * gst/gstutils.c: (gst_element_link_pads_filtered):
4808 When adding a capsfilter element make sure it has the
4809 same state as the parent bin.
4811 2005-08-30 Stefan Kost <ensonic@users.sf.net>
4813 * docs/gst/tmpl/.cvsignore:
4814 * docs/gst/tmpl/gstformat.sgml:
4815 * docs/gst/tmpl/gstversion.sgml:
4819 * gst/gstversion.h.in:
4820 more docs and two more inlined
4822 2005-08-30 Wim Taymans <wim@fluendo.com>
4824 * gst/elements/gstfilesink.c: (gst_file_sink_class_init):
4825 Don't sync to clock.
4827 2005-08-30 Stefan Kost <ensonic@users.sf.net>
4829 * docs/gst/gstreamer-sections.txt:
4830 ultral33t func10ns deserve to appear in the docs actually
4831 * docs/gst/tmpl/.cvsignore:
4832 * docs/gst/tmpl/gstcompat.sgml:
4833 * docs/gst/tmpl/gstconfig.sgml:
4834 * gst/check/gstcheck.c:
4836 * gst/gstconfig.h.in:
4839 2005-08-30 Stefan Kost <ensonic@users.sf.net>
4841 * docs/gst/tmpl/.cvsignore:
4842 * docs/gst/tmpl/gstquery.sgml:
4843 * docs/gst/tmpl/gstutils.sgml:
4846 inlined and extended docs
4848 2005-08-30 Stefan Kost <ensonic@users.sf.net>
4850 * check/gst-libs/controller.c: (GST_START_TEST),
4851 (gst_controller_suite):
4853 * docs/gst/tmpl/gstutils.sgml:
4854 * docs/libs/gstreamer-libs-sections.txt:
4855 * docs/libs/tmpl/gstdataprotocol.sgml:
4857 * examples/controller/audio-example.c: (main):
4858 controller example works now
4861 * tools/gst-inspect.c: (print_element_properties_info):
4862 show param spec flags
4864 2005-08-29 Andy Wingo <wingo@pobox.com>
4866 * gst/gstutils.c (gst_util_uint64_scale): New 3733t funct10n.
4868 2005-08-28 Andy Wingo <wingo@pobox.com>
4870 * gst/gstutils.h (GST_BOILERPLATE_FULL): Prototype instance_init
4871 as having two arguments instead of just one. Allows superclasses
4872 to access information on subclasses -- see the terrible for() loop
4873 in gtype.c:g_type_create_instance for the reason why. All callers
4876 2005-08-27 Stefan Kost <ensonic@users.sf.net>
4878 * docs/design/part-messages.txt:
4880 * docs/gst/tmpl/.cvsignore:
4881 * docs/gst/tmpl/gstcaps.sgml:
4882 * docs/gst/tmpl/gstclock.sgml:
4889 added descriptions for bus and message
4890 inline caps and clock docs
4892 2005-08-27 Stefan Kost <ensonic@users.sf.net>
4898 2005-08-27 Stefan Kost <ensonic@users.sf.net>
4900 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
4903 2005-08-26 Andy Wingo <wingo@pobox.com>
4905 * check/pipelines/simple_launch_lines.c (run_pipeline): Check
4906 element_set_state's return val.
4907 (test_2_elements): Add test that's been disabled for months.
4909 * gst/elements/gstfakesink.c: Cleanups. Add can-activate-push and
4910 can-activate-pull properties.
4912 * gst/elements/gstfakesrc.c: Cleanups. Add can-activate-push and
4913 can-activate-pull properties. Implement is_seekable so fakesrc can
4914 operate in pull mode.
4916 * gst/base/gstbasesink.c (GstBaseSink): Remove has-loop, has-chain
4918 (gst_base_sink_activate, gst_base_sink_activate_pull)
4919 (gst_base_sink_activate_push): Make activation mode choosing work.
4921 (gst_base_sink_chain, gst_base_sink_loop): Assert activation mode
4922 is right. Make pull mode work. Post an eos before pausing in pull
4924 (gst_base_sink_change_state): Pay attention to the core's
4925 change_state() return val.
4927 * gst/base/gstbasesrc.c (GstBaseSrc): Remove has-loop,
4928 has-getrange properties. Cleanups.
4930 * gst/base/gstbasesrc.h (GstBaseSrc): Remove has_loop,
4931 has_getrange and replace with can_activate_pull and
4934 * gst/base/gstbasesink.h (GstBaseSink): Rearrange fields, add
4935 locking comments. Remove has_loop, has_chain and replace with
4936 can_activate_pull and can_activate_push.
4938 2005-08-26 Jan Schmidt <thaytan@mad.scientist.com>
4941 * examples/Makefile.am:
4942 * examples/metadata/Makefile.am:
4943 * examples/metadata/read-metadata.c: (message_loop),
4944 (have_pad_handler), (make_pipeline), (print_tag), (main):
4945 Add metadata reading example that loops over a list of filenames,
4946 dumping any tags found.
4948 * gst/gstbus.c: (gst_bus_dispose):
4949 * gst/gstelement.c: (gst_element_dispose):
4950 Release a few potentially-held references in dispose.
4952 2005-08-26 Stefan Kost <ensonic@users.sf.net>
4954 * docs/gst/tmpl/gstminiobject.sgml:
4955 do *not* add tmpl/*.sgml files to CVS!
4957 2005-08-26 Stefan Kost <ensonic@users.sf.net>
4959 * libs/gst/bytestream/.cvsignore:
4960 * libs/gst/bytestream/Makefile.am:
4961 * libs/gst/bytestream/adapter.c:
4962 * libs/gst/bytestream/adapter.h:
4963 * libs/gst/bytestream/bytestream.c:
4964 * libs/gst/bytestream/bytestream.h:
4965 * libs/gst/bytestream/filepad.c:
4966 * libs/gst/bytestream/filepad.h:
4967 removing obsolete files
4969 2005-08-26 Stefan Kost <ensonic@users.sf.net>
4971 * docs/gst/gstreamer-docs.sgml:
4972 * docs/libs/gstreamer-libs-docs.sgml:
4973 disabed additional index entries again, as this makes docs-gen just
4974 slow and they aren't useful yet
4975 * docs/libs/gstreamer-libs-sections.txt:
4976 little -section.txt cleanup for libs
4978 2005-08-26 Thomas Vander Stichele <thomas at apestaart dot org>
4980 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
4981 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size),
4982 fix up some debugging
4983 (gst_base_transform_get_unit_size),
4984 (gst_base_transform_buffer_alloc), (gst_base_transform_event),
4985 (gst_base_transform_handle_buffer):
4986 * gst/base/gstbasetransform.h:
4987 handle and store timed NEWSEGMENT events so that subclasses that
4988 calculate time by counting samples have a segment_start time they
4989 need to add to their timestamps - see audioresample
4991 2005-08-26 Stefan Kost <ensonic@users.sf.net>
4994 removed ';' from the end of macro defs
4995 * docs/gst/gstreamer-docs.sgml:
4996 * docs/gst/gstreamer-sections.txt:
4997 * docs/gst/tmpl/.cvsignore:
4999 * gst/gstelement.c: (gst_element_class_init),
5000 (gst_element_set_state), (activate_pads),
5001 (gst_element_save_thyself):
5002 * gst/gstevent.c: (gst_event_new_newsegment):
5004 * gst/gstiterator.c:
5005 * gst/gstiterator.h:
5008 * gst/gstutils.c: (gst_pad_query_convert):
5010 fixed parameter name mismatches between source, header and docs
5011 added some more docs, resolved the last batch of unused elements in
5012 docs (now someone needs to doc them)
5014 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
5016 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_rebuild):
5017 * gst/registries/gstxmlregistry.c: (gst_xml_registry_rebuild):
5018 don't walk through the plugins backwards. Where is all this
5019 reversed logic coming from ?
5021 2005-08-25 Wim Taymans <wim@fluendo.com>
5023 * gst/base/gstbasetransform.c: (gst_base_transform_init),
5024 (gst_base_transform_transform_size),
5025 (gst_base_transform_configure_caps),
5026 (gst_base_transform_get_unit_size),
5027 (gst_base_transform_buffer_alloc),
5028 (gst_base_transform_change_state):
5029 * gst/base/gstbasetransform.h:
5030 Cache caps unit_size.
5031 Make sure we cannot negotiate up and downstream at the
5034 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
5036 * gst/gst.c: (init_pre), (init_post):
5037 register the installed plugin path after the env var
5038 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_save):
5039 * gst/registries/gstxmlregistry.c: (gst_xml_registry_save):
5040 don't reverse order of paths; conserve the order of GST_PLUGIN_PATH
5041 directories, so the tests can prefer uninstalled over installed
5043 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
5045 * gst/base/gstbasetransform.h:
5050 2005-08-25 Wim Taymans <wim@fluendo.com>
5052 * gst/gstbin.c: (bin_bus_handler):
5053 Be a bit more conservative about the posted message.
5055 * gst/gstbus.c: (gst_bus_post):
5056 Some cleanups, warn wrong return values.
5058 2005-08-25 Jan Schmidt <thaytan@mad.scientist.com>
5060 * check/gst/gstbin.c: (GST_START_TEST):
5061 * gst/gstbin.c: (bin_bus_handler):
5062 * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
5063 (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
5064 (gst_message_new_warning), (gst_message_new_tag),
5065 (gst_message_new_state_changed), (gst_message_new_segment_start),
5066 (gst_message_new_segment_done), (gst_message_new_custom):
5068 * tools/gst-launch.c: (event_loop):
5069 * tools/gst-md5sum.c: (event_loop):
5070 Revert unpopular change for GST_MESSAGE_SRC to GObject.
5072 2005-08-25 Wim Taymans <wim@fluendo.com>
5074 * check/generic/states.c: (GST_START_TEST):
5075 Cleanup can be done at the end.
5077 * gst/gsttask.c: (gst_task_get_type), (gst_task_finalize),
5078 (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
5079 (gst_task_get_state), (gst_task_start), (gst_task_pause):
5080 Oh boy.. Thanks for finding this, Thomas.
5082 2005-08-25 Stefan Kost <ensonic@users.sf.net>
5084 * docs/gst/gstreamer.types:
5087 2005-08-25 Stefan Kost <ensonic@users.sf.net>
5089 * docs/gst/gstreamer-docs.sgml:
5090 * docs/gst/gstreamer-sections.txt:
5091 * docs/gst/tmpl/.cvsignore:
5093 * gst/gstiterator.c:
5095 * gst/registries/gstxmlregistry.h:
5096 added missing classes and symbols (123 more to go)
5097 removed removed symbols from section file
5098 fixed many doc-comments
5100 2005-08-24 Wim Taymans <wim@fluendo.com>
5102 * check/generic/states.c: (GST_START_TEST):
5103 Make sure all tasks are stopped.
5105 * check/gst/gstbin.c: (GST_START_TEST):
5106 Unref after usage for proper valgrinding.
5108 * gst/gstpad.c: (gst_pad_finalize), (gst_pad_stop_task):
5109 Really wait for the task to stop before destroying the
5112 * gst/gstqueue.c: (gst_queue_sink_activate_push),
5113 (gst_queue_src_activate_push):
5114 Small cleanups. Don't stop the task when we did not start
5117 * gst/gsttask.c: (gst_task_get_type), (gst_task_init),
5118 (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
5119 (gst_task_get_state), (gst_task_start), (gst_task_pause),
5122 Protect the stream lock with the object lock.
5123 Disallow setting the stream lock when running.
5124 Add cleanup_all to wait for the threadpool to finish.
5125 Remove code to autoallocate a mutex if none was provided.
5126 Add _join() to wait for a task to stop.
5127 Protect the thread pool with a global lock.
5129 2005-08-24 Wim Taymans <wim@fluendo.com>
5131 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
5132 (gst_base_sink_get_times), (gst_base_sink_do_sync),
5133 (gst_base_sink_handle_buffer), (gst_base_sink_change_state):
5134 * gst/base/gstbasesink.h:
5135 Handle newsegment events correctly.
5136 Drop buffers out of the segment range.
5138 2005-08-22 Andy Wingo <wingo@pobox.com>
5140 * gst/gstutils.h (GST_BOILERPLATE_WITH_INTERFACE): New ghetto
5141 macro, implements an interface and gstimplementsinterface for a
5144 2005-08-24 Thomas Vander Stichele <thomas at apestaart dot org>
5146 * check/Makefile.am:
5147 * check/generic/states.c: (GST_START_TEST), (states_suite), (main):
5148 add a test that does a bunch of state changes on elements
5149 needs some fixing for valgrind
5150 * check/states/sinks.c: (gst_object_suite):
5153 add prototype for gst_caps_is_equal_fixed
5155 * gst/gstregistrypool.c:
5158 2005-08-24 Andy Wingo <wingo@pobox.com>
5160 * gst/gstquery.c (gst_query_new_convert): Spew if we try to
5161 convert a negative value. Doesn't make much sense. Mostly this is
5162 here to force callers to ensure -1 maps to -1.
5164 2005-08-24 Jan Schmidt <thaytan@mad.scientist.com>
5166 * docs/pwg/advanced-types.xml:
5167 Well done to Michael for catching my deliberate introduction
5168 of this spelling mistake.
5169 * gst/gstbin.c: (gst_bin_remove_func), (bin_bus_handler):
5171 Add GST_ELEMENT_UNPARENTING to prevent races so that we can
5172 unlink pads before removing the element from the bin.
5174 2005-08-24 Andy Wingo <wingo@pobox.com>
5176 * gst/gst.c (parse_debug_list): Accept e.g. GST_DEBUG=4 to mean
5177 the same thing as GST_DEBUG=*:4.
5178 (parse_debug_level, parse_debug_category): New helper parsers.
5180 2005-08-24 Thomas Vander Stichele <thomas at apestaart dot org>
5182 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
5183 (gst_base_transform_transform_size), (gst_base_transform_getcaps),
5184 (gst_base_transform_setcaps), (gst_base_transform_get_unit_size),
5185 (gst_base_transform_buffer_alloc),
5186 (gst_base_transform_handle_buffer):
5187 use gboolean return values and pointers to size so we can use the
5188 full GST_BUFFER_SIZE range (guint) for buffer sizes
5189 use GstPadDirection for transform_caps
5190 * gst/base/gstbasetransform.h:
5191 rename get_size to get_unit_size since that's what it is
5192 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_caps):
5193 use GstPadDirection for transform_caps
5194 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
5196 cleanup and debugging
5198 2005-08-24 Stefan Kost <ensonic@users.sf.net>
5200 * gst/gstelement.c: (gst_element_class_init),
5201 (gst_element_set_state), (activate_pads),
5202 (gst_element_save_thyself):
5203 * tools/gst-compprep.c: (main):
5204 * tools/gst-inspect.c: (print_element_properties_info):
5205 * tools/gst-xmlinspect.c: (print_element_properties):
5206 Fixed long standing mem-leak
5208 2005-08-24 Jan Schmidt <thaytan@mad.scientist.com>
5210 * check/gst/gstbin.c: (GST_START_TEST):
5211 * gst/gstbin.c: (bin_bus_handler):
5212 * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
5213 (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
5214 (gst_message_new_warning), (gst_message_new_tag),
5215 (gst_message_new_state_changed), (gst_message_new_segment_start),
5216 (gst_message_new_segment_done), (gst_message_new_custom):
5218 * tools/gst-launch.c: (event_loop):
5219 * tools/gst-md5sum.c: (event_loop):
5220 Change GST_MESSAGE_SRC to be a GObject rather than a GstObject, so
5221 that applications can sensibly post custom messages with references
5222 to their own objects.
5224 2005-08-24 Andy Wingo <wingo@pobox.com>
5226 * gst/gstpad.c (gst_pad_fixate_caps): Check if the caps is fixed
5229 2005-08-24 Wim Taymans <wim@fluendo.com>
5231 * gst/base/gstbasetransform.c: (gst_base_transform_init),
5232 (gst_base_transform_transform_caps),
5233 (gst_base_transform_transform_size),
5234 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
5235 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
5236 (gst_base_transform_handle_buffer):
5237 * gst/base/gstbasetransform.h:
5238 Many fixes and new features added by Thomas. Can now also do
5239 transforms with variable sizes and a custom fixate_caps function.
5241 2005-08-24 Wim Taymans <wim@fluendo.com>
5243 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
5247 Cast to ClockTime before formatting to time.
5252 2005-08-24 Stefan Kost <ensonic@users.sf.net>
5254 * check/gst-libs/controller.c: (GST_START_TEST),
5255 (gst_controller_suite):
5256 * docs/gst/tmpl/gstcaps.sgml:
5257 * docs/gst/tmpl/gstghostpad.sgml:
5258 * docs/gst/tmpl/gstquery.sgml:
5259 * docs/gst/tmpl/gstutils.sgml:
5260 * libs/gst/controller/gst-helper.c: (gst_object_set_controller),
5261 (gst_object_sink_values), (gst_object_get_value_arrays),
5262 (gst_object_get_value_array):
5263 gracefully handle helper method calls to objects that are not beeing
5264 controlled, added test case for that
5266 2005-08-23 Wim Taymans <wim@fluendo.com>
5268 * gst/gstevent.c: (_gst_event_copy), (gst_event_new_custom),
5269 (gst_event_new_newsegment), (gst_event_parse_newsegment),
5270 (gst_event_new_tag), (gst_event_parse_tag), (gst_event_new_qos),
5271 (gst_event_parse_qos), (gst_event_new_seek),
5272 (gst_event_parse_seek):
5274 Some more debugging output and doc cleanups.
5276 * gst/gstqueue.c: (gst_queue_handle_sink_event):
5277 Fix possible deadlock.
5279 2005-08-23 Stefan Kost <ensonic@users.sf.net>
5281 * docs/gst/gstreamer-docs.sgml:
5282 * docs/gst/gstreamer-sections.txt:
5283 * docs/gst/gstreamer.types:
5284 * docs/gst/tmpl/.cvsignore:
5289 added 100 symbols from gstreamer-unused.txt to the right sections
5290 fixed more broken comments
5291 added GstBus to docs
5293 2005-08-23 Stefan Kost <ensonic@users.sf.net>
5295 * docs/gst/gstreamer-sections.txt:
5296 * docs/gst/tmpl/.cvsignore:
5297 * docs/gst/tmpl/gstbin.sgml:
5298 * docs/gst/tmpl/gstbuffer.sgml:
5299 * gst/base/gstbasesrc.c:
5300 * gst/gstbin.c: (gst_bin_get_type), (gst_bin_class_init):
5303 * tools/gst-launch.1.in:
5304 inlined more doc comments, added missing comments and fixed comments
5307 2005-08-23 Thomas Vander Stichele <thomas at apestaart dot org>
5309 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
5313 * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_alloc_buffer):
5315 * gst/gststructure.c: (gst_caps_structure_fixate_field_boolean):
5316 * gst/gststructure.h:
5317 add a fixate function for booleans; add a FIXME that these func
5318 names should probably be gst_structure_fixate_*
5320 2005-08-23 Stefan Kost <ensonic@users.sf.net>
5322 * docs/gst/gstreamer-docs.sgml:
5323 * docs/gst/gstreamer-sections.txt:
5325 * gst/gstbin.c: (gst_bin_get_type),
5326 (gst_bin_child_proxy_get_child_by_index),
5327 (gst_bin_child_proxy_get_children_count),
5328 (gst_bin_child_proxy_init):
5329 * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
5330 (gst_child_proxy_get_child_by_index),
5331 (gst_child_proxy_get_children_count), (gst_child_proxy_lookup),
5332 (gst_child_proxy_get_property), (gst_child_proxy_get_valist),
5333 (gst_child_proxy_get), (gst_child_proxy_set_property),
5334 (gst_child_proxy_set_valist), (gst_child_proxy_set),
5335 (gst_child_proxy_child_added), (gst_child_proxy_child_removed),
5336 (gst_child_proxy_base_init), (gst_child_proxy_get_type):
5337 * gst/gstchildproxy.h:
5338 * gst/parse/grammar.y:
5339 * tools/gst-inspect.c: (print_interfaces),
5340 (print_element_properties_info), (print_element_info):
5341 ported gstchildproxy over from 0.8
5342 ported gst-inspect fixes and enhancements over from 0.8
5344 2005-08-22 Wim Taymans <wim@fluendo.com>
5346 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
5347 (gst_base_transform_handle_buffer):
5348 Also call the transform function if we have ANY caps.
5350 * gst/gstpipeline.c: (gst_pipeline_set_new_stream_time):
5353 2005-08-22 Jan Schmidt <thaytan@mad.scientist.com>
5355 * gst/base/gstbasesrc.c: (gst_base_src_event_handler)
5356 Don't pretend to handle seek events if the source is not seekable
5358 2005-08-22 Jan Schmidt <thaytan@mad.scientist.com>
5360 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
5361 Remove extra parameter to debug output
5363 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
5364 (gst_base_src_do_seek), (gst_base_src_activate_push):
5365 Fix seek event handling.
5367 * gst/gstpipeline.c: (gst_pipeline_change_state):
5368 * gst/gstqueue.c: (gst_queue_handle_sink_event),
5369 (gst_queue_src_activate_push):
5370 Don't start the src pad task on FLUSH_STOP if the pad
5374 2005-08-22 Wim Taymans <wim@fluendo.com>
5376 * check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
5377 Added check for gst_static_caps_get() refcounting.
5379 2005-08-22 Wim Taymans <wim@fluendo.com>
5381 * gst/gstcaps.c: (gst_static_caps_get), (gst_caps_to_string):
5382 Make _static_caps_get() refcounting sane.
5384 * gst/gstelement.c: (gst_element_set_state):
5385 Add g_return_val_if_fail() to protect against segfaults.
5387 2005-08-22 Stefan Kost <ensonic@users.sf.net>
5389 * docs/gst/tmpl/gstevent.sgml:
5392 inlined remaining docs, added missing doc comments
5394 2005-08-22 Thomas Vander Stichele <thomas at apestaart dot org>
5396 * check/gst/gstbin.c: (GST_START_TEST):
5397 since we don't know when preroll is done, use refcount range
5399 * gst/check/gstcheck.h:
5400 add macro for checking refcount range
5402 2005-08-21 Thomas Vander Stichele <thomas at apestaart dot org>
5404 * check/Makefile.am:
5405 clean up environment for when registry gets built versus
5406 when actual tests are run; valgrind seems to not report
5407 leaks if GST_PLUGIN_PATH is set to some specific values
5408 * check/gst/gstbin.c: (GST_START_TEST):
5409 add more refcounting checks; maybe this exposes a
5412 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
5413 * gst/check/gstcheck.h:
5414 * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_get_state),
5415 (gst_bin_change_state):
5416 * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_chain):
5417 add/fix debugging/whitespace
5419 2005-08-21 Jan Schmidt <thaytan@mad.scientist.com>
5421 * check/gst/gstevent.c: (event_probe), (test_event),
5423 Er, don't call gst_bin_watch_for_state_change you idiot.
5425 2005-08-21 Jan Schmidt <thaytan@mad.scientist.com>
5427 * check/Makefile.am:
5428 Use CHECK_CFLAGS and CHECK_LIBS
5429 * check/gst/gstevent.c: (event_probe), (test_event),
5432 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
5433 (gst_base_src_start), (gst_base_src_stop),
5434 (gst_base_src_activate_push), (gst_base_src_activate_pull),
5435 (gst_base_src_change_state):
5436 Sprinkle gst_base_src_stop liberally around error paths to fix
5437 problems reusing a source after failed state changes.
5438 * gst/base/gsttypefindhelper.c: (helper_find_peek),
5439 (helper_find_suggest), (gst_type_find_helper):
5440 Extra debug output. Don't segfault on GST_PAD_GETRANGEFUNC = NULL
5442 * docs/gst/tmpl/gstevent.sgml:
5443 Migrate part of the docs from the SGML file. Wait for ensonic to
5444 tell me how I did it wrong ;)
5445 * tools/gst-typefind.c: (main):
5446 Extra robustness to state changes between files.
5448 2005-08-21 Thomas Vander Stichele <thomas at apestaart dot org>
5450 * check/Makefile.am:
5451 don't valgrind the controller test - it's leaking - Stefan, HELP
5452 * gst/check/gstcheck.c: (gst_check_message_error),
5453 (gst_check_chain_func), (gst_check_setup_element),
5454 (gst_check_teardown_element), (gst_check_setup_src_pad),
5455 (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
5456 (gst_check_teardown_sink_pad):
5457 * gst/check/gstcheck.h:
5458 add a bunch of methods to set up elements, and src and sink pads
5459 * check/elements/fakesrc.c: (setup_fakesrc), (cleanup_fakesrc):
5460 * check/elements/identity.c: (setup_identity), (cleanup_identity),
5465 whitespace/doc fixes
5467 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
5470 make GST_ELEMENT_ERROR not do GST_ERROR_OBJECT - these errors should
5471 be handled by the application and not always printed as well
5473 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
5475 * check/Makefile.am:
5477 * gst/check/gstcheck.c: (gst_check_message_error):
5478 * gst/check/gstcheck.h:
5479 add a fail_unless_equals_int
5480 add fail_unless for error messages
5482 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
5484 * check/Makefile.am:
5486 * common/Makefile.am:
5489 factor out some of the common stuff so we can use it
5491 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
5493 * check/Makefile.am:
5494 * check/gst/gstiterator.c: (GST_START_TEST):
5495 * check/gst/gstsystemclock.c: (GST_START_TEST),
5496 (gst_systemclock_suite):
5497 * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
5501 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
5503 * check/elements/.cvsignore:
5504 * check/elements/gstfakesrc.c:
5505 rename to name of element
5506 * check/elements/identity.c: (chain_func), (event_func),
5507 (setup_identity), (cleanup_identity), (GST_START_TEST),
5508 (identity_suite), (main):
5509 add a test for identity
5510 * check/Makefile.am:
5511 * pkgconfig/Makefile.am:
5512 * pkgconfig/gstreamer-check.pc.in:
5513 * pkgconfig/gstreamer-check-uninstalled.pc.in:
5517 move the check stuff to a library that gets installed
5518 * check/gst-libs/controller.c: (GST_START_TEST):
5519 * check/gst-libs/gdp.c:
5520 * check/gst/gst.c: (GST_START_TEST):
5521 * check/gst/gstbin.c:
5522 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
5523 * check/gst/gstbus.c:
5524 * check/gst/gstcaps.c: (GST_START_TEST):
5525 * check/gst/gstelement.c:
5526 * check/gst/gstghostpad.c:
5527 * check/gst/gstiterator.c:
5528 * check/gst/gstmessage.c:
5529 * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST):
5530 * check/gst/gstobject.c:
5531 * check/gst/gstpad.c: (GST_START_TEST):
5532 * check/gst/gststructure.c: (GST_START_TEST):
5533 * check/gst/gstsystemclock.c: (GST_START_TEST),
5534 (gst_systemclock_suite):
5535 * check/gst/gsttag.c: (gst_tag_suite):
5536 * check/gst/gstvalue.c:
5537 * check/pipelines/cleanup.c:
5538 * check/pipelines/simple_launch_lines.c:
5539 * check/states/sinks.c:
5540 change include statement
5542 * docs/gst/gstreamer-sections.txt:
5543 * docs/gst/tmpl/gstpad.sgml:
5544 document more pad stuff
5545 * gst/gstminiobject.c: (gst_mini_object_ref),
5546 (gst_mini_object_unref):
5549 2005-08-19 Stefan Kost <ensonic@users.sf.net>
5551 * docs/gst/tmpl/gst.sgml:
5553 eliminate another tmpl file, fix spelling in the long-description
5555 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
5557 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
5558 (test_event), (timediff), (gstevents_suite):
5559 Should fix build on 64-bit arch's
5561 2005-08-18 Andy Wingo <wingo@pobox.com>
5563 Make sure that when a pipeline goes to PLAYING, that data has
5564 actually hit the sink.
5566 * check/states/sinks.c (test_sink): A sink that doesn't get any
5567 data shouldn't return SUCCESS for going to either PLAYING or
5568 PAUSED. Test also the return values on the way back down.
5570 * gst/gstelement.c (gst_element_set_state): When changing the
5571 state of an element currently changing state asynchronously, go to
5572 lost-state after commiting the pending state. Makes future calls
5573 to get_state continue to return ASYNC.
5575 * gst/base/gstbasesink.c (gst_base_sink_change_state): Return
5576 ASYNC when going to PLAYING if we still don't have preroll, as can
5577 happen with live sources.
5579 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
5581 * docs/pwg/advanced-types.xml:
5582 Hack long paragraph into 2 chunks as a workaround for buggy
5583 jadetex version in sid and breezy that loops infinitely and
5586 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
5588 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
5589 (test_event), (timediff), (gstevents_suite):
5590 Provide more error margin in clock measurements to allow for
5591 g_get_current_time inaccuracies.
5593 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
5595 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
5596 (test_event), (timediff), (gstevents_suite):
5597 Fix error message output so I might be able to tell why the
5598 test works here but fails on the build farm.
5600 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
5602 * check/Makefile.am:
5603 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
5604 (test_event), (timediff), (gstevents_suite), (main):
5607 * docs/design/part-seeking.txt:
5610 * docs/gst/tmpl/gstevent.sgml:
5611 * docs/gst/tmpl/gstfakesrc.sgml:
5614 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
5615 Treat a buffer-without-newsegment the same as a receiving
5616 a newsegment not in time format, and disable syncing to the clock
5619 * gst/gstbus.c: (gst_bus_set_sync_handler):
5620 Assert if anyone tries to replace the existing sync_handler for bus,
5621 as only the owner should be setting it.
5624 Have a fixed set of custom event enums with events identified by
5625 their structure name (as in 0.8), rather than a free-for-all
5626 allowing collisions between enum values from different plugins.
5628 * gst/gstpad.c: (gst_pad_class_init):
5631 * gst/gstqueue.c: (gst_queue_handle_sink_event):
5632 Handle out-of-band downstream events from the sending thread.
5634 2005-08-17 Andy Wingo <wingo@pobox.com>
5636 * gst/gstpipeline.c (gst_pipeline_change_state): Interpret
5637 play-timeout==0 to mean no timeout at all. In that case, don't
5638 bother with a get_state or a warning, just return directly, even
5641 * gst/base/gstbasetransform.c: Debug changes.
5644 * gst/gstutils.c (gst_bin_watch_for_state_change): Add function to
5645 ensure bins post state change messages. A bit of a hack but I can't
5646 think of a way to avoid it.
5648 * check/gst/gstbin.c (test_watch_for_state_change): Added test.
5650 2005-08-16 Andy Wingo <wingo@pobox.com>
5652 * gst/base/gstadapter.h:
5653 * gst/base/gstadapter.c (gst_adapter_take): New function, like
5654 peek() but you own the data. Not terribly efficient atm.
5656 2005-08-16 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5658 * gst/gstutils.c: (gst_element_found_tags_for_pad), (push_and_ref),
5659 (gst_element_found_tags):
5661 Add two utility functions for tag handling.
5663 2005-08-16 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5665 * docs/manual/advanced-dataaccess.xml:
5666 * docs/manual/basics-helloworld.xml:
5667 Fix docs to use _bin_add() before _link(), which fixes the examples
5668 with recent core versions (reported by Madhan Raj M
5669 <raj_madan@rediffmail.com>, #313199).
5671 2005-08-16 Wim Taymans <wim@fluendo.com>
5673 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
5674 Added subtract checks.
5676 * docs/design/part-events.txt:
5677 Some more docs about newsegment
5679 * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
5682 * gst/gstcaps.c: (gst_caps_to_string):
5683 Add comments, cleanups.
5685 * gst/gstelement.c: (gst_element_save_thyself):
5688 * gst/gstvalue.c: (gst_value_collect_int_range),
5689 (gst_string_unwrap), (gst_value_union_int_int_range),
5690 (gst_value_union_int_range_int_range),
5691 (gst_value_intersect_int_int_range),
5692 (gst_value_intersect_int_range_int_range),
5693 (gst_value_intersect_double_double_range),
5694 (gst_value_intersect_double_range_double_range),
5695 (gst_value_intersect_list), (gst_value_subtract_int_int_range),
5696 (gst_value_subtract_int_range_int),
5697 (gst_value_subtract_double_range_double),
5698 (gst_value_subtract_double_range_double_range),
5699 (gst_value_subtract_from_list), (gst_value_subtract_list),
5700 (gst_value_can_compare), (gst_value_compare_fraction):
5701 Cleanups, add comments, remove unneeded asserts.
5703 2005-08-15 Thomas Vander Stichele <thomas at apestaart dot org>
5705 * tools/gst-launch.c: (event_loop):
5706 don't convert NULL structures to strings
5708 2005-08-15 Stefan Kost <ensonic@users.sf.net>
5710 * docs/gst/gstreamer-sections.txt:
5711 made some defines private
5712 * docs/gst/tmpl/gstconfig.sgml:
5713 * docs/gst/tmpl/gstqueue.sgml:
5714 * docs/gst/tmpl/gsttaglist.sgml:
5715 * docs/gst/tmpl/gsttypes.sgml:
5716 * docs/gst/tmpl/gstutils.sgml:
5717 * docs/pwg/appendix-porting.xml:
5718 * gst/base/gstbasesink.h:
5719 * gst/base/gstbasesrc.c:
5720 * gst/base/gstbasesrc.h:
5721 * gst/elements/gstfakesink.c: (gst_fake_sink_class_init):
5722 * gst/elements/gstfakesrc.c: (gst_fake_src_class_init):
5723 * gst/gstelement.c: (gst_element_class_init):
5724 * gst/gstpad.c: (gst_pad_class_init):
5725 * gst/gstqueue.c: (gst_queue_class_init):
5726 * gst/gstxml.c: (gst_xml_class_init):
5727 documented all undocumented signal inline
5728 * libs/gst/controller/gst-controller.h:
5731 2005-08-15 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5733 * docs/pwg/appendix-porting.xml:
5734 Document _set_link_function -> _set_setcaps_function.
5736 2005-08-15 Thomas Vander Stichele <thomas at apestaart dot org>
5738 * check/Makefile.am:
5739 add a .check target for running the check
5740 * check/gst-libs/controller.c: (GST_START_TEST):
5742 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
5743 complete checks for gstbuffer; would be nice if I could get the
5744 gcov stuff to work so I can see if I actually completed gstbuffer.c
5746 add ASSERT_BUFFER_REFCOUNT
5748 2005-08-13 Tim-Philipp Müller <tim at centricular dot net>
5750 * docs/gst/gstreamer-sections.txt:
5751 * gst/gsttag.c: (_gst_tag_initialize), (gst_tag_register):
5753 Add GST_TAG_LANGUAGE_CODE as we have in 0.8, and don't
5754 spew out a warning if a tag that is already registered
5755 is re-registered, unless it is re-registered with a
5756 different type (#308438).
5758 2005-08-12 Tim-Philipp Müller <tim at centricular dot net>
5760 * docs/pwg/appendix-porting.xml:
5761 * docs/pwg/building-state.xml:
5762 Add some paragraphs about state changes in 0.9 to the PWG
5763 and the porting guide, in particular about the new meaning
5764 of GST_STATE_PAUSED and how to write state change functions
5765 with concurrent access by multiple threads in mind.
5767 2005-08-11 Stefan Kost <ensonic@users.sf.net>
5769 * docs/gst/gstreamer-docs.sgml:
5770 * docs/libs/gstreamer-libs-docs.sgml:
5771 added deprecation and since indexes
5772 * libs/gst/controller/gst-controller.c:
5773 * libs/gst/controller/gst-helper.c:
5777 2005-08-11 Wim Taymans <wim@fluendo.com>
5779 * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked),
5780 (gst_proxy_pad_set_target), (gst_proxy_pad_get_target),
5781 (gst_proxy_pad_dispose), (gst_ghost_pad_do_activate_push),
5782 (gst_ghost_pad_do_link), (gst_ghost_pad_set_internal),
5783 (gst_ghost_pad_new_notarget), (gst_ghost_pad_get_target),
5784 (gst_ghost_pad_set_target):
5785 Actually implement (re)setting the target on a ghostpad
5786 as described in the docs.
5788 2005-08-10 Tim-Philipp Müller <tim at centricular dot net>
5790 * gst/gst.c: (gst_init_check_with_popt_table), (init_pre):
5791 Check whether GST_DEBUG_NO_COLOR environment variable is
5792 set and disable coloured debug output if that is the case.
5794 2005-08-10 Tim-Philipp Müller <tim at centricular dot net>
5796 * gst/base/gsttypefindhelper.c: (helper_find_peek),
5797 (gst_type_find_helper):
5798 The memory returned by gst_type_find_peek() needs to
5799 stay valid until the end of a typefind function, and
5800 typefind functions may keep results from different
5801 offsets around, so we can't just unref the buffer from
5802 the previous _peek(), but have to save all buffers
5803 returned by _peek() until typefinding is done and only
5806 2005-08-09 Tim-Philipp Müller <tim at centricular dot net>
5808 * docs/gst/gstreamer-sections.txt:
5810 New macros: GST_ROUND_UP_2() through GST_ROUND_UP_64().
5812 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5814 * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
5815 Fix a pretty good memleak.
5817 2005-08-08 Tim-Philipp Müller <tim at centricular dot net>
5819 * gst/gstiterator.h:
5820 Fix wrong include and 'make distcheck'.
5822 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5824 * gst/gstbin.c: (bin_bus_handler):
5825 Use gst_element_post_message() instead.
5827 2005-08-08 Tim-Philipp Müller <tim at centricular dot net>
5829 * gst/base/gstadapter.h:
5830 * gst/base/gstbasesink.h:
5831 * gst/base/gstbasesrc.h:
5832 * gst/base/gstbasetransform.h:
5833 * gst/base/gstcollectpads.h:
5834 * gst/base/gstpushsrc.h:
5835 * gst/gstiterator.h:
5836 Add padding to our base elements' class and instance structs and
5837 to GstIterator (you will need to rebuild all plugins and apps!)
5839 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5841 * gst/gstbin.c: (bin_bus_handler):
5842 Make default message forwarding from child->bus to bin->bus
5843 threadsafe and make it not emit warnings if the parent has no bus.
5845 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5847 * gst/gstelement.c: (activate_pads):
5848 On paused->ready, set pad->caps to NULL, as is the documented
5849 behaviour in this state change. Fixes playback of series of
5850 media files when visualization is enabled in Totem.
5852 2005-08-07 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5854 * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
5855 Allow NULL as filter-caps (which means "any").
5857 2005-08-05 Stefan Kost <ensonic@users.sf.net>
5859 * docs/libs/gstreamer-libs-sections.txt:
5860 * libs/gst/controller/gst-controller.c:
5861 * libs/gst/controller/gst-controller.h:
5862 * libs/gst/controller/gst-helper.c:
5863 adding more entries to the docs and fix small doc-bugs
5865 2005-08-05 Stefan Kost <ensonic@users.sf.net>
5867 * docs/gst/gstreamer-docs.sgml:
5868 * docs/gst/gstreamer-sections.txt:
5869 * docs/gst/gstreamer.types:
5870 * docs/gst/tmpl/gstbasesink.sgml:
5871 * docs/gst/tmpl/gstbasesrc.sgml:
5872 * docs/gst/tmpl/gstbasetransform.sgml:
5873 * docs/gst/tmpl/gstfakesrc.sgml:
5874 * gst/base/gstcollectpads.c:
5875 * gst/base/gstcollectpads.h:
5876 * libs/gst/controller/gst-controller.c:
5877 * libs/gst/controller/gst-controller.h:
5878 * libs/gst/controller/gst-helper.c:
5879 * libs/gst/controller/gst-interpolation.c:
5880 * libs/gst/controller/lib.c:
5881 added long/short desc for controller docs
5882 added collectpads base class docs
5883 added correct includes to base-class docs
5885 2005-08-05 Stefan Kost <ensonic@users.sf.net>
5887 * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
5888 (gst_test_mono_source_set_property),
5889 (gst_test_mono_source_class_init), (GST_START_TEST),
5890 (gst_controller_suite):
5891 * docs/gst/gstreamer-docs.sgml:
5892 * docs/gst/gstreamer-sections.txt:
5893 * docs/gst/gstreamer.types:
5894 * docs/libs/gstreamer-libs-docs.sgml:
5895 * docs/libs/gstreamer-libs-sections.txt:
5896 * gst/base/gstadapter.c:
5897 * libs/gst/controller/gst-controller.c:
5898 (gst_controlled_property_new), (gst_controlled_property_free),
5899 (gst_controller_new_valist),
5900 (gst_controller_remove_properties_valist),
5901 (gst_controller_sink_values), (_gst_controller_finalize):
5902 * libs/gst/controller/gst-controller.h:
5903 * libs/gst/controller/gst-helper.c:
5904 (gst_object_control_properties), (gst_object_uncontrol_properties),
5905 (gst_object_get_controller), (gst_object_set_controller),
5906 (gst_object_sink_values), (gst_object_get_value_arrays),
5907 (gst_object_get_value_array):
5908 more tests (and fixes) for the controller
5909 more docs for the controller
5910 integrated companies docs for the adapter
5912 2005-08-05 Thomas Vander Stichele <thomas at apestaart dot org>
5914 * check/elements/gstfakesrc.c: (setup_fakesrc), (cleanup_fakesrc),
5915 (GST_START_TEST), (fakesrc_suite):
5916 add tests for sizetype
5918 2005-08-04 Andy Wingo <wingo@pobox.com>
5920 * gst/elements/gstcapsfilter.c: Reimplement using basetransform,
5921 fixes buffer_alloc proxying among other things.
5923 * gst/base/gstbasetransform.c:
5924 * gst/base/gstbasetransform.h:
5925 Revert patch to gstbasetransform from 7-28 removing
5928 * gst/base/gstbasetransform.h (GstBaseTransformClass.get_size):
5929 * gst/base/gstbasetransform.c (gst_base_transform_get_size):
5930 Semantics changed, should return not the size of the output buffer
5931 but the byte size of a buffer with a given caps.
5933 * gst/base/gstbasetransform.c (gst_base_transform_getcaps): Better
5935 (gst_base_transform_configure_caps): Don't set out_size here: (in,
5936 out) are not the pad caps until setcaps finishes.
5937 (gst_base_transform_buffer_alloc): Proxy the buffer_alloc for the
5938 not-in-place case as well. Deal with changing from in-place to
5939 not-in-place within calling pad_alloc_buffer. Still a bit
5940 concerned about the overhead here...
5942 2005-08-03 Andy Wingo <wingo@pobox.com>
5944 * gst/base/gstbasetransform.c (gst_base_transform_setcaps): Not
5945 fixating is an error.
5947 2005-08-04 Edward Hervey <edward@fluendo.com>
5949 * gst/base/gstadapter.h:
5950 Added gst_adapter_get_type() to the header
5952 2005-08-03 Stefan Kost <ensonic@users.sf.net>
5954 * check/Makefile.am:
5955 * check/gst-libs/controller.c:
5956 * libs/gst/controller/gst-controller.c:
5957 (gst_controller_new_valist):
5958 added check test suite for the controller
5959 * gst/base/gstpushsrc.c:
5962 2005-08-03 Stefan Kost <ensonic@users.sf.net>
5964 * docs/gst/Makefile.am:
5965 * docs/gst/gstreamer-docs.sgml:
5966 * docs/gst/gstreamer-sections.txt:
5967 * docs/gst/gstreamer.types:
5968 * docs/gst/tmpl/gstfakesrc.sgml:
5970 * gst/base/gstbasesink.c:
5971 * gst/base/gstbasesink.h:
5972 * gst/base/gstbasesrc.c:
5973 * gst/base/gstbasesrc.h:
5974 * gst/base/gstbasetransform.c:
5975 * gst/base/gstpushsrc.c:
5976 * gst/base/gstpushsrc.h:
5977 add short/long description docs to base classes
5978 add pushsrc to the docs
5979 remove consolidated doc fragments
5981 2005-08-03 Stefan Kost <ensonic@users.sf.net>
5984 * docs/libs/Makefile.am:
5985 * docs/libs/gstreamer-libs-docs.sgml:
5986 * docs/libs/gstreamer-libs-sections.txt:
5987 * docs/libs/gstreamer-libs.types:
5988 * examples/Makefile.am:
5989 * examples/controller/.cvsignore:
5990 * examples/controller/Makefile.am:
5991 * examples/controller/audio-example.c: (main):
5992 * libs/gst/Makefile.am:
5993 * libs/gst/controller/.cvsignore:
5994 * libs/gst/controller/Makefile.am:
5995 * libs/gst/controller/gst-controller.c:
5996 (on_object_controlled_property_changed), (gst_timed_value_compare),
5997 (gst_timed_value_find),
5998 (gst_controlled_property_set_interpolation_mode),
5999 (gst_controlled_property_new), (gst_controlled_property_free),
6000 (gst_controller_find_controlled_property),
6001 (gst_controller_new_valist), (gst_controller_new),
6002 (gst_controller_remove_properties_valist),
6003 (gst_controller_remove_properties), (gst_controller_set),
6004 (gst_controller_set_from_list), (gst_controller_unset),
6005 (gst_controller_get), (gst_controller_get_all),
6006 (gst_controller_sink_values), (gst_controller_get_value_arrays),
6007 (gst_controller_get_value_array),
6008 (gst_controller_set_interpolation_mode),
6009 (_gst_controller_finalize), (_gst_controller_init),
6010 (_gst_controller_class_init), (gst_controller_get_type):
6011 * libs/gst/controller/gst-controller.h:
6012 * libs/gst/controller/gst-helper.c: (g_object_control_properties),
6013 (g_object_uncontrol_properties), (g_object_get_controller),
6014 (g_object_set_controller), (g_object_sink_values),
6015 (g_object_get_value_arrays), (g_object_get_value_array):
6016 * libs/gst/controller/gst-interpolation.c:
6017 (gst_controlled_property_find_timed_value_node),
6018 (interpolate_none_get), (interpolate_trigger_get),
6019 (interpolate_trigger_get_value_array):
6020 * libs/gst/controller/lib.c: (gst_controller_init):
6021 * pkgconfig/Makefile.am:
6022 * pkgconfig/gstreamer-control-uninstalled.pc.in:
6023 * pkgconfig/gstreamer-control.pc.in:
6024 * testsuite/Makefile.am:
6025 * testsuite/controller/.cvsignore:
6026 * testsuite/controller/Makefile.am:
6027 * testsuite/controller/interpolator.c: (main):
6028 added controller code
6029 removed dparam pc files
6031 2005-08-01 Jan Schmidt <thaytan@mad.scientist.com>
6032 * gst/base/gstcollectpads.c: (gst_collectpads_finalize),
6033 (gst_collectpads_stop):
6034 Broadcast the condition when shutting down, to make sure we wake all
6035 threads up. Shut down pads on finalize, for safety.
6037 2005-08-01 Jan Schmidt <thaytan@mad.scientist.com>
6038 * gst/base/gstbasetransform.c: (gst_base_transform_init),
6039 (gst_base_transform_handle_buffer),
6040 (gst_base_transform_change_state):
6041 Handle PAUSED->READY->PAUSED transition after negotiation
6043 * gst/gstmessage.c: (gst_message_init):
6044 Extra piece of debug for new messages.
6046 2005-08-01 Stefan Kost <ensonic@users.sf.net>
6049 * docs/gst/tmpl/gstbasesrc.sgml:
6050 * docs/gst/tmpl/gstelement.sgml:
6051 * docs/gst/tmpl/gstevent.sgml:
6052 * docs/gst/tmpl/gstfakesrc.sgml:
6053 * docs/gst/tmpl/gstformat.sgml:
6054 * docs/gst/tmpl/gstghostpad.sgml:
6055 * docs/gst/tmpl/gstpad.sgml:
6056 * docs/gst/tmpl/gstquery.sgml:
6057 * docs/gst/tmpl/gststructure.sgml:
6058 * docs/gst/tmpl/gsttaglist.sgml:
6059 * docs/gst/tmpl/gstvalue.sgml:
6060 * docs/libs/gstreamer-libs-docs.sgml:
6061 * docs/libs/gstreamer-libs-sections.txt:
6062 * docs/libs/gstreamer-libs.types:
6063 * libs/gst/Makefile.am:
6064 * libs/gst/control/.cvsignore:
6065 * libs/gst/control/Makefile.am:
6066 * libs/gst/control/control.c:
6067 * libs/gst/control/control.h:
6068 * libs/gst/control/dparam.c:
6069 * libs/gst/control/dparam.h:
6070 * libs/gst/control/dparam_smooth.c:
6071 * libs/gst/control/dparam_smooth.h:
6072 * libs/gst/control/dparamcommon.h:
6073 * libs/gst/control/dparammanager.c:
6074 * libs/gst/control/dparammanager.h:
6075 * libs/gst/control/dplinearinterp.c:
6076 * libs/gst/control/dplinearinterp.h:
6077 * libs/gst/control/unitconvert.c:
6078 * libs/gst/control/unitconvert.h:
6079 * testsuite/Makefile.am:
6080 * testsuite/dynparams/.cvsignore:
6081 * testsuite/dynparams/Makefile.am:
6082 * testsuite/dynparams/dparamstest.c:
6083 * tools/Makefile.am:
6084 * tools/gst-inspect.c: (print_element_info), (main):
6085 * tools/gst-xmlinspect.c: (print_element_info), (main):
6086 deactivate and remove dparams (libgstcontrol)
6088 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
6090 * gst/elements/gsttypefindelement.c:
6091 (gst_type_find_element_have_type), (gst_type_find_element_init),
6092 (stop_typefinding), (gst_type_find_element_handle_event),
6093 (gst_type_find_element_chain), (gst_type_find_element_getrange):
6094 * gst/elements/gsttypefindelement.h:
6095 Set caps on all outgoing buffers, not just the first one.
6097 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
6099 * gst/elements/gsttypefindelement.c:
6100 (gst_type_find_element_have_type),
6101 (gst_type_find_element_check_set_buffer_caps),
6102 (gst_type_find_element_init), (stop_typefinding),
6103 (gst_type_find_element_handle_event),
6104 (gst_type_find_element_chain), (gst_type_find_element_getrange):
6105 * gst/elements/gsttypefindelement.h:
6106 Set caps on first outgoing buffer when we've found the type.
6108 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
6110 * docs/gst/gstreamer-docs.sgml:
6111 * docs/gst/gstreamer-sections.txt:
6112 * docs/gst/tmpl/gstscheduler.sgml:
6113 * docs/gst/tmpl/gstschedulerfactory.sgml:
6114 Remove some old cruft from docs.
6116 2005-07-31 Tim-Philipp Müller <tim at centricular dot net>
6119 Fix inline docs for GstPadLinkReturn.
6121 * gst/gststructure.c: (gst_structure_has_name):
6122 * gst/gststructure.h:
6123 * docs/gst/gstreamer-sections.txt:
6124 New API: gst_structure_has_name().
6126 2005-07-30 Tim-Philipp Müller <tim at centricular dot net>
6129 Use AC_SYS_LARGEFILE, which will set _FILE_OFFSET_BITS=64
6130 and _LARGEFILE_SOURCE in config.h as required. Do not
6131 export those flags in our .pc files any longer (#142209).
6133 Remove unused GST_DISABLE_OMEGA_COTHREADS stuff.
6135 * gst/elements/gstfilesink.c: (gst_file_sink_class_init),
6136 (gst_file_sink_do_seek), (gst_file_sink_event),
6137 (gst_file_sink_get_current_offset), (gst_file_sink_render):
6138 Redo seek/tell calls with large file support in mind; add some
6139 debugging messages; add log message that tells us when large
6140 file support is unavailable or not enabled for some reason.
6142 * gst/elements/gstfilesrc.c: (gst_file_src_class_init):
6143 Add log message that tells us when large file support
6144 is unavailable or not enabled for some reason.
6146 2005-07-29 Wim Taymans <wim@fluendo.com>
6148 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
6149 Added test for removing an element with ghostpad from a bin.
6150 Fixed test as current implementation does the right thing.
6152 * gst/gstghostpad.c: (gst_proxy_pad_class_init),
6153 (gst_proxy_pad_do_query_type), (gst_proxy_pad_do_event),
6154 (gst_proxy_pad_do_query), (gst_proxy_pad_do_internal_link),
6155 (gst_proxy_pad_do_bufferalloc), (gst_proxy_pad_do_activate),
6156 (gst_proxy_pad_do_activatepull), (gst_proxy_pad_do_activatepush),
6157 (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
6158 (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
6159 (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
6160 (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target),
6161 (gst_proxy_pad_get_target), (gst_proxy_pad_init),
6162 (gst_proxy_pad_dispose), (gst_proxy_pad_finalize),
6163 (gst_ghost_pad_class_init), (gst_ghost_pad_do_activate_push),
6164 (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
6165 (gst_ghost_pad_set_internal), (gst_ghost_pad_dispose),
6166 (gst_ghost_pad_new_notarget), (gst_ghost_pad_new),
6167 (gst_ghost_pad_get_target), (gst_ghost_pad_set_target):
6168 * gst/gstghostpad.h:
6169 Clean up ghostpads, remove properties for internal stuff.
6172 Prepare for switching targets, not all use cases work yet.
6174 2005-07-29 Wim Taymans <wim@fluendo.com>
6176 * docs/design/part-gstghostpad.txt:
6179 * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
6180 (gst_bin_remove_func):
6181 Unlinking pads while holding the bin LOCK is not a good
6184 * gst/gstpad.c: (gst_pad_class_init),
6185 (gst_pad_link_check_hierarchy), (gst_pad_get_caps_unlocked),
6186 (gst_pad_accept_caps), (gst_pad_set_caps), (gst_pad_send_event):
6187 No prob setting template after creating the pad.
6189 2005-07-29 Jan Schmidt <thaytan@mad.scientist.com>
6191 * gst/gstbus.c: (gst_bus_set_flushing), (gst_bus_pop),
6192 (gst_bus_peek), (gst_bus_source_dispatch),
6193 (gst_bus_add_watch_full), (poll_handler), (poll_timeout),
6194 (poll_destroy), (poll_destroy_timeout), (gst_bus_poll):
6195 gst_bus_poll may be called from other threads. Handle
6196 this nicely by not making poll_data disappear off the
6197 stack once gst_bus_poll returns.
6198 gst_bus_peek now increments the refcount on the returned
6201 2005-07-29 Wim Taymans <wim@fluendo.com>
6203 * docs/design/part-gstghostpad.txt:
6204 Overview of current GhostPad datastructures and use
6205 cases for changing the target.
6207 2005-07-28 Wim Taymans <wim@fluendo.com>
6209 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
6210 Added checks for hierarchy consistency whan adding linked
6213 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
6214 Added check to test element scheduling without bin/pipeline.
6216 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
6217 First add elements to bin, then link.
6219 * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
6220 (gst_bin_remove_func):
6221 Unlink pads from elements added/removed from bin to maintain
6222 hierarchy consistency.
6224 2005-07-28 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
6226 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
6227 (gst_base_transform_handle_buffer):
6228 * gst/base/gstbasetransform.h:
6229 Remove broken delay_configure (fixes renegotiation of software
6230 scaling pipelines); remove some leftover printf()s.
6232 2005-07-28 Wim Taymans <wim@fluendo.com>
6234 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
6235 Added some more tests for wrong hierarchy
6237 * docs/design/part-overview.txt:
6240 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_dispose):
6243 * gst/gstelement.c: (gst_element_remove_pad), (gst_element_seek),
6244 (gst_element_dispose):
6247 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
6248 (gst_pad_link_check_hierarchy), (gst_pad_link_prepare),
6249 (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
6250 (gst_pad_set_caps), (gst_pad_send_event):
6251 Check for correct hierarchy when linking pads. Moving to
6252 strict requirement for ghostpads when linking elements in
6256 Clean ups. Added WRONG_HIERARCHY return value.
6258 2005-07-28 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
6260 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
6261 Better debug if no transform is possible.
6263 2005-07-27 Wim Taymans <wim@fluendo.com>
6265 * docs/random/wtay/network-transp:
6268 2005-07-27 Wim Taymans <wim@fluendo.com>
6270 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
6271 (gst_dp_event_from_packet):
6272 Fix serialization of seek events.
6274 2005-07-27 Wim Taymans <wim@fluendo.com>
6276 * check/gst-libs/gdp.c: (GST_START_TEST):
6277 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
6278 Fix compilation and fix event serialization.
6280 2005-07-27 Wim Taymans <wim@fluendo.com>
6283 * docs/design/part-TODO.txt:
6284 * docs/design/part-events.txt:
6287 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
6288 (gst_base_sink_event), (gst_base_sink_do_sync),
6289 (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
6290 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
6291 (gst_base_src_do_seek), (gst_base_src_event_handler),
6292 (gst_base_src_loop):
6293 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
6294 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
6295 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
6296 (gst_base_transform_event), (gst_base_transform_handle_buffer),
6297 (gst_base_transform_set_passthrough),
6298 (gst_base_transform_is_passthrough):
6299 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
6300 * gst/elements/gstfilesink.c: (gst_file_sink_event):
6306 * gst/gstelement.c: (gst_element_seek):
6308 Update gst_element_seek.
6310 * gst/gstevent.c: (gst_event_finalize), (_gst_event_copy),
6311 (gst_event_new), (gst_event_new_custom), (gst_event_get_structure),
6312 (gst_event_new_flush_start), (gst_event_new_flush_stop),
6313 (gst_event_new_eos), (gst_event_new_newsegment),
6314 (gst_event_parse_newsegment), (gst_event_new_tag),
6315 (gst_event_parse_tag), (gst_event_new_filler), (gst_event_new_qos),
6316 (gst_event_parse_qos), (gst_event_new_seek),
6317 (gst_event_parse_seek), (gst_event_new_navigation):
6319 Make GstEvent use GstStructure. Add parsing code, make sure the
6320 API is sufficiently generic.
6321 Mark possible directions of events and serialization.
6323 * gst/gstmessage.c: (gst_message_init), (gst_message_finalize),
6324 (_gst_message_copy), (gst_message_new_segment_start),
6325 (gst_message_new_segment_done), (gst_message_new_custom),
6326 (gst_message_parse_segment_start),
6327 (gst_message_parse_segment_done):
6330 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
6331 (gst_pad_set_caps), (gst_pad_send_event):
6332 Update for new events.
6333 Catch events sent in wrong directions.
6335 * gst/gstqueue.c: (gst_queue_link_src),
6336 (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
6337 (gst_queue_handle_src_query):
6342 Remove event code from this file.
6344 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
6345 (gst_dp_event_from_packet):
6348 2005-07-27 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
6350 * gst/base/gstbasetransform.c: (gst_base_transform_getcaps),
6351 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
6352 (gst_base_transform_get_size), (gst_base_transform_handle_buffer):
6353 Make debugging actually useful.
6355 2005-07-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
6357 * gst/gstpad.c: (fixate_value), (gst_pad_default_fixate),
6358 (gst_pad_fixate_caps):
6359 Implement default fixation once again, so that gst_pad_fixate()
6360 actually does anything at all. This probably needs to be some
6361 sort of a last resort, and use profile-based fixation first, but
6362 since that doesn't exist yet, this is the best we have. Fixes
6363 visualization in Totem.
6365 2005-07-22 Wim Taymans <wim@fluendo.com>
6367 * docs/design/part-events.txt:
6370 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
6371 (gst_base_sink_do_sync), (gst_base_sink_activate_push),
6372 (gst_base_sink_activate_pull):
6375 * gst/elements/gstfakesrc.c: (gst_fake_src_class_init),
6376 (gst_fake_src_create):
6377 Fix handoff marshall.
6379 * gst/elements/gstidentity.c: (gst_identity_class_init),
6380 (gst_identity_transform_ip):
6381 We're a real inplace element.
6383 * gst/gstbus.c: (gst_bus_post):
6384 Added some comments.
6386 * tests/lat.c: (fakesrc), (fakesink), (simple), (queue), (main):
6387 * tests/muxing/case1.c: (main):
6388 * tests/sched/dynamic-pipeline.c: (main):
6389 * tests/sched/interrupt1.c: (main):
6390 * tests/sched/interrupt2.c: (main):
6391 * tests/sched/interrupt3.c: (main):
6392 * tests/sched/runxml.c: (main):
6393 * tests/sched/sched-stress.c: (main):
6394 * tests/seeking/seeking1.c: (event_received), (main):
6395 * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
6397 * tests/threadstate/threadstate3.c: (main):
6398 * tests/threadstate/threadstate4.c: (main):
6399 * tests/threadstate/threadstate5.c: (main):
6402 2005-07-21 Wim Taymans <wim@fluendo.com>
6404 * docs/design/part-seeking.txt:
6405 Some small additions.
6407 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
6408 (gst_base_sink_get_times), (gst_base_sink_do_sync),
6409 (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
6410 * gst/base/gstbasesink.h:
6411 discont values are gint64, handle the math correctly.
6413 * gst/base/gstbasesrc.c: (gst_base_src_loop):
6414 Make the basesrc report error if the source pad is not linked.
6416 * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
6417 (gst_queue_loop), (gst_queue_handle_src_query),
6418 (gst_queue_src_activate_push):
6419 Make queue collect data even if the srcpad is not linked.
6420 Start pushing out data as soon as it is linked.
6422 * gst/gstutils.c: (gst_element_unlink), (gst_flow_get_name):
6424 Added gst_flow_get_name() to ease error reporting.
6426 2005-07-20 Wim Taymans <wim@fluendo.com>
6428 * gst/gstmessage.c: (gst_message_new_segment_start),
6429 (gst_message_new_segment_done), (gst_message_parse_segment_start),
6430 (gst_message_parse_segment_done):
6432 Added a bunch of messages for advanced seeking.
6434 * gst/parse/grammar.y:
6435 * libs/gst/control/dparammanager.c: (gst_dpman_set_parent),
6436 (gst_dpman_state_changed):
6437 Fix some new-pad -> pad-added signals
6439 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
6441 * docs/manual/appendix-porting.xml:
6442 * docs/pwg/appendix-porting.xml:
6443 Document new-pad/state-change signal renames and the FixedList
6446 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
6448 * docs/manual/advanced-autoplugging.xml:
6449 * docs/manual/basics-helloworld.xml:
6450 * docs/manual/basics-pads.xml:
6451 * docs/random/ds/0.9-suggested-changes:
6452 * gst/gstelement.c: (gst_element_class_init), (gst_element_seek):
6457 * gst/gststructure.c: (gst_structure_value_get_generic_type),
6458 (gst_structure_parse_array), (gst_structure_parse_value):
6459 * gst/gstvalue.c: (gst_type_is_fixed),
6460 (gst_value_list_prepend_value), (gst_value_list_append_value),
6461 (gst_value_list_get_size), (gst_value_list_get_value),
6462 (gst_value_transform_array_string), (gst_value_serialize_array),
6463 (gst_value_deserialize_array), (gst_value_intersect_array),
6464 (gst_value_is_fixed), (_gst_value_initialize):
6466 GstElement::new-pad -> pad-added, GstElement::state-change ->
6467 state-changed, GstValueFixedList -> GstValueArray, add format and
6468 flags as their own arguments in gst_element_seek() (should improve
6469 "bindeability"), remove function generators since they don't work
6470 under a whole bunch of compilers (they were deprecated already
6473 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
6475 * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
6476 (_gst_debug_register_funcptr):
6478 Fix illegal cast on some platforms (#309253).
6480 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
6482 * gst/gstmessage.c: (gst_message_new_custom):
6484 Add _new_custom, make _new_application a macro to _new_custom.
6486 2005-07-20 Wim Taymans <wim@fluendo.com>
6488 * gst/base/gstbasesrc.c: (gst_base_src_init),
6489 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
6490 * gst/base/gstbasesrc.h:
6491 Add a gboolean to decide when to push out a discont.
6493 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
6494 (gst_queue_loop), (gst_queue_handle_src_query),
6495 (gst_queue_sink_activate_push), (gst_queue_src_activate_push),
6496 (gst_queue_set_property), (gst_queue_get_property):
6499 * tests/threadstate/threadstate1.c: (main):
6500 Make a thread test compile and run... very silly..
6503 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
6505 * docs/manual/appendix-porting.xml:
6506 Mention removal of libgstgconf-0.9.la and existence of gconf
6509 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
6511 * docs/pwg/advanced-clock.xml:
6512 * docs/pwg/appendix-porting.xml:
6513 * docs/pwg/intro-preface.xml:
6514 * docs/pwg/other-base.xml:
6515 * docs/pwg/other-manager.xml:
6516 * docs/pwg/other-nton.xml:
6517 * docs/pwg/other-ntoone.xml:
6518 * docs/pwg/other-oneton.xml:
6520 Document base classes, update sections of n-to-1 and 1-to-n (muxer,
6521 demuxer), remove n-to-n (was never written), fix some code examples
6522 and links and update the porting section to include all this.
6524 2005-07-19 Wim Taymans <wim@fluendo.com>
6526 * gst/gstqueue.c: (gst_queue_init), (gst_queue_handle_sink_event),
6527 (gst_queue_chain), (gst_queue_loop), (gst_queue_handle_src_event),
6528 (gst_queue_handle_src_query), (gst_queue_sink_activate_push),
6529 (gst_queue_src_activate_push), (gst_queue_change_state),
6530 (gst_queue_get_property):
6532 Propagate GstFlowReturn more intelligently upstream and output
6533 an ERROR/EOS when streaming stopped due to fatal error.
6535 2005-07-19 Wim Taymans <wim@fluendo.com>
6537 * tools/gst-launch.c: (check_intr), (event_loop), (main):
6538 Don't block forever for the state change to complete, the
6539 pipeline already did with a sensible timeout.
6541 2005-07-19 Wim Taymans <wim@fluendo.com>
6543 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
6544 Make sure we never call the create function is we
6547 2005-07-19 Andy Wingo <wingo@pobox.com>
6549 * gst/parse/parse.l: Attempt to solve bug #172815.
6551 2005-07-19 Wim Taymans <wim@fluendo.com>
6553 * docs/design/part-clocks.txt:
6554 * docs/design/part-events.txt:
6555 * gst/base/gstbasesrc.c: (gst_base_src_do_seek):
6557 Only update the seeking values when we are not
6560 2005-07-19 Jan Schmidt <thaytan@mad.scientist.com>
6562 * gst/base/gstbasesrc.c: (gst_base_src_loop):
6563 Oops, ignore the result of gst_pad_push_event here.
6565 2005-07-19 Jan Schmidt <thaytan@mad.scientist.com>
6567 * gst/base/gstbasesrc.c: (gst_base_src_loop),
6568 (gst_base_src_activate_push):
6569 Send discont event from the loop function, as pads
6570 aren't activated yet in the activate_push handler.
6572 * gst/gstbin.c: (bin_bus_handler):
6573 Don't leak element name.
6575 2005-07-18 Andy Wingo <wingo@pobox.com>
6577 * configure.ac: Use AS_LIBTOOL_TAGS.
6579 2005-07-18 Wim Taymans <wim@fluendo.com>
6581 * docs/gst/gstreamer.types:
6582 Remove deleted types.
6584 2005-07-18 Wim Taymans <wim@fluendo.com>
6586 * check/elements/gstfakesrc.c: (GST_START_TEST):
6589 * gst/gst.c: (gst_init_get_popt_table), (init_pre), (init_post),
6590 (init_popt_callback):
6592 * gst/gst_private.h:
6593 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_add_func),
6594 (gst_bin_remove_func), (gst_bin_get_state), (gst_bin_change_state):
6597 * gst/gstconfig.h.in:
6598 * gst/gstelement.c: (gst_element_class_init),
6599 (gst_element_set_base_time), (gst_element_get_base_time),
6600 (iterator_fold_with_resync), (gst_element_change_state),
6601 (gst_element_dispose), (gst_element_get_bus):
6603 * gst/gstelementfactory.h:
6604 * gst/gsterror.c: (_gst_core_errors_init):
6607 * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
6609 * gst/gstinfo.c: (_gst_debug_init):
6610 * gst/gstmessage.c: (_gst_message_copy):
6612 * gst/gstminiobject.h:
6615 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
6616 (gst_pad_set_caps), (gst_pad_start_task), (gst_pad_stop_task):
6619 * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
6620 (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
6621 (gst_pipeline_get_last_stream_time):
6622 * gst/gstpipeline.h:
6623 * gst/gstpluginfeature.h:
6625 * gst/gstscheduler.c:
6626 * gst/gstscheduler.h:
6627 * gst/gststructure.h:
6628 * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
6629 (gst_task_finalize), (gst_task_func), (gst_task_create),
6630 (gst_task_set_lock), (gst_task_get_state), (gst_task_start),
6631 (gst_task_stop), (gst_task_pause):
6633 * gst/gsttypefind.h:
6635 * gst/registries/gstlibxmlregistry.c: (load_feature),
6636 (gst_xml_registry_load), (gst_xml_registry_save_feature):
6637 * gst/registries/gstxmlregistry.c:
6638 (gst_xml_registry_start_element), (gst_xml_registry_save_feature):
6639 * gst/schedulers/threadscheduler.c:
6640 * libs/gst/control/dparammanager.h:
6641 * tools/gst-inspect.c: (print_element_list),
6642 (print_plugin_features), (print_element_features):
6643 * tools/gst-xmlinspect.c: (print_element_list),
6644 (print_plugin_info), (main):
6645 Removed plugable schedulers.
6646 Removed Scheduler/Manager from elements.
6647 Removed gsttypes.h, rearranged includes.
6648 Removed dependency pad<->element, element<>pipeline, and
6649 various others, fix includes.
6650 implement gst_pad_get_parent() with gst_object_get_parent()
6651 Make GstTask sefcontained.
6652 Fix _get_state() on GstBin, it did not return ASYNC with a 0
6654 Fix endless loop in iterator_fold_with_resync.
6657 2005-07-18 Wim Taymans <wim@fluendo.com>
6663 2005-07-18 Wim Taymans <wim@fluendo.com>
6668 2005-07-18 Wim Taymans <wim@fluendo.com>
6674 2005-07-18 Wim Taymans <wim@fluendo.com>
6676 * docs/design/part-dynamic.txt:
6677 * docs/design/part-events.txt:
6678 * docs/design/part-seeking.txt:
6679 Some more docs in the works.
6681 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
6682 (gst_base_transform_getcaps), (gst_base_transform_configure_caps),
6683 (gst_base_transform_setcaps), (gst_base_transform_get_size),
6684 (gst_base_transform_buffer_alloc), (gst_base_transform_event),
6685 (gst_base_transform_handle_buffer),
6686 (gst_base_transform_sink_activate_push),
6687 (gst_base_transform_src_activate_pull),
6688 (gst_base_transform_set_passthrough),
6689 (gst_base_transform_is_passthrough):
6692 * gst/gstbus.c: (gst_bus_source_dispatch), (gst_bus_poll):
6695 * gst/gstevent.c: (gst_event_finalize):
6698 * gst/gstutils.c: (gst_element_unlink),
6699 (gst_pad_get_parent_element), (gst_pad_proxy_getcaps),
6700 (gst_pad_proxy_setcaps):
6702 Add _get_parent_element() to get a pads parent as an element.
6704 2005-07-18 Wim Taymans <wim@fluendo.com>
6706 * check/gst/gstbin.c: (GST_START_TEST):
6709 2005-07-18 Wim Taymans <wim@fluendo.com>
6711 * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
6712 (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
6713 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
6714 (gst_base_sink_event), (gst_base_sink_do_sync),
6715 (gst_base_sink_chain), (gst_base_sink_loop),
6716 (gst_base_sink_deactivate), (gst_base_sink_activate_push),
6717 (gst_base_sink_activate_pull), (gst_base_sink_change_state):
6719 Fix logic for returning ASYNC when not prerolled.
6721 2005-07-18 Wim Taymans <wim@fluendo.com>
6723 * gst/gstqueue.c: (gst_queue_handle_sink_event):
6724 Fix nasty refcount bug.
6726 2005-07-16 Philippe Khalaf <burger@speedy.org>
6728 * gst/elements/gstfdsrc.c:
6729 * gst/elements/gstfdsrc.h:
6730 * gst/elements/gstelements.c:
6731 * gst/elements/Makefile.am:
6732 Ported fdsrc to 0.9.
6734 2005-07-16 Wim Taymans <wim@fluendo.com>
6736 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
6737 (gst_base_sink_do_sync):
6740 2005-07-16 Wim Taymans <wim@fluendo.com>
6742 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
6743 (gst_base_sink_event), (gst_base_sink_get_times),
6744 (gst_base_sink_do_sync), (gst_base_sink_change_state):
6745 * gst/base/gstbasesink.h:
6746 Store and use discont values when syncing buffers as described
6749 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
6750 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start),
6751 (gst_base_src_activate_push):
6752 Push discont event when starting.
6754 * gst/elements/gstidentity.c: (gst_identity_transform):
6757 * gst/gstbin.c: (gst_bin_change_state):
6758 Small cleanups in base_time distribution.
6760 * gst/gstelement.c: (gst_element_set_base_time),
6761 (gst_element_get_base_time), (gst_element_change_state):
6763 Added methods for the base_time of the element.
6766 * gst/gstpipeline.c: (gst_pipeline_send_event),
6767 (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
6768 (gst_pipeline_get_last_stream_time):
6769 * gst/gstpipeline.h:
6771 Handle seeking as described in design doc, remove stream_time
6773 Cleanups clock and stream_time selection code. Added accessors
6774 for the stream_time.
6777 2005-07-16 Andy Wingo <wingo@pobox.com>
6779 * gst/gsterror.c (_gst_core_errors_init): Use the magic word
6782 2005-07-16 Wim Taymans <wim@fluendo.com>
6784 * check/gst/gstbin.c: (GST_START_TEST):
6785 Make elements silent as the deep_notify refs the
6786 parent, which might make the test fail.
6788 * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
6789 Don't hold the lock for too long.
6791 2005-07-16 Tim-Philipp Müller <tim at centricular dot net>
6793 * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
6794 Don't unref the caps we passed to gst_caps_make_writable() after
6795 passing them. gst_caps_make_writable() will do that for us.
6797 2005-07-15 Andy Wingo <wingo@pobox.com>
6799 * gst/gstcaps.h (gst_caps_is_simple): Removed deprecated macro
6802 * gst/elements/gstidentity.c (marshal_VOID__MINIOBJECT): Write our
6803 own marshalling function for the handoff signal. Properly type the
6804 buffer as a buffer. Fixes some warnings. Should do a more general
6806 (gst_identity_class_init): Plug into the right marshaller.
6808 2005-07-15 Wim Taymans <wim@fluendo.com>
6810 * docs/design/part-TODO.txt:
6811 * docs/design/part-clocks.txt:
6812 * docs/design/part-element-sink.txt:
6813 * docs/design/part-events.txt:
6814 * docs/design/part-gstpipeline.txt:
6815 Updated docs, mostly DISCONT related.
6817 2005-07-15 Tim-Philipp Müller <tim at centricular dot net>
6819 * docs/pwg/building-pads.xml:
6820 s/GST_PAD_LINK_REFUSED/FALSE/ in gst_my_filter_setcaps()
6822 2005-07-15 Andy Wingo <wingo@pobox.com>
6824 * tools/gst-typefind.c: Update, add copyright block.
6826 * gst/base/gstbasesrc.c (gst_base_src_default_negotiate):
6827 Normalize and truncate caps before fixation.
6830 * gst/gstcaps.c (gst_caps_truncate): New function, destructively
6831 discards all but the first structure from its argument.
6833 2005-07-15 Wim Taymans <wim@fluendo.com>
6835 * gst/base/gstbasetransform.c: (gst_base_transform_init),
6836 (gst_base_transform_transform_caps), (gst_base_transform_getcaps),
6837 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
6838 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
6839 (gst_base_transform_handle_buffer), (gst_base_transform_getrange),
6840 (gst_base_transform_chain), (gst_base_transform_change_state),
6841 (gst_base_transform_set_passthrough),
6842 (gst_base_transform_is_passthrough):
6843 * gst/base/gstbasetransform.h:
6844 Make passthrough work using the bufferpools.
6845 Changed API a bit, subclasses have to write into a buffer
6846 provided by the base class.
6847 More debug info in nego functions.
6849 * gst/elements/gstidentity.c: (gst_identity_init),
6850 (gst_identity_transform):
6851 Port to new base class.
6853 2005-07-15 Wim Taymans <wim@fluendo.com>
6855 * gst/gstmessage.c: (gst_message_new_state_changed):
6856 * tools/gst-launch.c: (event_loop), (main):
6857 Totally dump messages in -launch with the -m option.
6858 Fix message name for State messages,
6860 2005-07-14 Wim Taymans <wim@fluendo.com>
6862 * gst/base/gstbasesrc.c: (gst_base_src_loop):
6863 Post error messages on errors.
6865 2005-07-14 Wim Taymans <wim@fluendo.com>
6867 * gst/gstcaps.c: (gst_caps_do_simplify):
6871 Define error for stream stopped.
6873 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
6874 (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange):
6875 Do proper return values.
6877 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
6878 (gst_pad_set_caps), (gst_pad_chain), (gst_pad_push),
6879 (gst_pad_get_range):
6880 Better return values.
6883 Reorganise return values, add macro to check for fatal errors.
6885 * gst/gstqueue.c: (gst_queue_chain):
6886 Return proper GstFlowReturn values,
6888 2005-07-14 Thomas Vander Stichele <thomas at apestaart dot org>
6890 * docs/gst/gstreamer-sections.txt:
6891 * docs/gst/gstreamer.types:
6892 * docs/gst/tmpl/gst.sgml:
6893 * docs/gst/tmpl/gstbasesink.sgml:
6894 * docs/gst/tmpl/gstbasesrc.sgml:
6895 * docs/gst/tmpl/gstbasetransform.sgml:
6896 * docs/gst/tmpl/gstbin.sgml:
6897 * docs/gst/tmpl/gstbuffer.sgml:
6898 * docs/gst/tmpl/gstcaps.sgml:
6899 * docs/gst/tmpl/gstclock.sgml:
6900 * docs/gst/tmpl/gstcompat.sgml:
6901 * docs/gst/tmpl/gstconfig.sgml:
6902 * docs/gst/tmpl/gstelement.sgml:
6903 * docs/gst/tmpl/gstelementdetails.sgml:
6904 * docs/gst/tmpl/gstelementfactory.sgml:
6905 * docs/gst/tmpl/gstenumtypes.sgml:
6906 * docs/gst/tmpl/gsterror.sgml:
6907 * docs/gst/tmpl/gstevent.sgml:
6908 * docs/gst/tmpl/gstfakesink.sgml:
6909 * docs/gst/tmpl/gstfakesrc.sgml:
6910 * docs/gst/tmpl/gstfilesink.sgml:
6911 * docs/gst/tmpl/gstfilesrc.sgml:
6912 * docs/gst/tmpl/gstfilter.sgml:
6913 * docs/gst/tmpl/gstformat.sgml:
6914 * docs/gst/tmpl/gstghostpad.sgml:
6915 * docs/gst/tmpl/gstimplementsinterface.sgml:
6916 * docs/gst/tmpl/gstindex.sgml:
6917 * docs/gst/tmpl/gstindexfactory.sgml:
6918 * docs/gst/tmpl/gstinfo.sgml:
6919 * docs/gst/tmpl/gstiterator.sgml:
6920 * docs/gst/tmpl/gstmacros.sgml:
6921 * docs/gst/tmpl/gstmemchunk.sgml:
6922 * docs/gst/tmpl/gstminiobject.sgml:
6923 * docs/gst/tmpl/gstobject.sgml:
6924 * docs/gst/tmpl/gstpad.sgml:
6925 * docs/gst/tmpl/gstpadtemplate.sgml:
6926 * docs/gst/tmpl/gstparse.sgml:
6927 * docs/gst/tmpl/gstpipeline.sgml:
6928 * docs/gst/tmpl/gstplugin.sgml:
6929 * docs/gst/tmpl/gstpluginfeature.sgml:
6930 * docs/gst/tmpl/gstquery.sgml:
6931 * docs/gst/tmpl/gstqueue.sgml:
6932 * docs/gst/tmpl/gstregistry.sgml:
6933 * docs/gst/tmpl/gstregistrypool.sgml:
6934 * docs/gst/tmpl/gstscheduler.sgml:
6935 * docs/gst/tmpl/gstschedulerfactory.sgml:
6936 * docs/gst/tmpl/gststructure.sgml:
6937 * docs/gst/tmpl/gstsystemclock.sgml:
6938 * docs/gst/tmpl/gsttaglist.sgml:
6939 * docs/gst/tmpl/gsttagsetter.sgml:
6940 * docs/gst/tmpl/gsttrace.sgml:
6941 * docs/gst/tmpl/gsttrashstack.sgml:
6942 * docs/gst/tmpl/gsttypefind.sgml:
6943 * docs/gst/tmpl/gsttypefindfactory.sgml:
6944 * docs/gst/tmpl/gsttypes.sgml:
6945 * docs/gst/tmpl/gsturihandler.sgml:
6946 * docs/gst/tmpl/gsturitype.sgml:
6947 * docs/gst/tmpl/gstutils.sgml:
6948 * docs/gst/tmpl/gstvalue.sgml:
6949 * docs/gst/tmpl/gstversion.sgml:
6950 * docs/gst/tmpl/gstxml.sgml:
6951 * docs/libs/tmpl/gstcontrol.sgml:
6952 * docs/libs/tmpl/gstdataprotocol.sgml:
6953 * docs/libs/tmpl/gstdparam.sgml:
6954 * docs/libs/tmpl/gstdplinint.sgml:
6955 * docs/libs/tmpl/gstdpman.sgml:
6956 * docs/libs/tmpl/gstdpsmooth.sgml:
6957 * docs/libs/tmpl/gstgetbits.sgml:
6958 * docs/libs/tmpl/gstunitconvert.sgml:
6959 * gst/base/gstpushsrc.c: (gst_push_src_get_type),
6960 (gst_push_src_base_init), (gst_push_src_class_init),
6961 (gst_push_src_init), (gst_push_src_create):
6962 * gst/base/gstpushsrc.h:
6963 * gst/elements/gstelements.c:
6964 * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type),
6965 (gst_fake_sink_base_init), (gst_fake_sink_class_init),
6966 (gst_fake_sink_init), (gst_fake_sink_set_property),
6967 (gst_fake_sink_get_property), (gst_fake_sink_get_times),
6968 (gst_fake_sink_event), (gst_fake_sink_preroll),
6969 (gst_fake_sink_render), (gst_fake_sink_change_state):
6970 * gst/elements/gstfakesink.h:
6971 * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
6972 (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
6973 (gst_fake_src_base_init), (gst_fake_src_class_init),
6974 (gst_fake_src_init), (gst_fake_src_event_handler),
6975 (gst_fake_src_alloc_parent), (gst_fake_src_set_property),
6976 (gst_fake_src_get_property), (gst_fake_src_prepare_buffer),
6977 (gst_fake_src_alloc_buffer), (gst_fake_src_get_size),
6978 (gst_fake_src_create_buffer), (gst_fake_src_create),
6979 (gst_fake_src_start), (gst_fake_src_stop):
6980 * gst/elements/gstfakesrc.h:
6981 * gst/elements/gstfilesink.c: (_do_init),
6982 (gst_file_sink_base_init), (gst_file_sink_class_init),
6983 (gst_file_sink_init), (gst_file_sink_dispose),
6984 (gst_file_sink_set_location), (gst_file_sink_set_property),
6985 (gst_file_sink_get_property), (gst_file_sink_open_file),
6986 (gst_file_sink_close_file), (gst_file_sink_query),
6987 (gst_file_sink_event), (gst_file_sink_render),
6988 (gst_file_sink_change_state), (gst_file_sink_uri_get_type),
6989 (gst_file_sink_uri_get_protocols), (gst_file_sink_uri_get_uri),
6990 (gst_file_sink_uri_set_uri), (gst_file_sink_uri_handler_init):
6991 * gst/elements/gstfilesink.h:
6992 * gst/elements/gstfilesrc.c: (_do_init), (gst_file_src_base_init),
6993 (gst_file_src_class_init), (gst_file_src_init),
6994 (gst_file_src_finalize), (gst_file_src_set_location),
6995 (gst_file_src_set_property), (gst_file_src_get_property),
6996 (gst_file_src_map_region), (gst_file_src_map_small_region),
6997 (gst_file_src_create_mmap), (gst_file_src_create_read),
6998 (gst_file_src_create), (gst_file_src_is_seekable),
6999 (gst_file_src_get_size), (gst_file_src_start), (gst_file_src_stop),
7000 (gst_file_src_uri_get_type), (gst_file_src_uri_get_protocols),
7001 (gst_file_src_uri_get_uri), (gst_file_src_uri_set_uri),
7002 (gst_file_src_uri_handler_init):
7003 * gst/elements/gstfilesrc.h:
7004 more autistic cleanliness in functions/names/defines
7006 2005-07-13 Andy Wingo <wingo@pobox.com>
7008 * gst/base/gstbasesrc.c (gst_base_src_start): Post an error if the
7009 source couldn't negotiate.
7011 * gst/parse/grammar.y: Revert 1.54->1.55, so we now do filtered
7015 * gst/gstutils.c (gst_element_link_pads_filtered): New old
7016 function. I am channeling Hades. Put your boots on suckers!!!
7018 2005-07-13 Thomas Vander Stichele <thomas at apestaart dot org>
7020 * testsuite/caps/Makefile.am:
7021 * testsuite/caps/value_compare.c:
7022 * testsuite/caps/value_intersect.c:
7023 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
7024 move two testsuite apps over to the check dir
7026 2005-07-12 Wim Taymans <wim@fluendo.com>
7028 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
7029 Added more debug info in the negotiate process.
7032 Prepare for segment playback.
7034 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps):
7040 * tools/gst-launch.c: (main):
7041 NULL pipeline on errors.
7043 2005-07-12 Andy Wingo <wingo@pobox.com>
7045 * gst/gstbuffer.c (_gst_buffer_copy): Copy the buffer whether or
7046 not it comes from a malloc region. Make sure our copy gets freed.
7048 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
7050 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
7051 * check/gst/gstmessage.c: (GST_START_TEST):
7052 * check/gst/gststructure.c: (GST_START_TEST),
7053 (gst_structure_suite), (main):
7055 * gst/gstelement.c: (gst_element_message_full):
7056 clean up GError and debug string now that they get copied
7057 * gst/gstmessage.c: (gst_message_new_error),
7058 (gst_message_new_warning), (gst_message_parse_error),
7059 (gst_message_parse_warning):
7060 use GST_TYPE_G_ERROR for structure_new, and take copies of
7061 arguments, so that we don't mess up refcounting
7063 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
7065 * check/Makefile.am:
7066 add per-test valgrind targets
7067 * check/gst-libs/gdp.c: (GST_START_TEST),
7068 (gst_data_protocol_suite), (main):
7071 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
7073 * check/Makefile.am:
7074 instate more valgrindable tests
7075 * check/elements/gstfakesrc.c: (chain_func), (event_func),
7076 (GST_START_TEST), (fakesrc_suite):
7077 * check/gst/gstpad.c: (GST_START_TEST):
7078 * check/gst/gststructure.c: (GST_START_TEST):
7080 * docs/gst/tmpl/gstminiobject.sgml:
7081 * gst/gstpad.c: (gst_pad_finalize):
7082 fix the static mutex leak
7084 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
7086 * check/Makefile.am:
7087 add two more tests for valgrinding
7088 * check/gst/gstvalue.c: (GST_START_TEST):
7089 test refcount of deserialized buffer, found a leak
7090 * docs/gst/gstreamer-docs.sgml:
7091 * docs/gst/gstreamer-sections.txt:
7092 * docs/gst/gstreamer.types:
7093 * docs/gst/tmpl/gstminiobject.sgml:
7094 add miniobject to docs
7095 * gst/gstminiobject.c:
7097 * gst/gstvalue.c: (gst_value_deserialize_buffer),
7098 (gst_string_unwrap):
7099 fix a hard-to-find invalid write for one of the tests
7100 fix a leak for deserialized buffers
7102 2005-07-11 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7104 * docs/pwg/advanced-events.xml:
7105 * docs/pwg/advanced-request.xml:
7106 * docs/pwg/advanced-scheduling.xml:
7107 * docs/pwg/appendix-porting.xml:
7108 * docs/pwg/building-boiler.xml:
7109 * docs/pwg/intro-preface.xml:
7110 * docs/pwg/other-ntoone.xml:
7111 Rewrite scheduling-chapter for scheduling model in 0.9. Add lots
7112 of example code and explanation for pad activation, loop() and
7113 getrange() functions and a bit more. Remove old comments pointing
7115 * examples/pwg/Makefile.am:
7116 Add loop/getrange examples.
7118 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
7121 check for valgrind binary + some fixes
7123 valgrind suppressions for the tests
7124 * check/Makefile.am:
7125 add a valgrind: target that valgrinds the unit tests
7126 * check/gst/gst.c: (GST_START_TEST), (gst_suite):
7127 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
7128 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
7129 * check/gst/gstghostpad.c:
7131 * check/gst/gstdata.c:
7133 * check/gst/gstminiobject.c: (GST_START_TEST), (thread_ref),
7134 (thread_unref), (gst_mini_object_suite), (main):
7136 * gst/gst.c: (gst_deinit):
7138 add a method to clean up.
7139 * gst/gstsystemclock.c: (gst_system_clock_dispose),
7140 (gst_system_clock_obtain):
7141 allow for disposing the system clock.
7142 * tools/gst-launch.c: (main):
7145 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
7147 * docs/gst/tmpl/gstbasesrc.sgml:
7148 * docs/gst/tmpl/gstfakesrc.sgml:
7149 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
7150 (gst_base_src_init), (gst_base_src_set_property),
7151 (gst_base_src_get_property), (gst_base_src_get_range),
7152 (gst_base_src_start):
7153 * gst/base/gstbasesrc.h:
7154 add num-buffers property
7155 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
7156 (gst_fakesrc_init), (gst_fakesrc_set_property),
7157 (gst_fakesrc_get_property), (gst_fakesrc_create),
7158 (gst_fakesrc_start):
7159 remove num-buffers property
7161 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
7163 * docs/gst/gstreamer-sections.txt:
7164 * docs/gst/tmpl/gstbasesink.sgml:
7165 * docs/gst/tmpl/gstbasesrc.sgml:
7166 * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
7167 (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
7168 (gst_base_sink_finalize), (gst_base_sink_set_clock),
7169 (gst_base_sink_set_property), (gst_base_sink_get_property),
7170 (gst_base_sink_handle_object), (gst_base_sink_event),
7171 (gst_base_sink_do_sync), (gst_base_sink_handle_event),
7172 (gst_base_sink_handle_buffer), (gst_base_sink_chain),
7173 (gst_base_sink_loop), (gst_base_sink_deactivate),
7174 (gst_base_sink_activate_push), (gst_base_sink_activate_pull),
7175 (gst_base_sink_change_state):
7176 * gst/base/gstbasesink.h:
7177 * gst/base/gstbasesrc.h:
7178 * gst/elements/gstfakesink.c: (gst_fakesink_get_times):
7179 * gst/elements/gstfilesink.c: (gst_filesink_class_init),
7180 (gst_filesink_init):
7181 more macro splitting
7183 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
7185 * gst/gstelement.c: (gst_element_get_bus):
7187 * tools/gst-launch.c: (check_intr), (event_loop):
7190 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
7192 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
7195 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
7197 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
7198 (gst_base_src_finalize):
7199 add finalize method and clean up properly
7200 * gst/gstpipeline.c: (gst_pipeline_dispose):
7203 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
7205 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST),
7207 add more things to check
7208 * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
7212 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
7214 * check/elements/gstfakesrc.c: (chain_func), (event_func),
7215 (GST_START_TEST), (fakesrc_suite):
7216 * check/gst-libs/gdp.c: (GST_START_TEST):
7217 * check/gst/gst.c: (GST_START_TEST):
7218 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
7219 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
7220 * check/gst/gstbus.c: (GST_START_TEST):
7221 * check/gst/gstcaps.c: (GST_START_TEST):
7222 * check/gst/gstdata.c: (GST_START_TEST):
7223 * check/gst/gstelement.c: (GST_START_TEST):
7224 * check/gst/gstghostpad.c: (GST_START_TEST):
7225 * check/gst/gstiterator.c: (GST_START_TEST):
7226 * check/gst/gstmessage.c: (GST_START_TEST):
7227 * check/gst/gstobject.c: (GST_START_TEST):
7228 * check/gst/gstpad.c: (GST_START_TEST):
7229 * check/gst/gststructure.c: (GST_START_TEST):
7230 * check/gst/gstsystemclock.c: (GST_START_TEST),
7231 (gst_systemclock_suite):
7232 * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
7233 * check/gst/gstvalue.c: (GST_START_TEST):
7234 * check/pipelines/cleanup.c: (GST_START_TEST):
7235 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
7236 * check/states/sinks.c: (GST_START_TEST):
7237 * check/gstcheck.c: (gst_check_init):
7239 add debugging category
7240 use GST_START_TEST now, so we add a debug line
7242 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
7244 * check/gst/gstbin.c: (START_TEST), (gst_bin_suite):
7245 add test for state change message on a bin
7246 * check/gst/gstelement.c: (START_TEST), (gst_element_suite):
7248 * gst/gstbin.c: (gst_bin_init):
7249 * gst/gstbus.c: (gst_bus_init), (gst_bus_post):
7250 * gst/gstelement.c: (gst_element_post_message),
7251 (gst_element_set_state):
7252 * gst/gstelementfactory.c: (gst_element_factory_create):
7253 * gst/gstmessage.c: (gst_message_new):
7254 * gst/gstscheduler.c:
7255 various debugging additions and cleanups
7257 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
7259 * check/Makefile.am:
7260 * check/gst/gstelement.c: (START_TEST), (gst_element_suite),
7262 adding tests for elements
7263 * gst/gstelement.c: (gst_element_dispose):
7265 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
7267 * gst/registries/gstlibxmlregistry.c: (load_feature):
7268 plug more leaks. A simple gst_init() now is leakfree, yay.
7270 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
7272 * gst/registries/gstlibxmlregistry.c: (read_string), (load_paths),
7273 (gst_xml_registry_load):
7274 plug another memleak
7276 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
7279 use GST_SET_ERROR_CFLAGS
7281 change to ERROR_CFLAGS
7283 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
7286 make GST_ERROR_CFLAGS overridable and re-enable Werror
7288 add a note about error CFLAGS
7289 * docs/gst/tmpl/gstfakesrc.sgml:
7290 * gst/elements/gstfakesrc.c:
7291 comment out some unused code
7292 * gst/gst.c: (split_and_iterate):
7293 * gst/registries/gstlibxmlregistry.c: (load_pad_template),
7297 2005-07-07 Thomas Vander Stichele <thomas at apestaart dot org>
7299 * common/Makefile.am:
7300 * common/gtk-doc.mak:
7301 * docs/gst/Makefile.am:
7302 factor out gtk-doc.mak
7304 2005-07-07 Wim Taymans <wim@fluendo.com>
7306 * gst/schedulers/threadscheduler.c: (gst_thread_scheduler_func),
7307 (gst_thread_scheduler_dispose):
7308 Unlock the STREAM_LOCK completely.
7310 2005-07-07 Thomas Vander Stichele <thomas at apestaart dot org>
7312 * check/Makefile.am:
7313 * check/elements/.cvsignore:
7314 * check/elements/gstfakesrc.c: (chain_func), (event_func),
7315 (START_TEST), (fakesrc_suite), (main):
7316 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
7317 (gst_fakesrc_set_property), (gst_fakesrc_get_property),
7318 (gst_fakesrc_create), (gst_fakesrc_start):
7319 * gst/elements/gstfakesrc.h:
7320 adding a first element test
7322 2005-07-07 Andy Wingo <wingo@pobox.com>
7324 * gst/gstbus.c (gst_bus_have_pending): Remove intensely irritating
7327 2005-07-07 Wim Taymans <wim@fluendo.com>
7333 2005-07-07 Wim Taymans <wim@fluendo.com>
7335 * gst/base/gstbasesrc.c: (gst_base_src_get_range),
7336 (gst_base_src_default_negotiate), (gst_base_src_negotiate):
7337 Allow subclasses to implement their own negotiation.
7339 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
7341 * docs/design/part-gstbin.txt:
7342 * docs/design/part-gstpipeline.txt:
7343 Update design notes to reflect the movement of
7344 responsibility for bus handling from GstPipeline to
7347 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
7350 Remove unnecessary queue2/3/4 examples.
7352 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
7354 * examples/Makefile.am:
7355 * examples/helloworld/helloworld.c: (event_loop), (main):
7356 * examples/queue/queue.c: (event_loop), (main):
7357 * examples/queue2/queue2.c: (main):
7358 Update a couple of the examples to work again.
7360 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
7361 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_event):
7362 Spelling corrections and extra debug.
7364 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init), (is_eos),
7365 (gst_bin_add_func), (bin_element_is_sink), (gst_bin_get_state),
7366 (gst_bin_change_state), (gst_bin_dispose), (bin_bus_handler):
7368 * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
7369 (gst_pipeline_change_state):
7370 * gst/gstpipeline.h:
7371 Move the bus handler for children to the GstBin, and create a
7372 separate bus for receiving messages from children to the one the
7373 bus sends 'upwards' on.
7375 2005-07-06 Wim Taymans <wim@fluendo.com>
7378 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
7379 (gst_base_sink_handle_object), (gst_base_sink_loop),
7380 (gst_base_sink_change_state):
7381 * gst/base/gstbasesink.h:
7382 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
7383 (gst_base_src_init), (gst_base_src_setcaps),
7384 (gst_base_src_getcaps), (gst_base_src_loop),
7385 (gst_base_src_default_negotiate), (gst_base_src_negotiate),
7386 (gst_base_src_start), (gst_base_src_change_state):
7387 * gst/base/gstbasesrc.h:
7388 Make basesrc negotiate.
7389 Handle the case where preroll fails in basesink.
7392 2005-07-06 Wim Taymans <wim@fluendo.com>
7394 * gst/gstpad.c: (gst_pad_fixate_caps), (gst_pad_accept_caps):
7395 Implement the fixate function.
7396 Clean up acceptcaps.
7398 2005-07-06 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7400 * docs/pwg/building-filterfactory.xml:
7402 Remove never-written filter-factory chapter; I'll add the various
7403 base classes to part 4 ("other element types") later on.
7405 2005-07-06 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7407 * docs/pwg/advanced-negotiation.xml:
7408 * docs/pwg/building-boiler.xml:
7409 * docs/pwg/building-pads.xml:
7411 * examples/pwg/Makefile.am:
7412 Add a chapter on caps negotiation, simplify the original code
7413 samples a bit w.r.t. caps negotiation, add link to the advanced
7414 section. Add a bunch of examples showing different use cases of
7415 different types of caps negotiation. Upstream renegotiation isn't
7416 fully documented yet since nobody knows how that works.
7418 2005-07-06 Thomas Vander Stichele <thomas at apestaart dot org>
7420 * check/gst/gstpad.c:
7422 * gst/gstpad.c: (gst_pad_get_internal_links_default):
7423 if pad has no parent, return NULL as list of internal links
7425 2005-07-05 Andy Wingo <wingo@pobox.com>
7427 * gst/elements/gstfilesrc.c:
7428 * gst/elements/gstfakesrc.c:
7429 * gst/base/gstpushsrc.c:
7430 * gst/base/gstbasesrc.h:
7431 * gst/base/gstbasesrc.c: s/BASESRC/BASE_SRC/g.
7433 2005-07-05 Stefan Kost <ensonic@users.sf.net>
7436 better report generation target (lcov needs a patch)
7438 2005-07-05 Andy Wingo <wingo@pobox.com>
7440 * gst/elements, testsuite: Null if we got it...
7442 2005-07-05 Wim Taymans <wim@fluendo.com>
7445 * libs/gst/dataprotocol/Makefile.am:
7446 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_validate_packet):
7447 * libs/gst/dataprotocol/dataprotocol.h:
7448 * pkgconfig/Makefile.am:
7449 * pkgconfig/gstreamer-dataprotocol-uninstalled.pc.in:
7450 * pkgconfig/gstreamer-dataprotocol.pc.in:
7451 Ported dataprotol to 0.9.
7452 Added pkgconfig files.
7454 2005-07-05 Andy Wingo <wingo@pobox.com>
7456 * gst/base/gstbasetransform.c (gst_base_transform_setcaps):
7457 Default to returning TRUE for the case when tranform_caps returns
7458 a fixed caps, like for identity or volume.
7460 * check/gst/gstbus.c (pound_bus_with_messages):
7461 * check/gst/gstmessage.c (START_TEST):
7462 * check/pipelines/simple_launch_lines.c (got_handoff): Application
7465 * gst/base/gstbasetransform.c (gst_base_transform_setcaps): More
7466 logic weaks here: always run transform_caps, trying passthrough
7467 operation only if the original caps intersects with the transform.
7469 * gst/gstpad.c (gst_pad_link_check_compatible_unlocked): Debug
7470 source and sink caps.
7472 * gst/base/gstbasetransform.c (gst_base_transform_getcaps):
7473 Intersect the peer caps with the pad template before going into
7475 (gst_base_transform_transform_caps): More debugging.
7477 * gst/gstmessage.h (gst_message_new_application): Take a GstObject
7480 2005-07-04 Edward Hervey <edward@fluendo.com>
7484 (gst_pad_add_*_probe): now returns the signal id for better wrapping
7487 2005-07-04 Andy Wingo <wingo@pobox.com>
7489 * check/gst/gstpad.c: Only set explicit caps on pads.
7491 2005-07-01 Andy Wingo <wingo@pobox.com>
7493 * tests/network-clock.scm: Commentary update.
7495 * gst/elements/gstidentity.c (PROP_DUPLICATE): Gone daddy gone.
7496 Didn't really make sense, not implementable with basetransform,
7498 (gst_identity_transform): Unref inbuf via make_writable. Feeble
7499 attempt at implementing the sync property, needs an unlock method.
7501 * gst/base/gstbasetransform.c (gst_base_transform_transform_caps):
7502 New func, by default returns the same caps (the identity
7504 (gst_base_transform_getcaps): Uses transform_caps to return
7506 (gst_base_transform_setcaps): Complicated logic to get caps on
7507 both pads, even if they are different, and to call set_caps once
7508 for every time both pads get their caps set.
7509 (gst_base_transform_handle_buffer): Give the ref to the transform
7510 function. Allows in-place modification of the buffer.
7512 * gst/base/gstbasetransform.h (transform_caps): New class method.
7513 Given caps on one side, what can I do on the other.
7514 (set_caps): Take two caps, one for each side of the element.
7517 * gst/gstpad.c (gst_pad_fixate_caps): Change prototype to modify
7518 caps in place. This is safe because we can check the mutability of
7519 the caps, and a good idea because fixate functions are just called
7520 as a matter of last resort. (Not actually implemented.)
7521 (gst_pad_set_caps): If the caps we're setting is actually the same
7522 as the existing pad caps, just update the pointer without calling
7523 setcaps. Assert that caps is either NULL or fixed, as per the
7526 * gst/gstghostpad.c: Update for fixate changes.
7528 2005-07-02 Andy Wingo <wingo@pobox.com>
7531 * gst/gstcaps.h (gst_static_caps_get): Not const return, having
7532 two refcounts makes it immutable, which is enough. Doc more.
7534 2005-07-02 Jan Schmidt <thaytan@mad.scientist.com>
7536 * gst/gstpad.c: (gst_pad_emit_have_data_signal):
7537 Put the mini_object into GValue as a mini_object,
7538 not a gpointer, since that's how we declared
7541 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7543 * examples/pwg/Makefile.am:
7546 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7548 * docs/pwg/building-testapp.xml:
7550 * examples/pwg/Makefile.am:
7553 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7556 * examples/Makefile.am:
7557 * examples/pwg/Makefile.am:
7558 * examples/pwg/extract.pl:
7559 Enable building the PWG examples.
7560 * docs/pwg/advanced-interfaces.xml:
7561 Add URI interface stub.
7562 * docs/pwg/advanced-types.xml:
7563 * docs/pwg/other-autoplugger.xml:
7564 * docs/pwg/appendix-porting.xml:
7566 Add porting guide (mostly stubs), remove autoplugging (see ADM).
7567 * docs/pwg/building-boiler.xml:
7568 * docs/pwg/building-chainfn.xml:
7569 * docs/pwg/building-pads.xml:
7570 * docs/pwg/building-props.xml:
7571 * docs/pwg/building-state.xml:
7572 * docs/pwg/building-testapp.xml:
7573 Update the building-*.xml parts for 0.9 changes. All examples
7574 code blocks compile in examples/pwg/*.
7576 2005-06-30 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7578 * docs/manual/advanced-autoplugging.xml:
7579 * docs/manual/appendix-checklist.xml:
7580 * docs/manual/appendix-integration.xml:
7581 * docs/manual/highlevel-components.xml:
7582 Fix playbin/decodebin examples, update docs a bit, mention bus
7583 instead of signals in various places, mention kmplayer and
7584 kaffeine since they have a working GStreamer backend in the KDE
7587 2005-06-30 Wim Taymans <wim@fluendo.com>
7590 * docs/design/draft-ghostpads.txt:
7591 * docs/design/draft-push-pull.txt:
7592 * docs/design/draft-query.txt:
7593 * docs/design/part-TODO.txt:
7594 * docs/design/part-query.txt:
7595 Added CHANGES-0.9 doc, updated status of other docs.
7600 2005-06-30 Wim Taymans <wim@fluendo.com>
7602 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
7603 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
7604 (gst_base_sink_change_state):
7605 * gst/base/gstbasesink.h:
7606 Some tweaks, only EOS and a buffer complete a preroll.
7608 2005-06-30 Andy Wingo <wingo@pobox.com>
7610 * gst/gstghostpad.c (gst_ghost_pad_do_activate_push): Proxy
7611 activate_push down to the internal pad as well.
7613 2005-06-30 Torsten Schoenfeld <kaffeetisch@gmx.de>
7615 Reviewed by: Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7617 * gst/gsttaginterface.c:
7618 Some documentation fixes (#307394 and #307397).
7620 2005-06-30 Antoine Tremblay <hexa00@gmail.com>
7622 Reviewed by: Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7624 * gst/gstvalue.c: (gst_value_intersect_list):
7625 Fix memleak (#309125).
7627 2005-06-30 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7629 * docs/manual/advanced-dataaccess.xml:
7630 Fix fakesrc example to compile; doesn't work, bug somewhere...?
7631 * docs/manual/basics-pads.xml:
7632 Add reference for filtered caps to above chapter.
7634 2005-06-30 Wim Taymans <wim@fluendo.com>
7636 * gst/gstbin.c: (clear_queue), (remove_all_from_queue),
7637 (gst_bin_change_state):
7639 Lame attempt at making the state change function a bit
7642 2005-06-30 Wim Taymans <wim@fluendo.com>
7644 * docs/design/part-clocks.txt:
7645 * docs/design/part-element-sink.txt:
7646 * docs/design/part-events.txt:
7647 * docs/design/part-preroll.txt:
7648 * docs/design/part-states.txt:
7649 Some more tweeks and additions to the docs.
7651 2005-06-30 Wim Taymans <wim@fluendo.com>
7653 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
7654 (default_have_data), (gst_pad_class_init), (gst_pad_init),
7655 (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
7656 (gst_pad_check_pull_range), (gst_pad_get_range),
7657 (gst_pad_pull_range), (gst_pad_push_event), (gst_pad_send_event):
7659 * gst/gstutils.c: (gst_atomic_int_set), (gst_pad_add_data_probe),
7660 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
7661 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
7662 (gst_pad_remove_buffer_probe):
7663 Removed atomic operations, use existing LOCK.
7664 Move exception handling out of main code path.
7666 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7668 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
7669 (silly_return_true_function), (gst_pad_class_init),
7670 (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
7671 (gst_pad_get_range), (gst_pad_pull_range), (gst_pad_push_event),
7672 (gst_pad_send_event):
7673 Fix accumulator, add default value by using _emitv() instead
7674 of _emit() for signal emission.
7676 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7678 * docs/manual/advanced-dataaccess.xml:
7679 * examples/manual/Makefile.am:
7681 * gst/gstpad.c: (_gst_do_pass_data_accumulator):
7684 2005-06-29 Tim-Philipp Müller <tim at centricular dot net>
7686 * gst/elements/gstfilesink.c: (gst_filesink_render):
7687 Simplify code so that we don't have to handle short
7688 writes and return GST_FLOW_ERROR if an error occured.
7690 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7692 * docs/gst/gstreamer-docs.sgml:
7695 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7697 * docs/gst/gstreamer-sections.txt:
7698 * docs/gst/tmpl/gstpad.sgml:
7699 * docs/gst/tmpl/gstprobe.sgml:
7701 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
7702 (gst_pad_class_init), (gst_pad_init), (gst_pad_chain),
7703 (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
7704 (gst_pad_push_event), (gst_pad_send_event):
7706 * gst/gstutils.c: (gst_pad_add_data_probe),
7707 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
7708 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
7709 (gst_pad_remove_buffer_probe):
7711 Remove old probes, add new g-signal-based probes and some utility
7714 2005-06-29 Edward Hervey <edward@fluendo.com>
7716 * gst/gstelementfactory.c:
7719 Moved gst_element_factory_can_[sink|src]_caps() to gstutils and added
7720 the definition to the header file.
7722 2005-06-29 Andy Wingo <wingo@pobox.com>
7724 * docs/gst/Makefile.am (scan-build.stamp): Totally only check
7725 plugins from the source directory.
7727 2005-06-29 Wim Taymans <wim@fluendo.com>
7729 * docs/gst/tmpl/gstbuffer.sgml:
7730 * docs/gst/tmpl/gstclock.sgml:
7731 Some fixings for blantently wrong text.
7733 2005-06-29 Thomas Vander Stichele <thomas at apestaart dot org>
7735 * check/Makefile.am:
7736 * gst/gst.c: (add_path_func), (init_pre):
7737 * gst/gstregistry.c: (gst_registry_add_path):
7738 add A GST_PLUGIN_PATH_ONLY env var; if it is set, it will
7739 only scan the GST_PLUGIN_PATH locations, and not add
7742 2005-06-29 Thomas Vander Stichele <thomas at apestaart dot org>
7744 * docs/gst/gstreamer-sections.txt:
7745 * docs/gst/tmpl/gstbasesrc.sgml:
7752 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7754 * docs/manual/advanced-autoplugging.xml:
7755 Fix autoplugging example.
7757 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7759 * docs/manual/advanced-autoplugging.xml:
7760 * docs/manual/mime-world.fig:
7761 Try to get autoplugging working, fix type detection. Fix text
7762 in hello-world image.
7764 2005-06-29 Wim Taymans <wim@fluendo.com>
7766 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
7767 (gst_base_sink_change_state):
7771 map SIGNAL and BROADCAST to the right function.
7774 Remove redundant braces.
7776 * gst/gstpad.c: (gst_pad_set_caps):
7777 Don't call setcaps function when reseting caps to NULL.
7779 * gst/gstsystemclock.c: (gst_system_clock_dispose),
7780 (gst_system_clock_async_thread), (gst_system_clock_id_wait_async),
7781 (gst_system_clock_id_unschedule):
7782 Use BROADCAST as this is what we do.
7784 2005-06-29 Wim Taymans <wim@fluendo.com>
7786 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
7787 We are actually prerolling before commiting the state
7790 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7792 * docs/manual/advanced-clocks.xml:
7793 * docs/manual/advanced-interfaces.xml:
7794 * docs/manual/advanced-metadata.xml:
7795 * docs/manual/advanced-position.xml:
7796 * docs/manual/advanced-schedulers.xml:
7797 * docs/manual/advanced-threads.xml:
7798 * docs/manual/appendix-porting.xml:
7799 * docs/manual/basics-bins.xml:
7800 * docs/manual/basics-bus.xml:
7801 * docs/manual/basics-elements.xml:
7802 * docs/manual/basics-helloworld.xml:
7803 * docs/manual/basics-pads.xml:
7804 * docs/manual/highlevel-components.xml:
7805 * docs/manual/manual.xml:
7806 * docs/manual/thread.fig:
7807 Update (until threads/scheduling) Application Development Manual;
7808 remove GstThread, add GstBus, add simple porting checklist, add
7809 documentation for tag writing, clocks, make all examples until this
7810 part compile and run.
7811 * examples/manual/Makefile.am:
7812 Update from changes to Application Development Manual; add bus
7813 example, remove thread example.
7815 2005-06-28 Wim Taymans <wim@fluendo.com>
7817 * gst/gstbus.c: (gst_bus_post), (gst_bus_have_pending),
7818 (gst_bus_set_flushing), (gst_bus_pop), (gst_bus_peek),
7819 (gst_bus_source_dispatch):
7820 Add debugging messages.
7821 Make internal methods static.
7822 Handle the case where the bus is flushed in the handler.
7824 * gst/gstelement.c: (gst_element_get_bus):
7825 Fix refcount in _get_bus();
7827 * gst/gstpipeline.c: (gst_pipeline_change_state),
7828 (gst_pipeline_get_clock_func):
7829 Clock refcounting fixes.
7830 Handle the case where preroll timed out more gracefully.
7832 * gst/gstsystemclock.c: (gst_system_clock_dispose):
7833 Clean up the internal thread in dispose. This is needed
7834 for subclasses that actually get disposed.
7836 * gst/schedulers/threadscheduler.c:
7837 (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
7838 (gst_thread_scheduler_dispose):
7839 Free thread pool in dispose.
7841 2005-06-28 Andy Wingo <wingo@pobox.com>
7843 * tests/network-clock-utils.scm (debug, print-event): New utils.
7845 * tests/network-clock.scm (*debug*, *with-graph*): New parameters.
7846 (*packet-loss*): Unified loss probability.
7847 (network-time): Report out-of-band events.
7849 * tests/plot-data: Add support for out-of-band events. Hack it
7850 into this script instead of passing it down the pipe; should fix
7853 2005-06-28 Wim Taymans <wim@fluendo.com>
7855 * docs/gst/gstreamer.types:
7856 * docs/gst/tmpl/gstbasesrc.sgml:
7857 * docs/gst/tmpl/gstpad.sgml:
7860 2005-06-28 Wim Taymans <wim@fluendo.com>
7862 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
7863 (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_acceptcaps),
7864 (gst_proxy_pad_do_fixatecaps):
7865 Correctly proxy the check_pull_range function.
7867 2005-06-28 Andy Wingo <wingo@pobox.com>
7869 * tests/network-clock.scm: Removed need for slib.
7871 2005-06-28 Wim Taymans <wim@fluendo.com>
7873 * gst/base/gstbasesink.c: (gst_basesink_set_pad_functions),
7874 (gst_basesink_preroll_queue_flush):
7875 * gst/base/gstbasesrc.c: (gst_basesrc_set_dataflow_funcs):
7876 * gst/elements/gsttee.c: (gst_tee_update_pad_functions):
7877 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
7878 (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
7879 (gst_proxy_pad_set_property):
7882 * gst/gstqueue.c: (gst_queue_init):
7883 The deprecated pad loop function is removed now.
7885 2005-06-28 Andy Wingo <wingo@pobox.com>
7887 * tests/network-clock.scm (*timeout*, *send-loss*, *recv-loss*):
7888 New parameters, simulate network packet loss.
7890 * tests/network-clock-utils.scm: Initialize the RNG.
7892 2005-06-28 Wim Taymans <wim@fluendo.com>
7894 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_flush),
7895 (gst_basesink_event), (gst_basesink_deactivate):
7896 Flushing the preroll queue always needs to unlock the waiters.
7898 2005-06-28 Edward Hervey <edward@fluendo.com>
7900 * gst/gstpipeline.c: (gst_pipeline_send_event):
7901 Wheen a seek was successful on a pipeline, set the stream_time to the
7902 seek offset in order to have a synchronized stream_time.
7904 2005-06-28 Wim Taymans <wim@fluendo.com>
7906 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
7907 (gst_proxy_pad_do_getrange), (gst_proxy_pad_do_checkgetrange),
7908 (gst_proxy_pad_do_getcaps), (gst_proxy_pad_do_acceptcaps),
7909 (gst_proxy_pad_do_fixatecaps):
7910 Call wrapper function instead of just calling the function
7911 pointers. This takes care of any locking and whatmore.
7913 2005-06-28 Wim Taymans <wim@fluendo.com>
7915 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push),
7916 (gst_pad_pull_range):
7918 CONNECTED -> LINKED.
7920 2005-06-28 Andy Wingo <wingo@pobox.com>
7922 * *.c: Don't cast to GST_OBJECT when reffing or unreffing. Large
7923 source-munging commit!!!
7925 * gst/gstobject.c (gst_object_unref, gst_object_ref)
7926 (gst_object_sink): Take gpointer arguments, not GstObject --
7927 avoids casts. Like GLib.
7929 * gst/gstghostpad.c (gst_proxy_pad_do_activate): Don't proxy
7932 2005-06-27 Andy Wingo <wingo@pobox.com>
7934 * gst/base/gsttypefindhelper.c (gst_type_find_helper): Unref any
7937 * gst/gsttrace.c (gst_alloc_trace_list_sorted): New helper,
7938 returns a sorted copy of the trace list.
7939 (gst_alloc_trace_print_live): New API, only prints traces with
7940 live objects. Sort the list.
7941 (gst_alloc_trace_print_all): Sort the list.
7942 (gst_alloc_trace_print): Align columns.
7944 * gst/elements/gstttypefindelement.c:
7945 * gst/elements/gsttee.c:
7946 * gst/base/gstbasesrc.c:
7947 * gst/base/gstbasesink.c:
7948 * gst/base/gstbasetransform.c:
7949 * gst/gstqueue.c: Adapt for pad activation changes.
7951 * gst/gstpipeline.c (gst_pipeline_init): Unref after parenting
7953 (gst_pipeline_dispose): Drop ref on sched.
7955 * gst/gstpad.c (gst_pad_init): Set the default activate func.
7956 (gst_pad_activate_default): Push mode by default.
7957 (pre_activate_switch, post_activate_switch): New stubs, things to
7958 do before and after switching activation modes on pads.
7959 (gst_pad_set_active): Take a boolean and not a mode, dispatch to
7960 the pad's activate function to choose which mode to activate.
7961 Shortcut on deactivation and call the right function directly.
7962 (gst_pad_activate_pull): New API, (de)activates a pad in pull
7964 (gst_pad_activate_push): New API, same for push mode.
7965 (gst_pad_set_activate_function)
7966 (gst_pad_set_activatepull_function)
7967 (gst_pad_set_activatepush_function): Setters for new API.
7969 * gst/gstminiobject.c (gst_mini_object_new, gst_mini_object_free):
7970 Trace all miniobjects.
7971 (gst_mini_object_make_writable): Unref the arg if we copy, like
7972 gst_caps_make_writable.
7974 * gst/gstmessage.c (_gst_message_initialize): No trace init.
7976 * gst/gstghostpad.c (gst_proxy_pad_do_activate)
7977 (gst_proxy_pad_do_activatepull, gst_proxy_pad_do_activatepush):
7978 Adapt for new pad API.
7980 * gst/gstevent.c (_gst_event_initialize): Don't initialize trace.
7983 * gst/gstelement.c (gst_element_iterate_src_pads)
7984 (gst_element_iterate_sink_pads): New API functions.
7986 * gst/gstelement.c (iterator_fold_with_resync): New utility,
7987 should fold into gstiterator.c in some form.
7988 (gst_element_pads_activate): Simplified via use of fold and
7989 delegation of decisions to gstpad->activate.
7991 * gst/gstbus.c (gst_bus_source_finalize): Set the bus to NULL,
7994 * gst/gstbuffer.c (_gst_buffer_initialize): Ref the buffer type
7995 class once in init, like gstmessage. Didn't run into this issue
7996 but it seems correct. Don't initialize a trace, gstminiobject does
7999 * check/pipelines/simple_launch_lines.c (test_stop_from_app): New
8000 test, runs fakesrc ! fakesink, stopping on ::handoff via a message
8002 (assert_live_count): New util function, uses alloc traces to check
8005 * check/gst/gstghostpad.c (test_ghost_pads): More refcount checks.
8006 To be modified when unlink drops the internal pad.
8008 2005-06-27 Wim Taymans <wim@fluendo.com>
8010 * gst/gstbin.c: (gst_bin_get_state), (gst_bin_iterate_state_order),
8011 (gst_bin_change_state):
8012 Cleanup the get_state() function a little, make sure it
8013 iterates the same set of elements.
8014 Added stub iterate_state_order().
8016 2005-06-27 Thomas Vander Stichele <thomas at apestaart dot org>
8018 * docs/gst/gstreamer-docs.sgml:
8019 * docs/gst/gstreamer-sections.txt:
8020 * docs/gst/gstreamer.types:
8021 * docs/gst/tmpl/gstbasesink.sgml:
8022 * docs/gst/tmpl/gstbasesrc.sgml:
8023 * docs/gst/tmpl/gstbasetransform.sgml:
8024 * docs/gst/tmpl/gstelement.sgml:
8025 * docs/gst/tmpl/gstiterator.sgml:
8026 * gst/base/gstbasesrc.c:
8027 * gst/base/gstbasesrc.h:
8028 * gst/base/gstbasetransform.h:
8030 * gst/gstiterator.h:
8031 adding basetransform and iterator docs
8033 2005-06-27 Andy Wingo <wingo@pobox.com>
8035 * docs/design/part-activation.txt: Notes on how activation should
8036 work -- not quite implemented yet.
8038 2005-06-25 Wim Taymans <wim@fluendo.com>
8040 * gst/gstghostpad.c: (gst_proxy_pad_do_chain):
8041 At least get the chain function correct, needs more
8044 2005-06-25 Wim Taymans <wim@fluendo.com>
8046 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
8047 (gst_basesink_handle_object), (gst_basesink_event),
8048 (gst_basesink_do_sync), (gst_basesink_handle_event),
8049 (gst_basesink_change_state):
8051 Right, two problems here: ghostpads don't take locks and
8052 glib _rec_mutex_lock_full() with depth==0 still locks.
8053 Catch illegal locking and g_warn them.
8055 2005-06-25 Wim Taymans <wim@fluendo.com>
8057 * check/states/sinks.c: (START_TEST), (gst_object_suite):
8058 Have to check for completion now...
8060 2005-06-25 Wim Taymans <wim@fluendo.com>
8062 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
8063 (gst_basesink_handle_object), (gst_basesink_event),
8064 (gst_basesink_do_sync), (gst_basesink_handle_event),
8065 (gst_basesink_change_state):
8067 Unlock STREAM_LOCK whatever the recursion was.
8069 2005-06-25 Wim Taymans <wim@fluendo.com>
8071 * gst/base/gstbasesink.c: (gst_basesink_set_property),
8072 (gst_basesink_preroll_queue_empty),
8073 (gst_basesink_preroll_queue_flush), (gst_basesink_handle_object),
8074 (gst_basesink_event), (gst_basesink_do_sync),
8075 (gst_basesink_handle_event), (gst_basesink_handle_buffer),
8076 (gst_basesink_chain), (gst_basesink_loop), (gst_basesink_activate),
8077 (gst_basesink_change_state):
8078 Reworked the base sink, handle event and buffer serialisation
8079 correctly and removed possible deadlock.
8080 Handle EOS correctly.
8082 2005-06-25 Wim Taymans <wim@fluendo.com>
8084 * gst/gstpipeline.c: (is_eos), (pipeline_bus_handler),
8085 (gst_pipeline_change_state):
8086 * tools/gst-launch.c: (check_intr), (event_loop), (main):
8087 Allow elements to post EOS in the state change function.
8088 Fix up -launch, make it exit the poll loop when the
8089 pipeline actually changed state.
8090 Fix up warning parsing in -launch.
8092 2005-06-25 Wim Taymans <wim@fluendo.com>
8094 * gst/elements/gsttee.c: (gst_tee_chain), (gst_tee_loop),
8095 (gst_tee_sink_activate):
8096 Core takes STREAM_LOCK for us now.
8098 2005-06-25 Wim Taymans <wim@fluendo.com>
8100 * gst/gstelement.c: (gst_element_get_state_func),
8101 (gst_element_set_state):
8103 * gst/gstmessage.c: (gst_message_parse_error),
8104 (gst_message_parse_warning):
8105 Keep track of current target state while performing a state
8106 change so that subclasses can do something interesting.
8107 Fix parsing of warning/error messages when GError is NULL.
8109 2005-06-24 Thomas Vander Stichele <thomas at apestaart dot org>
8111 * docs/gst/Makefile.am:
8112 * docs/gst/gstreamer-docs.sgml:
8113 * docs/gst/gstreamer-sections.txt:
8114 * docs/gst/gstreamer.types:
8115 * docs/gst/tmpl/gstbasesink.sgml:
8116 * docs/gst/tmpl/gstbasesrc.sgml:
8117 * docs/gst/tmpl/gstbin.sgml:
8118 * docs/gst/tmpl/gstcompat.sgml:
8119 * docs/gst/tmpl/gstfakesink.sgml:
8120 * docs/gst/tmpl/gstfakesrc.sgml:
8121 * docs/gst/tmpl/gstfilesink.sgml:
8122 * docs/gst/tmpl/gstfilesrc.sgml:
8123 * docs/gst/tmpl/gstindex.sgml:
8124 * docs/manual/appendix-quotes.xml:
8125 * gst/base/gstbasesrc.h:
8126 * gst/elements/gstfakesrc.h:
8128 start pulling in base classes and elements in our docs
8130 2005-06-24 Stefan Kost <ensonic@users.sf.net>
8132 * docs/gst/Makefile.am:
8133 * docs/libs/Makefile.am:
8134 fixed make distcheck with gtk-doc 1.3
8136 2005-06-23 Wim Taymans <wim@fluendo.com>
8138 * gst/gstelement.c: (gst_element_get_state_func),
8139 (gst_element_set_state), (gst_element_change_state):
8140 When the state did not change, also report NO_PREROLL
8143 2005-06-23 Wim Taymans <wim@fluendo.com>
8145 * gst/gstpad.c: (gst_pad_event_default):
8146 * gst/gstqueue.c: (gst_queue_loop):
8147 No unsafe task pausing please.
8149 2005-06-23 Wim Taymans <wim@fluendo.com>
8151 * gst/schedulers/threadscheduler.c:
8152 (gst_thread_scheduler_task_start),
8153 (gst_thread_scheduler_task_pause), (gst_thread_scheduler_func):
8154 Ref the task before pushing it on the threadpool. This
8155 makes sure that we have a ref when the threadfunction is
8158 2005-06-23 Andy Wingo <wingo@pobox.com>
8160 * gst/base/gstbasesrc.c (gst_basesrc_get_range): Check if the
8161 offset is greater than the file's size.
8163 * gst/gstobject.h (GST_CLASS_LOCK, GST_CLASS_TRYLOCK)
8164 (GST_CLASS_UNLOCK, GST_CLASS_GET_LOCK, GstObjectClass)
8165 * gst/gstobject.c (gst_object_class_init): Make the class lock
8166 recursive. Wim won't let me drop deep_notify. Decodebin works
8169 * gst/gstghostpad.c (on_int_notify): Catches notify::caps on the
8170 internal pad, and hacks accordingly. Doesn't do it on the target
8171 pad because we change its caps. Probably catches all cases of
8173 (gst_ghost_pad_set_property): Connect to notify::caps as
8176 * tests/network-clock.scm (plot-simulation): Pipe data to the
8177 elite python skript.
8179 * tests/network-clock-utils.scm (define-parameter): New macro,
8180 defines a parameter that can be set via the command line.
8181 (set-parameter!, parse-parameter-arguments): Command line args
8184 * tests/plot-data: Simple matplotlib-based plotter, takes input on
8187 2005-06-23 Jan Schmidt <thaytan@mad.scientist.com>
8189 * gst/elements/gsttypefindelement.c:
8190 (gst_type_find_element_handle_event):
8191 Don't restart typefinding on a discont.
8192 * gst/gstelement.c: (gst_element_set_state):
8194 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_send_event):
8195 Allow changing mode of an active pad.
8197 * gst/registries/gstlibxmlregistry.c: (load_feature):
8198 Don't cast a static pad template to a normal pad template.
8200 2005-06-23 Thomas Vander Stichele <thomas at apestaart dot org>
8202 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
8203 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
8204 remove gst_strtoll completely, since it didn't actually do
8205 anything more than what g_ascii_strtoull already does.
8206 check for range errors when deserializing
8207 do a cast for the unsigned cases; but further fixing needs
8208 a decision on what the interpretation of "(int)" and
8209 deserialization should be for values that fall outside the
8210 type's boundaries (ie, refuse, or interpret as casting)
8212 2005-06-23 Wim Taymans <wim@fluendo.com>
8214 * check/Makefile.am:
8215 * check/states/sinks.c: (START_TEST), (gst_object_suite), (main):
8216 * docs/design/part-live-source.txt:
8217 * docs/design/part-states.txt:
8218 * gst/base/gstbasesrc.c: (gst_basesrc_init),
8219 (gst_basesrc_set_live), (gst_basesrc_is_live),
8220 (gst_basesrc_get_range), (gst_basesrc_activate),
8221 (gst_basesrc_change_state):
8222 * gst/base/gstbasesrc.h:
8223 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
8224 (gst_fakesrc_set_property), (gst_fakesrc_get_property):
8225 * gst/gstbin.c: (gst_bin_get_state), (gst_bin_change_state):
8226 * gst/gstelement.c: (gst_element_get_state_func),
8227 (gst_element_set_state):
8230 * tools/gst-launch.c: (event_loop), (main):
8231 Added support for live sources and other elements that
8233 Updated design docs, added live-source design doc.
8234 Implemented live source functionality in basesrc
8235 Fix error condition in _bin_get_state()
8236 Implement live source handling in -launch.
8237 Added check for live sources.
8238 Fixed case in GstBin where elements were changed state
8242 2005-06-23 Andy Wingo <wingo@pobox.com>
8244 * check/gst/gstpad.c (test_get_allowed_caps, test_refcount): Fix
8247 * gst/gstpad.c (gst_pad_set_caps): Remove needless refs,
8248 gst_caps_replace takes care of this for us.
8250 * gst/gstghostpad.c (gst_proxy_pad_do_setcaps): Call the full
8251 gst_pad_set_caps on the target, not just its setcaps() function.
8253 * tests/network-clock.scm:
8254 * tests/network-clock-utils.scm: A network clock simulator.
8255 Something of an algorithmic testbed before doing something in C.
8257 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
8259 * check/Makefile.am:
8260 * check/gst/capslist.h:
8261 copy over from 0.8, and add two with bitmasks specified with
8263 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
8264 add test to parse everything from capslist.h
8265 * check/gst/gststructure.c: (START_TEST), (gst_value_suite),
8267 add test for structure deserialization
8268 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
8269 add tests for deserialization of strings to int types
8270 * gst/gststructure.c: (gst_structure_nth_field_name):
8271 * gst/gststructure.h:
8272 add a way to get the name of a field referenced by index
8273 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
8274 instead of checking if the resulting long long lies between
8275 min and max, we check if the long long would fit into
8276 a number of bytes for the final type.
8277 This fixes cases where a string represents 2^32 - 1, which
8278 when cast to int would be the (valid) -1, but is bigger than
8281 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
8283 * gst/parse/grammar.y:
8284 add a log line for type deserialization
8286 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
8288 * check/gst/gstvalue.c: (START_TEST):
8289 * gst/gstvalue.c: (gst_value_deserialize):
8290 return long long, not int, so gint64 deserialization actually
8291 works. Is there any flag that makes the compiler check this ?
8294 2005-06-22 Wim Taymans <wim@fluendo.com>
8297 Added convenience macros for setting buffers in GValue.
8299 2005-06-21 Thomas Vander Stichele <thomas at apestaart dot org>
8301 * check/gst/.cvsignore:
8302 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
8303 add a test deserializing int64, and comment part out because
8306 2005-06-21 Thomas Vander Stichele <thomas at apestaart dot org>
8308 * check/Makefile.am:
8309 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite), (main):
8310 * testsuite/Makefile.am:
8311 * testsuite/caps/Makefile.am:
8312 * testsuite/caps/value_serialize.c:
8313 * testsuite/test_gst_init.c:
8314 move a value_serialize test over
8316 2005-06-20 Wim Taymans <wim@fluendo.com>
8321 * gst/gstvalue.c: (gst_value_compare_buffer),
8322 (gst_value_serialize_buffer), (gst_value_deserialize_buffer),
8323 (gst_value_compare_flags), (gst_value_serialize_flags),
8324 (gst_value_deserialize_flags), (_gst_value_initialize):
8325 Fix serialisation of buffers, they are not boxed types anymore
8327 2005-06-20 Wim Taymans <wim@fluendo.com>
8329 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
8330 Testcase to show error in buffer-on-caps serialisation.
8332 2005-06-20 Andy Wingo <wingo@pobox.com>
8334 * docs/random/wingo/porting-plugins-to-0.9: A pitiful document I
8335 will be adding to later.
8337 * gst/gstsystemclock.c (gst_system_clock_init): Unlock the clock
8338 if its socks fill with rocks.
8339 (gst_system_clock_obtain): Set the name on object construction.
8340 Avoid double-checked locking.
8342 2005-06-20 Tim-Philipp Müller <tim at centricular dot net>
8344 * gst/gsturi.c: (gst_element_make_from_uri):
8345 Fix potential endless loop.
8347 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
8349 * check/Makefile.am:
8351 * check/gst/gsttag.c: (check_tags), (START_TEST), (gst_tag_suite),
8353 move over from testsuite dir and clean up
8356 * testsuite/Makefile.am:
8357 * testsuite/tags/.cvsignore:
8358 * testsuite/tags/Makefile.am:
8359 * testsuite/tags/merge.c:
8360 remove testsuite/tags
8362 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
8364 * docs/gst/gstreamer-sections.txt:
8365 * docs/gst/tmpl/gstenumtypes.sgml:
8366 * win32/gstenumtypes.c:
8367 clean up documentation build a little
8369 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
8372 add macros for checking refcounts on objects and caps
8373 * check/gst/gstpad.c: (START_TEST), (gst_pad_suite):
8374 add some more unit tests
8375 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
8376 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_allowed_caps):
8377 fix leaked refcounts (I hope :)) so unittest works
8381 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
8383 * configure.ac: back to HEAD
8385 === release 0.9.1 ===
8387 2005-06-17 Thomas Vander Stichele <thomas at apestaart dot org>
8393 2005-06-17 Andy Wingo <wingo@pobox.com>
8395 * gst/base/gstbasesink.c (gst_basesink_chain): Remove bogus
8396 assert; it's always possible that the pad gets deactivated in
8397 between the checks in gstpad.c and the implementation. Rely on
8398 finish_preroll() to return a FLUSHING or similar instead of on the
8401 * gst/base/gstbasesink.c (gst_basesink_event): Only wait for the
8402 clock and post an EOS message if we come out of finish_preroll in
8405 2005-06-16 David Schleef <ds@schleef.org>
8407 * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
8408 (gst_capsfilter_set_property): Allow NULL as possible value
8409 for filter_caps property, indicating GST_CAPS_ANY.
8411 2005-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
8413 * gst/elements/gstfakesrc.c: (gst_fakesrc_create):
8415 * gst/schedulers/Makefile.am:
8417 * gstreamer.spec.in:
8420 2005-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
8422 * gstreamer.spec.in:
8425 2005-06-08 Andy Wingo <wingo@pobox.com>
8427 * gst/gstutils.c: RPAD fixes all around.
8428 (gst_element_link_pads): Refcounting fixes.
8430 * tools/gst-inspect.c:
8431 * tools/gst-xmlinspect.c:
8433 * gst/base/gsttypefindhelper.c:
8434 * gst/base/gstbasesink.c:
8435 * gst/gstqueue.c: RPAD fixes.
8437 * gst/gstghostpad.h:
8438 * gst/gstghostpad.c: New ghost pad implementation as full proxy
8439 pads. The tricky thing is they provide both source and sink
8440 interfaces, since they proxy the internal pad for the external
8441 pad, and vice versa. Implement with lower-level ProxyPad objects,
8442 with the interior proxy pad as a child of the exterior ghost pad.
8443 Should write a doc on this.
8445 * gst/gstpad.h: s/RPAD/PAD/, s/RealPad/Pad/.
8446 (gst_pad_set_name, gst_pad_set_parent): Macros removed, use
8449 * gst/gstpad.c: Big changes. No more stub base GstPad, now all
8450 pads are real pads. No ghost pads in this file. Not documenting
8451 the myriad s/RPAD/PAD/ and REALIZE fixes.
8452 (gst_pad_class_init): Add properties for "direction" and
8453 "template". Both are construct-only, so they can't change during
8454 the life of the pad. Fixes properly deriving from GstPad.
8455 (gst_pad_custom_new, gst_pad_custom_new_from_template): Gone. For
8456 derived objects, just set properties when creating the objects via
8458 (gst_pad_get_parent): Implement as a function, return NULL if the
8459 parent is not an element.
8460 (gst_pad_get_real_parent, gst_pad_add_ghost_pad)
8461 (gst_pad_remove_ghost_pad, gst_pad_realize): Removed.
8463 * gst/gstobject.c (gst_object_class_init): Make name a construct
8464 property. Don't set it in the object init.
8466 * gst/gstelement.c (gst_element_add_pad): Don't allow adding pads
8467 with UNKNOWN direction.
8468 (gst_element_add_ghost_pad): Remove non-orthogonal API. Replace
8469 with gst_element_add_pad (e, gst_ghost_pad_new (name, pad)).
8470 (gst_element_remove_pad): Remove ghost-pad special cases.
8471 (gst_element_pads_activate): Remove rpad cruft.
8473 * gst/gstbin.c (gst_bin_change_state): Use gst_pad_get_parent to
8474 catch the pad's-parent-not-an-element case.
8476 * gst/gst.h: Include gstghostpad.h.
8478 * gst/gst.c (init_post): No more real, ghost pads.
8480 * gst/Makefile.am: Add gstghostpad.[ch].
8482 * check/Makefile.am:
8483 * check/gst/gstbin.c:
8484 * check/gst/gstghostpad.c (test_ghost_pads): Check that linking
8485 into a bin creates ghost pads, and that the refcounts are right.
8486 Partly moved from gstbin.c.
8488 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
8490 * check/gst-libs/.cvsignore:
8491 * check/gst/.cvsignore:
8492 * check/pipelines/.cvsignore:
8494 * check/pipelines/cleanup.c: (setup_pipeline), (run_pipeline),
8495 (START_TEST), (cleanup_suite), (main):
8496 add some tests related to cleanup after running pipelines
8498 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
8500 * check/gst/gstbuffer.c: (START_TEST), (gst_test_suite), (main):
8501 add a testsuite for GstBuffer
8503 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
8505 * gst/gstminiobject.h:
8506 add defines for accessing the refcount
8508 2005-06-03 Stefan Kost <ensonic@users.sf.net>
8510 * Makefile.am: added support for html unit test coverage reports
8512 2005-06-03 Jan Schmidt <thaytan@mad.scientist.com>
8514 * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
8515 Free existing caps if the capsfilter changes. Add a FIXME about
8516 setting those caps on the pads.
8518 * gst/gstutils.c: (gst_element_get_compatible_pad), (ghost_up):
8519 Before adding a ghost pad to a parent bin, check that there isn't
8520 already one for the element on the bin. Prevents infinite recursion
8521 when using decodebin in parse pipelines. Andy says he'll rewrite the
8522 way this works anyway, so ignore the hack.
8524 2005-06-02 Andy Wingo <wingo@pobox.com>
8526 * gst/elements/gsttypefindelement.c (do_pull_typefind): Query the
8527 file size, pass it on to the type find helper.
8529 * gst/base/gstbasesrc.c (gst_basesrc_do_seek): Set the
8530 segment_start and segment_end properly according to the seek
8531 method. Segment_end is still a bit flaky because offset can be
8532 negative for CUR and END cases, but it takes -1 as an "unset"
8535 2005-06-02 Wim Taymans <wim@fluendo.com>
8537 * gst/base/gstbasesink.c: (gst_basesink_pad_buffer_alloc),
8538 (gst_base_sink_buffer_alloc), (gst_basesink_preroll_queue_push),
8539 (gst_basesink_activate):
8540 * gst/base/gstbasesink.h:
8541 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
8542 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
8543 (gst_pad_query), (gst_pad_start_task):
8545 * gst/gstqueue.c: (gst_queue_bufferalloc),
8546 (gst_queue_handle_sink_event), (gst_queue_chain):
8547 Bufferalloc: return GstFlowReturn to more accuratly report
8548 why allocation failed.
8550 2005-06-02 Wim Taymans <wim@fluendo.com>
8552 * gst/gstpipeline.c: (gst_pipeline_send_event):
8553 Take snapshot of state without blocking.
8555 2005-06-02 Wim Taymans <wim@fluendo.com>
8557 * docs/design/part-TODO.txt:
8558 * docs/design/part-caps.txt:
8559 * docs/design/part-clocks.txt:
8560 * docs/design/part-negotiation.txt:
8561 * docs/design/part-preroll.txt:
8564 2005-05-30 Wim Taymans <wim@fluendo.com>
8566 * gst/elements/gstidentity.c: (gst_identity_event),
8567 (gst_identity_transform), (gst_identity_get_property):
8568 Protect last_message property as it is accessed from
8571 2005-05-30 Wim Taymans <wim@fluendo.com>
8573 * gst/gstelement.c: (gst_element_init),
8574 (gst_element_pads_activate), (gst_element_change_state):
8575 Slicker pad activation code.
8577 2005-05-30 Wim Taymans <wim@fluendo.com>
8581 * gst/gstelementfactory.h:
8583 Move elementfactory methods to separate .h file.
8585 2005-05-30 Wim Taymans <wim@fluendo.com>
8587 * docs/design/part-overview.txt:
8588 * gst/gstsystemclock.h:
8589 Small typo fixes, doc updates.
8591 2005-05-30 Wim Taymans <wim@fluendo.com>
8593 * gst/gst.c: (gst_init_get_popt_table), (init_post),
8594 (init_popt_callback):
8595 Remove cpu-opt flag.
8597 2005-05-30 Wim Taymans <wim@fluendo.com>
8599 * gst/gstbuffer.c: (gst_subbuffer_finalize),
8600 (gst_buffer_create_sub), (gst_buffer_is_span_fast):
8602 Avoid typechecking in places where not needed.
8603 Added accessor for malloc_data.
8605 2005-05-30 Wim Taymans <wim@fluendo.com>
8607 * gst/gstpad.c: (gst_real_pad_init), (gst_pad_set_active),
8608 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_accept_caps),
8609 (gst_pad_configure_sink), (gst_pad_configure_src),
8610 (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_send_event),
8611 (gst_pad_start_task):
8612 Propagate errors from _set_caps() in configure_src/sink
8613 functions instead of returning TRUE.
8614 FLUSH events can travel up and downstream
8617 2005-05-30 Wim Taymans <wim@fluendo.com>
8619 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
8620 (gst_basesink_activate):
8621 Handle EOS in preroll.
8623 2005-05-30 Wim Taymans <wim@fluendo.com>
8625 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
8626 (gst_queue_loop), (gst_queue_handle_src_event):
8627 Remove old pieces of code
8628 Flushing the queue in an upstream event is a very bad idea.
8630 2005-05-26 Andy Wingo <wingo@pobox.com>
8632 * gst/gstminiobject.c (gst_value_mini_object_collect): Use
8633 gst_value_set_mini_object so as to add a ref on the object (which
8634 will be removed when the value is unset).
8636 * gst/elements/gstfakesink.c (gst_fakesink_class_init): Fix signal
8637 arg type in ::handoff.
8639 * gst/gstelement.c (gst_element_change_state): Also deactivate
8640 pads in READY->NULL, just in case the element didn't make it to
8641 PAUSED. Wingo tested, Wim approved.
8643 2005-05-26 Wim Taymans <wim@fluendo.com>
8645 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
8646 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
8647 (gst_pad_query), (gst_pad_send_event), (gst_pad_start_task):
8648 A flushing pad cannot be used to alloc_buffer from.
8650 2005-05-26 Wim Taymans <wim@fluendo.com>
8652 * gst/gstbus.c: (gst_bus_init), (gst_bus_dispose), (gst_bus_post),
8653 (gst_bus_pop), (gst_bus_source_prepare), (gst_bus_source_check),
8654 (gst_bus_source_dispatch), (gst_bus_source_finalize),
8655 (gst_bus_create_watch), (gst_bus_add_watch_full):
8657 Implement a real GSource and use g_main_context_wakeup() to
8658 signal new messages instead of the socketpair.
8660 2005-05-25 Wim Taymans <wim@fluendo.com>
8662 * gst/gstbin.c: (bin_element_is_sink), (has_ancestor),
8663 (bin_element_is_semi_sink), (append_child), (gst_bin_change_state):
8664 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
8665 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
8666 (gst_pad_send_event), (gst_pad_start_task):
8667 * gst/gstqueue.c: (gst_queue_init), (gst_queue_locked_flush),
8668 (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
8669 (gst_queue_sink_activate), (gst_queue_src_activate),
8670 (gst_queue_change_state):
8672 Fix state changes for non sinks. We now change sinks, then elements
8673 with unconnected srcpads, then the rest.
8674 More efficient queue unlocking in flush and state changes.
8675 Set the pad activate mode even if it does not have an activate
8678 2005-05-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8680 * gst/base/gstbasesrc.c: (gst_basesrc_activate):
8681 Don't go in pull mode for non-seekable sources.
8682 * gst/elements/gsttypefindelement.h:
8683 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
8684 (gst_type_find_element_dispose), (gst_type_find_handle_src_query),
8685 (free_entry), (stop_typefinding),
8686 (gst_type_find_element_handle_event), (find_peek),
8687 (gst_type_find_element_chain), (do_pull_typefind),
8688 (gst_type_find_element_change_state):
8689 Allow typefinding (w/o seeking) in push-mode, simplified version
8691 * gst/gstutils.c: (gst_buffer_join):
8693 gst_buffer_join() from 0.8.
8695 2005-05-25 Wim Taymans <wim@fluendo.com>
8697 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
8698 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
8699 (gst_pad_send_event), (gst_pad_start_task):
8700 Disable attempt at mode switching until it is figured out.
8702 2005-05-25 Wim Taymans <wim@fluendo.com>
8704 * gst/base/gstadapter.c: (gst_adapter_peek), (gst_adapter_flush):
8705 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
8706 (gst_basesink_finish_preroll), (gst_basesink_chain),
8707 (gst_basesink_loop), (gst_basesink_activate),
8708 (gst_basesink_change_state):
8709 * gst/base/gstbasesrc.c: (gst_basesrc_do_seek),
8710 (gst_basesrc_get_range), (gst_basesrc_loop),
8711 (gst_basesrc_activate):
8712 * gst/elements/gsttee.c: (gst_tee_sink_activate):
8713 * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
8714 (gst_real_pad_init), (gst_real_pad_set_property),
8715 (gst_real_pad_get_property), (gst_pad_set_active),
8716 (gst_pad_is_active), (gst_pad_get_query_types), (gst_pad_unlink),
8717 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_real_parent),
8718 (gst_real_pad_get_caps_unlocked), (gst_pad_peer_get_caps),
8719 (gst_pad_accept_caps), (gst_pad_get_peer), (gst_pad_realize),
8720 (gst_pad_event_default_dispatch), (gst_pad_event_default),
8721 (gst_pad_dispatcher), (gst_pad_query), (gst_real_pad_dispose),
8722 (gst_pad_save_thyself), (handle_pad_block), (gst_pad_chain),
8723 (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
8724 (gst_pad_send_event), (gst_pad_start_task), (gst_pad_pause_task),
8725 (gst_pad_stop_task):
8727 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
8728 (gst_queue_loop), (gst_queue_src_activate):
8729 * gst/gsttask.c: (gst_task_init), (gst_task_set_lock),
8730 (gst_task_get_state):
8732 * gst/schedulers/threadscheduler.c:
8733 (gst_thread_scheduler_task_start), (gst_thread_scheduler_func):
8734 Implement gst_pad_pause/start/stop_task(), take STREAM lock
8736 Remove ACTIVE pad flag, use FLUSHING everywhere
8737 Added _pad_chain(), _pad_get_range() to call chain/getrange
8739 Add locks around IS_FLUSHING when reading.
8740 Take STREAM lock in chain(), get_range() functions so plugins
8741 don't need to take it anymore.
8745 2005-05-25 Wim Taymans <wim@fluendo.com>
8747 * tools/gst-launch.c: (event_loop):
8748 Unref message after using its contents instead of
8751 2005-05-24 Wim Taymans <wim@fluendo.com>
8753 * docs/design/draft-ghostpads.txt:
8754 * docs/design/draft-push-pull.txt:
8755 * docs/design/draft-query.txt:
8756 * docs/design/part-overview.txt:
8757 Docs updates, added general overview doc.
8759 2005-05-21 David Schleef <ds@schleef.org>
8761 * docs/gst/tmpl/old/GstBin.sgml:
8762 * docs/gst/tmpl/old/GstBuffer.sgml:
8763 * docs/gst/tmpl/old/GstCaps.sgml:
8764 * docs/gst/tmpl/old/GstClock.sgml:
8765 * docs/gst/tmpl/old/GstCompat.sgml:
8766 * docs/gst/tmpl/old/GstData.sgml:
8767 * docs/gst/tmpl/old/GstElement.sgml:
8768 * docs/gst/tmpl/old/GstEvent.sgml:
8769 * docs/gst/tmpl/old/GstIndex.sgml:
8770 * docs/gst/tmpl/old/GstStructure.sgml:
8771 * docs/gst/tmpl/old/GstTag.sgml:
8772 * docs/gst/tmpl/old/cothreads.sgml:
8773 * docs/gst/tmpl/old/cothreads_compat.sgml:
8774 * docs/gst/tmpl/old/gettext.sgml:
8775 * docs/gst/tmpl/old/gobject2gtk.sgml:
8776 * docs/gst/tmpl/old/grammar.tab.sgml:
8777 * docs/gst/tmpl/old/gst-i18n-app.sgml:
8778 * docs/gst/tmpl/old/gst-i18n-lib.sgml:
8779 * docs/gst/tmpl/old/gst_private.sgml:
8780 * docs/gst/tmpl/old/gstaggregator.sgml:
8781 * docs/gst/tmpl/old/gstarch.sgml:
8782 * docs/gst/tmpl/old/gstatomic_impl.sgml:
8783 * docs/gst/tmpl/old/gstbufferstore.sgml:
8784 * docs/gst/tmpl/old/gstdata_private.sgml:
8785 * docs/gst/tmpl/old/gstdisksink.sgml:
8786 * docs/gst/tmpl/old/gstdisksrc.sgml:
8787 * docs/gst/tmpl/old/gstelementfactory.sgml:
8788 * docs/gst/tmpl/old/gstextratypes.sgml:
8789 * docs/gst/tmpl/old/gstfakesink.sgml:
8790 * docs/gst/tmpl/old/gstfakesrc.sgml:
8791 * docs/gst/tmpl/old/gstfdsink.sgml:
8792 * docs/gst/tmpl/old/gstfdsrc.sgml:
8793 * docs/gst/tmpl/old/gstfilesink.sgml:
8794 * docs/gst/tmpl/old/gstfilesrc.sgml:
8795 * docs/gst/tmpl/old/gsthttpsrc.sgml:
8796 * docs/gst/tmpl/old/gstidentity.sgml:
8797 * docs/gst/tmpl/old/gstindexfactory.sgml:
8798 * docs/gst/tmpl/old/gstmarshal.sgml:
8799 * docs/gst/tmpl/old/gstmd5sink.sgml:
8800 * docs/gst/tmpl/old/gstmultidisksrc.sgml:
8801 * docs/gst/tmpl/old/gstmultifilesrc.sgml:
8802 * docs/gst/tmpl/old/gstpadtemplate.sgml:
8803 * docs/gst/tmpl/old/gstpipefilter.sgml:
8804 * docs/gst/tmpl/old/gstschedulerfactory.sgml:
8805 * docs/gst/tmpl/old/gstsearchfuncs.sgml:
8806 * docs/gst/tmpl/old/gstshaper.sgml:
8807 * docs/gst/tmpl/old/gstspider.sgml:
8808 * docs/gst/tmpl/old/gstspideridentity.sgml:
8809 * docs/gst/tmpl/old/gststatistics.sgml:
8810 * docs/gst/tmpl/old/gsttee.sgml:
8811 * docs/gst/tmpl/old/gsttimecache.sgml:
8812 * docs/gst/tmpl/old/gsttypefindfactory.sgml:
8813 * docs/gst/tmpl/old/gstxmlregistry.sgml:
8814 * docs/gst/tmpl/old/gthread-cothreads.sgml:
8815 * docs/gst/tmpl/old/types.sgml:
8816 I didn't intend to add these or check them in.
8818 2005-05-19 David Schleef <ds@schleef.org>
8820 * configure.ac: Use -no-common everywhere. In a sane world, it
8821 would be the default in libtool, because without it, you can't
8822 build DLLs on Windows.
8823 * docs/gst/gstreamer-docs.sgml: Remove GstCpu, GstData, GstThread
8824 * docs/gst/gstreamer-sections.txt:
8825 * docs/gst/tmpl/gstcpu.sgml:
8826 * docs/gst/tmpl/gstdata.sgml:
8827 * docs/gst/tmpl/gstthread.sgml:
8829 2005-05-19 David Schleef <ds@schleef.org>
8831 * gst/gstminiobject.c: (gst_value_set_mini_object),
8832 (gst_value_take_mini_object), (gst_value_get_mini_object):
8833 * gst/gstminiobject.h: Add GValue set/get functions.
8835 2005-05-19 Wim Taymans <wim@fluendo.com>
8837 * gst/gstbuffer.c: (gst_buffer_init), (gst_subbuffer_get_type),
8838 (gst_subbuffer_class_init), (gst_subbuffer_finalize),
8839 (gst_subbuffer_init), (gst_buffer_is_span_fast):
8841 * gst/gstbus.c: (gst_bus_post):
8842 * gst/gstelement.c: (gst_element_get_random_pad):
8843 * gst/gstmessage.c: (gst_message_init), (gst_message_finalize):
8844 Make subbufer unref the parent in finalize.
8845 some more debugging info.
8848 2005-05-19 Wim Taymans <wim@fluendo.com>
8850 * gst/base/gstbasesink.c: (gst_basesink_class_init),
8851 (gst_basesink_init), (gst_basesink_finalize),
8852 (gst_basesink_activate), (gst_basesink_change_state):
8853 Don't free preroll queue too early.
8855 2005-05-19 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8859 Hi, I'm outdated. Please shoot me.
8861 2005-05-19 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8863 * gst/gstpipeline.c: (gst_pipeline_send_event):
8864 Do not access variables after they have been deleted.
8866 2005-05-19 Wim Taymans <wim@fluendo.com>
8868 * tools/gst-inspect.c: (print_plugin_features):
8869 A plugin feature does unfortunatly not use the
8872 2005-05-18 Wim Taymans <wim@fluendo.com>
8874 * gst/gstbuffer.c: (gst_buffer_is_span_fast), (gst_buffer_span):
8875 Port _span() functions to new subbuffers.
8877 2005-05-18 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8879 * gst/gstbin.c: (gst_bin_add_func):
8880 Fix clock settery in bins when adding kids after the clock has
8883 2005-05-18 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8885 * gst/elements/gstidentity.c: (gst_identity_class_init):
8886 Workaround until signals support GstMiniObject.
8888 2005-05-18 Jan Schmidt <thaytan@mad.scientist.com>
8891 Oops, fix a typo GST_TYPE_BUFFER -> GST_TYPE_SUBBUFFER.
8893 2005-05-18 Wim Taymans <wim@fluendo.com>
8895 * gst/base/Makefile.am:
8896 * gst/base/gstadapter.c: (gst_adapter_base_init),
8897 (gst_adapter_class_init), (gst_adapter_init),
8898 (gst_adapter_dispose), (gst_adapter_finalize), (gst_adapter_new),
8899 (gst_adapter_clear), (gst_adapter_push), (gst_adapter_peek),
8900 (gst_adapter_flush), (gst_adapter_available),
8901 (gst_adapter_available_fast):
8902 * gst/base/gstadapter.h:
8903 Ported and added adapter to the base classes.
8905 2005-05-17 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
8909 Make sure the class is reffed/unreffed once before threads can be
8910 used. Fixes #304551.
8912 2005-05-17 Wim Taymans <wim@fluendo.com>
8914 * gst/base/gstbasesink.c: (gst_basesink_finish_preroll),
8915 (gst_basesink_chain_unlocked), (gst_basesink_activate):
8916 * gst/gstminiobject.c: (gst_mini_object_get_type),
8917 (gst_mini_object_free):
8918 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query),
8919 (gst_pad_push), (gst_pad_push_event):
8920 * gst/gstqueue.c: (gst_queue_change_state):
8921 Don't queue buffers in basesink when we are flushing.
8922 Unref buffer when flushing in basesink.
8923 Flush queue when going to READY
8924 Unref buffer when _push() returns an error.
8925 Don't free MiniObject instance when refcount is incremented
8926 in _finalize() so that we can recover objects.
8928 2005-05-17 Thomas Vander Stichele <thomas at apestaart dot org>
8930 * docs/manual/advanced-schedulers.xml:
8931 * docs/manual/appendix-checklist.xml:
8932 * docs/pwg/advanced-clock.xml:
8933 * docs/pwg/advanced-interfaces.xml:
8934 * docs/pwg/advanced-request.xml:
8935 * docs/pwg/advanced-types.xml:
8936 * docs/pwg/intro-preface.xml:
8937 * examples/plugins/example.c: (gst_example_get_type),
8938 (gst_example_class_init), (gst_example_chain),
8939 (gst_example_set_property), (gst_example_get_property),
8940 (gst_example_change_state), (plugin_init):
8941 * examples/plugins/example.h:
8944 2005-05-17 Wim Taymans <wim@fluendo.com>
8946 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps),
8947 (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_push):
8948 * gst/gstqueue.c: (gst_queue_change_state):
8949 Clear queue when going to READY.
8950 Remove IN_SETCAPS flag too.
8952 2005-05-17 Tim-Philipp Müller <tim at centricular dot net>
8954 * gst/base/gstbasesrc.c: (gst_basesrc_change_state):
8955 Remove implicit cast from gboolean to GstElementStateReturn;
8956 make sure we still return failure in paused => ready case if
8957 the parent class fails to change state and our own stop
8960 2005-05-17 Wim Taymans <wim@fluendo.com>
8962 * tools/gst-launch.c: (event_loop):
8963 Message was unreffed too soon.
8965 2005-05-16 Andy Wingo <wingo@pobox.com>
8967 * gst/gstbin.c (sink_iterator_filter): Err... um...
8969 * check/gst/gstbin.c (test_ghost_pads): New test for the
8970 ghosting-if-elements-not-in-same-bin behavior.
8972 2005-05-16 David Schleef <ds@schleef.org>
8974 * gst/gstminiobject.c: Use g_atomic_int_get() instead of
8975 accessing refcount directly.
8977 2005-05-15 David Schleef <ds@schleef.org>
8979 * check/Makefile.am: remove GstData checks
8980 * check/gst-libs/gdp.c: (START_TEST): fix for API changes
8981 * gst/Makefile.am: add miniobject, remove data
8982 * gst/gst.h: add miniobject, remove data
8983 * gst/gstdata.c: remove
8984 * gst/gstdata.h: remove
8985 * gst/gstdata_private.h: remove
8986 * gst/gsttypes.h: remove GstEvent and GstMessage
8987 * gst/gstelement.c: (gst_element_post_message): fix for API changes
8988 * gst/gstmarshal.list: change BOXED -> OBJECT
8990 Implement GstMiniObject.
8991 * gst/gstminiobject.c:
8992 * gst/gstminiobject.h:
8994 Modify to be subclasses of GstMiniObject.
8995 * gst/gstbuffer.c: (_gst_buffer_initialize), (gst_buffer_get_type),
8996 (gst_buffer_class_init), (gst_buffer_finalize), (_gst_buffer_copy),
8997 (gst_buffer_init), (gst_buffer_new), (gst_buffer_new_and_alloc),
8998 (gst_subbuffer_get_type), (gst_subbuffer_init),
8999 (gst_buffer_create_sub), (gst_buffer_is_span_fast),
9002 * gst/gstevent.c: (_gst_event_initialize), (gst_event_get_type),
9003 (gst_event_class_init), (gst_event_init), (gst_event_finalize),
9004 (_gst_event_copy), (gst_event_new):
9006 * gst/gstmessage.c: (_gst_message_initialize),
9007 (gst_message_get_type), (gst_message_class_init),
9008 (gst_message_init), (gst_message_finalize), (_gst_message_copy),
9009 (gst_message_new), (gst_message_new_error),
9010 (gst_message_new_warning), (gst_message_new_tag),
9011 (gst_message_new_state_changed), (gst_message_new_application):
9013 * gst/gstprobe.c: (gst_probe_perform),
9014 (gst_probe_dispatcher_dispatch):
9016 * gst/gstquery.c: (_gst_query_initialize), (gst_query_get_type),
9017 (gst_query_class_init), (gst_query_finalize), (gst_query_init),
9018 (_gst_query_copy), (gst_query_new):
9020 Update elements for GstData -> GstMiniObject changes
9022 * gst/gstqueue.c: (gst_queue_finalize), (gst_queue_locked_flush),
9023 (gst_queue_chain), (gst_queue_loop):
9024 * gst/elements/gstbufferstore.c:
9025 (gst_buffer_store_add_buffer_func),
9026 (gst_buffer_store_cleared_func), (gst_buffer_store_get_buffer):
9027 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
9028 (gst_fakesink_render):
9029 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
9030 * gst/elements/gstfilesrc.c: (gst_mmap_buffer_get_type),
9031 (gst_mmap_buffer_class_init), (gst_mmap_buffer_init),
9032 (gst_mmap_buffer_finalize), (gst_filesrc_map_region),
9033 (gst_filesrc_create_read):
9034 * gst/elements/gstidentity.c: (gst_identity_class_init):
9035 * gst/elements/gsttypefindelement.c:
9036 (gst_type_find_element_src_event), (free_entry_buffers),
9037 (gst_type_find_element_handle_event):
9038 * libs/gst/dataprotocol/dataprotocol.c:
9039 (gst_dp_header_from_buffer):
9040 * libs/gst/dataprotocol/dataprotocol.h:
9041 * libs/gst/dataprotocol/dp-private.h:
9043 2005-05-15 David Schleef <ds@schleef.org>
9045 * gst/elements/gstelements.c: Don't include headers that were
9048 2005-05-15 David Schleef <ds@schleef.org>
9050 * gst/elements/Makefile.am: Remove some elements that don't
9051 need to be in the core (or even exist at all).
9052 * gst/elements/gstaggregator.c:
9053 * gst/elements/gstaggregator.h:
9054 * gst/elements/gstmd5sink.c:
9055 * gst/elements/gstmd5sink.h:
9056 * gst/elements/gstmultifilesrc.c:
9057 * gst/elements/gstmultifilesrc.h:
9058 * gst/elements/gstpipefilter.c:
9059 * gst/elements/gstpipefilter.h:
9060 * gst/elements/gstshaper.c:
9061 * gst/elements/gstshaper.h:
9062 * gst/elements/gststatistics.c:
9063 * gst/elements/gststatistics.h:
9064 * po/POTFILES.in: Remove above files.
9066 2005-05-14 Andy Wingo <wingo@pobox.com>
9068 * gst/gstbin.c (gst_bin_iterate_sinks): Use sink_iterator_filter
9069 so as to get the refs right.
9070 (sink_iterator_filter): New function, wraps bin_element_is_sink,
9071 unreffing objects that don't pass the filter.
9073 * gst/gstpipeline.c (gst_pipeline_init): Drop ref on bus after
9074 gst_element_set_bus.
9075 (gst_pipeline_dispose): Set the bus on the pipeline to NULL. In
9076 normal cases, this will destroy the bus.
9078 * gst/gstutils.c (prepare_link_maybe_ghosting): Drop ref on root
9081 * gst/gstbin.c (gst_bin_change_state): Fix state changes if a bin
9084 2005-05-13 Andy Wingo <wingo@pobox.com>
9086 * gst/gstutils.c (gst_element_link_pads): Instead of calling
9087 gst_pad_link, call pad_link_maybe_ghosting,
9088 (pad_link_maybe_ghosting): Links pads, making sure that the
9089 elements being linked are in the same bin.
9090 (find_common_root, object_has_ancestor, ghost_up, remove_pad):
9091 Helpers for pad_link_maybe_ghosting.
9093 2005-05-13 Tim-Philipp Müller <tim at centricular dot net>
9096 Require GLib >= 2.4.0 (for the g_atomic_* funcs)
9098 2005-05-13 Tim-Philipp Müller <tim at centricular dot net>
9100 * docs/design/part-element-source.txt:
9103 2005-05-12 Wim Taymans <wim@fluendo.com>
9105 * gst/base/gstbasesink.c: (gst_basesink_init),
9106 (gst_basesink_activate):
9107 * gst/base/gstbasesrc.c: (gst_basesrc_unlock),
9108 (gst_basesrc_is_seekable):
9109 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
9110 (bin_element_is_sink), (gst_bin_change_state):
9111 * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
9113 Identify sinks by their flag to avoid overly complicated
9115 Do state changes even for elements not reachable from the
9117 BaseSink is a sink now :)
9118 Some more debugging info in the basesrc.
9121 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
9123 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_query):
9124 Implement _query on a bin, similar to _send_event.
9126 2005-05-12 Tim-Philipp Müller <tim at centricular dot net>
9128 * gst/base/gstbasesrc.c: (gst_basesrc_do_seek):
9129 Discont event offset format should be GST_FORMAT_BYTES,
9130 not GST_FORMAT_TIME.
9132 2005-05-12 Wim Taymans <wim@fluendo.com>
9134 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_get_state):
9135 Same fix as Ronald's but without the signal.
9137 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
9139 * gst/gstutils.c: (gst_element_query_position):
9140 No, an element is not a pad.
9142 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
9144 * gst/gstbin.c: (gst_bin_add_func), (cb_parent_unset),
9145 (gst_bin_get_state):
9146 If a child is removed from a bin while we remove the child from
9147 the bin and while we're retrieving its state, signal this to the
9148 get_state function so we abort the wait (instead of waiting for
9149 a timeout) and can immediately re-iterate over all other elements.
9151 2005-05-12 Wim Taymans <wim@fluendo.com>
9153 * gst/base/Makefile.am:
9154 * gst/base/gstbasesrc.c: (gst_basesrc_is_seekable),
9155 (gst_basesrc_start):
9156 * gst/base/gstbasesrc.h:
9157 * gst/base/gstpushsrc.c: (gst_pushsrc_get_type),
9158 (gst_pushsrc_base_init), (gst_pushsrc_class_init),
9159 (gst_pushsrc_init), (gst_pushsrc_create):
9160 * gst/base/gstpushsrc.h:
9161 Added is_seekable to BaseSrc
9162 Added simple PushSrc.
9164 2005-05-11 Wim Taymans <wim@fluendo.com>
9166 * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
9167 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
9168 (gst_element_link_pads), (gst_element_query_position),
9169 (gst_element_query_convert), (intersect_caps_func),
9170 (gst_pad_query_position), (gst_pad_query_convert):
9171 Fix refcounting in utils function.
9172 No point in trying to activate a pad when it's added, it could
9173 be added from the state change function and then we deadlock, the
9174 element has to decide what to do.
9176 2005-05-10 Andy Wingo <wingo@pobox.com>
9178 * gst/elements/gstfakesink.c (gst_fakesink_render): Er, emit with
9179 *all* the arguments.
9181 * gst/base/gstbasetransform.c (gst_base_transform_event): Grab the
9182 stream lock if it's a FLUSH_DONE; normal flushes don't get the
9183 lock (according to the docs -- if this is wrong change the docs).
9185 * gst/gstpipeline.c (gst_pipeline_change_state): Set the bus to
9186 flush messages in the NULL state.
9188 * gst/gstbus.c (gst_bus_post): If a bus is flushing, unref the
9189 message immediately and return.
9190 (gst_bus_set_flushing): New function. If a bus is flushing, it
9191 flushes out any queued messages and immediately unrefs new
9192 messages. This is so when an element goes to NULL, all of the
9193 unhandled messages coming from it can be freed, and their
9194 references to the element dropped. In other words: message source
9195 ref considered harmful :P
9197 * gst/gstbin.c (gst_bin_change_state): Unref peer element when
9198 we're finished with it.
9200 * gst/gstmessage.c (gst_message_new_state_changed):
9202 2005-05-10 Wim Taymans <wim@fluendo.com>
9204 * gst/gstvalue.c: (gst_value_compare_flags),
9205 (gst_value_serialize_flags), (gst_value_deserialize_flags),
9206 (_gst_value_initialize):
9207 Added flags serialize/deserialize/compare code.
9209 2005-05-09 Andy Wingo <wingo@pobox.com>
9211 * gst/base/gstbasetransform.c (gst_base_transform_proxy_getcaps):
9212 Intersect the peer's caps with our caps.
9214 2005-05-09 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
9216 * gst/base/gsttypefindhelper.c: (helper_find_peek):
9217 * gst/elements/gsttypefindelement.c: (find_peek):
9218 Handle negative offsets better. Fixes decodebin.
9220 2005-05-09 Wim Taymans <wim@fluendo.com>
9222 * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps),
9223 (gst_base_transform_event):
9224 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query):
9225 Implement accept_caps.
9226 Fix silly lock/unlock mismatch in base class.
9228 2005-05-09 Wim Taymans <wim@fluendo.com>
9230 * docs/design/draft-push-pull.txt:
9231 * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_query):
9232 * gst/elements/gstfilesink.c: (gst_filesink_init),
9233 (gst_filesink_query):
9234 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
9235 (gst_type_find_handle_src_query), (find_element_get_length):
9236 * gst/gstelement.c: (gst_element_seek), (gst_element_query):
9240 * gst/gstpad.c: (gst_real_pad_init), (gst_pad_get_query_types),
9241 (gst_real_pad_get_caps_unlocked),
9242 (gst_pad_get_internal_links_default), (gst_pad_get_internal_links),
9243 (gst_pad_event_default_dispatch), (gst_pad_event_default),
9244 (gst_pad_dispatcher), (gst_pad_query), (gst_pad_query_default),
9245 (gst_real_pad_dispose), (gst_real_pad_finalize),
9246 (gst_pad_load_and_link), (gst_pad_save_thyself),
9247 (gst_ghost_pad_save_thyself), (handle_pad_block), (gst_pad_push),
9248 (gst_pad_check_pull_range), (gst_pad_pull_range),
9249 (gst_pad_template_get_type), (gst_pad_template_class_init),
9250 (gst_pad_template_init), (gst_pad_template_dispose),
9251 (name_is_valid), (gst_static_pad_template_get),
9252 (gst_pad_template_new), (gst_static_pad_template_get_caps),
9253 (gst_pad_template_get_caps), (gst_pad_set_element_private),
9254 (gst_pad_get_element_private), (gst_pad_start_task),
9255 (gst_pad_pause_task), (gst_pad_stop_task),
9256 (gst_ghost_pad_get_type), (gst_ghost_pad_class_init),
9257 (gst_ghost_pad_init), (gst_ghost_pad_dispose),
9258 (gst_ghost_pad_set_property), (gst_ghost_pad_get_property),
9259 (gst_ghost_pad_new):
9261 * gst/gstquery.c: (_gst_query_initialize), (gst_query_new),
9262 (gst_query_new_position), (gst_query_set_position),
9263 (gst_query_parse_position), (gst_query_new_convert),
9264 (gst_query_set_convert), (gst_query_parse_convert):
9266 * gst/gstqueryutils.c:
9267 * gst/gstqueryutils.h:
9268 * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
9269 (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
9270 (gst_queue_handle_src_query):
9271 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
9272 (gst_element_query_position), (gst_element_query_convert),
9273 (intersect_caps_func), (gst_pad_query_position),
9274 (gst_pad_query_convert):
9276 * tools/gst-inspect.c: (print_pad_info):
9277 * tools/gst-xmlinspect.c: (print_element_info):
9278 Remove old query functions. Ported old code.
9279 Added position/convert helper functions to gstutils.
9280 Reordered gstpad.c code, grouping relevant things.
9281 Remove gst_message_new(), always need to speficy a specific
9285 2005-05-09 Andy Wingo <wingo@pobox.com>
9287 * gst/gstiterator.h: Add some includes.
9289 * gst/gstqueryutils.h: Include more headers.
9292 * gst/gstpad.c (gst_pad_query_position): New routine, replaces
9293 some uses of gst_pad_query.
9295 * gst/gstqueryutils.c: Build fixes. Make parse functions ignore
9296 NULL out parameters.
9297 (gst_query_new_position): New proc, allocates a new position
9300 * gst/Makefile.am (libgstreamer_@GST_MAJORMINOR@_la_SOURCES): Add
9301 gstqueryutils.c to the build.
9303 * gst/gststructure.c (gst_structure_set_valist): Implement with
9304 the generic G_VALUE_COLLECT.
9306 2005-05-08 Edward Hervey <bilboed@bilboed.com>
9308 * gst/Makefile.am: (gst_headers):
9309 Added gstqueryutils.h to the list of headers to install, that was
9310 a 'nachty' move wingo :)
9312 2005-05-06 Andy Wingo <wingo@pobox.com>
9315 * gst/gstquery.c (_gst_query_initialize): Extend GstQuery from
9316 GstData, init a memchunk.
9317 (standard_definitions): Add a few query types, deprecate a few.
9318 (gst_query_get_type): New proc.
9319 (_gst_query_copy, _gst_query_free, gst_query_new): GstData
9321 (gst_query_new_application, gst_query_get_structure): New public
9324 * docs/design/draft-query.txt: Removed LINKS from the query types,
9325 because all the rest can be dispatched to other pads -- seemed
9326 ugly to have a query that couldn't be dispatched. internal_links
9327 is fine as a pad method.
9329 * gst/gstpad.h: Add query2 as a pad method, add the new functions
9330 in gstpad.c, but maintain binary compatibility for the moment.
9331 Will fix before 0.9 is out.
9333 * gst/gstqueryutils.c:
9334 * gst/gstqueryutils.h: New files, implement 3 methods for each
9335 query type: parse_query, parse_response, and set. Probably need an
9338 * gst/gst.h: Add gstquery.h and gstqueryutils.h to the list.
9340 * gst/elements/gstfilesink.c (gst_filesink_query2):
9341 * gst/base/gstbasesrc.c (gst_basesrc_query2): Replace old query,
9342 query_types, and formats methods.
9344 * gst/gstpad.c (gst_pad_query2, gst_pad_query2_default)
9345 (gst_pad_set_query2_function): New functions.
9346 (gst_real_pad_init): Set query2_default as the default query2
9347 function. Basically just dispatches to internally linked pads.
9351 * gst/gstdata_private.h (_GST_DATA_INIT): Set data->refcount to 1
9352 without using the atomic operations. Only one thread can possibly
9353 be accessing the data at this point. Changed so as to avoid
9354 gst_atomic operations.
9356 2005-05-06 Wim Taymans <wim@fluendo.com>
9358 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push):
9359 Also set caps if we use the fallback buffer alloc.
9361 2005-05-06 Tim-Philipp Müller <tim at centricular dot net>
9363 * docs/gst/Makefile.am:
9364 * docs/gst/gstreamer-docs.sgml:
9365 * docs/gst/gstreamer-sections.txt:
9366 * docs/gst/tmpl/gstatomic.sgml:
9367 * docs/gst/tmpl/gstmemchunk.sgml:
9368 * testsuite/elements/struct_i386.h:
9369 * win32/GStreamer.vcproj:
9371 Purge GstAtomic stuff from docs and win32 makefiles as well
9373 2005-05-06 Wim Taymans <wim@fluendo.com>
9375 * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps):
9376 * gst/elements/gstcapsfilter.c: (gst_capsfilter_getcaps):
9377 * gst/gstpad.c: (gst_pad_peer_get_caps):
9378 * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
9379 (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
9380 (gst_queue_src_activate), (gst_queue_change_state):
9382 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
9383 (intersect_caps_func):
9384 Fix gst_pad_peer_get_caps(), make it return NULL if no peer.
9385 Always take QUEUE_LOCK after STREAM_LOCK or we might deadlock.
9386 Some fixes for the peer_get_caps() change.
9388 2005-05-06 Wim Taymans <wim@fluendo.com>
9390 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
9391 (gst_basesink_handle_buffer), (gst_basesink_chain_unlocked),
9392 (gst_basesink_activate):
9393 Actually do something with error codes returned from the push
9396 2005-05-06 Wim Taymans <wim@fluendo.com>
9398 * docs/design/part-element-sink.txt:
9399 * docs/design/part-element-source.txt:
9400 * gst/base/gstbasesink.c: (gst_basesink_class_init),
9401 (gst_basesink_event), (gst_basesink_activate):
9402 * gst/base/gstbasesink.h:
9403 * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_unlock),
9404 (gst_basesrc_activate):
9405 * gst/base/gstbasesrc.h:
9406 * gst/gstelement.c: (gst_element_pads_activate):
9407 Some more documentation.
9408 Fixed scheduling decision in _pads_activate().
9410 2005-05-05 Andy Wingo <wingo@pobox.com>
9412 * check/pipelines/simple_launch_lines.c (test_2_elements): "Fix"
9415 2005-05-05 Wim Taymans <wim@fluendo.com>
9417 * gst/base/Makefile.am:
9418 * gst/base/gstbasesink.h:
9419 * gst/base/gstbasesrc.c: (gst_basesrc_init),
9420 (gst_basesrc_set_dataflow_funcs), (gst_basesrc_query):
9421 * gst/base/gstcollectpads.c: (gst_collectpads_get_type),
9422 (gst_collectpads_class_init), (gst_collectpads_init),
9423 (gst_collectpads_finalize), (gst_collectpads_new),
9424 (gst_collectpads_set_function), (gst_collectpads_add_pad),
9425 (find_pad), (gst_collectpads_remove_pad),
9426 (gst_collectpads_is_active), (gst_collectpads_collect),
9427 (gst_collectpads_collect_range), (gst_collectpads_start),
9428 (gst_collectpads_stop), (gst_collectpads_peek),
9429 (gst_collectpads_pop), (gst_collectpads_available),
9430 (gst_collectpads_read), (gst_collectpads_flush),
9431 (gst_collectpads_chain):
9432 * gst/base/gstcollectpads.h:
9433 * gst/elements/Makefile.am:
9434 * gst/elements/gstelements.c:
9435 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
9436 (gst_fakesink_get_times), (gst_fakesink_event),
9437 (gst_fakesink_preroll), (gst_fakesink_render):
9438 * gst/elements/gstfilesink.c: (gst_filesink_class_init),
9439 (gst_filesink_init), (gst_filesink_set_location),
9440 (gst_filesink_open_file), (gst_filesink_close_file),
9441 (gst_filesink_pad_query), (gst_filesink_event),
9442 (gst_filesink_render), (gst_filesink_change_state):
9443 * gst/elements/gstfilesink.h:
9444 Added object to help in making collect pad based elements.
9446 Make event function in sink baseclass return gboolean.
9448 2005-05-05 Wim Taymans <wim@fluendo.com>
9450 * gst/gstbin.c: (gst_bin_send_event), (compare_name),
9451 (gst_bin_get_by_name):
9453 * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_class_init),
9454 (gst_clock_finalize):
9455 * gst/gstdata.c: (gst_data_replace):
9457 * gst/gstelement.c: (gst_element_request_pad),
9458 (gst_element_pads_activate):
9459 * gst/gstobject.c: (gst_object_init), (gst_object_ref),
9461 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
9462 (gst_pad_set_checkgetrange_function),
9463 (gst_pad_link_check_compatible_unlocked), (gst_pad_set_caps),
9464 (gst_pad_check_pull_range), (gst_pad_pull_range),
9465 (gst_static_pad_template_get_caps), (gst_pad_start_task),
9466 (gst_pad_pause_task), (gst_pad_stop_task):
9467 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
9468 (gst_element_request_pad), (gst_pad_proxy_getcaps):
9469 Fix name lookup in GstBin.
9470 Added _data_replace() function and _buffer_replace()
9471 Use finalize method to clean up clock.
9472 Fix refcounting on request pads.
9473 Fix pad schedule mode error.
9474 Some more object refcounting debug info,
9477 2005-05-04 Andy Wingo <wingo@pobox.com>
9479 * check/Makefile.am:
9480 * docs/gst/tmpl/gstatomic.sgml:
9481 * docs/gst/tmpl/gstplugin.sgml:
9482 * gst/base/gstbasesink.c: (gst_basesink_activate):
9483 * gst/base/gstbasesrc.c: (gst_basesrc_class_init),
9484 (gst_basesrc_init), (gst_basesrc_set_dataflow_funcs),
9485 (gst_basesrc_query), (gst_basesrc_set_property),
9486 (gst_basesrc_get_property), (gst_basesrc_check_get_range),
9487 (gst_basesrc_activate):
9488 * gst/base/gstbasesrc.h:
9489 * gst/base/gstbasetransform.c: (gst_base_transform_sink_activate),
9490 (gst_base_transform_src_activate):
9491 * gst/elements/gstelements.c:
9492 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
9493 (gst_fakesrc_set_property), (gst_fakesrc_get_property):
9494 * gst/elements/gsttee.c: (gst_tee_sink_activate):
9495 * gst/elements/gsttypefindelement.c: (find_element_get_length),
9496 (gst_type_find_element_checkgetrange),
9497 (gst_type_find_element_activate):
9498 * gst/gstbin.c: (gst_bin_save_thyself), (gst_bin_restore_thyself):
9499 * gst/gstcaps.c: (gst_caps_do_simplify), (gst_caps_save_thyself),
9500 (gst_caps_load_thyself):
9501 * gst/gstelement.c: (gst_element_pads_activate),
9502 (gst_element_save_thyself), (gst_element_restore_thyself):
9503 * gst/gstpad.c: (gst_pad_load_and_link), (gst_pad_save_thyself),
9504 (gst_ghost_pad_save_thyself), (gst_pad_check_pull_range):
9506 * gst/gstxml.c: (gst_xml_write), (gst_xml_parse_doc),
9507 (gst_xml_parse_file), (gst_xml_parse_memory),
9508 (gst_xml_get_element), (gst_xml_make_element):
9509 * gst/indexers/gstfileindex.c: (gst_file_index_load),
9510 (_file_index_id_save_xml), (gst_file_index_commit):
9511 * gst/registries/gstlibxmlregistry.c: (read_string), (read_uint),
9512 (read_enum), (load_pad_template), (load_feature), (load_plugin),
9514 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_caps),
9515 (gst_dp_packet_from_event), (gst_dp_caps_from_packet):
9516 * tools/gst-complete.c: (main):
9517 * tools/gst-compprep.c: (main):
9518 * tools/gst-inspect.c: (print_element_properties_info):
9519 * tools/gst-launch.c: (xmllaunch_parse_cmdline):
9520 * tools/gst-xmlinspect.c: (print_element_properties):
9523 2005-05-03 Thomas Vander Stichele <thomas at apestaart dot org>
9525 * gst/gstplugin.c: (gst_plugin_check_module),
9526 (gst_plugin_check_file), (gst_plugin_load_file):
9527 apply patch from #172526 to make register work on MacOSX
9529 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
9531 * docs/gst/tmpl/gstconfig.sgml:
9532 * gst/gstconfig.h.in:
9533 move documentation for some symbols. Add doc for GST_PTR_FORMAT
9534 * testsuite/debug/printf_extension.c: (main):
9535 Do not use GST_PTR_FORMAT on pointers to types with
9536 sizeof < sizeof(gpointer). Fixes test on 64-bit
9537 * testsuite/elements/property.h:
9538 use correct printf format
9540 2005-05-02 Wim Taymans <wim@fluendo.com>
9542 * docs/design/draft-push-pull.txt:
9543 * docs/design/draft-query.txt:
9544 * gst/base/gstbasesrc.c: (gst_basesrc_get_range_unlocked),
9545 (gst_basesrc_start):
9546 Added draft for new query API.
9547 Added draft for better selecting scheduling methods.
9548 Make basesrc ignore length if the subclass does not support
9551 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
9554 possible fixes for automake-1.5 - _LIBADD is reserved
9556 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
9558 * docs/faq/Makefile.am:
9559 * docs/manual/Makefile.am:
9561 * docs/pwg/Makefile.am:
9563 possible fixes for automake-1.5
9565 2005-04-28 Wim Taymans <wim@fluendo.com>
9567 * gst/base/gstbasesink.c: (gst_basesink_base_init),
9568 (gst_basesink_pad_getcaps), (gst_basesink_init),
9569 (gst_basesink_do_sync):
9570 * gst/gstclock.c: (gst_clock_entry_new):
9571 * gst/gstevent.c: (gst_event_discont_get_value):
9572 * gst/gstpipeline.c: (pipeline_bus_handler),
9573 (gst_pipeline_change_state):
9574 * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
9575 Better debugging of clocking info.
9576 Allow NULL values when getting discont values.
9578 2005-04-27 Wim Taymans <wim@fluendo.com>
9580 * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
9581 * check/gst/gstpad.c: (gst_pad_suite):
9582 Increase timeout for checks.
9584 2005-04-27 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
9586 * check/Makefile.am:
9587 fix the broken rule for cleanup. Apparently this rule is
9588 only needed on FC2, so maybe this warrants further autotool
9591 2005-04-26 Wim Taymans <wim@fluendo.com>
9593 * gst/gsttrashstack.h:
9594 Ooohh. a nasty one! After having a failed pop() from the stack,
9595 it's possible that the stack is empty. In that case, don't
9596 follow the NULL pointer.
9598 2005-04-25 Wim Taymans <wim@fluendo.com>
9600 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
9601 (gst_pad_set_checkgetrange_function),
9602 (gst_pad_link_check_compatible_unlocked), (gst_pad_link_prepare),
9603 (gst_pad_check_pull_range), (gst_pad_pull_range),
9604 (gst_static_pad_template_get_caps), (gst_pad_start_task),
9605 (gst_pad_pause_task), (gst_pad_stop_task):
9606 * gst/gstplugin.c: (gst_plugin_load):
9608 Remove gst_library_load as it does more harm than good with
9609 the new g_module flags.
9610 Revert bogus caps template check in pad linking, pad caps
9611 are important when linking not the template, which is more
9612 general than the current caps.
9614 2005-04-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
9616 * gst/autoplug/.cvsignore:
9617 * gst/autoplug/Makefile.am:
9618 * gst/autoplug/gstsearchfuncs.c:
9619 * gst/autoplug/gstsearchfuncs.h:
9620 * gst/autoplug/gstspider.c:
9621 * gst/autoplug/gstspider.h:
9622 * gst/autoplug/gstspideridentity.c:
9623 * gst/autoplug/gstspideridentity.h:
9624 * gst/autoplug/spidertest.c:
9627 2005-04-25 Wim Taymans <wim@fluendo.com>
9629 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
9630 (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
9631 (gst_pad_pull_range), (gst_static_pad_template_get_caps),
9632 (gst_pad_start_task), (gst_pad_pause_task), (gst_pad_stop_task):
9634 Added stubs for unimplemented functions.
9636 2005-04-24 David Schleef <ds@schleef.org>
9638 * gst/gstpad.h: Disable some unimplemented functions. Wim,
9641 2005-04-24 David Schleef <ds@schleef.org>
9643 Convert everything from GstAtomicInt to g_atomic_int_*, and
9648 * gst/gstatomic_impl.h:
9656 * gst/gstdata_private.h:
9663 * gst/gststructure.c:
9664 * gst/gststructure.h:
9665 * gst/gstutils.c: Add gst_atomic_int_set() compaitibility function.
9668 2005-04-24 David Schleef <ds@schleef.org>
9670 * check/gst/gstpad.c: (START_TEST): Oh yeah, it's always nice to
9671 make the regressions tests work. Remove some code that is no
9673 * gst/gstpad.c: (gst_pad_link_check_templates_compatible_unlocked):
9674 Disable warning for pads without templates.
9676 2005-04-24 David Schleef <ds@schleef.org>
9678 * gst/gstpad.c: Remove handling of filtered caps. Fix/merge
9679 functions that handle filtered links.
9680 * gst/gstpad.h: Remove 'appfilter' field and prototypes of
9682 * gst/gstutils.c: Fix/remove utility functions that handle
9685 * gst/gstvalue.c: Add serialization/deserialization of caps
9686 * gst/parse/grammar.y: Ignore filtered caps when linking. This
9687 requires fixing so that the filter caps notation creates
9688 a capsfilter element and sets the filter_caps property. I
9689 think everyone probably wants to keep the shorthand notation.
9690 * docs/gst/tmpl/gstelement.sgml: updates for API changes.
9691 * docs/gst/tmpl/gstpad.sgml:
9693 * gst/elements/gstelements.c: Register capsfilter element.
9694 * gst/Makefile.am: fix spacing
9695 * docs/random/ds/0.9-suggested-changes: random
9697 2005-04-23 David Schleef <ds@schleef.org>
9699 * gst/elements/Makefile.am:
9700 * gst/elements/gstcapsfilter.c: New element that acts like an
9701 identity, but filters caps. Will eventually replace filtered
9702 caps in pad linking.
9703 * gst/gstutils.c: (gst_element_create_all_pads): New function
9704 to create all the ALWAYS pads that are registered with an
9705 element class. This functionality should eventually be
9706 merged in with GstElement initialization.
9708 * testsuite/trigger/README: part of trigger test code that should
9709 have been checked in a long time ago.
9711 2005-04-23 David Schleef <ds@schleef.org>
9713 * gst/Makefile.am: Remove as-libtool stuff. It's likely not
9714 needed with new versions of libtool (nobody will confirm this),
9715 and hard to carry around.
9716 * gst/autoplug/Makefile.am:
9717 * gst/base/Makefile.am:
9718 * gst/elements/Makefile.am:
9719 * gst/indexers/Makefile.am:
9720 * gst/schedulers/Makefile.am:
9721 * libs/gst/bytestream/Makefile.am:
9722 * libs/gst/control/Makefile.am:
9723 * libs/gst/dataprotocol/Makefile.am:
9724 * libs/gst/getbits/Makefile.am:
9726 2005-04-21 Wim Taymans <wim@fluendo.com>
9728 * docs/design/draft-push-pull.txt:
9729 * docs/design/part-MT-refcounting.txt:
9730 * docs/design/part-TODO.txt:
9731 * docs/design/part-caps.txt:
9732 * docs/design/part-events.txt:
9733 * docs/design/part-gstbus.txt:
9734 * docs/design/part-gstpipeline.txt:
9735 * docs/design/part-messages.txt:
9736 * docs/design/part-push-pull.txt:
9737 * docs/design/part-query.txt:
9740 2005-04-21 Wim Taymans <wim@fluendo.com>
9742 * gst/gstmessage.c: (_gst_message_copy), (_gst_message_free),
9743 (gst_message_new), (gst_message_new_error),
9744 (gst_message_new_warning), (gst_message_new_tag),
9745 (gst_message_new_state_changed), (gst_message_new_application),
9746 (gst_message_get_structure):
9748 * gst/gststructure.c: (gst_structure_set_parent_refcount),
9749 (gst_structure_copy_conditional):
9750 Use parent refcount in GstMessage to ensure GstStructure
9752 Cleaned up headers a bit.
9755 2005-04-20 Wim Taymans <wim@fluendo.com>
9757 * gst/base/gstbasesink.c: (gst_basesink_base_init),
9758 (gst_basesink_pad_getcaps), (gst_basesink_init),
9759 (gst_basesink_chain_unlocked):
9760 * gst/base/gsttypefindhelper.c: (helper_find_suggest),
9761 (gst_type_find_helper):
9762 * gst/elements/gsttypefindelement.c:
9763 (gst_type_find_element_have_type), (gst_type_find_element_init),
9764 (stop_typefinding), (gst_type_find_element_handle_event),
9765 (find_suggest), (gst_type_find_element_chain),
9766 (gst_type_find_element_checkgetrange),
9767 (gst_type_find_element_getrange), (do_typefind),
9768 (gst_type_find_element_activate):
9769 * gst/gstbuffer.c: (_gst_buffer_sub_free),
9770 (gst_buffer_default_free), (gst_buffer_default_copy),
9771 (gst_buffer_set_caps):
9772 * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref),
9774 * gst/gstmessage.c: (gst_message_new),
9775 (gst_message_new_state_changed):
9776 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
9777 (gst_pad_set_checkgetrange_function),
9778 (gst_pad_link_prepare_filtered), (gst_pad_relink_filtered),
9779 (gst_pad_set_caps), (gst_pad_check_pull_range),
9780 (gst_pad_pull_range), (gst_static_pad_template_get_caps):
9782 * gst/gsttypefind.c: (gst_type_find_register):
9783 Make gst_caps_replace() work like other _replace() functions.
9784 Use _caps_replace() where possible.
9785 Make sure _message_new() initialises its field.
9786 Add gst_static_pad_template_get_caps()
9789 2005-04-18 Andy Wingo <wingo@pobox.com>
9791 * gst/gstelement.c (gst_element_pads_activate): Check pull_range
9792 on the peer, not the pad. I think that was a typo. Pass an extra
9793 arg to see if random access is possible. Activate the pads as
9794 PULL_RANGE if possible.
9796 * gst/elements/gstfakesrc.c: s/ARG_/PROP_/.
9798 * gst/base/gstbasesrc.c (gst_basesrc_set_property)
9799 (gst_basesrc_get_property): BLOCKSIZE is a ULONG. Rename ARG_...
9802 2005-04-14 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
9804 * docs/faq/using.xml:
9805 Add note on gstreamer-properties (#154996).
9807 2005-04-13 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
9809 * docs/random/bbb/optional-properties:
9810 Some analysis on optional properties.
9812 2005-04-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
9814 * docs/gst/tmpl/gstelementfactory.sgml:
9816 * gst/gstelementfactory.c: (gst_element_factory_init),
9817 (gst_element_factory_cleanup), (gst_element_register),
9818 (__gst_element_factory_add_static_pad_template),
9819 (gst_element_factory_get_static_pad_templates),
9820 (gst_element_factory_can_src_caps),
9821 (gst_element_factory_can_sink_caps):
9822 * gst/registries/Makefile.am:
9823 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_get_type),
9824 (gst_xml_registry_class_init), (gst_xml_registry_init),
9825 (gst_xml_registry_new), (gst_xml_registry_set_property),
9826 (gst_xml_registry_get_property), (get_time), (make_dir),
9827 (gst_xml_registry_get_perms_func),
9828 (plugin_times_older_than_recurse), (plugin_times_older_than),
9829 (gst_xml_registry_open_func), (gst_xml_registry_load_func),
9830 (gst_xml_registry_save_func), (gst_xml_registry_close_func),
9831 (add_to_char_array), (read_string), (read_uint), (read_enum),
9832 (load_pad_template), (load_feature), (load_plugin), (load_paths),
9833 (gst_xml_registry_load), (gst_xml_registry_load_plugin),
9834 (gst_xml_registry_save_caps), (gst_xml_registry_save_pad_template),
9835 (gst_xml_registry_save_feature), (gst_xml_registry_save_plugin),
9836 (gst_xml_registry_save), (gst_xml_registry_rebuild_recurse),
9837 (gst_xml_registry_rebuild):
9838 * gst/registries/gstlibxmlregistry.h:
9839 * tools/gst-compprep.c: (main):
9840 * tools/gst-inspect.c: (print_pad_templates_info):
9841 * tools/gst-xmlinspect.c: (print_element_info):
9842 Use libxml2 for registry parsing, use staticpadtemplates in
9843 elementfactories. Makes gst_init() +/- 10x faster.
9845 2005-04-12 Wim Taymans <wim@fluendo.com>
9847 * gst/base/Makefile.am:
9848 * gst/base/gstbasesink.c: (gst_basesink_base_init),
9849 (gst_basesink_pad_getcaps), (gst_basesink_init),
9850 (gst_basesink_event), (gst_basesink_change_state):
9851 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
9852 (gst_basesrc_init), (gst_basesrc_query),
9853 (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
9854 (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
9855 (gst_basesrc_check_get_range), (gst_basesrc_loop),
9856 (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
9857 (gst_basesrc_stop), (gst_basesrc_activate),
9858 (gst_basesrc_change_state):
9859 * gst/base/gsttypefindhelper.c: (helper_find_peek),
9860 (helper_find_suggest), (gst_type_find_helper):
9861 * gst/base/gsttypefindhelper.h:
9862 * gst/elements/Makefile.am:
9863 * gst/elements/gstelements.c:
9864 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
9865 (gst_fakesink_get_times), (gst_fakesink_event),
9866 (gst_fakesink_preroll), (gst_fakesink_render):
9867 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
9868 (gst_fakesrc_init), (gst_fakesrc_event_handler),
9869 (gst_fakesrc_get_property), (gst_fakesrc_create),
9870 (gst_fakesrc_start), (gst_fakesrc_stop):
9871 * gst/elements/gstfakesrc.h:
9872 * gst/elements/gstfilesrc.c: (gst_filesrc_class_init),
9873 (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
9874 (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
9875 (gst_filesrc_create_read), (gst_filesrc_create),
9876 (gst_filesrc_is_seekable), (gst_filesrc_get_size),
9877 (gst_filesrc_start):
9878 * gst/elements/gsttypefindelement.c:
9879 (gst_type_find_element_have_type), (gst_type_find_element_init),
9880 (start_typefinding), (stop_typefinding), (push_buffer_store),
9881 (gst_type_find_element_handle_event),
9882 (gst_type_find_element_chain),
9883 (gst_type_find_element_checkgetrange),
9884 (gst_type_find_element_getrange), (do_typefind),
9885 (gst_type_find_element_activate),
9886 (gst_type_find_element_change_state):
9887 * gst/elements/gsttypefindelement.h:
9888 * gst/gstpipeline.c: (pipeline_bus_handler):
9889 Added typefind helper.
9890 Small preroll fix in the base sink.
9891 Disable typefind code in basesrc.
9892 Crude port of typefindelement.
9896 2005-04-11 Wim Taymans <wim@fluendo.com>
9898 * check/gst/gstbus.c: (gstbus_suite):
9899 * check/gst/gstdata.c: (thread_ref), (gst_data_suite):
9901 Fix up the timeout so that the test does not fail.
9903 2005-04-06 Wim Taymans <wim@fluendo.com>
9906 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
9907 (gst_basesrc_init), (gst_basesrc_get_formats), (gst_basesrc_query),
9908 (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
9909 (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
9910 (gst_basesrc_check_get_range), (gst_basesrc_loop),
9911 (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
9912 (gst_basesrc_stop), (gst_basesrc_activate),
9913 (gst_basesrc_change_state), (basesrc_find_peek),
9914 (basesrc_find_suggest), (gst_basesrc_type_find):
9915 * gst/base/gstbasesrc.h:
9916 * gst/elements/gstfilesrc.c: (gst_filesrc_base_init),
9917 (gst_filesrc_class_init), (gst_filesrc_init),
9918 (gst_filesrc_finalize), (gst_filesrc_set_location),
9919 (gst_filesrc_set_property), (gst_filesrc_get_property),
9920 (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
9921 (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
9922 (gst_filesrc_create_read), (gst_filesrc_create),
9923 (gst_filesrc_get_size), (gst_filesrc_start), (gst_filesrc_stop):
9924 * gst/elements/gstfilesrc.h:
9925 * gst/gstelement.c: (gst_element_get_state_func),
9926 (gst_element_lost_state), (gst_element_pads_activate):
9927 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
9928 (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
9929 (gst_pad_pull_range):
9931 More work on the generic source base class, implement seeking,
9933 Make filesrc extend the base source class.
9934 Added gst_pad_set_checkgetrange_function to GstPad.
9936 2005-04-06 Andy Wingo <wingo@pobox.com>
9938 * pkgconfig/gstreamer-base.pc.in:
9939 * pkgconfig/gstreamer-base-uninstalled.pc.in: New files.
9941 * pkgconfig/Makefile.am:
9942 * configure.ac (AC_OUTPUT): Add gstreamer-base pkgconfig files.
9944 2005-04-04 Wim Taymans <wim@fluendo.com>
9946 * gst/base/Makefile.am:
9948 * gst/base/gstbasesink.c: (gst_basesink_base_init),
9949 (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
9950 (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
9951 (gst_basesink_do_sync), (gst_basesink_chain_unlocked):
9952 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
9953 (gst_basesrc_base_init), (gst_basesrc_class_init),
9954 (gst_basesrc_init), (gst_basesrc_get_formats),
9955 (gst_basesrc_get_query_types), (gst_basesrc_query),
9956 (gst_basesrc_get_event_mask), (gst_basesrc_event_handler),
9957 (gst_basesrc_set_property), (gst_basesrc_get_property),
9958 (gst_basesrc_get_range_unlocked), (gst_basesrc_get_range),
9959 (gst_basesrc_loop), (gst_basesrc_activate),
9960 (gst_basesrc_change_state):
9961 * gst/base/gstbasesrc.h:
9962 * gst/elements/gstfakesrc.c: (gst_fakesrc_base_init),
9963 (gst_fakesrc_class_init), (gst_fakesrc_init),
9964 (gst_fakesrc_event_handler), (gst_fakesrc_set_property),
9965 (gst_fakesrc_get_property), (gst_fakesrc_create):
9966 * gst/elements/gstfakesrc.h:
9967 * gst/elements/gstfilesrc.c: (gst_filesrc_getrange),
9968 (gst_filesrc_open_file), (gst_filesrc_loop),
9969 (gst_filesrc_activate), (filesrc_find_peek),
9970 (gst_filesrc_type_find):
9971 Made base source class, make fakesrc extend it.
9972 Add comments to basesink class.
9973 Some filesrc cleanup.
9975 2005-03-31 David Schleef <ds@schleef.org>
9977 * gst/gstplugin.c: (gst_plugin_check_file), (gst_plugin_load_file):
9978 Switch to using G_MODULE_BIND_LOCAL, which means plugins are now
9979 expected to link against libgstreamer.
9980 * gst/base/Makefile.am: link against libgstreamer
9981 * gst/elements/Makefile.am: same
9983 2005-03-31 Andy Wingo <wingo@pobox.com>
9985 * tests/instantiate/Makefile.am:
9986 * tests/instantiate/caps.c: Add test to test speed of caps copy
9989 * tests/memchunk/gmemchunktest.c (main): Use alloc only on the
9990 GMemChunk to be fair.
9992 * gst/gsttrashstack.h: Remove warning about using the fallback
9993 trash stack implementation, it's still faster than malloc.
9995 2005-03-30 Andy Wingo <wingo@pobox.com>
9997 * tests/complexity.c: Add a copyright.
9999 2005-03-31 Wim Taymans <wim@fluendo.com>
10001 * gst/base/gstbasetransform.c: (gst_base_transform_base_init),
10002 (gst_base_transform_class_init), (gst_base_transform_init),
10003 (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
10004 (gst_base_transform_get_property),
10005 (gst_base_transform_sink_activate),
10006 (gst_base_transform_src_activate),
10007 (gst_base_transform_change_state):
10008 * gst/base/gstbasetransform.h:
10009 * gst/elements/gstidentity.c: (gst_identity_class_init),
10010 (gst_identity_event), (gst_identity_check_perfect),
10011 (gst_identity_transform), (gst_identity_start),
10012 (gst_identity_stop):
10013 Added start/stop methods to transform base class so subclasses
10014 don't need to deal with state changes even.
10016 2005-03-31 Wim Taymans <wim@fluendo.com>
10018 * gst/gstevent.c: (gst_event_new_discontinuous_valist),
10019 (gst_event_new_discontinuous), (gst_event_discont_get_value):
10021 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
10022 (gst_pad_pull_range):
10023 Added rate to the discont event to prepare for variable speed
10024 and reverse playback.
10026 2005-03-29 David Schleef <ds@schleef.org>
10029 * testsuite/trigger/Makefile.am:
10030 * testsuite/trigger/trigger.c: A little example program to show
10031 how trigger-based elements can work.
10033 2005-03-29 Wim Taymans <wim@fluendo.com>
10035 * gst/base/Makefile.am:
10037 * gst/base/gstbasesink.c: (gst_basesink_get_type),
10038 (gst_basesink_base_init), (gst_basesink_class_init),
10039 (gst_basesink_pad_getcaps), (gst_basesink_init),
10040 (gst_basesink_activate), (gst_basesink_change_state):
10041 * gst/base/gstbasesink.h:
10042 * gst/base/gstbasetransform.c: (gst_base_transform_get_type),
10043 (gst_base_transform_base_init), (gst_base_transform_finalize),
10044 (gst_base_transform_class_init), (gst_base_transform_init),
10045 (gst_base_transform_proxy_getcaps), (gst_base_transform_setcaps),
10046 (gst_base_transform_event), (gst_base_transform_getrange),
10047 (gst_base_transform_chain), (gst_base_transform_handle_buffer),
10048 (gst_base_transform_set_property),
10049 (gst_base_transform_get_property),
10050 (gst_base_transform_sink_activate),
10051 (gst_base_transform_src_activate),
10052 (gst_base_transform_change_state):
10053 * gst/base/gstbasetransform.h:
10054 * gst/elements/gstidentity.c: (gst_identity_finalize),
10055 (gst_identity_class_init), (gst_identity_init),
10056 (gst_identity_event), (gst_identity_check_perfect),
10057 (gst_identity_transform), (gst_identity_set_property),
10058 (gst_identity_get_property), (gst_identity_change_state):
10059 * gst/elements/gstidentity.h:
10060 * gst/gstelement.c: (gst_element_get_state_func),
10061 (gst_element_lost_state), (gst_element_pads_activate):
10062 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
10063 (gst_pad_check_pull_range), (gst_pad_pull_range):
10065 Simplify pad activation.
10066 Added function to check if pull_range can be performed.
10067 Error out when pulling inactive or flushing pads.
10068 Removed const from refcounted types as it does not make sense.
10069 Simplify pad templates in basesink
10070 Added base class for simple 1-to-1 transforms.
10071 Make identity subclass the base transform.
10073 2005-03-29 Andy Wingo <wingo@pobox.com>
10075 * docs/libs/gstreamer-libs-overrides.txt:
10076 * docs/gst/gstreamer-overrides.txt: Add these files to CVS. Now I
10077 really don't understand what's going on, but like whatever. I want
10080 * docs/gst/Makefile.am:
10081 * docs/libs/Makefile.am: Dist the overrides files.
10083 * check/Makefile.am (clean-local): Remove .libs directories.
10085 * gst/elements/Makefile.am (EXTRA_DIST): Add all the attic
10086 elements to EXTRA_DIST, so po/ files are happy.
10088 * po/POTFILES.in: Er, remove it here.
10090 * po/POTFILES: Remove gstspider.c.
10092 * configure.ac (AC_OUTPUT): Add missing testsuite makefiles.
10094 * docs/libs/gstreamer-libs-docs.sgml:
10095 * docs/libs/gstreamer-libs-sections.txt: Remove the section on
10098 * tests/complexity.c (main): Set the length of the preroll queue
10099 on the sinks to prevent a lockup.
10101 * libs/gst/dataprotocol/Makefile.am:
10102 * libs/gst/dataprotocol/dataprotocol-test.c: Remove test, it's
10103 the same as the one in check/gst-libs/gdp.c.
10105 * po/, docs/gst/: Commit automatic changes to docs and po files.
10107 * gst/elements/Makefile.am (libgstelements_la_LDFLAGS): Link to
10108 the versioned libgstbase.
10110 * check/Makefile.am: Depend on an unversioned gst-register, seems
10111 to make autoconf happier.
10113 * gst/base/Makefile.am: Make libgstbase a versioned lib.
10115 2005-03-28 Wim Taymans <wim@fluendo.com>
10118 * docs/design/part-gstelement.txt:
10119 * docs/design/part-negotiation.txt:
10120 * docs/design/part-preroll.txt:
10121 * docs/design/part-scheduling.txt:
10122 * docs/design/part-states.txt:
10124 * gst/base/Makefile.am:
10126 * gst/base/gstbasesink.c: (gst_basesink_get_template),
10127 (gst_basesink_base_init), (gst_basesink_class_init),
10128 (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
10129 (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
10130 (gst_basesink_set_pad_functions),
10131 (gst_basesink_set_all_pad_functions), (gst_basesink_set_clock),
10132 (gst_basesink_set_property), (gst_basesink_get_property),
10133 (gst_base_sink_get_template), (gst_base_sink_get_caps),
10134 (gst_base_sink_set_caps), (gst_base_sink_buffer_alloc),
10135 (gst_basesink_preroll_queue_push),
10136 (gst_basesink_preroll_queue_empty),
10137 (gst_basesink_preroll_queue_flush), (gst_basesink_finish_preroll),
10138 (gst_basesink_event), (gst_basesink_get_times),
10139 (gst_basesink_do_sync), (gst_basesink_handle_buffer),
10140 (gst_basesink_chain_unlocked), (gst_basesink_chain),
10141 (gst_basesink_loop), (gst_basesink_activate),
10142 (gst_basesink_change_state):
10143 * gst/base/gstbasesink.h:
10144 * gst/elements/Makefile.am:
10145 * gst/elements/gstfakesink.c: (gst_fakesink_base_init),
10146 (gst_fakesink_class_init), (gst_fakesink_init),
10147 (gst_fakesink_set_property), (gst_fakesink_get_property),
10148 (gst_fakesink_get_times), (gst_fakesink_event),
10149 (gst_fakesink_preroll), (gst_fakesink_render),
10150 (gst_fakesink_change_state):
10151 * gst/elements/gstfakesink.h:
10152 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
10153 (gst_bin_get_state), (gst_bin_change_state), (gst_bin_send_event):
10154 * gst/gstelement.c: (gst_element_add_pad),
10155 (gst_element_get_state_func), (gst_element_abort_state),
10156 (gst_element_commit_state), (gst_element_lost_state),
10157 (gst_element_set_state), (gst_element_pads_activate):
10158 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_event_default):
10159 * gst/gstpipeline.c: (gst_pipeline_send_event),
10160 (gst_pipeline_change_state):
10161 Added state change code.
10162 Added/updated docs.
10163 Added sink base class, make fakesink extend the base class.
10164 Small cleanups in GstPipeline.
10166 2005-03-26 David Schleef <ds@schleef.org>
10168 * gst/Makefile.am: remove gstcpu.[ch]. The gst_cpu functionality
10169 is broken and should be implemented in a different library.
10170 * gst/gst.c: (init_post): don't call _gst_cpu_initialize()
10171 * gst/gst.h: remove gstcpu.h
10172 * gst/gstcpu.c: remove
10173 * gst/gstcpu.h: remove
10174 * gst/Makefile.am.future: Remove this file. It's ancient.
10176 2005-03-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
10178 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
10179 (gst_bin_send_event):
10180 Add default event/set_manager handlers. The set_manager handler
10181 takes care that the manager is distributed over kids that were
10182 already in the bin before the manager was set. The event handler
10183 is a utility virtual function that sends the event over all sinks,
10184 so that gst_element_send_event (bin, event); has the expected
10186 * gst/gstpad.c: (gst_pad_event_default):
10187 Re-install default event handling for discontinuities, so that
10188 seeking works without requiring hacks in applications or extra
10190 * gst/gstpipeline.c: (gst_pipeline_class_init),
10191 (gst_pipeline_send_event):
10192 Half hack, half utility: set a pipeline to PAUSED for seek events,
10193 since that is the only way we can guarantee a/v sync. Means that
10194 you can do gst_element_seek (pipeline, method, pos); on a pipeline
10195 and it "just works".
10197 2005-03-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
10199 * gst/gstpipeline.c: (gst_pipeline_use_clock):
10200 Lock/unlock mismatch.
10202 2005-03-25 Thomas Vander Stichele <thomas at apestaart dot org>
10204 * docs/faq/gst-uninstalled:
10205 add gst-plugins-base
10206 * docs/gst/Makefile.am:
10207 don't error out until docs are fixed
10208 * docs/gst/gstreamer.types:
10211 2005-03-22 Wim Taymans <wim@fluendo.com>
10213 * check/Makefile.am:
10214 * check/gst/gstmessage.c: (START_TEST), (gst_data_suite), (main):
10215 * gst/gststructure.c: (gst_structure_set_valist),
10216 (gst_structure_copy_conditional):
10217 Activated more tests.
10218 Added message test.
10219 Added G_TYPE_POINTER to GstStructure.
10222 2005-03-22 Wim Taymans <wim@fluendo.com>
10224 * docs/design/part-TODO.txt:
10225 * docs/design/part-events.txt:
10226 * docs/design/part-gstbin.txt:
10227 * docs/design/part-gstbus.txt:
10228 * docs/design/part-gstpipeline.txt:
10229 * docs/design/part-messages.txt:
10231 * gst/gstmessage.c:
10234 2005-03-21 Wim Taymans <wim@fluendo.com>
10236 * gst/gstbus.c: (gst_bus_post):
10237 Fix copy-and-paste error.
10239 2005-03-21 Wim Taymans <wim@fluendo.com>
10241 * check/Makefile.am:
10243 * gst/elements/Makefile.am:
10244 * gst/elements/gstelements.c:
10245 * gst/elements/gstfakesink.c: (gst_fakesink_init),
10246 (gst_fakesink_event), (gst_fakesink_chain):
10247 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
10248 (gst_fakesrc_init), (gst_fakesrc_get_event_mask),
10249 (gst_fakesrc_event_handler), (gst_fakesrc_set_pad_functions),
10250 (gst_fakesrc_set_all_pad_functions), (gst_fakesrc_request_new_pad),
10251 (gst_fakesrc_set_property), (gst_fakesrc_get_property),
10252 (gst_fakesrc_get_range_unlocked), (gst_fakesrc_get_range),
10253 (gst_fakesrc_loop), (gst_fakesrc_activate),
10254 (gst_fakesrc_change_state):
10255 * gst/elements/gstfakesrc.h:
10256 * gst/elements/gstfilesrc.c: (gst_filesrc_init),
10257 (gst_filesrc_get_read), (gst_filesrc_getrange), (gst_filesrc_get),
10258 (gst_filesrc_open_file), (gst_filesrc_loop),
10259 (gst_filesrc_activate), (gst_filesrc_change_state),
10260 (filesrc_find_peek), (filesrc_find_suggest),
10261 (gst_filesrc_type_find):
10262 * gst/elements/gstidentity.c: (gst_identity_finalize),
10263 (gst_identity_class_init), (gst_identity_init),
10264 (gst_identity_proxy_getcaps), (identity_queue_push),
10265 (identity_queue_pop), (identity_queue_flush), (gst_identity_event),
10266 (gst_identity_getrange), (gst_identity_chain),
10267 (gst_identity_sink_loop), (gst_identity_src_loop),
10268 (gst_identity_handle_buffer), (gst_identity_set_dataflow_funcs),
10269 (gst_identity_set_property), (gst_identity_get_property),
10270 (gst_identity_change_state):
10271 * gst/elements/gstidentity.h:
10272 * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_init),
10273 (gst_tee_update_pad_functions), (gst_tee_request_new_pad),
10274 (gst_tee_set_property), (gst_tee_get_property), (gst_tee_do_push),
10275 (gst_tee_handle_buffer), (gst_tee_chain), (gst_tee_loop),
10276 (gst_tee_sink_activate):
10277 * gst/elements/gsttee.h:
10278 * gst/gst.c: (gst_register_core_elements), (init_post):
10280 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_bus),
10281 (gst_bin_set_scheduler), (gst_bin_add_func), (gst_bin_add),
10282 (gst_bin_remove_func), (gst_bin_remove), (gst_bin_get_state),
10283 (gst_bin_change_state):
10285 * gst/gstbus.c: (gst_bus_get_type), (gst_bus_class_init),
10286 (gst_bus_init), (gst_bus_dispose), (gst_bus_set_property),
10287 (gst_bus_get_property), (gst_bus_new), (gst_bus_post),
10288 (gst_bus_have_pending), (gst_bus_pop), (gst_bus_peek),
10289 (gst_bus_set_sync_handler), (gst_bus_create_watch),
10290 (bus_watch_callback), (bus_watch_destroy),
10291 (gst_bus_add_watch_full), (gst_bus_add_watch), (poll_handler),
10292 (poll_timeout), (gst_bus_poll):
10296 * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
10297 (gst_element_post_message), (gst_element_message_full),
10298 (gst_element_get_state_func), (gst_element_get_state),
10299 (gst_element_abort_state), (gst_element_commit_state),
10300 (gst_element_lost_state), (gst_element_set_state),
10301 (gst_element_pads_activate), (gst_element_change_state),
10302 (gst_element_dispose), (gst_element_set_manager_func),
10303 (gst_element_set_bus_func), (gst_element_set_scheduler_func),
10304 (gst_element_set_manager), (gst_element_get_manager),
10305 (gst_element_set_bus), (gst_element_get_bus),
10306 (gst_element_set_scheduler), (gst_element_get_scheduler):
10307 * gst/gstelement.h:
10308 * gst/gstevent.c: (gst_event_new_segment_seek),
10309 (gst_event_new_flush):
10311 * gst/gstmessage.c: (_gst_message_initialize), (_gst_message_copy),
10312 (_gst_message_free), (gst_message_get_type), (gst_message_new),
10313 (gst_message_new_eos), (gst_message_new_error),
10314 (gst_message_new_warning), (gst_message_new_tag),
10315 (gst_message_new_state_changed), (gst_message_new_application),
10316 (gst_message_get_structure), (gst_message_parse_tag),
10317 (gst_message_parse_state_changed), (gst_message_parse_error),
10318 (gst_message_parse_warning):
10319 * gst/gstmessage.h:
10320 * gst/gstpad.c: (gst_real_pad_class_init), (gst_real_pad_init),
10321 (gst_real_pad_set_property), (gst_pad_set_active),
10322 (gst_pad_is_active), (gst_pad_set_blocked_async),
10323 (gst_pad_set_blocked), (gst_pad_is_blocked),
10324 (gst_pad_set_activate_function), (gst_pad_set_loop_function),
10325 (gst_pad_set_getrange_function), (gst_pad_set_acceptcaps_function),
10326 (gst_pad_set_fixatecaps_function), (gst_pad_set_setcaps_function),
10327 (gst_pad_unlink), (gst_pad_link_prepare_filtered),
10328 (gst_pad_link_filtered), (gst_pad_relink_filtered),
10329 (gst_real_pad_get_caps_unlocked), (gst_pad_get_caps),
10330 (gst_pad_peer_get_caps), (gst_pad_fixate_caps),
10331 (gst_pad_accept_caps), (gst_pad_peer_accept_caps),
10332 (gst_pad_set_caps), (gst_pad_configure_sink),
10333 (gst_pad_configure_src), (gst_pad_get_negotiated_caps),
10334 (gst_pad_get_filter_caps), (gst_pad_alloc_buffer),
10335 (gst_real_pad_dispose), (gst_real_pad_finalize),
10336 (handle_pad_block), (gst_pad_push), (gst_pad_pull_range),
10337 (gst_pad_event_default_dispatch), (gst_pad_event_default),
10338 (gst_pad_push_event), (gst_pad_send_event), (gst_pad_get_formats):
10340 * gst/gstpipeline.c: (gst_pipeline_init), (is_eos),
10341 (pipeline_bus_handler), (gst_pipeline_change_state),
10342 (gst_pipeline_get_scheduler), (gst_pipeline_get_bus):
10343 * gst/gstpipeline.h:
10345 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
10346 (gst_queue_finalize), (gst_queue_getcaps), (gst_queue_link_sink),
10347 (gst_queue_link_src), (gst_queue_bufferalloc),
10348 (gst_queue_locked_flush), (gst_queue_handle_sink_event),
10349 (gst_queue_is_empty), (gst_queue_is_filled), (gst_queue_chain),
10350 (gst_queue_loop), (gst_queue_handle_src_event),
10351 (gst_queue_handle_src_query), (gst_queue_src_activate),
10352 (gst_queue_change_state):
10354 * gst/gstscheduler.c: (gst_scheduler_init),
10355 (gst_scheduler_dispose), (gst_scheduler_create_task),
10356 (gst_scheduler_factory_create):
10357 * gst/gstscheduler.h:
10358 * gst/gststructure.c: (gst_structure_get_type),
10359 (gst_structure_copy_conditional):
10360 * gst/gststructure.h:
10361 * gst/gsttaginterface.h:
10362 * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
10363 (gst_task_init), (gst_task_dispose), (gst_task_create),
10364 (gst_task_get_state), (gst_task_start), (gst_task_stop),
10370 * gst/schedulers/Makefile.am:
10371 * gst/schedulers/cothreads_compat.h:
10372 * gst/schedulers/entryscheduler.c:
10373 * gst/schedulers/faircothreads.c:
10374 * gst/schedulers/faircothreads.h:
10375 * gst/schedulers/fairscheduler.c:
10376 * gst/schedulers/gstbasicscheduler.c:
10377 * gst/schedulers/gstoptimalscheduler.c:
10378 * gst/schedulers/gthread-cothreads.h:
10379 * gst/schedulers/threadscheduler.c:
10380 (gst_thread_scheduler_task_get_type),
10381 (gst_thread_scheduler_task_class_init),
10382 (gst_thread_scheduler_task_init),
10383 (gst_thread_scheduler_task_start),
10384 (gst_thread_scheduler_task_stop),
10385 (gst_thread_scheduler_task_pause), (gst_thread_scheduler_get_type),
10386 (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
10387 (gst_thread_scheduler_init), (gst_thread_scheduler_create_task),
10388 (gst_thread_scheduler_setup), (gst_thread_scheduler_reset),
10390 * libs/gst/Makefile.am:
10391 * libs/gst/bytestream/bytestream.c: (gst_bytestream_get_next_buf):
10392 * libs/gst/bytestream/filepad.c: (gst_file_pad_init),
10393 (gst_file_pad_parent_set):
10394 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
10395 (gst_dp_event_from_packet):
10396 * tests/complexity.c: (main):
10397 * tests/mass_elements.c: (main):
10398 * testsuite/states/locked.c: (message_received), (main):
10399 * testsuite/states/parent.c: (main):
10400 * tools/gst-inspect.c: (print_element_flag_info),
10401 (print_implementation_info), (print_pad_info):
10402 * tools/gst-launch.c: (check_intr), (play_handler), (event_loop),
10404 * tools/gst-md5sum.c: (event_loop), (main):
10405 * tools/gst-typefind.c: (main):
10406 * tools/gst-xmlinspect.c: (print_element_info):
10408 Added GstBus for mainloop integration.
10409 Added GstMessage for sending notifications on the bus.
10410 Added GstTask as an abstraction for pipeline entry points.
10412 Removed Schedulers.
10413 Simplified GstQueue for multithreaded core.
10414 Made _link threadsafe, removed old capsnego.
10415 Added STREAM_LOCK and PREROLL_LOCK in GstPad.
10416 Added pad blocking functions.
10417 Reworked scheduling functions in GstPad to prepare for
10418 scheduling updates soon.
10419 Moved events out of data stream.
10420 Simplified GstEvent types.
10421 Added return values to push/pull.
10422 Removed clocking from GstElement.
10423 Added prototypes for state change function for next merge.
10424 Removed iterate from bins and state change management.
10425 Fixed some elements, disabled others for now.
10426 Fixed -inspect and -launch.
10427 Added check for GstBus.
10429 2005-03-10 Wim Taymans <wim@fluendo.com>
10431 * docs/design/part-MT-refcounting.txt:
10432 * docs/design/part-clocks.txt:
10433 * docs/design/part-gstelement.txt:
10434 * docs/design/part-gstobject.txt:
10435 * docs/design/part-standards.txt:
10436 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
10437 (gst_bin_remove_func), (gst_bin_remove):
10441 * testsuite/clock/clock1.c: (main):
10442 * testsuite/clock/clock2.c: (gst_clock_debug), (element_wait),
10444 * testsuite/dlopen/loadgst.c: (do_test):
10445 * testsuite/refcounting/bin.c: (add_remove_test1),
10446 (add_remove_test2), (main):
10447 * testsuite/refcounting/element.c: (main):
10448 * testsuite/refcounting/element_pad.c: (main):
10449 * testsuite/refcounting/pad.c: (main):
10450 * tools/gst-launch.c: (sigint_handler_sighandler):
10451 * tools/gst-typefind.c: (main):
10453 Added doc about clock.
10454 removed gst_bin_iterate_recurse_up(), marked methods
10456 Fix more testsuites.
10458 2005-03-09 Wim Taymans <wim@fluendo.com>
10460 * gst/gstpad.c: (gst_pad_get_direction),
10461 (_gst_pad_default_fixate_foreach), (gst_pad_collectv),
10462 (gst_pad_collect_valist):
10463 * testsuite/bins/interface.c: (main):
10464 * testsuite/caps/audioscale.c: (test_caps):
10465 * testsuite/caps/caps.c: (test1), (test2), (test3):
10466 * testsuite/caps/deserialize.c: (main):
10467 * testsuite/caps/enumcaps.c: (main):
10468 * testsuite/caps/filtercaps.c: (main):
10469 * testsuite/caps/intersect2.c: (main):
10470 * testsuite/caps/random.c: (main):
10471 * testsuite/caps/renegotiate.c: (my_fixate), (main):
10472 * testsuite/caps/sets.c: (check_caps):
10473 * testsuite/caps/simplify.c: (check_caps), (main):
10474 * testsuite/caps/subtract.c: (check_caps):
10475 Fix _pad_get_direction wrt ghostpads.
10476 Fix caps testsuite.
10478 2005-03-09 Wim Taymans <wim@fluendo.com>
10480 * check/Makefile.am:
10481 * check/gst/gstbin.c: (START_TEST), (gst_bin_suite), (main):
10482 * check/gst/gstsystemclock.c: (START_TEST), (gst_clock_debug),
10483 (ok_callback), (error_callback), (gst_systemclock_suite), (main):
10484 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_index_func),
10485 (gst_bin_set_clock_func), (gst_bin_get_clock_func),
10486 (gst_bin_add_func), (gst_bin_add), (gst_bin_remove_func),
10487 (gst_bin_remove), (gst_bin_iterate_recurse_up),
10488 (bin_element_is_sink), (gst_bin_iterate_sinks),
10489 (gst_bin_iterate_all_by_interface):
10491 * gst/gstelement.c: (gst_element_init), (gst_element_error_full),
10492 (gst_element_change_state), (gst_element_dispose),
10493 (gst_element_finalize), (gst_element_set_loop_function):
10494 * gst/gstelement.h:
10495 * gst/gstiterator.c: (find_custom_fold_func):
10496 * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
10497 (gst_pad_collectv), (gst_pad_collect_valist),
10498 (gst_pad_template_new):
10499 * gst/gstpipeline.c: (gst_pipeline_class_init),
10500 (gst_pipeline_dispose), (gst_pipeline_set_property),
10501 (gst_pipeline_get_property), (gst_pipeline_get_clock_func),
10502 (gst_pipeline_get_clock), (gst_pipeline_use_clock),
10503 (gst_pipeline_set_clock), (gst_pipeline_auto_clock):
10505 * gst/schedulers/entryscheduler.c:
10506 * gst/schedulers/gstbasicscheduler.c:
10507 (gst_basic_scheduler_cothreaded_chain),
10508 (gst_basic_scheduler_chain_add_element):
10509 * testsuite/bins/interface.c: (main):
10511 Added GstSystemClock test.
10512 Implemented clock distribution code in GstBin.
10513 Implemented iterate sinks method for future use.
10514 Rearranged gstelement.h
10515 Fix GstIterator comparison bug.
10516 Moved some code to GstPipeline, mostly clocking related.
10518 2005-03-09 Wim Taymans <wim@fluendo.com>
10521 * gst/gst_private.h:
10522 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
10523 (gst_bin_remove_func), (gst_bin_remove),
10524 (gst_bin_get_by_name_recurse_up):
10525 * gst/gstclock.c: (gst_clock_id_ref), (gst_clock_id_unref),
10526 (gst_clock_id_compare_func), (gst_clock_id_wait),
10527 (gst_clock_id_wait_async), (gst_clock_init),
10528 (gst_clock_adjust_unlocked), (gst_clock_get_time):
10529 * gst/gstelement.h:
10530 * gst/gstinfo.c: (_gst_debug_init):
10532 * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
10533 (gst_pad_collectv), (gst_pad_collect_valist), (gst_pad_query):
10535 Bump version number, we're now 0.9.0
10536 Add future debugging category.
10537 Fix NULL _unref() in _get_by_name_recurse_up
10538 Rearrange gstpad.h.
10541 2005-03-08 Wim Taymans <wim@fluendo.com>
10543 * gst/elements/gstaggregator.c: (gst_aggregator_class_init):
10544 * gst/elements/gstfakesink.c: (gst_fakesink_class_init):
10545 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
10546 * gst/elements/gstfdsink.c: (gst_fdsink_class_init):
10547 * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init):
10548 * gst/elements/gstfilesink.c: (gst_filesink_class_init):
10549 * gst/elements/gstfilesrc.c: (gst_filesrc_class_init):
10550 * gst/elements/gstidentity.c: (gst_identity_class_init):
10551 * gst/elements/gstmd5sink.c: (gst_md5sink_class_init):
10552 * gst/elements/gstmultifilesrc.c: (gst_multifilesrc_class_init):
10553 * gst/elements/gstshaper.c: (gst_shaper_class_init):
10554 * gst/elements/gststatistics.c: (gst_statistics_class_init):
10555 * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_getcaps),
10557 * gst/gstelement.c: (gst_element_class_init),
10558 (gst_element_base_class_init), (gst_element_init),
10559 (gst_element_get_random_pad), (gst_element_wait_state_change),
10560 (gst_element_change_state), (gst_element_dispose),
10561 (gst_element_finalize), (gst_element_set_loop_function):
10562 * gst/gstelement.h:
10563 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_link_src):
10564 * gst/gstthread.c: (gst_thread_class_init),
10565 (gst_thread_release_children_locks), (gst_thread_change_state):
10566 * gst/schedulers/gstbasicscheduler.c:
10567 (gst_basic_scheduler_loopfunc_wrapper),
10568 (gst_basic_scheduler_chain_wrapper),
10569 (gst_basic_scheduler_src_wrapper),
10570 (gst_basic_scheduler_remove_element):
10571 * gst/schedulers/gstoptimalscheduler.c: (schedule_group):
10572 Remove threadsafe properties. Fix elements because GObject
10573 complains when installing a property before declaring a
10574 set/get_property handler.
10575 Rearrange gstelement.h file, use STATE macros for state locks.
10576 Free mutexes in the finalize method instead of dispose.
10578 2005-03-08 Wim Taymans <wim@fluendo.com>
10580 * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
10581 * gst/gstthread.c: (gst_thread_release_children_locks):
10582 Added parentage check.
10583 Fix build og GstThread again.
10585 2005-03-08 Wim Taymans <wim@fluendo.com>
10587 * docs/design/part-MT-refcounting.txt:
10588 * docs/design/part-conventions.txt:
10589 * docs/design/part-gstobject.txt:
10590 * docs/design/part-relations.txt:
10591 * docs/design/part-standards.txt:
10592 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
10593 (gst_bin_remove_func), (gst_bin_remove), (gst_bin_iterate_recurse),
10594 (gst_bin_get_by_name), (gst_bin_get_by_interface),
10595 (gst_bin_iterate_all_by_interface):
10598 * gst/gstelement.c: (gst_element_class_init),
10599 (gst_element_change_state), (gst_element_set_loop_function):
10600 * gst/gstelement.h:
10601 * gst/gstiterator.c:
10602 * gst/gstobject.c: (gst_object_class_init), (gst_object_ref),
10603 (gst_object_unref), (gst_object_sink), (gst_object_dispose),
10604 (gst_object_dispatch_properties_changed), (gst_object_set_name),
10605 (gst_object_set_parent), (gst_object_unparent),
10606 (gst_object_check_uniqueness):
10608 Docs updates, clean up some headers.
10610 2005-03-07 Wim Taymans <wim@fluendo.com>
10612 * check/.cvsignore:
10613 * check/Makefile.am:
10614 * check/gst-libs/.cvsignore:
10615 * check/gst-libs/gdp.c: (START_TEST), (gst_object_suite), (main):
10616 * check/gst/.cvsignore:
10617 * check/gst/gstbus.c: (pound_bus_with_messages), (pull_messages),
10618 (START_TEST), (gstbus_suite), (main):
10619 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite), (main):
10620 * check/gst/gstdata.c: (START_TEST), (thread_ref), (thread_unref),
10621 (gst_data_suite), (main):
10622 * check/gst/gstiterator.c: (make_list_of_ints), (START_TEST),
10623 (add_fold_func), (gstiterator_suite), (main):
10624 * check/gst/gstobject.c: (gst_fake_object_get_type), (START_TEST),
10625 (thread_name_object), (thread_name_object_default),
10626 (gst_object_name_compare), (gst_object_suite), (main):
10627 * check/gst/gstpad.c: (START_TEST), (thread_link_unlink),
10628 (gst_pad_suite), (main):
10629 * check/gstcheck.c: (gst_check_log_message_func),
10630 (gst_check_log_critical_func), (gst_check_init):
10631 * check/gstcheck.h:
10632 * check/pipelines/simple_launch_lines.c: (setup_pipeline),
10633 (run_pipeline), (START_TEST), (simple_launch_lines_suite), (main):
10636 2005-03-07 Wim Taymans <wim@fluendo.com>
10638 * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
10639 (gst_list_iterator_next), (gst_list_iterator_resync),
10640 (gst_list_iterator_free), (gst_iterator_new_list),
10641 (gst_iterator_pop), (gst_iterator_next), (gst_iterator_resync),
10642 (gst_iterator_free), (gst_iterator_push), (filter_next),
10643 (filter_resync), (filter_uninit), (filter_free),
10644 (gst_iterator_filter), (gst_iterator_fold), (foreach_fold_func),
10645 (gst_iterator_foreach), (find_custom_fold_func),
10646 (gst_iterator_find_custom):
10647 * gst/gstiterator.h:
10648 Added missing files.
10650 2005-03-07 Wim Taymans <wim@fluendo.com>
10654 * docs/design/part-MT-refcounting.txt:
10655 * docs/design/part-conventions.txt:
10656 * docs/design/part-gstobject.txt:
10657 * docs/design/part-relations.txt:
10658 * examples/mixer/mixer.c: (main):
10659 * examples/thread/thread.c: (eos), (main):
10661 * gst/autoplug/gstsearchfuncs.c: (gst_autoplug_caps_intersect):
10662 * gst/autoplug/gstspider.c: (gst_spider_identity_plug),
10663 (gst_spider_plug_from_srcpad):
10664 * gst/autoplug/gstspideridentity.c: (gst_spider_identity_getcaps),
10665 (gst_spider_identity_change_state),
10666 (gst_spider_identity_sink_loop_type_finding):
10667 * gst/elements/gstfakesrc.c: (gst_fakesrc_loop):
10668 * gst/elements/gstidentity.c: (gst_identity_init):
10669 * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_getcaps),
10670 (gst_tee_link), (gst_tee_request_new_pad), (gst_tee_chain):
10671 * gst/elements/gsttypefindelement.c: (free_entry):
10674 * gst/gstbin.c: (gst_bin_init), (gst_bin_get_clock_func),
10675 (gst_bin_set_clock_func), (gst_bin_auto_clock),
10676 (gst_bin_set_index), (gst_bin_set_element_sched),
10677 (gst_bin_unset_element_sched), (gst_bin_add_func), (gst_bin_add),
10678 (gst_bin_remove_func), (gst_bin_remove), (iterate_child),
10679 (gst_bin_iterate_elements), (iterate_child_recurse),
10680 (gst_bin_iterate_recurse), (gst_bin_dispose), (compare_name),
10681 (gst_bin_get_by_name), (gst_bin_get_by_name_recurse_up),
10682 (compare_interface), (gst_bin_get_by_interface),
10683 (gst_bin_iterate_all_by_interface), (gst_bin_iterate_func):
10685 * gst/gstbuffer.c: (gst_buffer_get_type), (_gst_buffer_sub_free),
10686 (gst_buffer_default_free), (gst_buffer_default_copy),
10687 (gst_buffer_new), (gst_buffer_get_caps), (gst_buffer_set_caps),
10688 (gst_buffer_create_sub):
10690 * gst/gstcaps.c: (gst_caps_get_type), (gst_caps_new_empty),
10691 (_gst_caps_free), (gst_caps_make_writable), (gst_caps_ref),
10692 (gst_caps_unref), (gst_static_caps_get),
10693 (gst_caps_remove_and_get_structure), (gst_caps_append),
10694 (gst_caps_append_structure), (gst_caps_remove_structure),
10695 (gst_caps_copy_nth), (gst_caps_set_simple),
10696 (gst_caps_set_simple_valist), (gst_caps_is_fixed_foreach),
10697 (gst_structure_is_equal_foreach), (gst_caps_is_subset),
10698 (gst_caps_structure_intersect_field), (gst_caps_intersect),
10699 (gst_caps_structure_subtract_field), (gst_caps_subtract),
10700 (gst_caps_normalize_foreach), (gst_caps_compare_structures),
10701 (gst_caps_structure_figure_out_union),
10702 (gst_caps_switch_structures), (gst_caps_do_simplify),
10703 (gst_caps_replace), (gst_caps_from_string),
10704 (gst_caps_copy_conditional):
10706 * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_ref),
10707 (_gst_clock_id_free), (gst_clock_id_unref),
10708 (gst_clock_id_compare_func), (gst_clock_id_wait),
10709 (gst_clock_id_wait_async), (gst_clock_class_init),
10710 (gst_clock_init), (gst_clock_dispose), (gst_clock_adjust_unlocked),
10711 (gst_clock_get_time), (gst_clock_set_time_adjust),
10712 (gst_clock_set_property), (gst_clock_get_property):
10715 * gst/gstcpu.c: (_gst_cpu_initialize_i386), (gst_cpu_get_flags):
10716 * gst/gstdata.c: (gst_data_is_writable), (gst_data_copy_on_write):
10718 * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
10719 (gst_element_requires_clock), (gst_element_provides_clock),
10720 (gst_element_set_clock), (gst_element_clock_wait),
10721 (gst_element_wait), (gst_element_set_time_delay),
10722 (gst_element_is_indexable), (gst_element_add_pad),
10723 (gst_element_add_ghost_pad), (gst_element_remove_pad),
10724 (pad_compare_name), (gst_element_get_static_pad),
10725 (gst_element_request_pad), (gst_element_get_request_pad),
10726 (gst_element_get_pad), (iterate_pad), (gst_element_iterate_pads),
10727 (gst_element_class_get_pad_template_list),
10728 (gst_element_class_get_pad_template), (gst_element_error_func),
10729 (gst_element_get_random_pad), (gst_element_get_event_masks),
10730 (gst_element_send_event), (gst_element_seek),
10731 (gst_element_get_query_types), (gst_element_query),
10732 (gst_element_get_formats), (gst_element_convert),
10733 (gst_element_is_locked_state), (gst_element_set_locked_state),
10734 (gst_element_sync_state_with_parent), (gst_element_change_state),
10735 (gst_element_finalize), (gst_element_yield),
10736 (gst_element_interrupt), (gst_element_set_scheduler),
10737 (gst_element_get_scheduler), (gst_element_set_loop_function):
10738 * gst/gstelement.h:
10740 * gst/gstformat.c: (_gst_format_initialize), (gst_format_register),
10741 (gst_format_get_by_nick), (gst_format_get_details),
10742 (gst_format_iterate_definitions):
10744 * gst/gstindex.c: (gst_index_gtype_resolver):
10747 * gst/gstmemchunk.c: (gst_mem_chunk_alloc), (gst_mem_chunk_alloc0),
10748 (gst_mem_chunk_free):
10749 * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
10750 (gst_object_ref), (gst_object_unref), (gst_object_sink),
10751 (gst_object_replace), (gst_object_dispose), (gst_object_finalize),
10752 (gst_object_dispatch_properties_changed),
10753 (gst_object_set_name_default), (gst_object_set_name),
10754 (gst_object_get_name), (gst_object_set_name_prefix),
10755 (gst_object_get_name_prefix), (gst_object_set_parent),
10756 (gst_object_get_parent), (gst_object_unparent),
10757 (gst_object_check_uniqueness), (gst_object_save_thyself),
10758 (gst_object_restore_thyself), (gst_object_real_restore_thyself),
10759 (gst_object_set_property), (gst_object_get_property),
10760 (gst_object_get_path_string):
10762 * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
10763 (gst_real_pad_init), (gst_real_pad_get_property),
10764 (gst_pad_custom_new), (gst_pad_get_direction),
10765 (gst_pad_set_active), (gst_pad_is_active),
10766 (gst_pad_set_event_function), (gst_pad_is_linked),
10767 (gst_pad_link_free), (gst_pad_link_intersect),
10768 (gst_pad_link_fixate), (gst_pad_set_caps),
10769 (gst_pad_try_set_caps_nonfixed), (gst_pad_set_pad_template),
10770 (gst_pad_get_real_parent), (gst_pad_add_ghost_pad),
10771 (gst_pad_remove_ghost_pad), (_gst_pad_default_fixate_foreach),
10772 (gst_pad_link_unnegotiate), (gst_pad_proxy_fixate),
10773 (gst_pad_get_caps), (gst_pad_peer_get_caps),
10774 (gst_pad_get_pad_template_caps), (gst_pad_get_peer),
10775 (gst_pad_realize), (gst_pad_get_allowed_caps),
10776 (gst_real_pad_dispose), (gst_real_pad_finalize),
10777 (gst_pad_collectv), (gst_pad_collect_valist),
10778 (gst_pad_template_dispose), (gst_pad_template_new),
10779 (gst_pad_get_internal_links):
10781 * gst/gstpipeline.c: (gst_pipeline_dispose),
10782 (gst_pipeline_change_state):
10783 * gst/gstpipeline.h:
10785 * gst/gstpluginfeature.c: (gst_plugin_feature_get_name),
10786 (gst_plugin_feature_set_rank), (gst_plugin_feature_get_rank):
10787 * gst/gstpluginfeature.h:
10788 * gst/gstprobe.c: (gst_probe_dispatcher_dispatch):
10789 * gst/gstquery.c: (_gst_query_type_initialize),
10790 (gst_query_type_register), (gst_query_type_get_by_nick),
10791 (gst_query_type_get_details), (gst_query_type_iterate_definitions):
10793 * gst/gstqueue.c: (gst_queue_link_sink), (gst_queue_link_src):
10794 * gst/gstscheduler.c: (gst_scheduler_add_element),
10795 (gst_scheduler_factory_create):
10796 * gst/gststructure.c: (gst_structure_set_parent_refcount),
10797 (gst_structure_free), (gst_structure_set_name),
10798 (gst_structure_id_set_value), (gst_structure_set_value),
10799 (gst_structure_set_valist), (gst_structure_remove_field),
10800 (gst_structure_remove_fields),
10801 (gst_structure_remove_fields_valist),
10802 (gst_structure_remove_all_fields), (gst_structure_foreach),
10803 (gst_structure_map_in_place),
10804 (gst_caps_structure_fixate_field_nearest_int),
10805 (gst_caps_structure_fixate_field_nearest_double):
10806 * gst/gststructure.h:
10807 * gst/gstsystemclock.c: (gst_system_clock_class_init),
10808 (gst_system_clock_init), (gst_system_clock_dispose),
10809 (gst_system_clock_async_thread),
10810 (gst_system_clock_id_wait_unlocked), (gst_system_clock_id_wait),
10811 (gst_system_clock_id_wait_async), (gst_system_clock_id_unschedule):
10812 * gst/gstsystemclock.h:
10813 * gst/gsttag.c: (gst_tag_list_add_value_internal),
10814 (gst_tag_list_copy_foreach), (structure_foreach_wrapper):
10815 * gst/gsttaginterface.c:
10816 * gst/gstthread.c: (gst_thread_dispose),
10817 (gst_thread_release_children_locks), (gst_thread_change_state),
10818 (gst_thread_main_loop):
10819 * gst/gsttrashstack.h:
10820 * gst/gsttypefind.c: (gst_type_find_factory_dispose):
10822 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
10823 (gst_element_request_pad), (gst_element_get_pad_from_template),
10824 (gst_element_request_compatible_pad),
10825 (gst_element_get_compatible_pad_filtered),
10826 (gst_element_get_compatible_pad), (gst_element_state_get_name),
10827 (gst_element_link_pads_filtered), (gst_element_link_filtered),
10828 (gst_element_link_many), (gst_element_link),
10829 (gst_element_link_pads), (gst_element_unlink_pads),
10830 (gst_element_unlink_many), (gst_element_unlink),
10831 (gst_pad_can_link_filtered), (gst_pad_can_link),
10832 (gst_pad_use_fixed_caps), (gst_pad_get_fixed_caps_func),
10833 (gst_object_default_error), (gst_bin_add_many),
10834 (gst_bin_remove_many), (gst_element_populate_std_props),
10835 (gst_element_class_install_std_props), (gst_buffer_merge),
10836 (gst_buffer_stamp), (intersect_caps_func), (gst_pad_proxy_getcaps),
10837 (link_fold_func), (gst_pad_proxy_setcaps):
10839 * gst/gstvalue.c: (gst_value_deserialize_string):
10840 * gst/parse/grammar.y:
10841 * gst/schedulers/gstbasicscheduler.c:
10842 (gst_basic_scheduler_cothreaded_chain),
10843 (gst_basic_scheduler_chain_recursive_add),
10844 (gst_basic_scheduler_pad_link):
10845 * gst/schedulers/gstoptimalscheduler.c:
10846 (get_group_schedule_function),
10847 (gst_opt_scheduler_state_transition),
10848 (gst_opt_scheduler_add_element), (element_get_reachables_func):
10849 * libs/gst/bytestream/bytestream.c:
10850 * libs/gst/dataprotocol/dataprotocol.c:
10851 (gst_dp_header_from_buffer):
10854 * tests/threadstate/threadstate2.c: (eos):
10855 * tools/gst-compprep.c: (main):
10856 * tools/gst-inspect.c: (print_field), (print_element_flag_info),
10857 (print_pad_info), (print_children_info):
10858 * tools/gst-launch.c: (idle_func), (main):
10859 * tools/gst-md5sum.c: (idle_func), (main):
10860 * tools/gst-xmlinspect.c: (print_element_info):
10861 First THREADED backport attempt, focusing on adding locks and
10862 making sure the API is threadsafe. Needs more work. More docs
10865 2005-02-24 Andy Wingo <wingo@pobox.com>
10867 * tests/bench-complexity.scm:
10868 * tests/complexity.gnuplot: New files, good for running complexity
10871 * tests/Makefile.am:
10872 * tests/complexity.c: New test, sets up N elements, at each level
10873 teeing into M streams per element. Eeeenteresting.
10875 * tests/mass_elements.gnuplot: gnuplot file for the mass_elements
10876 benchmark. Run as gnuplot mass_elements.gnuplot > foo.ps, after
10877 running bench-mass_elements.scm.
10879 * tests/bench-mass_elements.scm: New script, runs mass_elements
10880 for various numbers of identities, outputting the results to a
10881 file. Requires guile 1.6. Just for testing.
10883 2005-02-23 Thomas Vander Stichele <thomas at apestaart dot org>
10885 * gst/schedulers/fairscheduler.c:
10886 compile with debug disabled
10888 2005-02-22 Thomas Vander Stichele <thomas at apestaart dot org>
10891 hunting season on 0.9 is now OPEN