1 2008-09-03 Tim-Philipp Müller <tim.muller at collabora co uk>
4 Fix Since: markers for new geo tags.
6 2008-09-02 Stefan Kost <ensonic@users.sf.net>
9 Fix actual tag name define after renaming from altitude to elevation.
11 2008-09-01 Wim Taymans <wim.taymans@collabora.co.uk>
13 * gst/gstpad.c: (add_unref_pad_to_list),
14 (gst_pad_get_internal_links_default):
15 Add fallback when calling the deprecated function on an element that
16 implements the new internal_link handler.
18 2008-09-01 Stefan Kost <ensonic@users.sf.net>
20 * docs/gst/gstreamer-sections.txt:
23 Add new tags for geo location and clarify purpose of existing location
26 2008-09-01 Wim Taymans <wim.taymans@collabora.co.uk>
28 Patch by: Olivier Crete <tester at tester dot ca>
30 * gst/gstpad.c: (gst_pad_iterate_internal_links_default),
31 (gst_pad_event_default_dispatch), (gst_pad_dispatcher):
32 Use thread-safe internal links iterator. Fixes #549504.
34 2008-09-01 Wim Taymans <wim.taymans@collabora.co.uk>
36 Based on patch by: Olivier Crete <tester at tester dot ca>
38 * docs/gst/gstreamer-sections.txt:
39 * win32/common/libgstreamer.def:
40 * gst/gstpad.c: (gst_pad_init),
41 (gst_pad_set_iterate_internal_links_function),
42 (int_link_iter_data_free), (iterate_pad),
43 (gst_pad_iterate_internal_links_default),
44 (gst_pad_iterate_internal_links), (gst_pad_get_internal_links):
46 Add threadsafe replacement functions for getting internal links of an
47 element. Deprecate the old internal links functions.
48 API:GstPad::gst_pad_set_iterate_internal_links_function()
49 API:GstPad::GstPadIterIntLinkFunction
50 API:GstPad::gst_pad_iterate_internal_links()
51 API:GstPad::gst_pad_iterate_internal_links_default()
53 * gst/gstghostpad.c: (gst_proxy_pad_do_iterate_internal_links),
55 Implement threadsafe internal links.
57 * tests/check/elements/tee.c: (GST_START_TEST), (tee_suite):
58 Unit test for internal links on tee. See #549504.
60 2008-08-30 Edward Hervey <edward.hervey@collabora.co.uk>
62 * tests/check/Makefile.am:
63 libs/transform1 test requires libs/test_transform.c
65 2008-08-30 Edward Hervey <edward.hervey@collabora.co.uk>
67 * gst/gstpad.c: (gst_pad_get_internal_links_default):
68 Die evil deadlock, die !
70 2008-08-30 Edward Hervey <edward.hervey@collabora.co.uk>
72 * gst/gstutils.c: (gst_element_get_compatible_pad):
73 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
74 * tests/check/gst/gstpad.c: (name_is_valid), (GST_START_TEST):
75 Fix all leaks due to the bug in gst_pad_template_new() by which it does
76 not steal the refcount of the given caps as stated.
78 REVERT THIS COMMIT ONCE FIXED !
79 REVERT THIS COMMIT ONCE FIXED !
80 REVERT THIS COMMIT ONCE FIXED !
81 REVERT THIS COMMIT ONCE FIXED !
82 REVERT THIS COMMIT ONCE FIXED !
83 REVERT THIS COMMIT ONCE FIXED !
85 2008-08-29 Wim Taymans <wim.taymans@collabora.co.uk>
89 After 3 years it's about time to revise the documentation of the
92 2008-08-29 Wim Taymans <wim.taymans@collabora.co.uk>
94 * gst/gstpad.c: (gst_pad_get_internal_links_default):
95 Make the internal links function less thread-unsafe and add some
98 2008-08-29 Tim-Philipp Müller <tim.muller at collabora co uk>
101 Include gstinfo.h even if GST_DISABLE_GST_DEBUG is defined. Fixes
102 build with --disable-gst-debug.
104 2008-08-28 David Schleef <ds@schleef.org>
106 * gst/gstpadtemplate.c: Revert last change, since it breaks
107 a few plugins, ffmpeg, alaw, and mulaw. Code is correct,
108 but shouldn't be enabled until we've released fixed versions
109 of -good and -ffmpeg.
111 2008-08-28 Stefan Kost <ensonic@users.sf.net>
114 Put the gst_object_get_name() back in.
116 2008-08-28 Stefan Kost <ensonic@users.sf.net>
118 * gst/gstpadtemplate.c:
119 The old behaviour was that gst_pad_template_new() takes ownership of
120 the caps. As we now call g_object_new() which calls g_object_set() and
121 which copies the caps, we have to unref them to not leak them. Fixes
124 2008-08-28 Stefan Kost <ensonic@users.sf.net>
127 Don't segfault on input like "tel:+1-123-555-1234".
129 2008-08-27 Stefan Kost <ensonic@users.sf.net>
132 Due to popular request also include ObjectType in
133 gst_object_get_path_string(). Makes gst-launch -v bit more useful.
135 2008-08-26 David Schleef <ds@schleef.org>
137 * gst/gstutils.c: Remove check in gst_pad_query_convert() that
138 src_val must be positive, because that's not a requirement.
139 This causes problems with converting negative granulepos
141 * gst/gstquery.c: Same, gst_query_new_convert().
143 2008-08-25 Wim Taymans <wim.taymans@collabora.co.uk>
145 * gst/gstclock.c: (gst_clock_add_observation):
146 Add some more debugging to the clock slaving code.
148 * win32/common/libgstbase.def:
149 Add new basetransform method.
151 2008-08-25 Wim Taymans <wim.taymans@collabora.co.uk>
153 * gst/gstbin.c: (gst_bin_element_set_state):
154 Take the (recursive) state lock between getting the locked state of an
155 element and changing the element state. This allows the application to
156 lock an element's state and then change its state without races.
158 2008-08-25 Wim Taymans <wim.taymans@collabora.co.uk>
160 * gst/gstbin.c: (gst_bin_element_set_state):
161 When an element is in the locked state we still want to update the
162 base_time of the element.
164 2008-08-21 Wim Taymans <wim.taymans@collabora.co.uk>
166 * libs/gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
167 Use the result from gst_pad_set_caps() instead of assuming the element
168 always accepted the caps computed by the default negotiate function.
170 2008-08-20 Wim Taymans <wim.taymans@collabora.co.uk>
172 * docs/libs/gstreamer-libs-sections.txt:
173 * libs/gst/base/gstbasetransform.c:
174 (gst_base_transform_handle_buffer), (gst_base_transform_getrange),
175 (gst_base_transform_chain), (gst_base_transform_suggest),
176 (gst_base_transform_reconfigure):
177 * libs/gst/base/gstbasetransform.h:
178 Implement method for reconfiguring basetransform.
179 API: GstBaseTransform::gst_base_transform_reconfigure()
181 2008-08-20 Stefan Kost <ensonic@users.sf.net>
183 patch by: Murray Cumming <murrayc@murrayc.com>
186 Mention that this is just like gst_buffer_merge() but with extra
187 unreffing for C coders. Advise language bindings not to wrap it.
190 Also fix file comment.
192 2008-08-20 Stefan Kost <ensonic@users.sf.net>
194 reviewed by: Wim Taymans <wim.taymans@collabora.co.uk>
196 * plugins/elements/gstfakesink.c:
197 * plugins/elements/gstfakesrc.c:
198 Call super::event() when not handling it. Fixes #544855.
200 2008-08-19 Michael Smith <msmith@songbirdnest.com>
202 Patch by: Alessandro Decina <alessandro@nnva.org>
203 * plugins/elements/gstfilesrc.c:
204 Use 64 bit variants of stat functions on win32, to enable support
205 of large files there.
208 2008-08-19 Wim Taymans <wim.taymans@collabora.co.uk>
210 * libs/gst/base/gstbasesink.c: (gst_base_sink_render_object),
211 (gst_base_sink_event), (gst_base_sink_chain_unlocked),
212 (gst_base_sink_negotiate_pull), (gst_base_sink_pad_activate_pull),
213 (gst_base_sink_get_position), (gst_base_sink_change_state):
214 Improve position reporting in the flushing state.
215 Also report the position when we are not yet prerolled but we
216 have a newsegment event. Fixes #543444.
217 Improve the pull-based negotiation code.
219 * tests/check/elements/fakesink.c: (GST_START_TEST),
221 Add testcase for position reporting while flushing in PAUSED and
224 * tests/check/generic/sinks.c: (GST_START_TEST):
225 Update unit-test, we can now query the position as soon as we receive a
228 2008-08-19 Wim Taymans <wim.taymans@collabora.co.uk>
230 Based on patch by: Jason Zhao <e3423c at motorola dot com>
232 * libs/gst/base/gstbasesink.c: (gst_base_sink_render_object):
233 When the subclass event handler releases the PREROLL_LOCK, we could be
234 in the flushing state and we have to ignore the event. Fixes #548394.
236 2008-08-18 Tim-Philipp Müller <tim.muller at collabora co uk>
238 * tools/gst-launch.1.in:
239 Document GST_REGISTRY_UPDATE environment variable.
241 2008-08-18 Wim Taymans <wim.taymans@collabora.co.uk>
243 * libs/gst/base/gstbasetransform.c:
244 (gst_base_transform_prepare_output_buffer):
245 If the element is configured in passthrough mode but the
246 prepare_output_buffer gave us a new output buffer, discard that buffer
247 and reuse the input buffer.
249 2008-08-15 Wim Taymans <wim.taymans@collabora.co.uk>
251 Patch by: Ole André Vadla Ravnås <ole.andre.ravnas at tandberg com>
253 * plugins/elements/gsttee.c: (gst_tee_finalize), (gst_tee_init),
254 (gst_tee_request_new_pad), (gst_tee_release_pad),
255 (gst_tee_find_buffer_alloc), (gst_tee_buffer_alloc):
256 * plugins/elements/gsttee.h:
257 Protect pad_alloc with a new lock so that we can be sure that nothing is
258 performing a pad_alloc when removing the pad. Fixes #547835.
260 * tests/check/elements/tee.c: (buffer_alloc_harness_setup),
261 (buffer_alloc_harness_teardown), (app_thread_func),
262 (final_sinkpad_bufferalloc), (GST_START_TEST), (tee_suite):
263 Added testcase for shutdown race.
265 2008-08-14 Thijs Vermeir <thijsvermeir@gmail.com>
270 2008-08-14 Wim Taymans <wim.taymans@collabora.co.uk>
272 * libs/gst/base/gstbasetransform.c:
273 (gst_base_transform_prepare_output_buffer),
274 (gst_base_transform_buffer_alloc):
275 Go over the buffer_alloc function again and make sure we always end up
278 Avoid doing pad alloc when we have a pending suggestion because we
279 cannot yet deal with changing caps in that case. Fixes #547728
281 2008-08-14 Stefan Kost <ensonic@users.sf.net>
283 patch by: Luc Pionchon <luc.pionchon@nokia.com>
285 * docs/manual/advanced-clocks.xml:
286 * docs/manual/clocks.png:
287 * docs/manual/diagrams-clocks.svg:
288 Add one more image showing different times together with a describing
289 paragraph. Fixes #547729.
291 2008-08-14 Wim Taymans <wim.taymans@collabora.co.uk>
293 * win32/common/libgstbase.def:
296 2008-08-14 Wim Taymans <wim.taymans@collabora.co.uk>
298 * libs/gst/base/gstbasetransform.c:
299 (gst_base_transform_transform_caps),
300 (gst_base_transform_prepare_output_buffer),
301 (gst_base_transform_buffer_alloc), (gst_base_transform_suggest):
302 Don't overwrite the outsize when calculating the expected size of a new
303 buffer because we still need it in case we cannot process the new
305 When converting the size of the new buffer to an upstream size, actually
306 use the expected size of the buffer, not some other random value.
307 Use an atomic int to signal that a new upstream caps suggestion is
309 When we can convert the current buffer to a new format, check if the
310 buffer size is of the expected size and allocate a new buffer of the
311 expected size when this is not the case. Fixes #546883.
313 * tests/check/libs/transform1.c: (GST_START_TEST):
314 remove ifdeffed code from the unit test.
316 2008-08-12 Stefan Kost <ensonic@users.sf.net>
318 * pkgconfig/gstreamer-uninstalled.pc.in:
319 * pkgconfig/gstreamer.pc.in:
320 Remove -lgstcontrol-0.10 which never worked anyway as the lib is
321 called gstcontroller-0.10.
323 2008-08-12 Stefan Kost <ensonic@users.sf.net>
325 * gst/gstchildproxy.h:
327 Remove double interface from doc-string.
329 2008-08-12 Stefan Kost <ensonic@users.sf.net>
331 * libs/gst/base/gstbasesrc.c:
332 * libs/gst/base/gstbasetransform.c:
333 Fix headings in docs and gtk-doc warnings.
335 2008-08-11 Michael Smith <msmith@songbirdnest.com>
337 * gst/gstregistrybinary.c:
338 Don't use g_mkstmp() on win32, it's unsafe if glib is using a different
342 2008-08-11 Edward Hervey <edward.hervey@collabora.co.uk>
344 * libs/gst/base/gstbasetransform.c:
345 (gst_base_transform_buffer_alloc):
346 Fix a "may be used unitialized" warning.
348 2008-08-11 Stefan Kost <ensonic@users.sf.net>
350 * docs/gst/gstreamer-sections.txt:
352 Document preset-iface vmethods.
354 2008-08-11 Stefan Kost <ensonic@users.sf.net>
356 * docs/manual/advanced-interfaces.xml:
357 Turn thoughts about HAL into a note-tag. Remove mentioning that is
358 only used to discover devices.
360 2008-08-07 Tim-Philipp Müller <tim.muller at collabora co uk>
362 Patch by: Frederic Crozat <fcrozat@mandriva.org>
364 * gst/gst.c: (init_pre):
365 Make sure gettext returns translations in UTF-8 encoding rather
366 than in the current locale encoding (#546822).
368 2008-08-07 Wim Taymans <wim.taymans@collabora.co.uk>
370 * gst/gstcaps.c: (gst_caps_structure_is_subset_field):
373 * tests/check/gst/gstcaps.c: (GST_START_TEST):
374 Improve unit test subset tests and add a testcase for the subset failure
377 * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
378 Improve subtraction unit test.
380 2008-08-07 Stefan Kost <ensonic@users.sf.net>
382 * plugins/elements/gsttee.c:
383 Unlock, instead of locking again.
385 2008-08-05 Wim Taymans <wim.taymans@collabora.co.uk>
388 Clarify the docs a bit more.
390 2008-08-05 Stefan Kost <ensonic@users.sf.net>
392 * tests/examples/metadata/read-metadata.c:
393 Don't leak old taglist.
395 2008-08-05 Wim Taymans <wim.taymans@collabora.co.uk>
397 Patch by: Olivier Crete <tester at tester dot ca>
399 * gst/gststructure.c:
400 (gst_structure_fixate_field_nearest_fraction):
401 Avoid overflows in fixation code when dealing with MAXINT values, which
405 * tests/check/gst/gststructure.c: (GST_START_TEST):
406 Make a unit test to check the fix.
408 2008-08-05 Wim Taymans <wim.taymans@collabora.co.uk>
410 * plugins/elements/gstcapsfilter.c: (copy_func),
411 (gst_capsfilter_set_property):
412 Use new caps suggestion feature of basetransform to request a caps
413 negotiation upstream.
415 2008-08-05 Wim Taymans <wim.taymans@collabora.co.uk>
417 * docs/libs/gstreamer-libs-sections.txt:
419 API: GstBaseTransform::gst_base_transform_suggest()
421 * libs/gst/base/gstbasetransform.c: (gst_base_transform_finalize),
422 (gst_base_transform_init), (gst_base_transform_transform_caps),
423 (gst_base_transform_transform_size),
424 (gst_base_transform_configure_caps),
425 (gst_base_transform_can_transform),
426 (gst_base_transform_find_transform), (gst_base_transform_setcaps),
427 (gst_base_transform_prepare_output_buffer),
428 (gst_base_transform_buffer_alloc),
429 (gst_base_transform_handle_buffer), (gst_base_transform_getrange),
430 (gst_base_transform_chain), (gst_base_transform_activate),
431 (gst_base_transform_set_passthrough),
432 (gst_base_transform_is_passthrough),
433 (gst_base_transform_set_in_place),
434 (gst_base_transform_is_in_place), (gst_base_transform_update_qos),
435 (gst_base_transform_set_qos_enabled),
436 (gst_base_transform_is_qos_enabled),
437 (gst_base_transform_set_gap_aware), (gst_base_transform_suggest),
438 (gst_base_transform_reconfigure):
439 * libs/gst/base/gstbasetransform.h:
440 Rewrite of basetransform to perform negotiation outside of the
441 buffer_alloc functions. Fixes #545853.
443 * tests/check/libs/transform1.c: (GST_START_TEST),
447 2008-08-05 Stefan Kost <ensonic@users.sf.net>
449 * tests/check/gst/gstpreset.c:
450 Only run preset tests when $HOME is writable. Preliminary fix for
453 2008-08-04 Wim Taymans <wim.taymans@collabora.co.uk>
455 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
456 (gst_bin_change_state_func), (bin_handle_async_done),
457 (gst_bin_handle_message_func):
458 Fix race for bins that simulate ASYNC state changes by inserting
459 ASYNC_START and ASYNC_DONE messages in their bus. We need to check for
460 pending ASYNC messages even when the bin does not have ASYNC children.
461 We note detect this behaviour because we will receive an ASYNC message
462 that is originating from the bin itself.
463 Fixes races with decodebin2 state changes.
465 * tests/check/gst/gstbin.c: (GST_START_TEST):
468 2008-08-04 Tim-Philipp Müller <tim.muller at collabora co uk>
470 * gst/gsttaglist.c: (_gst_tag_initialize):
473 2008-08-04 Stefan Kost <ensonic@users.sf.net>
476 Argh. actually save the text before committing. Now adds
477 gst_tag_merge_strings_with_comma() to gst_tag_register().
479 2008-08-04 Stefan Kost <ensonic@users.sf.net>
483 Do as tim pointed out and actually register the new tag. Also improve
484 te docs and use gst_tag_merge_strings_with_comma() method to allow
485 retriving all keywords merged in one list.
487 2008-08-01 Stefan Kost <ensonic@users.sf.net>
490 * docs/gst/gstreamer.types:
491 Revert 'accidential' change of the configure option removal. We still
492 need to generate the types file in configure --disable-load-save.
494 2008-08-01 Stefan Kost <ensonic@users.sf.net>
496 * docs/gst/gstreamer-sections.txt:
498 Add new taglist item GST_TAG_KEYWORDS, needed for #520694 .
500 2008-08-01 Tim-Philipp Müller <tim.muller at collabora co uk>
502 * gst/gstpadtemplate.c:
503 (gst_pad_template_class_init), (gst_static_pad_template_get),
504 (gst_pad_template_new), (gst_pad_template_pad_created),
505 (gst_pad_template_set_property), (gst_pad_template_get_property):
506 Add "name-template", "direction", "presence" and "caps" properties,
507 so that gst_pad_template_new() is just a thin wrapper around
508 g_object_new(), which is better for bindings. (Fixes: #539772)
510 2008-07-31 Michael Smith <msmith@songbirdnest.com>
513 Be more liberal in what URIs we accept.
514 Do not unescape bits of the URI for no apparent reason before passing to
515 the element. Fixes #545352.
517 2008-07-31 Sebastian Dröge <sebastian.droege@collabora.co.uk>
519 Patch by: Robert Schwebel <r.schwebel@pengutronix.de>
522 Include gstconfig.h as macros from it are used. Fixes bug #545607.
524 2008-07-31 Sebastian Dröge <sebastian.droege@collabora.co.uk>
527 * docs/gst/gstreamer-sections.txt:
528 * docs/gst/gstreamer.types:
529 * docs/gst/gstreamer.types.in:
532 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_index_func):
533 * gst/gstconfig.h.in:
534 * gst/gstelement.c: (gst_element_get_index):
535 * gst/gstregistrybinary.c: (gst_registry_binary_save_feature),
536 (gst_registry_binary_load_feature),
537 (gst_registry_binary_read_cache):
538 * gst/gstregistryxml.c: (load_feature),
539 (gst_registry_xml_read_cache), (gst_registry_xml_save_feature):
540 * plugins/Makefile.am:
542 * tools/gst-inspect.c: (print_index_info), (print_element_list),
543 (print_plugin_features), (print_element_features):
544 * tools/gst-xmlinspect.c: (print_event_masks),
545 (print_element_info):
546 * win32/common/gstconfig.h:
547 Remove GST_DISABLE_(ENUMTYPES|INDEX|URI) everywhere.
549 Disabling the indexers and URI handler code will only reduce the
550 required amount of memory by a very small amount but on the other hand
551 requires much more maintaince work. Apart from that many places of
552 code are broken when disabling them.
554 Disabling the enum types doesn't reduce the required amount of memory
555 by more than a few bytes and makes it hard to fix bugs like #539772,
556 i.e. use the enums as GObject properties.
558 2008-07-31 Wim Taymans <wim.taymans@collabora.co.uk>
560 * docs/design/part-TODO.txt:
561 Add some thoughts and problems with upstream renegotiation.
563 2008-07-31 Wim Taymans <wim.taymans@collabora.co.uk>
565 * gst/gstpad.c: (gst_pad_acceptcaps_default),
566 (gst_pad_configure_src), (gst_pad_alloc_buffer_full):
567 Remove silly redundant debug.
568 Add some more debug info.
569 Clarify the docs regarding new caps received from pad_alloc.
571 2008-07-31 Wim Taymans <wim.taymans@collabora.co.uk>
573 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_set_property),
574 (gst_capsfilter_get_property), (gst_capsfilter_transform_caps):
575 Make setting the caps more threadsafe.
577 2008-07-31 Wim Taymans <wim.taymans@collabora.co.uk>
579 * docs/design/part-element-transform.txt:
582 2008-07-31 Wim Taymans <wim.taymans@collabora.co.uk>
584 * plugins/elements/gstqueue.c: (gst_queue_init),
585 (gst_queue_acceptcaps):
586 Add and use a custom acceptcaps function instead of falling back to the
587 potentially less optimized default implementation.
589 2008-07-29 Tim-Philipp Müller <tim.muller at collabora co uk>
591 * gst/gstpad.c: (gst_pad_alloc_buffer_full):
592 Only sanity-check the buffer size if requested_caps == buffer_caps
593 (ie. don't take pad caps into account, they're not relevant here)
595 2008-07-29 Stefan Kost <ensonic@users.sf.net>
597 * plugins/elements/gsttee.c:
598 * plugins/elements/gsttee.h:
599 Reverting as not everything is clear yet. Needs some general design
602 2008-07-29 Stefan Kost <ensonic@users.sf.net>
605 ChangeLog surgery for tee commit.
607 2008-07-29 Stefan Kost <ensonic@users.sf.net>
609 * docs/gst/gstreamer-sections.txt:
610 Cleanup section-file.
612 2008-07-29 Stefan Kost <ensonic@users.sf.net>
614 * plugins/elements/gsttee.c:
615 * plugins/elements/gsttee.h:
616 Relay tag events in tee. Fixes parts of #474016.
617 Downgrades 3 reoccurring debugs to log.
619 2008-07-28 Michael Smith <msmith@songbirdnest.com>
622 * libs/gst/Makefile.am:
623 Build the net library if we have winsock2.
625 2008-07-26 Stefan Kost <ensonic@users.sf.net>
627 patch by: Luc Pionchon <luc.pionchon@nokia.com>
629 * docs/manual/advanced-threads.xml:
630 * docs/manual/diagrams-pipelines.svg:
631 * docs/manual/hello-world.png:
632 * docs/manual/linked-elements.png:
633 * docs/manual/mime-world.png:
634 * docs/manual/queue.png:
635 * docs/manual/thread-buffering.png:
636 * docs/manual/thread-synchronizing.png:
637 Replace one diagram with two separate ones and updates others.
640 2008-07-25 Thijs Vermeir <thijsvermeir@gmail.com>
643 Fix link in documentation.
645 2008-07-24 Thijs Vermeir <thijsvermeir@gmail.com>
648 Fix confusing documentation.
650 2008-07-24 Thijs Vermeir <thijsvermeir@gmail.com>
652 * libs/gst/base/gstbasesrc.h:
653 revert the changes to the header file for the ABI.
655 2008-07-24 Thijs Vermeir <thijsvermeir@gmail.com>
657 * libs/gst/base/gstbasesrc.c:
658 * libs/gst/base/gstbasesrc.h:
659 Don't cache the seekable status.
662 2008-07-24 Rene Stadler <mail@renestadler.de>
664 * docs/manual/advanced-autoplugging.xml: Add fakesink to example
665 code to close the pipeline graph. This prevents the program from
666 printing internal data flow errors.
668 2008-07-23 Sebastian Dröge <sebastian.droege@collabora.co.uk>
670 * docs/manual/basics-bus.xml:
671 Correct typo. Fixes bug #544320.
673 2008-07-22 Michael Smith <msmith@songbirdnest.com>
676 Remove AC_ISC_POSIX macro; it's broken on some platforms and not needed.
677 Add check (taken from -base) for winsock, adds WIN32_LIBS
679 Add WIN32_LIBS to LIBADD for libgstreamer. Needed now that gstpoll uses
681 Define GST_EXPORTS when building libgstreamer (only used on win32)
684 Use GST_EXPORT instead of locally-defined (and incorrect IMPORT_SYMBOL)
685 for symbols that we need to export in both these files.
687 Include gst_private.h higher up to avoid some compile problems on win32.
689 2008-07-22 Sebastian Dröge <sebastian.droege@collabora.co.uk>
694 2008-07-22 Thijs Vermeir <thijsvermeir@gmail.com>
697 Previous commit was wrong NULL caps does not exist
698 and indicate an error, so also add a FIXME to
699 gst_caps_is_equal where NULL caps are accepted.
701 2008-07-22 Thijs Vermeir <thijsvermeir@gmail.com>
704 Allow passing of NULL to gst_caps_union
706 2008-07-21 Thijs Vermeir <thijsvermeir@gmail.com>
709 Add in doc that gst_ghost_pad_set_target can accept
712 2008-07-15 Michael Smith <msmith@songbirdnest.com>
716 GstRegistryPool doesn't exist; don't refer to it in docs.
717 Don't refer to functions that don't exist in docs, it's
720 2008-07-12 Sebastian Dröge <sebastian.droege@collabora.co.uk>
723 Fix scanning of paths given via --gst-plugin-path. Fixes bug #542175.
725 2008-07-12 Sebastian Dröge <sebastian.droege@collabora.co.uk>
727 Patch by: tmatth <le dot businessman at gmail dot com>
729 * docs/pwg/building-testapp.xml:
730 Don't use an undeclared variable in the example program.
733 2008-07-12 Stefan Kost <ensonic@users.sf.net>
735 * gst/gstdebugutils.c:
736 Squeeze ghost-pad links and remove <> from classname labels to save
737 more horizontal space.
739 2008-07-11 Stefan Kost <ensonic@users.sf.net>
741 * gst/gstdebugutils.c:
742 Give request and sometimes pads a different shpe style. Condense the
743 graphs a little more.
745 2008-07-09 Michael Smith <msmith@songbirdnest.com>
748 Don't require flex and bison if the parser is disabled.
750 2008-07-08 Sebastian Dröge <sebastian.droege@collabora.co.uk>
752 * libs/gst/controller/gstinterpolationcontrolsource.c:
753 (_list_find_sorted_custom):
754 Don't use declarations after statements.
756 2008-07-08 Sebastian Dröge <sebastian.droege@collabora.co.uk>
758 * gst/gstchildproxy.c: (gst_child_proxy_base_init):
759 Add FIXMEs for 0.11 to use GST_TYPE_OBJECT in the signature
760 of the the child-added / -removed signals as GstChildProxy
761 only supports GstObjects.
763 2008-07-07 Thijs Vermeir <thijsvermeir@gmail.com>
765 * gst/gstdebugutils.c:
768 2008-07-06 Sebastian Dröge <sebastian.droege@collabora.co.uk>
770 Patch by: Alessandro Decina <alessandro at nnva dot org>
773 Fix "ignored return value" compiler warning with newer glibc.
775 2008-07-05 Sebastian Dröge <sebastian.droege@collabora.co.uk>
777 * gst/gstchildproxy.c:
778 Fix copy&paste error in gst_child_proxy_removed() documentation.
780 2008-07-02 Tim-Philipp Müller <tim.muller at collabora co uk>
782 * gst/gstplugin.c: (CHECK_PLUGIN_DESC_FIELD), (gst_plugin_load_file):
783 Print error debug message if plugin description fields that should
786 * gst/gstregistrybinary.c: (gst_registry_binary_save_const_string):
787 Don't crash if the string to serialise is NULL (it really should
788 not be, but apparently this used to work with the xml registry ...).
790 2008-07-02 Thijs Vermeir <thijsvermeir@gmail.com>
792 * tools/gst-plot-timeline.py:
793 Fix parsing of log messages
795 2008-07-01 Tim-Philipp Müller <tim.muller at collabora co uk>
797 * win32/common/libgstbase.def::
798 Sort alphabetically so make check-exports doesn't barf.
800 2008-07-01 Stefan Kost <ensonic@users.sf.net>
803 Use gst_format_get_name() to improve debug output.
806 Remove #ifdef'ed code. Add TODO comment.
809 Add debug output to ease spotting format != segment.format assertions.
811 2008-06-30 Sebastian Dröge <sebastian.droege@collabora.co.uk>
813 * tests/check/libs/gdp.c: (gst_dp_suite):
814 Also enable the GDP unit test again on PPC now that the bug
817 2008-06-30 Sebastian Dröge <sebastian.droege@collabora.co.uk>
819 * libs/gst/dataprotocol/dataprotocol.c:
820 Don't write to the same region of memory as a uint64 and uint16
821 as this breaks strict aliasing rules and apparantly breaks on PPC
822 and s390. Thanks to Sjoerd Simons for analysing. Fixes bug #348114.
824 2008-06-29 Stefan Kost <ensonic@users.sf.net>
826 * libs/gst/controller/gstinterpolationcontrolsource.c:
827 Optimize list handling. Use own find function. Exploit that fact that
828 the list is sorted. Also pass back the node before, so that we can
829 insert quickly. Have a fast path for append.
831 2008-06-29 Stefan Kost <ensonic@users.sf.net>
833 * docs/design/draft-framestep.txt:
834 * docs/design/part-negotiation.txt:
837 2008-06-27 Stefan Kost <ensonic@users.sf.net>
840 Show configuration sumary after configure run. Based on patch by
841 Luc Pionchon <luc.pionchon@nokia.com>. Fixes: #540134
843 2008-06-27 Stefan Kost <ensonic@users.sf.net>
845 patch by: Luc Pionchon <luc.pionchon@nokia.com>
847 * docs/manual/advanced-autoplugging.xml:
848 * docs/manual/advanced-threads.xml:
849 * docs/manual/basics-bins.xml:
850 * docs/manual/basics-elements.xml:
851 * docs/manual/basics-helloworld.xml:
852 * docs/manual/basics-pads.xml:
853 Add scale factor for pdf output.
855 * docs/manual/intro-basics.xml:
856 Switched sections "pads" and "bins" and added a pipeline diagram.
858 * docs/manual/intro-gstreamer.xml:
859 Added more info on gstreamer.
861 * docs/manual/intro-motivation.xml:
862 Commented out the whole section "current problem", which sounds
863 historical and somehow osolete; it could be turned in a positive
864 way and reused to improve the design principles.
866 * docs/manual/intro-preface.xml:
867 - Update URLs to library.gnome.org.
868 - Do not mention GTK+ in preliminary reading (irrelevant).
869 - Mention Plugin Writer's Manual and further reading only in the
871 - Added a list of most relevant GObject/glib topics.
873 * docs/manual/Makefile.am:
874 * docs/manual/bin-element-ghost.fig:
875 * docs/manual/bin-element-ghost.png:
876 * docs/manual/bin-element-noghost.fig:
877 * docs/manual/bin-element-noghost.png:
878 * docs/manual/bin-element.fig:
879 * docs/manual/bin-element.png:
880 * docs/manual/filter-element-multi.fig:
881 * docs/manual/filter-element-multi.png:
882 * docs/manual/filter-element.fig:
883 * docs/manual/filter-element.png:
884 * docs/manual/gstreamer-overview.png:
885 * docs/manual/hello-world.fig:
886 * docs/manual/hello-world.png:
887 * docs/manual/linked-elements.fig:
888 * docs/manual/linked-elements.png:
889 * docs/manual/mime-world.fig:
890 * docs/manual/mime-world.png:
891 * docs/manual/queue.fig:
892 * docs/manual/queue.png:
893 * docs/manual/simple-player.png:
894 * docs/manual/sink-element.fig:
895 * docs/manual/sink-element.png:
896 * docs/manual/src-element.fig:
897 * docs/manual/src-element.png:
898 * docs/manual/diagrams-general.svg:
899 * docs/manual/diagrams-pipelines.svg:
900 Removed .fig, added .png counterpart.
904 2008-06-26 Thijs Vermeir <thijsvermeir@gmail.com>
906 * plugins/elements/gstmultiqueue.c:
907 * plugins/elements/gstmultiqueue.h:
908 revert extra-size-buffers stuff, caused some race conditions
909 and extra-size-buffers is not used anymore. Docs needs some updates
911 2008-06-26 Tim-Philipp Müller <tim.muller at collabora co uk>
913 * win32/common/config.h:
914 * win32/common/gstenumtypes.c:
915 * win32/common/gstenumtypes.h:
916 * win32/common/gstversion.h:
919 2008-06-26 Tim-Philipp Müller <tim.muller at collabora co uk>
921 * gst/gstdebugutils.h: (GstDebugGraphDetails),
922 (GST_DEBUG_BIN_TO_DOT_FILE):
923 Add missing Since' markers to gtk-doc blurbs.
925 2008-06-26 Wim Taymans <wim.taymans@collabora.co.uk>
927 * tests/check/libs/transform1.c: (buffer_alloc_pt1),
928 (set_caps_pt1), (GST_START_TEST), (set_caps_pt2), (transform_ip_1),
929 (set_caps_1), (set_caps_ct1), (transform_ct1),
930 (transform_caps_ct1), (transform_size_ct1), (buffer_alloc_ct1),
931 (set_caps_ct2), (transform_ct2), (transform_caps_ct2),
932 (transform_size_ct2), (buffer_alloc_ct2):
933 Add some more tests with switching caps in buffer_alloc.
935 2008-06-25 Wim Taymans <wim.taymans@collabora.co.uk>
937 * tests/check/libs/test_transform.c: (gst_test_trans_base_init),
938 (gst_test_trans_class_init), (result_sink_chain),
939 (result_buffer_alloc), (gst_test_trans_new), (gst_test_trans_free),
940 (gst_test_trans_push), (gst_test_trans_pop):
941 * tests/check/libs/transform1.c: (buffer_alloc_pt1),
942 (set_caps_pt1), (GST_START_TEST), (set_caps_pt2), (transform_ip_1),
943 (set_caps_1), (set_caps_ct1), (transform_ct1),
944 (transform_caps_ct1), (transform_size_ct1), (buffer_alloc_ct1),
945 (set_caps_ct2), (transform_ct2), (transform_caps_ct2),
946 (transform_size_ct2), (buffer_alloc_ct2),
947 (gst_basetransform_suite):
948 More tests, prepare for tests with switching caps in buffer_alloc.
950 2008-06-25 Thijs Vermeir <thijsvermeir@gmail.com>
952 * plugins/elements/gstmultiqueue.c:
953 * plugins/elements/gstmultiqueue.h:
954 Fix dead-lock in underrun_cb
956 2008-06-25 Wim Taymans <wim.taymans@collabora.co.uk>
958 * docs/design/part-states.txt:
959 Fix device open/close docs.
961 2008-06-25 Stefan Kost <ensonic@users.sf.net>
964 Mention bugnumber for last commit.
966 2008-06-25 Stefan Kost <ensonic@users.sf.net>
968 patch by: Luc Pionchon <luc.pionchon@nokia.com>
970 * docs/manual/manual.xml:
971 - Reorganised the previous "introduction" bundle into Foreword,
972 Introduction, and About GStreamer. The two first are <preface>
973 docbook elements. The later is the first part of the book.
974 - added intro-gstreamer.xml (content partially from
976 - moved appendix-win32.xml into appendix-integration.xml
978 * docs/manual/intro-preface.xml: gstreamer section moved...
979 * docs/manual/intro-gstreamer.xml: ...here. new file.
981 * docs/manual/appendix-win32.xml: removed file. Content moved...
982 * docs/manual/appendix-integration.xml: ...here.
984 * docs/manual/highlevel-components.xml: section about GstEditor moved...
985 * docs/manual/appendix-checklist.xml: ...here.
989 2008-06-25 Stefan Kost <ensonic@users.sf.net>
991 patch by: Luc Pionchon <luc.pionchon@nokia.com>
993 * docs/manual/basics-helloworld.xml:
994 * docs/manual/hello-world.fig:
995 - Explicitely include glib.h.
996 - Do not use global variables.
997 - Use g_printerr() instead of g_print().
998 - Minor formating/renaming to increase readibility.
999 - Renamed new_pad() to on_pad_added()
1000 - Improved explenatory comments.
1001 - renamed ogg parser to ogg demuxer
1002 - Use "autoaudiosink" instead of "alsasink".
1005 2008-06-25 Stefan Kost <ensonic@users.sf.net>
1008 Remove cvs conflict marker.
1010 2008-06-25 Stefan Kost <ensonic@users.sf.net>
1013 Document that for plgin-docs we extraxt he short-desc from the element
1016 * docs/design/part-states.txt:
1017 Tell that devices should be closed in PAUSED -> READY.
1019 * docs/manual/README:
1020 Document how tests in the manual are handled.
1025 2008-06-25 Wim Taymans <wim.taymans@collabora.co.uk>
1027 * gst/gstbin.c: (bin_query_latency_fold):
1028 Only care about latency min and max when the sink is actually a live
1031 2008-06-25 Wim Taymans <wim.taymans@collabora.co.uk>
1033 * docs/design/part-block.txt:
1036 * docs/design/part-element-transform.txt:
1037 Add notes about why transform needs to know input/output sizes.
1038 Add some issues that need to be solved.
1039 Add some more use cases.
1041 * tests/check/libs/test_transform.c: (gst_test_trans_base_init),
1042 (gst_test_trans_class_init), (result_sink_chain),
1043 (result_buffer_alloc), (gst_test_trans_new), (gst_test_trans_free),
1044 (gst_test_trans_push), (gst_test_trans_pop):
1045 * tests/check/libs/transform1.c: (buffer_alloc_pt1),
1046 (set_caps_pt1), (GST_START_TEST), (set_caps_pt2), (transform_ip_1),
1047 (set_caps_1), (set_caps_ct1), (transform_ct1),
1048 (transform_caps_ct1), (transform_size_ct1), (buffer_alloc_ct1),
1049 (gst_basetransform_suite):
1050 Add suport for different pad templates and buffer-alloc.
1051 Add more checks for caps and buffer-alloc.
1052 Add checks for proxy buffer alloc.
1053 Add unit test for copy transform.
1055 2008-06-24 Tim-Philipp Müller <tim.muller at collabora co uk>
1057 Patch by: Luc Pionchon <luc.pionchon@nokia.com>
1059 * docs/manual/appendix-integration.xml:
1060 * docs/manual/appendix-licensing.xml:
1061 * docs/manual/basics-elements.xml:
1062 * docs/manual/basics-helloworld.xml:
1063 * docs/manual/basics-pads.xml:
1064 * docs/manual/highlevel-components.xml:
1065 * docs/manual/highlevel-xml.xml:
1066 * docs/manual/intro-basics.xml:
1067 * docs/manual/intro-preface.xml:
1068 Typo and formatting fixes (#538594).
1070 2008-06-24 Sebastian Dröge <sebastian.droege@collabora.co.uk>
1072 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
1073 Fix some memory leaks and uses of object instances that we don't
1076 2008-06-22 Thijs Vermeir <thijsvermeir@gmail.com>
1078 * plugins/elements/gstmultiqueue.c:
1079 Add functionality to extra-size-buffers property.
1081 2008-06-22 Thijs Vermeir <thijsvermeir@gmail.com>
1083 * plugins/elements/gstmultiqueue.c:
1084 Don't update the cur_time on GST_CLOCK_TIME_NONE (#537804) and don't
1085 activate the pads if they are added in STATE_NULL.
1087 2008-06-21 Thijs Vermeir <thijsvermeir@gmail.com>
1089 * docs/libs/gstreamer-libs-sections.txt:
1091 * libs/gst/check/gstcheck.c:
1092 * libs/gst/check/gstcheck.h:
1093 API: gst_check_teardown_pad_by_name
1095 2008-06-21 Thijs Vermeir <thijsvermeir@gmail.com>
1097 * libs/gst/check/gstcheck.c:
1098 * libs/gst/check/gstcheck.h:
1099 Also setup request pads and allow setup pads by name (#537812)
1100 API: gst_check_setup_src_pad_by_name
1101 API: gst_check_setup_sink_pad_by_name
1103 2008-06-20 Thomas Vander Stichele <thomas at apestaart dot org>
1105 * tests/check/gst/gstbuffer.c:
1106 * tests/check/pipelines/parse-launch.c:
1107 Use HAVE_VALGRIND_H some more.
1109 2008-06-20 Thomas Vander Stichele <thomas at apestaart dot org>
1111 * scripts/cvs-update.sh:
1112 Pass arguments to make.
1113 Run autoregen.sh if Makefile is not there.
1115 2008-06-20 Thomas Vander Stichele <thomas at apestaart dot org>
1119 Don't assume that <valgrind/valgrind.h> exists just because
1120 the binary is there.
1122 2008-06-20 Wim Taymans <wim.taymans@collabora.co.uk>
1124 * tests/check/Makefile.am:
1125 * tests/check/libs/test_transform.c: (gst_test_trans_base_init),
1126 (gst_test_trans_class_init), (gst_test_trans_init),
1127 (gst_test_trans_set_data), (result_sink_chain),
1128 (gst_test_trans_new), (gst_test_trans_free), (gst_test_trans_push),
1129 (gst_test_trans_pop):
1130 * tests/check/libs/transform1.c: (GST_START_TEST),
1131 (transform_ip_1), (set_caps_1), (gst_basetransform_suite):
1132 Add some test basetransform element and the beginnings of various
1135 2008-06-20 Wim Taymans <wim.taymans@collabora.co.uk>
1137 * libs/gst/base/gsttypefindhelper.c: (helper_find_peek):
1138 Increase code readability.
1139 Don't try to compare buffer offsets when ther are invalid.
1141 2008-06-20 Tim-Philipp Müller <tim.muller at collabora co uk>
1143 * docs/design/Makefile.am:
1144 Dist some more design docs.
1146 * docs/random/moving-plugins:
1147 Small addition: good plugins mustn't have functional code
1148 within assertion macros.
1150 2008-06-20 Wim Taymans <wim.taymans@collabora.co.uk>
1152 * docs/design/draft-framestep.txt:
1153 Some ideas about a framestep API
1155 * docs/design/part-element-transform.txt:
1156 Start design and use cases for basetransform in order to get it
1159 2008-06-20 Tim-Philipp Müller <tim.muller at collabora co uk>
1162 In GST_TAG_ATTACHEMENT docs, mention that the file name needs to
1163 be in UTF-8 encoding.
1165 2008-06-20 Tim-Philipp Müller <tim.muller at collabora co uk>
1168 Make it known that gst_bus_poll() is pure evil (fixes #538810).
1170 2008-06-20 Stefan Kost <ensonic@users.sf.net>
1172 * plugins/elements/gstcapsfilter.c:
1173 * plugins/elements/gstfakesink.c:
1174 * plugins/elements/gstfakesrc.c:
1175 * plugins/elements/gstfdsink.c:
1176 * plugins/elements/gstfdsrc.c:
1177 * plugins/elements/gstfilesink.c:
1178 * plugins/elements/gstfilesrc.c:
1179 * plugins/elements/gstidentity.c:
1180 * plugins/elements/gstmultiqueue.c:
1181 * plugins/elements/gstqueue.c:
1182 * plugins/elements/gsttee.c:
1183 * plugins/elements/gsttypefindelement.c:
1184 Remove short_description. Add basic docs for gsttypefindelement.
1185 Simplify markup for fakesrc/fdsrc.
1187 2008-06-20 Wim Taymans <wim.taymans@collabora.co.uk>
1189 * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
1192 2008-06-20 Wim Taymans <wim.taymans@collabora.co.uk>
1194 Patch by: joel larsson <tilljoel at gmail dot com>
1196 * docs/plugins/gstreamer-plugins.args:
1197 * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init),
1198 (gst_fd_src_init), (gst_fd_src_update_fd),
1199 (gst_fd_src_set_property), (gst_fd_src_get_property),
1200 (gst_fd_src_create):
1201 * plugins/elements/gstfdsrc.h:
1202 Add timeout property like udpsrc. Fixes #538628.
1203 Add some more docs and example pipelines.
1205 2008-06-20 Wim Taymans <wim.taymans@collabora.co.uk>
1207 * docs/libs/gstreamer-libs-sections.txt:
1208 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
1209 (gst_base_sink_query_latency), (gst_base_sink_set_render_delay),
1210 (gst_base_sink_get_render_delay), (gst_base_sink_wait_eos),
1211 (gst_base_sink_do_sync):
1212 * libs/gst/base/gstbasesink.h:
1213 * win32/common/libgstbase.def:
1214 Add method to allow sinks to specify additional delay between the sync
1215 times and the actual rendering of the data.
1216 API: gst_base_sink_set_render_delay()
1217 API: gst_base_sink_get_render_delay()
1219 2008-06-20 Jan Schmidt <jan.schmidt@sun.com>
1222 Bump version number back to dev -> 0.10.20.1
1224 2008-06-20 Sebastian Dröge <slomo@circular-chaos.org>
1226 * docs/gst/gstreamer-sections.txt:
1227 * gst/gsttaglist.c: (_gst_tag_initialize):
1229 API: Add GST_TAG_ATTACHMENT for generic file attachments to streams.
1232 2008-06-20 Stefan Kost <ensonic@users.sf.net>
1234 * libs/gst/controller/gstcontroller.c:
1235 Revert one change, that make ret value possible uninitialized.
1237 2008-06-20 Stefan Kost <ensonic@users.sf.net>
1239 * libs/gst/controller/gstcontroller.c:
1240 Use freeze/thaw notify to sync notify emission a bit (its also more
1241 efficient). Move debug output to LOG (is called a lot in a loop).
1242 Always unset g_values if the have been initialized.
1244 2008-06-20 Wim Taymans <wim.taymans@collabora.co.uk>
1246 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
1247 (gst_base_sink_wait_eos), (gst_base_sink_event):
1248 If we have not seen a buffer before EOS, use the segment values to
1249 report the current position instead of invalid positions.
1251 2008-06-20 Stefan Kost <ensonic@users.sf.net>
1253 * docs/plugins/tmpl/.cvsignore:
1254 * tests/check/gst/.cvsignore:
1257 2008-06-20 Stefan Kost <ensonic@users.sf.net>
1259 * libs/gst/controller/gstinterpolation.c:
1260 * libs/gst/controller/gstinterpolationcontrolsource.c:
1261 * tests/check/libs/controller.c:
1262 Rewrite handling of default values. Fix overflow with unsigned types
1263 in linear interpolation. Remove now obsolete _first_value() function.
1264 Add more tests. Fixes #538201.
1266 2008-06-20 Wim Taymans <wim.taymans@collabora.co.uk>
1268 * libs/gst/base/gstbasetransform.c:
1269 (gst_base_transform_class_init), (gst_base_transform_init),
1270 (gst_base_transform_transform_caps),
1271 (gst_base_transform_prepare_output_buffer):
1273 When a buffer is writable, its metadata is also writable so we don't
1274 need to subbuffer (which then makes the buffer not-writable anymore).
1276 === release 0.10.20 ===
1278 2008-06-18 Jan Schmidt <jan.schmidt@sun.com>
1281 releasing 0.10.20, "You Crazy Diamond"
1283 2008-06-11 Jan Schmidt <jan.schmidt@sun.com>
1286 0.10.19.3 pre-release
1288 2008-06-11 Jan Schmidt <jan.schmidt@sun.com>
1292 Rename DATADIR to GST_DATADIR to avoid build problems
1293 on win32. Patch By: David Schleef <ds@schleef.org>
1296 2008-06-05 Sebastian Dröge <slomo@circular-chaos.org>
1299 Explicitely link with -ldl if dladdr() is found there. Before it was
1300 implicitely linked by the gmodule pkgconfig file but in glib 2.17.0
1301 -ldl has moved from Libs to Libs.private. Fixes bug #536744.
1303 2008-06-05 Tim-Philipp Müller <tim.muller at collabora co uk>
1305 * gst/gsterror.c: (_gst_stream_errors_init):
1306 Fix typo (spotted by Fabricio Godoy, #536723).
1308 2008-06-05 Jan Schmidt <jan.schmidt@sun.com>
1311 0.10.19.2 pre-release
1313 2008-06-04 Wim Taymans <wim.taymans@collabora.co.uk>
1315 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_async_enabled),
1316 (gst_base_sink_set_ts_offset), (gst_base_sink_perform_qos):
1318 Make sure we don't generate invalid QoS messages.
1320 2008-06-04 Wim Taymans <wim.taymans@collabora.co.uk>
1322 * gst/gstevent.c: (gst_event_new_qos):
1323 Add some assert and docs for invalid input to the qos function.
1325 2008-05-30 Wim Taymans <wim.taymans@collabora.co.uk>
1327 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
1328 (gst_base_sink_get_position):
1329 The reported position must always be smaller than the last seen
1330 timestamps (or timestamp + duration for reverse).
1332 2008-05-30 Sebastian Dröge <slomo@circular-chaos.org>
1334 Patch by: Rob Bradford <rob at robster dot org dot uk>
1336 * gst/gstregistry.c: (gst_registry_scan_path_level):
1337 Don't recurse into .debug directories as some distros install
1338 the debugging symbols next to the plugins in .debug directories
1339 and dlopen() crashes on them sometimes. Fixes bug #508070.
1341 Add FIXME for 0.11 to not recurse into directories at all because
1342 it's very inconsistent to the behaviour of other PATH environment
1345 2008-05-29 Wim Taymans <wim.taymans@collabora.co.uk>
1347 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
1348 (gst_base_sink_get_position_last), (gst_base_sink_get_position):
1349 Fix position query range checks in reverse playback.
1351 2008-05-29 Sebastian Dröge <slomo@circular-chaos.org>
1355 Deprecated gst_element_get_pad() as it can't be used sanely. It's not
1356 clear of the reference to the resulting pad must be released later
1357 or not, resulting in possible leaks. Fixes bug #533865.
1359 2008-05-28 Wim Taymans <wim.taymans@collabora.co.uk>
1361 Patch by: José Alburquerque <jaalburqu at svn dot gnome dot org>
1363 * gst/gstelementfactory.c:
1364 Small doc fix. Fixes #535285.
1366 2008-05-28 Wim Taymans <wim.taymans@collabora.co.uk>
1368 Based on patch by: Bjarne Rosengren <bjarne at axis dot com>
1370 * libs/gst/base/gstbasesrc.c: (gst_base_src_send_event),
1371 (gst_base_src_get_range), (gst_base_src_pad_get_range),
1372 (gst_base_src_loop), (gst_base_src_set_flushing),
1373 (gst_base_src_change_state):
1374 Make sending an EOS event to the basesrc non-blocking even if the
1375 implementation does blocking waits in the create function. This is done
1376 by unlocking the create function when EOS is sent.
1379 2008-05-28 Sebastian Dröge <slomo@circular-chaos.org>
1381 * tools/gst-inspect.c: (print_element_properties_info):
1382 If possible print the element type of GValueArray properties.
1384 2008-05-28 Sebastian Dröge <slomo@circular-chaos.org>
1386 * gst/gstiterator.c:
1387 Remove an unused field from the private GstListIterator struct.
1389 2008-05-27 Stefan Kost <ensonic@users.sf.net>
1391 * libs/gst/controller/gstcontroller.c:
1392 Add parameter guards.
1394 2008-05-27 Stefan Kost <ensonic@users.sf.net>
1396 * tests/check/gst/gstpipeline.c:
1397 Revert test change and add comment why it should not work.
1399 2008-05-27 Stefan Kost <ensonic@users.sf.net>
1401 * tests/check/gst/gstpipeline.c:
1402 Extending the test a little to verify that we also get the NULL state-
1405 2008-05-27 Tim-Philipp Müller <tim.muller at collabora co uk>
1407 * gst/gstpreset.c: (gst_preset_default_get_meta),
1408 (gst_preset_get_preset_names), (gst_preset_get_property_names),
1409 (gst_preset_load_preset), (gst_preset_save_preset),
1410 (gst_preset_rename_preset), (gst_preset_delete_preset),
1411 (gst_preset_set_meta):
1412 Add Since: markers to docs blurbs.
1414 * win32/common/libgstreamer.def:
1415 Add recently-added API.
1417 2008-05-27 Wim Taymans <wim.taymans@collabora.co.uk>
1419 Patch by: Stefan Kost <ensonic@users.sf.net>
1422 Add DATADIR for storing presets.
1424 * docs/gst/gstreamer-docs.sgml:
1425 * docs/gst/gstreamer-sections.txt:
1426 * docs/gst/gstreamer.types.in:
1427 Add GstPreset to docs.
1431 * gst/gstpreset.c: (preset_get_paths), (preset_skip_property),
1432 (preset_open_and_parse_header), (preset_parse_version),
1433 (preset_merge), (preset_get_keyfile),
1434 (gst_preset_default_get_preset_names),
1435 (gst_preset_default_get_property_names),
1436 (gst_preset_default_load_preset),
1437 (gst_preset_default_save_presets_file),
1438 (gst_preset_default_save_preset),
1439 (gst_preset_default_rename_preset),
1440 (gst_preset_default_delete_preset), (gst_preset_default_set_meta),
1441 (gst_preset_default_get_meta), (gst_preset_default_randomize),
1442 (gst_preset_default_reset), (gst_preset_get_preset_names),
1443 (gst_preset_get_property_names), (gst_preset_load_preset),
1444 (gst_preset_save_preset), (gst_preset_rename_preset),
1445 (gst_preset_delete_preset), (gst_preset_set_meta),
1446 (gst_preset_get_meta), (gst_preset_class_init),
1447 (gst_preset_base_init), (gst_preset_get_type):
1449 Add GstPreset to core. Fixes #396779
1451 * tests/check/Makefile.am:
1452 * tests/check/gst/gstpreset.c: (gst_preset_test_get_property),
1453 (gst_preset_test_set_property), (gst_preset_test_class_init),
1454 (gst_preset_test_base_init), (gst_preset_test_get_type),
1455 (gst_preset_test_plugin_init), (GST_START_TEST),
1456 (remove_preset_file), (test_setup), (test_teardown),
1458 Add GstPreset unit tests.
1460 2008-05-27 Wim Taymans <wim.taymans@collabora.co.uk>
1462 * gst/gstpad.c: (gst_pad_event_default_dispatch):
1463 The default event function on a sinkpad should return TRUE when
1464 there are no internal links but should collect the return values from
1465 the internal links otherwise.
1467 2008-05-27 Wim Taymans <wim.taymans@collabora.co.uk>
1469 * plugins/elements/gsttypefindelement.c:
1470 (gst_type_find_element_src_event),
1471 (gst_type_find_element_handle_event):
1472 Use faster and safer _pad_push_event().
1474 2008-05-27 Tim-Philipp Müller <tim.muller at collabora co uk>
1476 * docs/gst/gstreamer-sections.txt:
1477 * gst/gstutils.c: (element_find_unlinked_pad),
1478 (gst_bin_find_unlinked_pad), (gst_bin_find_unconnected_pad),
1480 API: add gst_bin_find_unlinked_pad()
1481 API: deprecate gst_bin_find_unconnected_pad() (#401456)
1483 2008-05-26 Peter Kjellerstedt <pkj@axis.com>
1489 Fixed a bunch of typos.
1491 2008-05-25 Tim-Philipp Müller <tim.muller at collabora co uk>
1494 * gst/gstutils.c: (gst_element_unlink), (element_find_unlinked_pad),
1495 (gst_bin_find_unconnected_pad), (gst_parse_bin_from_description),
1496 (gst_parse_bin_from_description_full):
1498 'unconnected pad' -> 'unlinked pad' for consistency (#401456).
1500 2008-05-25 Tim-Philipp Müller <tim.muller at collabora co uk>
1502 * docs/pwg/advanced-tagging.xml:
1503 Small docs update, can't be bothered to rewrite the nonsensical
1506 2008-05-25 Tim-Philipp Müller <tim.muller at collabora co uk>
1509 Clarify docs for GST_SEEK_TYPE_CUR (#534505).
1511 2008-05-25 Tim-Philipp Müller <tim.muller at collabora co uk>
1513 * gst/parse/grammar.y:
1514 Remove unneeded casts.
1516 2008-05-25 Tim-Philipp Müller <tim.muller at collabora co uk>
1518 * gst/parse/grammar.y:
1519 * tests/check/pipelines/parse-launch.c:
1520 Get all missing elements from a parse launch string if possible
1521 (ie. if the FATAL_ERRORS flag has been specified). Fixes #528178.
1523 2008-05-24 Tim-Philipp Müller <tim.muller at collabora co uk>
1525 * tests/check/Makefile.am:
1526 * tests/check/pipelines/parse-launch.c:
1527 Add some unit tests for the new gst_parse_launch*_full() API.
1528 (Exposes a previously-existing memory leak in the error code
1529 path, so adding to VALGRIND_TO_FIX for now).
1531 2008-05-24 Tim-Philipp Müller <tim.muller at collabora co uk>
1533 * docs/gst/gstreamer-sections.txt:
1534 * gst/gst.c: (init_post):
1535 * gst/gst_private.h: (_GstParseContext):
1536 * gst/gstparse.c: (gst_parse_error_quark), (gst_parse_context_new),
1537 (gst_parse_context_free), (gst_parse_context_get_missing_elements),
1538 (gst_parse_launchv), (gst_parse_launchv_full), (gst_parse_launch),
1539 (gst_parse_launch_full):
1540 * gst/gstparse.h: (GST_PARSE_FLAG_NONE), (GST_PARSE_FLAG_FATAL_ERRORS),
1541 (GstParseFlags), (GstParseContext):
1542 * gst/gstutils.c: (gst_parse_bin_from_description),
1543 (gst_parse_bin_from_description_full):
1545 * gst/parse/grammar.y:
1546 * gst/parse/types.h:
1547 * win32/common/libgstreamer.def:
1548 Add new gst_parse_*_full API (#528178):
1549 API: gst_parse_launch_full()
1550 API: gst_parse_launchv_full()
1551 API: gst_parse_bin_from_description_full()
1552 API: gst_parse_context_new()
1553 API: gst_parse_context_free()
1554 API: gst_parse_context_get_missing_elements()
1556 2008-05-23 Stefan Kost <ensonic@users.sf.net>
1558 patch by: Suresh Kumar P <sureshkumar.pp@gmail.com>
1560 * docs/faq/gst-uninstalled:
1561 Also support ffmpeg in gst-uninstalled.
1563 2008-05-22 Sebastian Dröge <slomo@circular-chaos.org>
1566 After discussion on IRC use the binary registry as default
1567 but allow to disable it with --disable-binary-registry.
1569 * win32/common/libgstreamer.def:
1570 Add the two new symbols for the binary registry.
1572 2008-05-22 Tim-Philipp Müller <tim.muller at collabora co uk>
1574 * gst/gstparse.c: (_gst_parse_escape), (gst_parse_launchv):
1575 * gst/gstutils.c: (gst_parse_bin_from_description):
1576 * gst/parse/grammar.y: (graph):
1577 More guards against bad input; typo fix; some minor clean-ups.
1579 2008-05-22 Sebastian Dröge <slomo@circular-chaos.org>
1581 Patch by: Sjoerd Simons <sjoerd at luon dot net>
1583 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
1584 If nothing else can be used, use the last buffer's start time as
1585 the segment's last stop. Fixes bug #534258.
1587 2008-05-21 Tim-Philipp Müller <tim.muller at collabora co uk>
1589 * gst/gstpad.c: (gst_pad_alloc_buffer_full):
1590 Move size sanity check to the right place: downstream may return
1591 a buffer with a smaller size if the buffer caps are different than
1592 the requested ones, as may happen when doing reverse negotiation.
1594 2008-05-21 Wim Taymans <wim.taymans@collabora.co.uk>
1596 * plugins/elements/gstfilesink.c: (gst_file_sink_set_location),
1597 (gst_file_sink_render):
1598 * plugins/elements/gstfilesrc.c: (gst_file_src_set_location),
1599 (gst_file_src_start):
1600 Small cleanups. Add note adbout g_fopen() on windows and why we don't
1603 2008-05-21 Wim Taymans <wim.taymans@collabora.co.uk>
1605 * gst/gstpad.c: (gst_pad_load_and_link):
1606 * gst/gstutils.c: (gst_element_link_pads),
1607 (gst_element_unlink_pads):
1608 * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
1609 (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
1610 (gst_check_teardown_sink_pad),
1611 (gst_check_element_push_buffer_list):
1612 * tests/check/elements/fakesink.c: (GST_START_TEST):
1613 * tests/check/elements/filesink.c:
1614 * tests/check/elements/filesrc.c: (GST_START_TEST):
1615 * tests/check/elements/multiqueue.c: (setup_multiqueue),
1616 (mq_sinkpad_to_srcpad):
1617 * tests/check/elements/tee.c: (GST_START_TEST):
1618 * tests/check/generic/sinks.c: (GST_START_TEST):
1619 * tests/check/gst/gstbin.c: (GST_START_TEST):
1620 * tests/check/gst/gstevent.c: (GST_START_TEST):
1621 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
1622 * tests/check/gst/gstpipeline.c: (GST_START_TEST):
1623 * tests/check/gst/gstquery.c: (GST_START_TEST):
1624 * tests/check/gst/gstutils.c: (GST_START_TEST):
1625 * tests/check/libs/basesrc.c: (GST_START_TEST):
1626 * tests/check/pipelines/parse-launch.c: (run_delayed_test),
1627 (gst_parse_test_element_change_state):
1628 Don't use gst_element_get_pad().
1630 2008-05-21 Felipe Contreras <felipe.contreras@gmail.com>
1633 Fix installing plugin documentation when gtk-doc is disabled.
1635 2008-05-21 Wim Taymans <wim.taymans@collabora.co.uk>
1637 * docs/manual/advanced-autoplugging.xml:
1638 * docs/manual/basics-helloworld.xml:
1639 * docs/manual/basics-pads.xml:
1640 * docs/manual/highlevel-components.xml:
1641 Avoid using a bad function in the example code.
1643 2008-05-21 Wim Taymans <wim.taymans@collabora.co.uk>
1645 * gst/gstclock.c: (gst_clock_set_calibration):
1646 Fix debug of the new clock rate.
1648 2008-05-21 Sebastian Dröge <slomo@circular-chaos.org>
1650 * win32/common/libgstbase.def:
1651 Add gst_base_sink_wait_clock() to the exported symbols.
1653 2008-05-20 Sebastian Dröge <slomo@circular-chaos.org>
1655 Patch by: Tim-Philipp Müller <tim.muller at collabora co uk>
1657 * libs/gst/base/gstbasetransform.c:
1658 (gst_base_transform_sink_event):
1659 Unref events that the GstBaseTransform::event vfunc didn't want to
1660 have forwarded by the base class. Closes a leak in identity.
1663 2008-05-19 Wim Taymans <wim.taymans@collabora.co.uk>
1665 * docs/libs/gstreamer-libs-sections.txt:
1666 * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_clock):
1667 * libs/gst/base/gstbasesink.h:
1668 Expose a method that was previously used internally to synchronize
1669 against the clock because it can be useful for subclasses too.
1670 API: GstBaseSink::gst_base_sink_wait_clock()
1672 2008-05-19 Tim-Philipp Müller <tim.muller at collabora co uk>
1674 * gst/gstpad.c: (gst_pad_buffer_alloc_unchecked):
1675 Add sanity check to make sure we don't get smaller buffers
1676 than requested (and fallback to normal buffer alloc if we do).
1678 2008-05-19 Wim Taymans <wim.taymans@collabora.co.uk>
1680 * libs/gst/base/gstbasesink.c: (gst_base_sink_adjust_time),
1681 (gst_base_sink_wait_clock), (gst_base_sink_wait_eos),
1682 (gst_base_sink_do_sync), (gst_base_sink_chain_unlocked):
1683 Refactor adjusting the running_time with latency and offset into a
1685 When doing clipping, we still want to use the subclass get_times method,
1686 just in case the DURATION or TIMESTAMP are not set.
1688 2008-05-19 Tim-Philipp Müller <tim.muller at collabora co uk>
1690 * docs/gst/gstreamer-sections.txt:
1691 * gst/gsttypefind.c: (gst_type_find_suggest_simple):
1692 * gst/gsttypefind.h:
1693 * win32/common/libgstreamer.def:
1694 API: add gst_type_find_suggest_simple(), #533740.
1696 2008-05-19 Tim-Philipp Müller <tim.muller at collabora co uk>
1698 * libs/gst/base/gstbasesrc.c: (gst_base_src_start):
1699 Use right error code when typefinding fails, so we can use
1700 the default (translated) error messages.
1702 2008-05-19 Wim Taymans <wim.taymans@collabora.co.uk>
1704 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range),
1705 (gst_base_src_start):
1706 When the subclass did not set caps on outgoing buffers, configure the
1707 caps we negotiated on the source pad.
1708 When the typefind helper does not find caps, error out properly instead
1709 of doing things with NULL caps.
1711 2008-05-18 Tim-Philipp Müller <tim.muller at collabora co uk>
1713 * gst/gsttypefind.h:
1714 Tabs to spaces, oh yes!
1716 2008-05-18 Tim-Philipp Müller <tim.muller at collabora co uk>
1718 * tests/check/gst/gstcaps.c: (test_intersect2), (gst_caps_suite):
1719 Add David's and Benjamin's tests for array intersection to the
1720 unit test suite (#147931).
1722 2008-05-18 Tim-Philipp Müller <tim.muller at collabora co uk>
1725 Document that gst_event_new_tag() and gst_event_new_navigation()
1726 take ownership of the taglist/structure passed to them. (#533635).
1728 2008-05-17 Jan Schmidt <jan.schmidt@sun.com>
1731 Don't descend into the plugins dir if plugin docs building
1735 Add a note about the new type:GTypeName syntax for the plugin
1736 documentation .types file.
1738 2008-05-17 Sebastian Dröge <slomo@circular-chaos.org>
1740 * gst/gstmessage.c: (gst_message_new_error),
1741 (gst_message_new_warning), (gst_message_new_info):
1743 Mark the debug string parameters as const. Fixes bug #533490.
1745 2008-05-16 Sebastian Dröge <slomo@circular-chaos.org>
1747 * libs/gst/base/gsttypefindhelper.c: (helper_find_peek):
1748 Sort buffer cache list by end offsets. This makes sure that we don't
1749 stop to search for a cached buffer that contains the requested data
1751 Also read a minimum of 4k bytes instead of 512 bytes as this is a bit
1752 more efficient. Fixes bug #459862.
1754 2008-05-14 Stefan Kost <ensonic@users.sf.net>
1757 Explain why we copy the list.
1759 * gst/gstpipeline.c:
1763 Add one debug-log statement to help tracing probelms with linking pads.
1765 2008-05-12 Stefan Kost <ensonic@users.sf.net>
1767 * tests/check/gst/gstinfo.c:
1768 Add a test for removing the default log handler. Seems to fail under
1771 2008-05-14 Wim Taymans <wim.taymans@collabora.co.uk>
1773 * gst/gstpad.c: (gst_pad_peer_accept_caps):
1774 Release pad lock before calling out to avoid a possible deadlock.
1776 2008-05-14 Wim Taymans <wim.taymans@collabora.co.uk>
1778 * gst/parse/grammar.y:
1779 Remove unneeded value unset.
1781 * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
1782 Add unit test for de/serialization of caps.
1784 2008-05-13 Sebastian Dröge <slomo@circular-chaos.org>
1786 * plugins/elements/gstfakesink.c:
1787 (marshal_VOID__MINIOBJECT_OBJECT), (gst_fake_sink_class_init):
1788 * plugins/elements/gstfakesrc.c: (marshal_VOID__MINIOBJECT_OBJECT),
1789 (gst_fake_src_class_init):
1790 Use custom marshalers that take GstMiniObject as first parameter.
1791 Using OBJECT as parameter while a GstMiniObject is given will lead
1792 to assertions if built with G_ENABLE_DEBUG. Fixes bug #525532.
1794 2008-05-13 Sebastian Dröge <slomo@circular-chaos.org>
1796 * plugins/elements/gsttypefindelement.c:
1797 (gst_type_find_element_handle_event),
1798 (gst_type_find_element_send_cached_events),
1799 (gst_type_find_element_change_state):
1800 Clean up on FLUSH_STOP and not FLUSH_START. Forward both events
1803 2008-05-13 Sebastian Dröge <slomo@circular-chaos.org>
1805 * plugins/elements/gsttypefindelement.c:
1806 (gst_type_find_handle_src_query), (stop_typefinding),
1807 (gst_type_find_element_handle_event),
1808 (gst_type_find_element_send_cached_events),
1809 (gst_type_find_element_change_state):
1810 Forward FLUSH_START events immediately and clean up instead of
1813 2008-05-13 Sebastian Dröge <slomo@circular-chaos.org>
1815 Patch by: Sjoerd Simons <sjoerd at luon dot net>
1817 * libs/gst/base/gstbasetransform.c:
1818 (gst_base_transform_buffer_alloc):
1819 Check the caps of the buffer returned by gst_pad_alloc_buffer() and
1820 fall back to default negotiation in the chain function if the caps
1821 are different from what was requested. Fixes bug #526768.
1823 2008-05-09 Tim-Philipp Müller <tim.muller at collabora co uk>
1826 * tests/check/gst/gstsegment.c:
1827 No, let's not use g_slice_{dup|copy} here, since they only exist
1828 since GLib 2.14 and we still depend only on >= 2.12. Also add
1829 unit test for gst_segment_copy().
1831 2008-05-09 Tim-Philipp Müller <tim.muller at collabora co uk>
1833 * gst/gstutils.h: (GST_BOILERPLATE_FULL):
1834 Try to fix 'dereferencing type-punned pointer will break strict
1835 aliasing rules' warnings with C++ compilers and GLib >= 2.14.0: GLib
1836 changed the default GType typedef from gulong to gsize at some point,
1837 but kept GType typedef'ed to gulong for C++ for ABI reasons; the
1838 g_once_* functions all take a gsize * though, so work around the type
1839 mismatch for C++ by doing everything in gsize and casting to GType
1842 2008-05-09 Jan Schmidt <jan.schmidt@sun.com>
1844 * plugins/elements/gstmultiqueue.c:
1845 Add documentation for the signals to push our core plugin docs
1846 coverage back up to 100%.
1848 2008-05-08 Ole André Vadla Ravnås <ole.andre.ravnas at tandberg com>
1850 * gst/gstinfo.h (GST_FUNCTION):
1851 Reverted GST_FUNCTION to the old version as we don't want the
1852 full signature in C++ code. Also added support for MSVC.
1854 2008-05-08 Sebastian Dröge <slomo@circular-chaos.org>
1857 Intern the type name string, similar to what G_DEFINE_TYPE does.
1859 2008-05-08 Sebastian Dröge <slomo@circular-chaos.org>
1862 Make GST_BOILERPLATE thread-safe if building with GLib 2.14 or newer.
1864 2008-05-08 Sebastian Dröge <slomo@circular-chaos.org>
1866 Based on a patch by: Sjoerd Simons <sjoerd at luon dot net>
1868 * libs/gst/base/gstbasetransform.c:
1869 (gst_base_transform_buffer_alloc):
1870 Don't passthrough buffer allocation too easily if the caps change.
1871 This breaks when working in passthrough mode and upstream changes
1872 it's caps. Fixes bug #526768.
1874 2008-05-07 Ole André Vadla Ravnås <ole.andre.ravnas at tandberg com>
1876 * gst/gstinfo.c (gst_debug_log_valist):
1877 Improved the __FILE__ part of debug output for MSVC.
1879 2008-05-07 Ole André Vadla Ravnås <ole.andre.ravnas at tandberg com>
1881 * libs/gst/base/gstbasesrc.c (gst_base_src_default_query):
1882 Declaration after statement fix for compilers like MSVC.
1884 2008-05-07 Ole André Vadla Ravnås <ole.andre.ravnas at tandberg com>
1886 * win32/common/config.h.in:
1887 Don't define GST_FUNCTION, if GLib supports MSVC we'd much rather
1888 use the real thing than having "???" unconditionally.
1890 2008-05-07 Ole André Vadla Ravnås <ole.andre.ravnas at tandberg com>
1892 * gst/gstinfo.h (GST_FUNCTION):
1893 Made GST_FUNCTION an alias for G_STRFUNC to avoid duplication.
1895 2008-05-07 Wim Taymans <wim.taymans@collabora.co.uk>
1897 * libs/gst/base/gstadapter.c: (gst_adapter_available_fast):
1900 * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
1901 (gst_base_sink_set_flushing):
1902 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
1905 2008-05-07 Wim Taymans <wim.taymans@collabora.co.uk>
1907 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
1908 (gst_fake_src_init), (gst_fake_src_set_property),
1909 (gst_fake_src_get_property), (gst_fake_src_start):
1910 * plugins/elements/gstfakesrc.h:
1911 Added format property to control the format of the newsegment events.
1912 API: GstFakeSrc:format
1914 2008-05-06 Sebastian Dröge <slomo@circular-chaos.org>
1916 * win32/common/libgstreamer.def:
1917 Add gst_pad_has_name() to the exported symbols.
1919 2008-05-06 Sebastian Dröge <slomo@circular-chaos.org>
1921 * gst/gstpad.c: (gst_pad_alloc_buffer_full):
1922 * libs/gst/base/gstbasetransform.c:
1923 (gst_base_transform_prepare_output_buffer):
1924 Don't allow negative sizes when allocating new buffers.
1927 2008-05-05 Tim-Philipp Müller <tim.muller at collabora co uk>
1929 Patch by: Sjoerd Simons <sjoerd at luon net>
1931 * gst/gstbus.c: (gst_bus_source_dispatch):
1932 Don't print a warning if the queue is empty when we try to pop
1933 here. That could happen if another thread or callback set the
1934 bus to flushing between the source's check/prepare and the
1935 dispatch being called (#531538).
1937 2008-05-05 Tim-Philipp Müller <tim.muller at collabora co uk>
1939 * plugins/elements/gstmultiqueue.c:
1942 2008-05-05 Sebastian Dröge <slomo@circular-chaos.org>
1944 * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
1945 Add unit test for deserializing uint64s and check some really large
1946 numbers in the int64 test.
1948 2008-05-04 Sebastian Dröge <slomo@circular-chaos.org>
1950 * tools/gst-inspect.c: (n_print), (print_hierarchy),
1951 (print_interfaces), (print_element_properties_info),
1952 (print_signal_info):
1953 Use "%s" as format string instead of printing strings directly.
1955 2008-05-04 Sebastian Dröge <slomo@circular-chaos.org>
1957 * gst/gstclock.c: (gst_clock_set_calibration):
1958 Make some checks actually useful.
1960 * gst/gstregistrybinary.c: (gst_registry_binary_load_plugin):
1961 Remove some unused code. Unsigned integers tend to be >= 0.
1963 2008-05-03 Tim-Philipp Müller <tim.muller at collabora co uk>
1965 * gst/gstminiobject.c: (gst_value_get_mini_object):
1966 Fix 'Since:' version in gst_value_dup_mini_object() docs blurb: this
1967 function was not in the unscheduled 0.10.19 release.
1969 2008-05-03 Tim-Philipp Müller <tim.muller at collabora co uk>
1971 * gst/gstregistry.c: (gst_registry_scan_path_level):
1972 Only print one log message per non-plugin file.
1974 2008-05-03 Tim-Philipp Müller <tim.muller at collabora co uk>
1976 * gst/gstinfo.c: (gst_debug_log_default):
1977 Fix alignment of debug log columns on 64-bit.
1979 2008-05-03 Tim-Philipp Müller <tim.muller at collabora co uk>
1981 * docs/libs/Makefile.am:
1982 * docs/libs/gstreamer-libs-sections.txt:
1983 Ignore private controller headers for docs.
1985 2008-05-03 Sebastian Dröge <slomo@circular-chaos.org>
1987 * libs/gst/controller/gstcontrollerprivate.h:
1988 * libs/gst/controller/gsthelper.c:
1989 * libs/gst/controller/gstinterpolation.c:
1990 * libs/gst/controller/gstinterpolationcontrolsource.c:
1991 (gst_interpolation_control_source_set_interpolation_mode):
1992 * libs/gst/controller/gstinterpolationcontrolsourceprivate.h:
1993 * libs/gst/controller/lib.c:
1994 Move some private declarations into private headers.
1996 2008-05-02 Sebastian Dröge <slomo@circular-chaos.org>
1998 * gst/gstdebugutils.c: (debug_dump_element_pad):
1999 Remove some code that is unused after Stefan's refactoring and uses
2000 uninitialized variables now, resulting in a compiler warning.
2002 2008-05-01 Tim-Philipp Müller <tim.muller at collabora co uk>
2004 * gst/gstregistry.c: (gst_registry_scan_path_level):
2005 Run g_str_has_suffix() only on the file name, not the
2008 2008-04-30 Tim-Philipp Müller <tim.muller at collabora co uk>
2010 * plugins/elements/gstqueue.c: (gst_queue_leak_downstream):
2011 Since we're not called only from the chain function any longer,
2012 we can't assume that there's always data in the queue, so move
2013 the is_full check to the beginning of the loop (otherwise we'd
2014 hit the assert when changing the limit properties while the
2015 queue is empty or not running yet).
2016 Also, only set a discont if items were actually removed from
2019 * tests/check/elements/queue.c: (test_leaky_downstream):
2020 Test case for the above.
2022 2008-04-30 Wim Taymans <wim.taymans@collabora.co.uk>
2024 Patch by: Jonas Holmberg <jonas dot holmberg at axis dot com>
2026 * plugins/elements/gstqueue.c: (gst_queue_leak_downstream),
2027 (gst_queue_chain), (queue_capacity_change),
2028 (gst_queue_set_property):
2029 When changing thr max capacity of a leaky queue, immediatly drop buffers
2030 instead of waiting for a push on the sinkpad. Fixes #530637.
2032 2008-04-30 Stefan Kost <ensonic@users.sf.net>
2034 * gst/gstdebugutils.c:
2035 Refactor code and fix handling of ghostpads and their proxypads.
2037 2008-04-29 Wim Taymans <wim.taymans@collabora.co.uk>
2039 * docs/gst/gstreamer-sections.txt:
2040 * gst/gstevent.c: (gst_event_has_name):
2042 * tests/check/gst/gstevent.c: (GST_START_TEST):
2043 Add method to conveniently check the name of a custom event with
2044 gst_event_has_name().
2045 Reformat the event docs so that related methods are put together instead
2046 of the default alphabetical sort.
2047 Update unit test with new method.
2048 API: GstEvent::gst_event_has_name()
2050 2008-04-28 Michael Smith <msmith@songbirdnest.com>
2052 * libs/gst/check/Makefile.am:
2053 Don't add an explicit link to libgstreamer-0.10.la; it's already
2054 included in GST_OBJ_LIBS.
2056 2008-04-28 Sebastian Dröge <slomo@circular-chaos.org>
2059 Register GstClock type from a type-safe context. Fixes bug #530317.
2061 2008-04-25 Michael Smith <msmith@songbirdnest.com>
2063 Patch by Edward Hervey <edward.hervey@collabora.co.uk>
2065 Include <unistd.h> conditionally on HAVE_UNISTD_H as elsewhere.
2067 2008-04-25 Wim Taymans <wim.taymans@collabora.co.uk>
2069 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
2071 Use the GLib stuff to create a private structure.
2072 Add some locking around some dispose methods to make them a little
2073 safer, see #529723. Patch by: Antoine Tremblay <hexa00 at gmail dot com>
2075 2008-04-25 Stefan Kost <ensonic@users.sf.net>
2077 * libs/gst/base/gstbasesink.h:
2078 * libs/gst/base/gstbasesrc.h:
2079 * libs/gst/base/gstbasetransform.h:
2080 * libs/gst/base/gstcollectpads.h:
2081 Fix doc typos and unify caps a bit.
2083 2008-04-25 Stefan Kost <ensonic@users.sf.net>
2085 * tools/gst-launch.1.in:
2086 Forgot to also add the envvar docs here.
2088 2008-04-25 Tim-Philipp Müller <tim at centricular dot net>
2090 * gst/gst.c: (init_post), (gst_deinit):
2091 * tests/check/gst/gstpipeline.c: (GST_START_TEST), (pipeline_thread),
2092 (test_concurrent_create), (gst_pipeline_suite):
2093 Ref some more classes in gst_init() to work around thread-safety
2094 issues in pre-2.16 GLibs, and add basic unit test.
2096 2008-04-25 Wim Taymans <wim.taymans@collabora.co.uk>
2098 * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
2099 (gst_base_sink_send_event):
2100 Rearrange the latency query code. We always want to do the upstream
2101 query, even if we are not live so that the upstream elements can get the
2102 latency results too. If we fail doing the query and we are live, we
2103 return TRUE afterwards.
2105 2008-04-24 Stefan Kost <ensonic@users.sf.net>
2107 patch by: Jason Zhao <e3423c@motorola.com>
2109 * docs/gst/running.xml:
2111 Enable/disable scan_and_update_registry() based on commandline switch
2112 or environment variable. Fixes #520468.
2115 Fix typo in my previous commit.
2117 2008-04-24 Stefan Kost <ensonic@users.sf.net>
2119 * gst/gstregistrybinary.c:
2120 Add a warning if we hit unhandled factories when saving.
2121 More debug logging detail, but move to LOG category.
2123 2008-04-24 Stefan Kost <ensonic@users.sf.net>
2125 * gst/gstregistry.c:
2126 Tell the *truth* when improving the documentation.
2128 2008-04-23 Sebastian Dröge <slomo@circular-chaos.org>
2130 * gst/gstelementfactory.c: (gst_element_factory_make):
2131 Unref the factory after it was used the last time, not before.
2133 * gst/gstindexfactory.c: (gst_index_factory_make):
2134 Improve debugging a bit and don't leak a ref to the index factory with
2137 2008-04-23 Stefan Kost <ensonic@users.sf.net>
2139 * gst/gstregistry.c:
2140 Improve the documentation.
2142 2008-04-23 Stefan Kost <ensonic@users.sf.net>
2145 The glib macro seems to be borked. Use g_slice_copy directly and cast
2146 in the hope that this fixes the warning on 64bit.
2148 2008-04-23 Stefan Kost <ensonic@users.sf.net>
2151 Document the new function. Use g_slice_dup() (no need for
2152 gst_segment_init()).
2154 2008-04-23 Stefan Kost <ensonic@users.sf.net>
2156 * docs/gst/gstreamer-sections.txt:
2157 Move GParamSepc macros to standart section.
2160 Dn't document _get_type - its in private section in docs anyway and
2161 this doc-blob was incomplete.
2164 Fix wrong symbol names in docs.
2167 Add once doc sentence.
2169 * tests/check/gst/.cvsignore:
2172 2008-04-21 Stefan Kost <ensonic@users.sf.net>
2174 * docs/gst/Makefile.am:
2175 And remove those libs here.
2177 2008-04-21 Tim-Philipp Müller <tim at centricular dot net>
2179 * docs/libs/Makefile.am:
2180 Fix docs build again by adding libgstnet-0.10.so to SCANOBJ_DEPS.
2182 2008-04-21 Wim Taymans <wim.taymans@collabora.co.uk>
2184 Patch by: Olivier Crete <tester at tester dot ca>
2186 * plugins/elements/gstqueue.c: (gst_queue_handle_src_query):
2187 Add the min-threshold to the min latency if possible. Fixes #529148.
2189 2008-04-21 Stefan Kost <ensonic@users.sf.net>
2191 * docs/gst/gstreamer.types.in:
2192 Stupid editor, I removed that line as it should go in yet.
2194 2008-04-21 Stefan Kost <ensonic@users.sf.net>
2196 * docs/gst/gstreamer.types.in:
2197 * docs/libs/gstreamer-libs.types:
2198 Remove library types fro core docs and have them in libs docs.
2199 Reformat and cleanup. Add comment for miniobject types.
2201 2008-04-20 Tim-Philipp Müller <tim at centricular dot net>
2203 * gst/gsturi.c: (gst_uri_get_protocol):
2204 Fix leak: g_strdown operates on the string in place, while
2205 g_ascii_strdown() returns a newly-allocated string.
2207 2008-04-20 Sebastian Dröge <slomo@circular-chaos.org>
2209 * tools/gst-inspect.c: (print_uri_handler_info),
2210 (print_element_info):
2211 Print the URI protocols and the URI type supported by the element.
2213 2008-04-19 Sebastian Dröge <slomo@circular-chaos.org>
2215 * gst/gsttaglist.c: (gst_tag_merge_strings_with_comma):
2216 Use g_value_take_string() instead of the deprecated
2217 g_value_set_string_take_ownership().
2219 2008-04-19 Sebastian Dröge <slomo@circular-chaos.org>
2221 * gst/gstregistrybinary.c: (_gst_crc32):
2222 Return the old CRC instead of 0 if we give a NULL buffer
2223 or a buffer with a length of 0.
2225 2008-04-19 Sebastian Dröge <slomo@circular-chaos.org>
2227 * gst/gsturi.c: (gst_uri_protocol_check_internal),
2228 (gst_uri_get_protocol), (gst_uri_has_protocol),
2229 (gst_uri_construct), (gst_uri_handler_set_uri):
2230 A valid URI scheme can also include '+', '-' and '.' additional
2231 to alphanumeric characters as per RFC 3986 Section 3.1.
2233 Handle URI schemes case insensitive in all places and convert
2234 to lower-case when constructing an URI or setting an URI with
2235 the GstURIHandler interface. Fixes bug #528868.
2236 All elements can still assume (as before) that they will
2237 get passed URIs with a lower-case URI scheme by the GstURIHandler
2240 2008-04-17 Tim-Philipp Müller <tim at centricular dot net>
2242 * gst/gstcaps.c: (gst_static_caps_get):
2243 * gst/gstclock.c: (gst_clock_entry_new):
2244 Don't use g_atomic_set_int where it's not needed.
2246 2008-04-17 Wim Taymans <wim.taymans@collabora.co.uk>
2248 * gst/gstvalue.c: (gst_value_deserialize_caps):
2249 * gst/parse/grammar.y:
2252 2008-04-17 Sebastian Dröge <slomo@circular-chaos.org>
2254 * gst/gstutils.c: (gst_atomic_int_set):
2255 Use g_atomic_int_set() here too instead of assignment +
2258 2008-04-17 Sebastian Dröge <slomo@circular-chaos.org>
2262 API: Deprecate gst_atomic_int_set(), g_atomic_int_set() should be used
2263 now that we depend on new enough GLib.
2265 * gst/gstcaps.c: (gst_static_caps_get):
2266 * gst/gstclock.c: (gst_clock_entry_new):
2267 * gst/gstinfo.c: (_gst_debug_init), (gst_debug_set_colored),
2268 (gst_debug_set_default_threshold), (_gst_debug_category_new),
2269 (gst_debug_category_set_threshold):
2270 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
2271 (gst_base_sink_set_qos_enabled):
2272 * libs/gst/net/gstnettimeprovider.c:
2273 (gst_net_time_provider_set_property):
2274 Use g_atomic_int_set() instead of gst_atomic_int_set().
2276 2008-04-16 Stefan Kost <ensonic@users.sf.net>
2279 Also use G_GINT64_CONSTANT for the queries.
2281 2008-04-16 Stefan Kost <ensonic@users.sf.net>
2284 Use G_GINT64_CONSTANT in varargs function.
2286 2008-04-16 Sebastian Dröge <slomo@circular-chaos.org>
2288 * gst/gstregistrybinary.c: (gst_registry_binary_initialize_magic):
2289 Initialize the registry magic with zeroes.
2291 2008-04-16 Sebastian Dröge <slomo@circular-chaos.org>
2293 * gst/gstregistrybinary.c: (_gst_crc32),
2294 (gst_registry_binary_write),
2295 (gst_registry_binary_initialize_magic),
2296 (gst_registry_binary_write_cache),
2297 (gst_registry_binary_check_magic),
2298 (gst_registry_binary_read_cache):
2299 * gst/gstregistrybinary.h:
2300 Add crc32 checksum to the binary registry file and check this before
2301 accepting a registry file.
2303 Also free the data list when writing to the registry file fails.
2305 2008-04-16 Sebastian Dröge <slomo@circular-chaos.org>
2307 * gst/gstregistrybinary.c: (gst_registry_binary_save_feature),
2308 (gst_registry_binary_load_feature),
2309 (gst_registry_binary_load_plugin):
2310 If an element supports the Uri interface, returns a valid pointer
2311 to the supported URI protocols but this pointer contains nothing
2312 don't try to save that as it will corrupt the registry.
2314 Don't unref the plugin if we added it to the registry already but
2315 fail to load a feature as gst_registry_add_plugin() takes ownership
2318 Improve debugging a bit.
2320 2008-04-16 Stefan Kost <ensonic@users.sf.net>
2323 Clarify some tag item docs after discussion on irc.
2325 2008-04-15 Stefan Kost <ensonic@users.sf.net>
2327 * docs/gst/gstreamer-docs.sgml:
2328 Remove commented out plugins (they have their own docs). Update
2331 2008-04-15 Stefan Kost <ensonic@users.sf.net>
2333 * docs/gst/gstreamer-docs.sgml:
2334 * docs/gst/gstreamer-sections.txt:
2335 * gst/gstparamspecs.c:
2336 * gst/gstparamspecs.h:
2337 Add GST_PARAM_CONTROLLABLE and GST_PARAM_USER_SHIFT. Move paramspec
2338 docs to own section.
2341 This now only documents GValue.
2343 * docs/libs/gstreamer-libs-sections.txt:
2344 * libs/gst/controller/gstcontroller.h:
2345 Remove GST_PARAM_CONTROLLABLE.
2347 2008-04-15 Stefan Kost <ensonic@users.sf.net>
2350 Correct file path. Tell about how to use -overrides.txt.
2351 * docs/design/draft-tagreading.txt:
2352 Small design update.
2354 2008-04-14 Sebastian Dröge <slomo@circular-chaos.org>
2356 * gst/gstregistrybinary.c: (gst_registry_binary_load_feature),
2357 (gst_registry_binary_load_plugin):
2358 Fix a typo in a debug message and revert change from yesterday as
2359 gst_registry_add_plugin() will only fail if something is really wrong
2360 already and we can't survive it anyway.
2362 2008-04-14 Tim-Philipp Müller <tim at centricular dot net>
2364 * gst/gst.c: (init_post), (gst_deinit):
2365 Pre-register GstGError GType from a thread-safe context
2366 (fixes #527967); unref enum type classes in deinit.
2368 2008-04-13 Tim-Philipp Müller <tim at centricular dot net>
2370 Patch by: Rene Stadler <mail at renestadler de>
2372 * gst/gsttagsetter.c: (gst_tag_setter_merge_tags):
2373 Merging an empty list with another list in KEEP_ALL mode should
2374 yield an empty list as result and not the second list (#512578).
2376 * tests/check/gst/gsttagsetter.c:
2377 Add unit test for tag merge modes and the aforementioned bug.
2379 2008-04-13 Tim-Philipp Müller <tim at centricular dot net>
2381 Patch by: Rene Stadler <mail at renestadler de>
2384 Fix description to match the order in the table (#512577).
2386 2008-04-13 Tim-Philipp Müller <tim at centricular dot net>
2388 Patch by: Kwang Yul Seo <kwangyul.seo gmail com>
2390 * libs/gst/net/gstnettimepacket.h:
2391 * docs/libs/gstreamer-libs-sections.txt:
2392 Define socklen_t as int if it's not defined yet. Fixes compilation
2393 with MSVC6 and other versions where socklen_t is not defined in
2394 the windows headers (#518022).
2396 2008-04-13 Sebastian Dröge <slomo@circular-chaos.org>
2398 * gst/gstregistrybinary.c: (gst_registry_binary_load_plugin):
2399 If gst_registry_add_plugin() fails our reference to the plugin is
2400 invalid so don't try to use it anymore and instead error out.
2402 2008-04-12 Tim-Philipp Müller <tim at centricular dot net>
2404 * tools/gst-xmlinspect.c: (print_element_info), (main):
2405 De-cruft a bit. If no argument is specified, print all elements in
2406 XML syntax rather than a freestyle list of elements like gst-inspect.
2407 Also, don't print XML header chunk unless we actually have something
2408 to print (ie. don't print it before an error message); print error
2409 message to stderr not stdout. Remove support for printing plugin
2410 info (it would just output something freestyle along the lines of
2411 gst-inspect so far), which fixes #514507. Also add license header.
2413 2008-04-11 Julien Moutte <julien@fluendo.com>
2416 * configure.ac: Merge platform specific defines, introduce a new
2417 define on OS X to remember that forking when updating registry is
2419 * docs/faq/gst-uninstalled: Updated to include gst-libs in the bad
2421 * gst/gst.c: Don't fork when updating registry if GST_HAVE_UNSAFE_FORK
2423 * gst/gstregistry.c: (gst_registry_scan_path_level): Fixed a bogus
2424 condition that leads to absolutely no plugins being registered on
2427 2008-04-10 Tim-Philipp Müller <tim at centricular dot net>
2429 Based on patch by: José Alburquerque <jaalburqu at svn dot gnome dot org>
2431 * gst/gstutils.c: (gst_pad_add_data_probe),
2432 (gst_pad_add_data_probe_full), (gst_pad_add_event_probe),
2433 (gst_pad_add_event_probe_full), (gst_pad_add_buffer_probe),
2434 (gst_pad_add_buffer_probe_full):
2436 * docs/gst/gstreamer-sections.txt:
2437 * win32/common/libgstreamer.def:
2438 Add gst_pad_add_*_probe_full() functions with a notify callback that
2439 lets the caller free the data it passes to the probe functions. This
2440 is useful for bindings such as gst-python or gstreamermm (#526814).
2441 API: gst_pad_add_data_probe_full
2442 API: gst_pad_add_buffer_probe_full
2443 API: gst_pad_add_event_probe_full
2445 * tests/check/gst/gstutils.c:
2446 Add minimal unit test to make sure freeing the data actually works
2449 * tests/benchmarks/.cvsignore:
2450 Random cvsignore addendum.
2452 2008-04-10 Tim-Philipp Müller <tim at centricular dot net>
2454 * gst/gstdebugutils.h: (GST_DEBUG_BIN_TO_DOT_FILE_WITH_TS),
2455 (GST_DEBUG_BIN_TO_DOT_FILE):
2456 Mention GstDebugGraphDetails enum type in doc blurb so we get a link
2457 to it in the docs (since these are macros the types of the arguments
2458 won't be shown in the docs otherwise).
2460 2008-04-10 Stefan Kost <ensonic@users.sf.net>
2463 Do not abort on out of memory for pad_alloc_buffer.
2465 2008-04-10 Stefan Kost <ensonic@users.sf.net>
2467 * libs/gst/check/gstcheck.c:
2468 Remove blank line between symbol name ad parameters to fix gtkdoc
2471 2008-04-09 Tim-Philipp Müller <tim at centricular dot net>
2473 Patch by: José Alburquerque <jaalburqu at svn dot gnome dot org>
2475 * docs/gst/gstreamer-sections.txt:
2478 * win32/common/libgstreamer.def:
2479 Expose gst_segment_copy() to make things easier for the c++ bindings.
2481 API: gst_segment_copy()
2483 2008-04-09 Tim-Philipp Müller <tim at centricular dot net>
2485 * gst/gst.c: (gst_init_get_option_group), (init_post):
2486 Fix const position; ref GType classes for enum types to work
2487 around thread-safety issues in GLib versions < 2.16.
2489 2008-04-09 Wim Taymans <wim.taymans@collabora.co.uk>
2491 * docs/design/part-buffering.txt:
2492 Fix some typos and set the estimated total for push mode to -1.
2494 * gst/gstquery.c: (gst_query_new_buffering):
2495 Set buffering-left to 0 as we're not buffering by default.
2497 * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query):
2498 Implement BUFFERING query.
2500 2008-04-09 Tim-Philipp Müller <tim at centricular dot net>
2502 Based on patch by: Milosz Derezynski <internalerror gmail com>
2504 * gst/gsterror.c: (_gst_stream_errors_init):
2506 Add two new error codes for encrypted content. Fixes #524659.
2507 API: GST_STREAM_ERROR_DECRYPT
2508 API: GST_STREAM_ERROR_DECRYPT_NOKEY
2510 2008-04-09 Tim-Philipp Müller <tim at centricular dot net>
2515 * win32/common/libgstreamer.def:
2518 2008-04-09 Sebastian Dröge <slomo@circular-chaos.org>
2520 * plugins/elements/gstidentity.c: (gst_identity_event),
2521 (gst_identity_start):
2522 Fix imperfect timestamp/offset checks when we get another NEWSEGMENT
2523 event after processing some data. Fixes bug #526042.
2525 2008-04-08 Wim Taymans <wim.taymans@collabora.co.uk>
2527 * docs/gst/gstreamer-sections.txt:
2528 * gst/gstquery.c: (gst_query_parse_latency),
2529 (gst_query_set_buffering_percent),
2530 (gst_query_parse_buffering_percent),
2531 (gst_query_set_buffering_range), (gst_query_parse_buffering_range):
2533 Rename _avail -> _range
2534 API: gst_query_set_buffering_range
2535 API: gst_query_parse_buffering_range
2537 2008-04-08 Wim Taymans <wim.taymans@collabora.co.uk>
2539 * docs/design/part-buffering.txt:
2542 * gst/gstquery.c: (gst_query_parse_latency),
2543 (gst_query_new_buffering), (gst_query_set_buffering_percent),
2544 (gst_query_parse_buffering_percent):
2546 Add busy field and quark for the buffering query so that the app can
2547 only use the query to see if buffering is in progress.
2549 2008-04-08 Wim Taymans <wim.taymans@collabora.co.uk>
2551 * docs/gst/gstreamer-sections.txt:
2552 * gst/gstmessage.c: (gst_message_set_buffering_stats),
2553 (gst_message_parse_buffering_stats):
2555 * gst/gstquery.c: (gst_query_new_latency), (gst_query_set_latency),
2556 (gst_query_parse_latency), (gst_query_new_buffering),
2557 (gst_query_set_buffering_percent),
2558 (gst_query_parse_buffering_percent),
2559 (gst_query_set_buffering_stats), (gst_query_parse_buffering_stats),
2560 (gst_query_set_buffering_avail), (gst_query_parse_buffering_avail):
2562 Reorder the message docs and headers for clarity.
2563 Add aditional buffering stats API for messages.
2564 Add buffering query.
2565 Convert some leftover queries to use GstQuark.
2566 API: gst_message_set_buffering_stats
2567 API: gst_message_parse_buffering_stats
2568 API: GST_QUERY_BUFFERING
2569 API: GstBufferingMode
2570 API: gst_query_new_buffering
2571 API: gst_query_set_buffering_percent
2572 API: gst_query_parse_buffering_percent
2573 API: gst_query_set_buffering_stats
2574 API: gst_query_parse_buffering_stats
2576 2008-04-08 Wim Taymans <wim.taymans@collabora.co.uk>
2578 * gst/gstmessage.c: (gst_message_new_error),
2579 (gst_message_new_warning), (gst_message_new_info),
2580 (gst_message_new_buffering), (gst_message_new_state_changed),
2581 (gst_message_new_clock_provide), (gst_message_new_clock_lost),
2582 (gst_message_new_new_clock), (gst_message_new_segment_start),
2583 (gst_message_new_segment_done), (gst_message_new_duration),
2584 (gst_message_new_async_start), (gst_message_parse_buffering),
2585 (gst_message_parse_state_changed),
2586 (gst_message_parse_clock_provide), (gst_message_parse_clock_lost),
2587 (gst_message_parse_new_clock), (gst_message_parse_error),
2588 (gst_message_parse_warning), (gst_message_parse_info),
2589 (gst_message_parse_segment_start),
2590 (gst_message_parse_segment_done), (gst_message_parse_duration),
2591 (gst_message_parse_async_start):
2592 Use GstQuark for messages.
2594 2008-04-08 Wim Taymans <wim.taymans@collabora.co.uk>
2596 * gst/gstquark.c: (_priv_gst_quarks_initialize):
2598 Add some more quarks needed for messages and queries.
2600 2008-04-08 Wim Taymans <wim.taymans@collabora.co.uk>
2602 * docs/design/part-buffering.txt:
2603 Remove the "none" buffering mode, STREAM is a good default.
2604 Move estimated-time to the avail query, that's when it will be needed.
2605 Other small typo fixes and updates.
2607 2008-04-07 Tim-Philipp Müller <tim at centricular dot net>
2609 * gst/gstindex.c: (gst_index_resolver_get_type):
2610 Don't put descriptions into the nick field of a GEnumValue: it's not
2611 meant for that and some language bindings rely on the nick field to
2612 construct constants and the like. Fixes #526705.
2614 2008-04-07 Tim-Philipp Müller <tim at centricular dot net>
2619 Merge other changes from 0.10.19 release branch.
2621 2008-04-06 Sebastian Dröge <slomo@circular-chaos.org>
2623 Patch by: Damien Lespiau <damien dot lespiau at gmail dot com>
2626 Actually build dlls when cross-compiling with mingw32.
2629 2008-04-05 Sebastian Dröge <slomo@circular-chaos.org>
2631 Patch by: Damien Lespiau <damien dot lespiau at gmail dot com>
2634 Fix compilation of GstPoll with mingw32. Fixes bug #526236.
2636 2008-04-04 Wim Taymans <wim.taymans@collabora.co.uk>
2638 * docs/design/draft-latency.txt:
2641 * docs/design/part-buffering.txt:
2642 Update design docs with more buffering ideas.
2644 2008-04-03 Tim-Philipp Müller <tim at centricular dot net>
2647 Bump version to 0.10.19.1 after the unscheduled 0.10.19 release.
2649 2008-04-03 Stefan Kost <ensonic@users.sf.net>
2652 Revert part that belongs to the preset patch.
2654 2008-04-03 Stefan Kost <ensonic@users.sf.net>
2657 Add qoutes to the define. Fixes # 525961.
2659 2008-04-03 Sebastian Dröge <slomo@circular-chaos.org>
2661 * plugins/indexers/gstfileindex.c: (_file_index_id_free),
2662 (gst_file_index_load), (gst_file_index_add_id),
2663 (gst_file_index_get_assoc_entry):
2664 * plugins/indexers/gstmemindex.c: (gst_mem_index_free_format),
2665 (gst_mem_index_free_id), (gst_mem_index_add_id),
2666 (gst_mem_index_index_format):
2667 Use GSlice when possible.
2669 2008-04-02 Sebastian Dröge <slomo@circular-chaos.org>
2671 * libs/gst/controller/gstinterpolationcontrolsource.c:
2672 (gst_control_point_free),
2673 (gst_interpolation_control_source_set_internal):
2674 Use GSlice for allocating the control points.
2676 2008-04-02 Wim Taymans <wim.taymans@collabora.co.uk>
2678 * plugins/elements/gsttypefindelement.c:
2679 (gst_type_find_element_class_init),
2680 (gst_type_find_element_set_property),
2681 (gst_type_find_element_get_property),
2682 (gst_type_find_element_activate):
2683 * plugins/elements/gsttypefindelement.h:
2685 Fix pad leak when peer query fails.
2686 We can still typefind when the peer returns -1.
2687 Add property to force caps and bypass typefinding. This will be used in
2691 2008-04-01 Sebastian Dröge <slomo@circular-chaos.org>
2696 * gst/glib-compat-private.h:
2697 * gst/gstcaps.c: (gst_caps_new_empty), (_gst_caps_free):
2698 * gst/gstclock.c: (gst_clock_entry_new), (_gst_clock_id_free):
2699 Unconditionally use GSlice for allocation.
2701 * gst/gstpoll.c: (gst_poll_new), (gst_poll_free):
2702 * gst/gstsegment.c: (gst_segment_new), (gst_segment_free):
2703 * gst/gststructure.c: (gst_structure_id_empty_new_with_size),
2704 (gst_structure_free):
2705 Use GSlice for allocation.
2707 2008-04-01 Sebastian Dröge <slomo@circular-chaos.org>
2709 * gst/parse/Makefile.am:
2710 * gst/parse/grammar.tab.pre.c:
2711 * gst/parse/grammar.tab.pre.h:
2712 * gst/parse/lex._gst_parse_yy.pre.c:
2713 Require a new enough flex and bison and remove the parser hacks to use
2714 a pre-regenerated version.
2716 2008-04-01 Julien Moutte <julien@fluendo.com>
2718 patch by: Jason Zhao <E3423C@motorola.com>
2720 * configure.ac: Add a configure switch to disable option parsing
2724 2008-03-31 Stefan Kost <ensonic@users.sf.net>
2727 * gst/gstregistry.c:
2728 MacOS has plugins under .so or under .dylib. Add detection for MacOS
2729 and handle this case.
2732 Add a comment here describing, why we stat each plugin and not try to
2735 2008-03-31 Sebastian Dröge <slomo@circular-chaos.org>
2737 * libs/gst/base/gstbasetransform.c:
2738 (gst_base_transform_prepare_output_buffer):
2739 Also unset the GAP flag on buffers if we're working inplace but
2740 the element is not GAP-aware.
2742 Mark a comment as FIXME 0.11.
2744 2008-03-31 Stefan Kost <ensonic@users.sf.net>
2747 Fix type in log message and add one to ease seeing how long registry
2748 cache verification takes.
2750 * gst/gstregistry.c:
2751 Only test plugin filenames against G_MODULE_SUFFIX.
2753 2008-03-31 Stefan Kost <ensonic@users.sf.net>
2755 * gst/gstdebugutils.c:
2756 Improve handling ghost/proxy pads.
2758 2008-03-27 Stefan Kost <ensonic@users.sf.net>
2760 * docs/gst/gstreamer-sections.txt:
2763 Expose macro to docs and fix link to it.
2765 2008-03-27 Michael Smith <msmith@fluendo.com>
2767 * libs/gst/dataprotocol/dataprotocol.c:
2768 (gst_dp_packet_from_event_1_0):
2769 When calculating GDP body CRC, use the correct pointer.
2770 Fixes part of #522401.
2772 2008-03-24 Wim Taymans <wim.taymans@collabora.co.uk>
2774 Patch by: Mark Nauwelaerts <manauw at skynet be>
2776 * plugins/elements/gstidentity.c: (gst_identity_class_init),
2777 (gst_identity_init), (gst_identity_prepare_output_buffer):
2778 Identity is not always a passthrough element, it can modify the buffer
2779 timestamps when it has a datarate and operates in single-segment mode.
2780 We therefore make it an in_place filter with a custom buffer prepare
2781 function that conditionally makes the input buffer metadata writable
2782 when needed. Fixes #523985.
2784 2008-03-24 Wim Taymans <wim.taymans@collabora.co.uk>
2786 Patch by: Mark Nauwelaerts <manauw at skynet be>
2789 * libs/gst/base/gstbasesrc.h:
2790 * libs/gst/base/gstbasetransform.c:
2791 * libs/gst/check/gstcheck.c:
2792 Small documentation fixes. Fixes #523978.
2794 2008-03-24 Wim Taymans <wim.taymans@collabora.co.uk>
2796 * plugins/elements/gstfdsink.c: (gst_fd_sink_render):
2797 * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
2798 Also retry our poll_wait when we get EAGAIN. Fixes #524041.
2800 2008-03-24 Wim Taymans <wim.taymans@collabora.co.uk>
2802 * plugins/elements/gstmultiqueue.c: (single_queue_overrun_cb),
2803 (single_queue_underrun_cb):
2804 When trying to make room in the queue, bump the max allowed buffers
2805 bigger than the current amount of buffers in the queue. this fixes some
2806 nasty deadlocks in multiqueue when dynamically changing the limits of
2809 2008-03-24 Wim Taymans <wim.taymans@collabora.co.uk>
2811 Patch by: José Alburquerque <jaalburqu at svn dot gnome dot org>
2813 * gst/gstcaps.c: (gst_caps_set_simple),
2814 (gst_caps_set_simple_valist), (gst_caps_intersect):
2816 Constify the field gchar * params in set_simple and friends.
2819 2008-03-24 Wim Taymans <wim.taymans@collabora.co.uk>
2821 * gst/gstvalue.c: (gst_value_transform_object_string):
2822 Transform a GstObject to a more meaningfull string that includes the
2823 object type in addition to its name.
2825 2008-03-23 Stefan Kost <ensonic@users.sf.net>
2828 ChangeLog surgery to add bugnumber to commit.
2830 2008-03-23 Rene Stadler <mail@renestadler.de>
2832 * libs/gst/base/gstbasetransform.c:
2833 (gst_base_transform_set_gap_aware): Fix confusing documentation.
2835 2008-03-23 Sebastian Dröge <slomo@circular-chaos.org>
2837 * gst/gstregistrybinary.c: (gst_registry_binary_write):
2838 Rename constant everywhere and don't forget one occurence.
2840 2008-03-23 Sebastian Dröge <slomo@circular-chaos.org>
2842 * gst/gstregistrybinary.c: (gst_registry_binary_write):
2843 Align memory to the pointer size even if the architecture allows
2844 unaligned memory access. Unaligned memory access usually comes with
2845 performance penality.
2847 2008-03-23 Sebastian Dröge <slomo@circular-chaos.org>
2849 * gst/gstregistrybinary.c: (gst_registry_binary_write),
2850 (gst_registry_binary_check_magic),
2851 (gst_registry_binary_load_pad_template),
2852 (gst_registry_binary_load_feature),
2853 (gst_registry_binary_load_plugin):
2854 Align memory to the pointer size instead of always 32 bit. Fixes
2855 unaligned memory accesses on ia64 and friends.
2857 * gst/gstregistrybinary.h:
2858 Bump binary registry format version for this as it changes the
2859 format on those architectures that don't have unaligned access
2860 and 64 bit pointers.
2862 2008-03-22 Sebastian Dröge <slomo@circular-chaos.org>
2864 * docs/pwg/advanced-dparams.xml:
2865 * docs/pwg/building-props.xml:
2866 * docs/pwg/other-source.xml:
2867 * gst/glib-compat.h:
2868 * gst/gstbin.c: (gst_bin_class_init):
2869 * gst/gstclock.c: (gst_clock_class_init):
2870 * gst/gstindex.c: (gst_index_class_init):
2871 * gst/gstobject.c: (gst_object_class_init):
2872 * gst/gstpad.c: (gst_pad_class_init):
2873 * gst/gstpipeline.c: (gst_pipeline_class_init):
2874 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
2875 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init):
2876 * libs/gst/base/gstbasetransform.c:
2877 (gst_base_transform_class_init):
2878 * libs/gst/base/gstdataqueue.c: (gst_data_queue_class_init):
2879 * libs/gst/check/gstcheck.c: (_gst_check_fault_handler_restore),
2880 (_gst_check_fault_handler_sighandler),
2881 (_gst_check_fault_handler_setup), (gst_check_init):
2882 * libs/gst/controller/gstcontroller.c:
2883 (_gst_controller_class_init):
2884 * libs/gst/controller/gstlfocontrolsource.c:
2885 (gst_lfo_control_source_class_init):
2886 * libs/gst/net/gstnetclientclock.c:
2887 (gst_net_client_clock_class_init):
2888 * libs/gst/net/gstnettimeprovider.c:
2889 (gst_net_time_provider_class_init):
2890 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init):
2891 * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init):
2892 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init):
2893 * plugins/elements/gstfdsink.c: (gst_fd_sink_class_init):
2894 * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
2895 * plugins/elements/gstfilesink.c: (gst_file_sink_class_init):
2896 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init):
2897 * plugins/elements/gstidentity.c: (gst_identity_class_init):
2898 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_class_init):
2899 * plugins/elements/gstqueue.c: (gst_queue_class_init):
2900 * plugins/elements/gsttee.c: (gst_tee_class_init):
2901 * plugins/elements/gsttypefindelement.c:
2902 (gst_type_find_element_class_init):
2903 * plugins/indexers/gstfileindex.c: (gst_file_index_class_init):
2904 Define G_PARAM_STATIC_STRINGS if it's undefined (GLib < 2.13.0) and
2905 use it everywhere for GParamSpecs that use static strings (i.e. all).
2906 This gives us less memory usage, fewer allocations and thus less
2907 memory defragmentation. Fixes bug #523806.
2909 2008-03-22 Sebastian Dröge <slomo@circular-chaos.org>
2911 * gst/gstminiobject.c: (gst_value_dup_mini_object),
2912 (gst_param_spec_mini_object):
2913 * gst/gstminiobject.h:
2914 * win32/common/libgstreamer.def:
2915 * docs/gst/gstreamer-sections.txt:
2916 API: Add GST_IS_PARAM_SPEC_MINI_OBJECT, GST_PARAM_SPEC_MINI_OBJECT
2917 GST_TYPE_PARAM_MINI_OBJECT and gst_value_dup_mini_object. Also move
2918 GstParamSpecMiniObject into a public header for this.
2920 This make GstMiniObject a bit more consistent with GObject and makes
2921 it possible to extend the param specs.
2923 gst_value_dup_mini_object is mainly useful for set_property methods.
2927 * tools/gst-inspect.c: (print_element_properties_info):
2928 Print something useful for GstMiniObject properties and not just
2931 2008-03-21 Sebastian Dröge <slomo@circular-chaos.org>
2933 * docs/gst/gstreamer-sections.txt:
2934 * gst/gstregistrybinary.c: (gst_registry_binary_initialize_magic),
2935 (gst_registry_binary_check_magic):
2936 * gst/gstregistrybinary.h:
2937 Call the version GST_MAGIC_BINARY_VERSION_STR to be more consistent
2938 and add it to the (private part) of the docs to fix the build.
2940 2008-03-21 Sebastian Dröge <slomo@circular-chaos.org>
2942 * gst/gstregistrybinary.c: (gst_registry_binary_initialize_magic),
2943 (gst_registry_binary_check_magic),
2944 (gst_registry_binary_read_cache):
2945 * gst/gstregistrybinary.h:
2946 Don't use GST_MAJORMINOR for the binary registry version. Instead
2947 hardcode a value that must be changed whenever the format changes
2948 in an incompatible way.
2949 Also don't GST_ERROR when there is a version mismatch, just
2950 regenerate the registry silently.
2952 2008-03-21 Jan Schmidt <jan.schmidt@sun.com>
2955 Back to development - 0.10.18.1
2957 === release 0.10.18 ===
2959 2008-03-20 Jan Schmidt <jan.schmidt@sun.com>
2962 releasing 0.10.18, "So far away"
2964 2008-03-18 Jan Schmidt <jan.schmidt@sun.com>
2967 * win32/common/config.h:
2968 0.10.17.4 pre-release
2970 2008-03-18 Wim Taymans <wim.taymans@collabora.co.uk>
2972 Patch by: Ole André Vadla Ravnås
2973 <ole dot andre dot ravnas at tandberg dot com>
2975 * docs/gst/gstreamer-sections.txt:
2976 * gst/gstpoll.c: (gst_poll_winsock_error_to_errno),
2977 (gst_poll_update_winsock_event_mask),
2978 (gst_poll_prepare_winsock_active_sets),
2979 (gst_poll_collect_winsock_events), (gst_poll_new), (gst_poll_free),
2980 (gst_poll_add_fd_unlocked), (gst_poll_fd_ctl_write),
2981 (gst_poll_fd_ctl_read_unlocked), (gst_poll_fd_ignored),
2982 (gst_poll_fd_has_error), (gst_poll_fd_can_read_unlocked),
2983 (gst_poll_check_ctrl_commands), (gst_poll_wait):
2985 * win32/common/libgstreamer.def:
2986 Add new function gst_poll_fd_ignored() for improved Windows
2988 Various minor fixes and cleanups. See #520808.
2990 2008-03-17 Tim-Philipp Müller <tim at centricular dot net>
2992 * gst/gstindex.c: (gst_index_entry_free):
2994 Don't free key strings which we don't own. Fixes crash in
2995 gst_index_entry_free() (#522741).
2997 * tests/check/Makefile.am:
2998 * tests/check/gst/.cvsignore:
2999 * tests/check/gst/gstindex.c: (test_index_entries),
3000 (gst_index_suite), (gst_index):
3001 Add unit test for the above.
3003 2008-03-11 Sebastian Dröge <slomo@circular-chaos.org>
3005 * win32/common/libgstreamer.def:
3006 Remove symbols that were removed recently. Fixes bug #521740.
3008 2008-03-11 Jan Schmidt <jan.schmidt@sun.com>
3011 * win32/common/config.h:
3012 0.10.17.3 pre-release
3014 2008-03-07 Wim Taymans <wim.taymans@collabora.co.uk>
3016 Patch by: Ole André Vadla Ravnås
3017 <ole dot andre dot ravnas at tandberg dot com>
3019 * docs/gst/gstreamer-sections.txt:
3020 * gst/gstpoll.c: (find_index), (gst_poll_free_winsock_event),
3021 (gst_poll_update_winsock_event_mask), (gst_poll_new),
3022 (gst_poll_free), (gst_poll_fd_init), (gst_poll_add_fd_unlocked),
3023 (gst_poll_remove_fd), (gst_poll_fd_ctl_write),
3024 (gst_poll_fd_ctl_read_unlocked), (gst_poll_fd_has_closed),
3025 (gst_poll_fd_has_error), (gst_poll_fd_can_read_unlocked),
3026 (gst_poll_fd_can_write), (gst_poll_wait),
3027 (gst_poll_set_controllable), (gst_poll_restart),
3028 (gst_poll_set_flushing):
3030 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_new):
3031 * libs/gst/net/gstnettimeprovider.c: (gst_net_time_provider_start),
3032 (gst_net_time_provider_new):
3033 * plugins/elements/gstfdsink.c: (gst_fd_sink_start):
3034 * plugins/elements/gstfdsrc.c: (gst_fd_src_start):
3035 * tests/benchmarks/gstpollstress.c: (main):
3036 * tests/check/gst/gstpoll.c: (GST_START_TEST), (gst_poll_suite):
3037 Remove GstPollMode from the API, it does not make sense to let the
3038 application control this.
3039 Add support for Win32.
3040 Fix the testsuite. Fixes #520671.
3042 2008-03-07 Sebastian Dröge <slomo@circular-chaos.org>
3044 Patch by: Ole André Vadla Ravnås
3045 <ole dot andre dot ravnas at tandberg dot com>
3047 * gst/gstregistrybinary.c:
3048 Include io.h for write() and close() when building with MSVC. Fixes
3051 2008-03-07 Stefan Kost <ensonic@users.sf.net>
3054 * gst/gst_private.h:
3055 * gst/gstconfig.h.in:
3056 * gst/gstregistry.h:
3057 * gst/gstregistrybinary.c:
3058 * win32/common/gstconfig.h:
3059 Move registry backend API to private headers where we can. Add
3060 fixme-0.11 comments for the others. Add stubs for the xml backend when
3061 using the binary to ensure they functions exists (they should not be
3062 used though). Fixes #520756.
3064 2008-03-04 Jan Schmidt <jan.schmidt@sun.com>
3067 * win32/common/config.h:
3070 2008-03-03 Edward Hervey <edward.hervey@collabora.co.uk>
3072 * gst/gstregistrybinary.c: (gst_registry_binary_write),
3073 (gst_registry_binary_read_cache):
3074 * gst/gstregistryxml.c: (gst_registry_save):
3075 * gst/gsturi.c: (unescape_string), (gst_uri_has_protocol):
3076 * plugins/elements/gstfilesink.c: (gst_file_sink_open_file):
3077 * plugins/elements/gstfilesrc.c: (gst_file_src_map_region),
3078 (gst_file_src_map_small_region), (gst_file_src_create_mmap):
3079 Switch to using portabl gsize/gssize instead of size_t/ssize_t
3082 2008-03-03 Edward Hervey <edward.hervey@collabora.co.uk>
3084 * gst/gstminiobject.c:
3085 Import gst_private.h before any other header that might include other
3086 glib headers. This fixes the build on windows using native compilers.
3088 2008-03-03 Tim-Philipp Müller <tim at centricular dot net>
3090 * win32/common/gstconfig.h:
3091 Add here too, just for completeness.
3093 2008-03-03 Tim-Philipp Müller <tim at centricular dot net>
3096 * gst/gstconfig.h.in:
3097 * gst/gstregistry.h:
3098 Fix broken use of config.h-defined preprocessor directive in a public
3099 header file. Add a corresponding define to gstconfig.h, since we can't
3100 really remove those function declarations from the header file now
3101 (or can we? and why are they there in the first place?).
3103 2008-03-03 Andy Wingo <wingo@pobox.com>
3105 * tests/check/gst/gststructure.c (GST_START_TEST): Add a check for
3108 * gst/gststructure.c (gst_structure_from_string): Warn if
3109 structure_from_string didn't consume the whole string, but the
3110 caller did not provide an end pointer.
3112 2008-03-01 Tim-Philipp Müller <tim at centricular dot net>
3114 Patch by: Fabrizio Gennari <fabrizio.ge at tiscali it>
3116 * gst/gstregistryxml.c: (read_string), (load_feature):
3117 Strings allocated by libxml2 should be freed with xmlFree(), not
3118 with g_free(). Fixes issues on windows in certain contexts (#519698).
3120 2008-02-29 Tim-Philipp Müller <tim at centricular dot net>
3122 * gst/gstinterface.c: (gst_element_implements_interface):
3123 Don't crash if the element supports the interface queried, but does
3124 not implement GstImplementsInterface. Fixes #519584.
3126 * tests/check/Makefile.am:
3127 * tests/check/gst/.cvsignore:
3128 * tests/check/gst/gstinterface.c:
3129 Add unit test for the above.
3131 2008-02-29 Wim Taymans <wim.taymans@collabora.co.uk>
3133 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
3136 2008-02-29 Wim Taymans <wim.taymans@collabora.co.uk>
3138 * gst/gstsegment.c: (gst_segment_set_seek),
3139 (gst_segment_to_stream_time):
3140 Improve some comment.
3141 Update variables where it makes more sense.
3143 2008-02-29 Rene Stadler <mail@renestadler.de>
3145 * gst/gsturi.c: (gst_uri_handler_get_protocols):
3146 Use the get_protocols_full vfunc if get_protocols is NULL. Fixes
3147 URIHandlers implemented using language bindings.
3149 2008-02-29 Sebastian Dröge <slomo@circular-chaos.org>
3151 * gst/gstelementfactory.h:
3152 * tests/check/elements/fakesink.c:
3153 * tests/check/elements/fakesrc.c: (setup_fakesrc):
3154 * tests/check/elements/fdsrc.c: (setup_fdsrc):
3155 * tests/check/elements/filesink.c: (setup_filesink):
3156 * tests/check/elements/filesrc.c: (setup_filesrc):
3157 * tests/check/elements/identity.c: (setup_identity):
3158 * tests/check/elements/tee.c:
3159 * tests/check/generic/sinks.c:
3160 * tests/check/generic/states.c: (setup), (teardown):
3161 * tests/check/gst/gst.c:
3162 * tests/check/gst/gstabi.c:
3163 * tests/check/gst/gstbin.c:
3164 * tests/check/gst/gstbus.c: (pull_messages):
3165 * tests/check/gst/gstcaps.c:
3166 * tests/check/gst/gstelement.c:
3167 * tests/check/gst/gstevent.c:
3168 * tests/check/gst/gstghostpad.c:
3169 * tests/check/gst/gstiterator.c:
3170 * tests/check/gst/gstmessage.c:
3171 * tests/check/gst/gstminiobject.c: (my_foo_init):
3172 * tests/check/gst/gstobject.c: (thread_name_object),
3174 * tests/check/gst/gstpad.c:
3175 * tests/check/gst/gstplugin.c:
3176 * tests/check/gst/gstpoll.c:
3177 * tests/check/gst/gstquery.c:
3178 * tests/check/gst/gstsegment.c:
3179 * tests/check/gst/gststructure.c:
3180 * tests/check/gst/gstsystemclock.c:
3181 * tests/check/gst/gsttask.c:
3182 * tests/check/gst/gstutils.c:
3183 * tests/check/gst/gstvalue.c:
3184 * tests/check/gst/struct_hppa.h:
3185 * tests/check/gst/struct_i386.h:
3186 * tests/check/gst/struct_ppc32.h:
3187 * tests/check/gst/struct_ppc64.h:
3188 * tests/check/gst/struct_x86_64.h:
3189 * tests/check/libs/adapter.c: (create_and_fill_adapter):
3190 * tests/check/libs/basesrc.c:
3191 * tests/check/libs/controller.c: (GST_START_TEST):
3192 * tests/check/libs/gdp.c:
3193 * tests/check/libs/gstnetclientclock.c:
3194 * tests/check/libs/gstnettimeprovider.c:
3195 * tests/check/libs/libsabi.c:
3196 * tests/check/libs/struct_hppa.h:
3197 * tests/check/libs/struct_i386.h:
3198 * tests/check/libs/struct_ppc32.h:
3199 * tests/check/libs/struct_ppc64.h:
3200 * tests/check/libs/struct_x86_64.h:
3201 * tests/check/pipelines/cleanup.c:
3202 * tests/check/pipelines/simple-launch-lines.c:
3203 * tests/check/pipelines/stress.c:
3204 And correct even more valid sparse warnings.
3206 * win32/common/libgstreamer.def:
3207 Add gst_poll_fd_init to the list of symbols.
3209 2008-02-29 Sebastian Dröge <slomo@circular-chaos.org>
3211 * gst/gstconfig.h.in:
3212 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_read_buffer):
3213 * libs/gst/check/gstcheck.c: (gst_check_log_message_func),
3214 (gst_check_log_critical_func), (gst_check_drop_buffers),
3215 (gst_check_element_push_buffer_list):
3216 * libs/gst/controller/gstcontroller.c: (gst_controller_get),
3217 (gst_controller_get_type):
3218 * libs/gst/controller/gsthelper.c: (gst_object_control_properties),
3219 (gst_object_get_controller), (gst_object_get_control_source):
3220 * libs/gst/controller/gstinterpolationcontrolsource.c:
3221 (gst_interpolation_control_source_new):
3222 * libs/gst/controller/gstlfocontrolsource.c:
3223 (gst_lfo_control_source_new):
3224 * libs/gst/dataprotocol/dataprotocol.c:
3225 (gst_dp_event_from_packet_0_2):
3226 * plugins/elements/gstfdsrc.c:
3227 * plugins/elements/gstmultiqueue.c:
3228 * plugins/elements/gsttee.c:
3229 * plugins/elements/gsttypefindelement.c:
3230 * plugins/indexers/gstfileindex.c: (_file_index_id_save_xml),
3231 (gst_file_index_add_association):
3232 * plugins/indexers/gstmemindex.c:
3233 * tests/benchmarks/gstpollstress.c: (mess_some_more):
3234 * tests/check/elements/queue.c: (setup_queue):
3235 * tests/check/gst/gstpipeline.c:
3236 * tests/check/libs/collectpads.c: (setup), (teardown),
3237 (gst_collect_pads_suite):
3238 * tests/examples/adapter/adapter_test.c:
3239 * tests/examples/metadata/read-metadata.c: (make_pipeline):
3240 * tests/examples/xml/createxml.c:
3241 * tests/examples/xml/runxml.c:
3242 * tools/gst-inspect.c:
3244 Correct all relevant warnings found by the sparse semantic code
3245 analyzer. This include marking several symbols static, using
3246 NULL instead of 0 for pointers, not using variable sized arrays
3247 on the stack, moving variable declarations to the beginning of
3248 a block and using "foo (void)" instead of "foo ()" for declarations.
3250 2008-02-29 Sebastian Dröge <slomo@circular-chaos.org>
3252 * plugins/elements/gstfdsink.c: (gst_fd_sink_update_fd):
3253 * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
3254 Don't reset GstPollFDs, this is not necessary at all.
3256 * tests/check/gst/gstpoll.c: (test_poll_wait), (GST_START_TEST),
3257 (delayed_restart), (delayed_control):
3258 Use GST_POLL_FD_INIT.
3260 2008-02-29 Wim Taymans <wim.taymans@collabora.co.uk>
3262 * gst/gstpoll.c: (gst_poll_fd_init):
3266 * plugins/elements/gstfdsink.c: (gst_fd_sink_update_fd):
3267 Use some more init macros.
3269 2008-02-29 Wim Taymans <wim.taymans@collabora.co.uk>
3271 * plugins/elements/gstfdsink.c: (gst_fd_sink_start):
3272 * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
3273 Use init macros and functions.
3275 2008-02-29 Wim Taymans <wim.taymans@collabora.co.uk>
3277 * docs/gst/gstreamer-sections.txt:
3278 * gst/gstpoll.c: (gst_poll_fd_init):
3280 Add INIT macro and _init method for initializing the GstPollFD.
3282 2008-02-28 Sebastian Dröge <slomo@circular-chaos.org>
3284 * plugins/elements/gstfdsink.c: (gst_fd_sink_start),
3285 (gst_fd_sink_update_fd):
3286 * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
3287 * tests/check/gst/gstpoll.c: (test_poll_wait), (GST_START_TEST),
3288 (delayed_restart), (delayed_control):
3289 Initialize some uninitialized variables as spotted by valgrind.
3291 2008-02-28 Wim Taymans <wim.taymans@collabora.co.uk>
3293 * tests/benchmarks/Makefile.am:
3294 * tests/benchmarks/gstpollstress.c: (mess_some_more), (run_test),
3296 Add poll stress test.
3298 2008-02-28 Wim Taymans <wim.taymans@collabora.co.uk>
3300 Patch by: Peter Kjellerstedt <pkj at axis dot com>
3302 * plugins/elements/gstfdsink.c: (gst_fd_sink_render),
3303 (gst_fd_sink_start), (gst_fd_sink_stop), (gst_fd_sink_unlock),
3304 (gst_fd_sink_unlock_stop), (gst_fd_sink_update_fd):
3305 * plugins/elements/gstfdsink.h:
3306 * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd),
3307 (gst_fd_src_start), (gst_fd_src_stop), (gst_fd_src_unlock),
3308 (gst_fd_src_unlock_stop), (gst_fd_src_create),
3309 (gst_fd_src_uri_set_uri):
3310 * plugins/elements/gstfdsrc.h:
3311 Port to GstPoll. See #505417.
3313 2008-02-27 Jan Schmidt <jan.schmidt@sun.com>
3315 * win32/common/libgstreamer.def:
3316 Add new gst_poll_ symbols to win32 defs.
3318 2008-02-27 Wim Taymans <wim.taymans@collabora.co.uk>
3320 * docs/libs/gstreamer-libs-sections.txt:
3321 * libs/gst/net/gstnetclientclock.c:
3322 (gst_net_client_clock_class_init), (gst_net_client_clock_init),
3323 (gst_net_client_clock_finalize), (gst_net_client_clock_do_select),
3324 (gst_net_client_clock_thread), (gst_net_client_clock_start),
3325 (gst_net_client_clock_stop), (gst_net_client_clock_new):
3326 * libs/gst/net/gstnetclientclock.h:
3327 * libs/gst/net/gstnettimeprovider.c:
3328 (gst_net_time_provider_class_init), (gst_net_time_provider_init),
3329 (gst_net_time_provider_finalize), (gst_net_time_provider_thread),
3330 (gst_net_time_provider_start), (gst_net_time_provider_stop),
3331 (gst_net_time_provider_new):
3332 * libs/gst/net/gstnettimeprovider.h:
3333 Use a private stuct to not break ABI.
3335 2008-02-27 Wim Taymans <wim.taymans@collabora.co.uk>
3337 Patch by: Peter Kjellerstedt <pkj at axis dot com>
3339 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_init),
3340 (gst_net_client_clock_finalize), (gst_net_client_clock_do_select),
3341 (gst_net_client_clock_thread), (gst_net_client_clock_start),
3342 (gst_net_client_clock_stop), (gst_net_client_clock_new):
3343 * libs/gst/net/gstnetclientclock.h:
3344 * libs/gst/net/gstnettimeprovider.c: (gst_net_time_provider_init),
3345 (gst_net_time_provider_finalize), (gst_net_time_provider_thread),
3346 (gst_net_time_provider_start), (gst_net_time_provider_stop),
3347 (gst_net_time_provider_new):
3348 * libs/gst/net/gstnettimeprovider.h:
3349 Massive code removal and cleanups because of GstPoll.
3352 2008-02-27 Wim Taymans <wim.taymans@collabora.co.uk>
3355 Add checks for poll, ppoll and pselect.
3357 * docs/gst/gstreamer-docs.sgml:
3358 * docs/gst/gstreamer-sections.txt:
3359 Add docs for GstPoll.
3363 * gst/gstpoll.c: (find_index), (selectable_fds),
3364 (pollable_timeout), (choose_mode), (pollfd_to_fd_set),
3365 (fd_set_to_pollfd), (gst_poll_new), (gst_poll_free),
3366 (gst_poll_set_mode), (gst_poll_get_mode),
3367 (gst_poll_add_fd_unlocked), (gst_poll_add_fd),
3368 (gst_poll_remove_fd), (gst_poll_fd_ctl_write),
3369 (gst_poll_fd_ctl_read_unlocked), (gst_poll_fd_ctl_read),
3370 (gst_poll_fd_has_closed), (gst_poll_fd_has_error),
3371 (gst_poll_fd_can_read_unlocked), (gst_poll_fd_can_read),
3372 (gst_poll_fd_can_write), (gst_poll_wait),
3373 (gst_poll_set_controllable), (gst_poll_restart),
3374 (gst_poll_set_flushing):
3376 Add generic poll abstraction. We ideally don't want to have this in core
3377 here but in glib intead...
3378 This code will be used in various network elements and ultimately for
3379 the nanosecond precision monotonic clock (that's why it's here in core).
3380 It'll allow us to implement cancelable socket operations for windows too.
3382 * tests/check/Makefile.am:
3383 * tests/check/gst/gstpoll.c: (test_poll_wait), (GST_START_TEST),
3384 (delayed_stop), (delayed_restart), (delayed_flush),
3385 (delayed_control), (gst_poll_suite):
3386 Add GstPoll unit test.
3388 2008-02-25 Tim-Philipp Müller <tim at centricular dot net>
3391 Improve documentation of gst_filter_run(). Fixes #518627.
3393 2008-02-23 Tim-Philipp Müller <tim at centricular dot net>
3396 Add a few lines about the new 'check-inspected-versions' target.
3398 2008-02-21 Stefan Kost <ensonic@users.sf.net>
3400 * tests/check/gst/gstevent.c:
3401 Add qos to the event test. Rename tcase/tsuite; is not only about
3404 2008-02-21 Stefan Kost <ensonic@users.sf.net>
3406 * plugins/elements/gstqueue.c:
3407 Ensure that buffer metadata is writeable, before modifying. Spotted by
3410 2008-02-20 Stefan Kost <ensonic@users.sf.net>
3412 * plugins/elements/gstqueue.c:
3413 * plugins/elements/gstqueue.h:
3414 When dropping buffers in leaky modes, mark next buffers we sent as
3417 2008-02-20 Tim-Philipp Müller <tim at centricular dot net>
3419 * plugins/elements/gstfilesrc.c: (gst_file_src_map_region):
3420 Also, if mmap() fails that would be a READ error, not OPEN_READ.
3422 2008-02-20 Tim-Philipp Müller <tim at centricular dot net>
3424 * plugins/elements/Makefile.am:
3425 * plugins/elements/gstbufferstore.c:
3426 * plugins/elements/gstbufferstore.h:
3427 * plugins/elements/gsttypefindelement.h:
3428 Remove GstBufferStore, no idea why we were still building it.
3429 It's not used anywhere and superseded by GstAdapter.
3431 * plugins/elements/gstfilesrc.c: (gst_file_src_map_region),
3432 (gst_file_src_create_mmap):
3433 * plugins/indexers/gstfileindex.c: (gst_file_index_add_association):
3434 Printf format fixes for 64-bit integers.
3436 2008-02-19 Sebastian Dröge <slomo@circular-chaos.org>
3439 Don't set GST_CACHE_DIR and allow to set it by a configure parameter.
3440 We're not in 0.8 times anymore.
3442 2008-02-19 Jan Schmidt <Jan.Schmidt@sun.com>
3444 * libs/gst/check/gstcheck.c: (gst_check_drop_buffers),
3445 (gst_check_element_push_buffer_list):
3446 * libs/gst/check/gstcheck.h:
3447 Make the declaration in the header for
3448 gst_check_element_push_buffer_list match the implementation.
3450 Fix up spelling, grammar and wording of the documentation in a few
3451 places, and add the Since keyword to new API functions.
3452 Use g_list_delete_link instead of g_list_remove in
3453 gst_check_drop_buffers, since it's immeasurably more efficient.
3455 * tests/check/elements/fakesrc.c: (GST_START_TEST):
3456 Use new gst_check_drop_buffers function where appropriate.
3458 * win32/common/libgstbase.def:
3459 * win32/common/libgstreamer.def:
3460 Add new symbols gst_collect_pads_take_buffer,
3461 gst_collect_pads_read_buffer, gst_index_set_resolver_full to the
3464 Changelog surgery to add API keyword to new gst_check API.
3466 2008-02-19 Sebastian Dröge <slomo@circular-chaos.org>
3468 * gst/parse/lex._gst_parse_yy.pre.c: (yy_get_next_buffer),
3469 (_gst_parse_yyensure_buffer_stack), (_gst_parse_yylex_init_extra):
3470 Update pre-generated flex files with flex 2.3.34.
3472 2008-02-19 Sebastian Dröge <slomo@circular-chaos.org>
3474 * gst/gstminiobject.c:
3475 Add FIXME for 0.11 to make GstMiniObjectClass::copy() a bit more
3476 friendly to subclasses and not require them to know all internals
3477 of their parent class.
3479 2008-02-15 Stefan Kost <ensonic@users.sf.net>
3481 * docs/libs/gstreamer-libs-sections.txt:
3482 * libs/gst/base/gstcollectpads.c:
3483 * libs/gst/base/gstcollectpads.h:
3484 Add sub-buffer functions to collectpads. Fixes #516187.
3485 API: gst_collect_pads_take_buffer(), gst_collect_pads_read_buffer()
3487 2008-02-15 Stefan Kost <ensonic@users.sf.net>
3490 Copy selected buffer-flags when creating subbuffers.
3493 2008-02-12 Sebastian Dröge <slomo@circular-chaos.org>
3495 * gst/gstbuffer.c: (gst_buffer_class_init), (gst_buffer_finalize):
3496 * gst/gstevent.c: (gst_event_class_init), (gst_event_finalize):
3497 * gst/gstmessage.c: (gst_message_class_init),
3498 (gst_message_finalize):
3499 * gst/gstquery.c: (gst_query_class_init), (gst_query_finalize):
3500 * plugins/elements/gstfilesrc.c: (gst_mmap_buffer_class_init),
3501 (gst_mmap_buffer_finalize):
3502 Properly chain up finalize functions to the parent class.
3504 2008-02-11 Wim Taymans <wim.taymans@collabora.co.uk>
3506 Patch by: Siavash Safi <siavash dot safi at gmail dot com>
3508 * gst/gstindex.c: (gst_index_finalize), (gst_index_set_resolver),
3509 (gst_index_set_resolver_full):
3511 Add new function with option to dispose of user_data in resolver.
3512 Actually call the dispose function when finalizing the object and not
3513 just when changing the resolver/filter.
3514 API: GstIndex::gst_index_set_resolver_full()
3516 * docs/gst/gstreamer-sections.txt:
3517 Add new function to docs. Fixes #515469.
3519 2008-02-11 Sebastian Dröge <slomo@circular-chaos.org>
3521 * gst/gstindex.c: (gst_index_finalize):
3522 Chain up finalize to the parent class. Fixes leaking the GstObject
3523 name and other things.
3525 2008-02-08 Jan Schmidt <jan.schmidt@sun.com>
3528 Make DISABLE_DEPRECATED defined *only* during CVS, not during
3529 pre-releases or releases.
3531 * docs/faq/gst-uninstalled:
3534 * docs/random/release:
3535 Change one of the steps - we only upload core & base to Gnome FTP
3537 2008-02-06 Stefan Kost <ensonic@users.sf.net>
3539 * gst/gstconfig.h.in:
3540 Add 'id' for example.
3544 * plugins/elements/gstfdsink.c:
3545 Link to signals. Doc and comment fixes.
3547 2008-02-05 Tim-Philipp Müller <tim at centricular dot net>
3549 * gst/gstpad.h: (GST_PAD_LINK_SUCCESSFUL):
3550 * gst/gstpluginfeature.h: (GstPluginFeatureClass):
3551 Some minor docs fixes: fix typo, mention that GST_FLOW_RESEND is
3552 unused and unimplemented; finally, it is plugin features, not
3553 plugins, that have ranks.
3555 2008-02-05 Stefan Kost <ensonic@users.sf.net>
3557 * gst/gstpluginfeature.h:
3558 Clarify GstRank range docs.
3560 2008-02-05 David Schleef <ds@schleef.org>
3562 * gst/gst.c: Add a separate gst_deinitialized that prevents
3563 gst_init() from being called after gst_deinit(). Fixes #509559
3565 2008-02-05 Sebastian Dröge <slomo@circular-chaos.org>
3567 * gst/gstbin.c: (gst_bin_get_type), (gst_bin_base_init),
3568 (gst_bin_class_init):
3569 * gst/gstelement.c: (gst_element_base_class_init),
3570 (gst_element_class_add_pad_template):
3571 * gst/gstpadtemplate.c: (gst_pad_template_init):
3572 * gst/gstpipeline.c: (gst_pipeline_get_type),
3573 (gst_pipeline_base_init), (gst_pipeline_class_init):
3574 * libs/gst/base/gstbasesink.c:
3575 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_type),
3576 (gst_base_src_base_init), (gst_base_src_class_init):
3577 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_base_init),
3578 (gst_capsfilter_class_init):
3579 * plugins/elements/gstfakesink.c: (gst_fake_sink_base_init),
3580 (gst_fake_sink_class_init):
3581 * plugins/elements/gstfakesrc.c: (gst_fake_src_base_init),
3582 (gst_fake_src_class_init):
3583 * plugins/elements/gstfdsink.c: (gst_fd_sink_base_init),
3584 (gst_fd_sink_class_init):
3585 * plugins/elements/gstfdsrc.c: (gst_fd_src_base_init),
3586 (gst_fd_src_class_init):
3587 * plugins/elements/gstfilesink.c: (gst_file_sink_base_init),
3588 (gst_file_sink_class_init):
3589 * plugins/elements/gstfilesrc.c: (gst_file_src_base_init),
3590 (gst_file_src_class_init):
3591 * plugins/elements/gstidentity.c: (gst_identity_base_init),
3592 (gst_identity_class_init):
3593 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init),
3594 (gst_multi_queue_class_init):
3595 * plugins/elements/gstqueue.c: (gst_queue_base_init),
3596 (gst_queue_class_init):
3597 * plugins/elements/gsttee.c: (gst_tee_base_init),
3598 (gst_tee_class_init):
3599 * plugins/elements/gsttypefindelement.c:
3600 (gst_type_find_element_base_init),
3601 (gst_type_find_element_class_init):
3602 * tests/check/gst/gstelement.c: (gst_element_suite):
3603 Revert previous changes to the behaviour of GstPadTemplates, etc
3604 and the possiblity to call them in class_init as it breaks too
3605 many elements. Reopens bug #491501.
3607 Should be applied again for 0.11, thus added a few FIXME 0.11 at
3610 2008-02-05 Stefan Kost <ensonic@users.sf.net>
3612 * tools/gst-launch.c:
3613 Dump one graph per pipeline state-change and state change name
3614 (if GST_DEBUG_DUMP_DOT_DIR is set).
3616 2008-02-04 Thijs Vermeir <thijsvermeir@gmail.com>
3619 * tests/check/gst/gstpad.c:
3620 Be sure that we have a new copy of the caps and not
3621 reffed caps from a template
3623 2008-02-03 Sebastian Dröge <slomo@circular-chaos.org>
3625 * gst/gstbin.c: (gst_bin_get_type), (gst_bin_class_init):
3626 * gst/gstpipeline.c: (gst_pipeline_get_type),
3627 (gst_pipeline_class_init):
3628 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_type),
3629 (gst_base_sink_class_init):
3630 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_type),
3631 (gst_base_src_class_init):
3632 * libs/gst/base/gstbasetransform.c: (gst_base_transform_get_type),
3633 (gst_base_transform_class_init):
3634 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
3635 (gst_collect_pads_class_init):
3636 * libs/gst/base/gstdataqueue.c: (gst_data_queue_get_type):
3637 * libs/gst/net/gstnettimeprovider.c:
3638 (gst_net_time_provider_base_init),
3639 (gst_net_time_provider_class_init):
3640 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_base_init),
3641 (gst_capsfilter_class_init):
3642 * plugins/elements/gstfakesink.c: (gst_fake_sink_base_init),
3643 (gst_fake_sink_class_init):
3644 * plugins/elements/gstfakesrc.c: (gst_fake_src_base_init),
3645 (gst_fake_src_class_init):
3646 * plugins/elements/gstfdsink.c: (gst_fd_sink_base_init),
3647 (gst_fd_sink_class_init):
3648 * plugins/elements/gstfdsrc.c: (gst_fd_src_base_init),
3649 (gst_fd_src_class_init):
3650 * plugins/elements/gstfilesink.c: (gst_file_sink_base_init),
3651 (gst_file_sink_class_init):
3652 * plugins/elements/gstfilesrc.c: (gst_file_src_base_init),
3653 (gst_file_src_class_init):
3654 * plugins/elements/gstidentity.c: (gst_identity_base_init),
3655 (gst_identity_class_init):
3656 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init),
3657 (gst_multi_queue_class_init):
3658 * plugins/elements/gstqueue.c: (gst_queue_base_init),
3659 (gst_queue_class_init):
3660 * plugins/elements/gsttee.c: (gst_tee_base_init),
3661 (gst_tee_class_init):
3662 * plugins/elements/gsttypefindelement.c:
3663 (gst_type_find_element_base_init),
3664 (gst_type_find_element_class_init):
3665 Don't use base_init where not absolutely necessary. For example it's
3666 not necessary anymore for adding pad templates or setting element
3669 Leave empty base_init functions in several places as GST_BOILERPLATE
3670 still defines and uses them.
3672 2008-02-03 Sebastian Dröge <slomo@circular-chaos.org>
3674 * gst/gstelement.c: (gst_element_base_class_init),
3675 (gst_element_class_add_pad_template):
3676 * gst/gstpadtemplate.c:
3677 Make it possible (and recommended) to set element details and add
3678 pad templates in the class_init functions by copying the details/pad
3679 templates in GstElement's base_init.
3681 Also make it possible to replace existing pad templates by adding
3682 a new one with the same name. This was done in a hackish fashion
3683 in same elements before already.
3685 Don't reference pad templates that are added a second time. A
3686 new pad template has a refcount of one and is not floating anymore
3687 and to be owned by the element's class. Make this more explicit by
3688 mentioning it in the docs of gst_element_class_add_pad_template().
3690 These changes are backwards compatible. Fixes bug #491501.
3692 * tests/check/gst/gstelement.c:
3693 Add unit test for setting element details, adding pad templates and
3694 replacing them in a subclass.
3696 2008-02-02 Sebastian Dröge <slomo@circular-chaos.org>
3698 * tools/gst-inspect.c: (print_interfaces),
3699 (print_element_properties_info), (print_pad_info),
3700 (print_signal_info), (print_element_info):
3701 Fix a few memory leaks.
3703 2008-02-01 Thijs Vermeir <thijsvermeir@gmail.com>
3705 * docs/libs/gstreamer-libs-sections.txt:
3706 * libs/gst/check/gstcheck.c:
3707 * libs/gst/check/gstcheck.h:
3708 Add more functions for unit testing: gst_check_drop_buffers,
3709 gst_check_caps_equal, gst_check_element_push_buffer_list,
3710 gst_check_element_push_buffer
3711 API: gst_check_drop_buffers
3712 API: gst_check_caps_equal
3713 API: gst_check_element_push_buffer_list
3714 API: gst_check_element_push_buffer
3716 2008-02-01 Julien Moutte <julien@fluendo.com>
3718 * docs/gst/gstreamer-sections.txt: Add GST_CHECK_VERSION to the docs
3719 * gst/gstindex.c: (gst_index_class_init), (gst_index_free_writer),
3720 (gst_index_finalize), (gst_index_entry_free),
3721 (gst_index_add_association): Fix memory leaks.
3722 * gst/gstversion.h.in: Add GST_CHECK_VERSION macro.
3723 * plugins/indexers/gstmemindex.c: (gst_mem_index_class_init),
3724 (gst_mem_index_free_format), (gst_mem_index_free_id),
3725 (gst_mem_index_finalize): Fix memory leaks.
3726 * win32/common/config.h: Updated to CVS HEAD.
3728 2008-02-01 Stefan Kost <ensonic@users.sf.net>
3731 Some more details about how the plugin docs works.
3733 * docs/plugins/gstreamer-plugins-sections.txt:
3736 2008-02-01 Stefan Kost <ensonic@users.sf.net>
3738 * gst/parse/grammar.tab.pre.c:
3739 * gst/parse/grammar.tab.pre.h:
3740 * gst/parse/grammar.y:
3741 * gst/parse/lex._gst_parse_yy.pre.c:
3742 Add delayed set-property. This allows to set properties on dynamicaly
3743 created objects (pads in videomxer). Fixes #509391.
3745 2008-02-01 Thijs Vermeir <thijsvermeir@gmail.com>
3748 Check if caps are not NULL (fix bug #510194)
3750 2008-02-01 Wim Taymans <wim.taymans@collabora.co.uk>
3752 * libs/gst/base/gstbasesink.c: (gst_base_sink_loop),
3753 (gst_base_sink_get_position_paused):
3754 Add fixme regarding EOS in pull mode.
3755 Fix position reporting in PAUSED for negative rates.
3757 2008-02-01 Wim Taymans <wim.taymans@collabora.co.uk>
3759 * gst/gstminiobject.c: (gst_mini_object_replace):
3760 When replacing a miniobject, do a quick equality check first so that we
3761 can avoid a ref/unref pair.
3763 2008-02-01 Wim Taymans <wim.taymans@collabora.co.uk>
3765 * docs/design/part-synchronisation.txt:
3768 * docs/plugins/Makefile.am:
3769 * docs/plugins/gstreamer-plugins-docs.sgml:
3770 * docs/plugins/gstreamer-plugins-sections.txt:
3771 * plugins/elements/gstmultiqueue.c:
3772 Add multiqueue to the docs.
3774 2008-01-30 Jan Schmidt <jan.schmidt@sun.com>
3779 === release 0.10.17 ===
3781 2008-01-30 Jan Schmidt <jan.schmidt@sun.com>
3784 releasing 0.10.17, "Due Negligence"
3786 2008-01-30 Jan Schmidt <jan.schmidt@sun.com>
3789 Revert caps != NULL check temporarily for 0.10.17 release.
3791 2008-01-30 Thijs Vermeir <thijsvermeir@gmail.com>
3794 Check if caps are not NULL (fix bug #510194)
3796 2008-01-30 Jan Schmidt <jan.schmidt@sun.com>
3799 Fix compilation on systems that have posix timers but no
3802 Patch By: Cygwin Ports maintainer <yselkowitz at users dot sourceforge
3805 2008-01-30 Jan Schmidt <jan.schmidt@sun.com>
3807 * tools/gst-inspect.c:
3808 Revert previous commit in preparation for an impromptu 0.10.17 release
3810 2008-01-29 Sebastian Dröge <slomo@circular-chaos.org>
3812 * tools/gst-inspect.c: (print_interfaces),
3813 (print_element_properties_info), (print_pad_info),
3814 (print_signal_info), (print_element_info):
3815 Fix a few memory leaks.
3817 2008-01-28 Jan Schmidt <jan.schmidt@sun.com>
3822 === release 0.10.16 ===
3824 2008-01-28 Jan Schmidt <thaytan@noraisin.net>
3827 releasing 0.10.16, "Special Dispensation"
3829 2008-01-24 Tim-Philipp Müller <tim at centricular dot net>
3832 Use AC_TRY_COMPILE instead of AC_TRY_RUN to check for
3833 _POSIX_TIMER, _POSIX_MONOTONIC_CLOCK, etc. Makes configure
3834 not fail when trying to crosscompile on OpenEmbedded (#511750).
3836 2008-01-20 Sebastian Dröge <slomo@circular-chaos.org>
3839 Use $(MAKE) instead of make to fix the build if GNU make is
3840 called different. Fixes bug #510747.
3842 2008-01-20 Tim-Philipp Müller <tim at centricular dot net>
3844 * gst/gstplugin.c: (_gst_plugin_initialize):
3845 Fix old-style static plugins via GST_PLUGIN_DEFINE_STATIC
3846 again, which I broke two commits ago when changing the API
3847 of gst_plugin_register_static(): the g_list_foreach() in
3848 _gst_plugin_register_static still assumed the old function
3849 signature and would therefore fail (re-fixes #510187).
3851 * gst/gstplugin.c: (_num_static_plugins), (_static_plugins),
3852 (_gst_plugin_register_static), (gst_plugin_register_static):
3853 Revert the (technically correct) change to call g_thread_init() from
3854 the pre-main() constructor. This will break programs which call
3855 g_thread_init() without an if (!g_thread_supported()) guard in their
3856 main function. We could just blame it on GLib or the application, but
3857 it's probably best to just avoid this altogether and simply not use
3858 any GLib functions here and use plain old malloc() with a simple
3859 array to store the plugins to register later when gst_init() is
3860 finally called (re-fixes #510187).
3862 * tests/check/gst/gstplugin.c: (GST_GNUC_CONSTRUCTOR_DEFINED),
3863 (GST_GNUC_CONSTRUCTOR_DEFINED), (plugin_init_counter),
3864 (plugin1_init), (plugin2_init), (plugin3_init), (GST_START_TEST),
3865 (GST_START_TEST), (gst_plugin_suite):
3866 Dumb unit test to make sure the old GST_PLUGIN_DEFINE_STATIC still
3869 2008-01-17 Tim-Philipp Müller <tim at centricular dot net>
3871 * gst/gstplugin.h: (GST_PLUGIN_DEFINE_STATIC):
3872 Remove deprecation guards around GST_PLUGIN_DEFINE_STATIC.
3873 This makes gtk-doc complain, but results in slightly better
3874 compiler errors. The old _gst_plugin_register_static() is
3875 still guarded, so there'll be a compiler warning about that
3876 instead. Fixes #510187 too.
3878 2008-01-17 Tim-Philipp Müller <tim at centricular dot net>
3880 * gst/gst.c: (init_post):
3881 * gst/gstplugin.c: (_gst_plugin_register_static),
3882 (gst_plugin_register_static), (_gst_plugin_initialize):
3883 * gst/gstplugin.h: (GstPluginFilter):
3884 Change API of gst_plugin_register_static() to not take
3885 a GstPluginDesc, but rather just take all the arguments
3886 in a GstPluginDesc directly. This is more intuitive and
3887 avoids certain mistakes when porting code from
3888 GST_PLUGIN_DEFINE_STATIC to gst_plugin_register_static().
3891 * tests/check/gst/gstplugin.c:
3892 Fix up for changed API.
3894 2008-01-17 Thomas Vander Stichele <thomas at apestaart dot org>
3896 * docs/faq/legal.xml:
3897 Update FAQ, Totem actually has an exception these days.
3899 2008-01-14 Jan Schmidt <jan.schmidt@sun.com>
3901 * win32/common/libgstreamer.def:
3902 Add new API declarations
3904 2008-01-14 Stefan Kost <ensonic@users.sf.net>
3906 * gst/gstminiobject.c:
3907 Spelling fixes for the API docs.
3909 2008-01-14 Stefan Kost <ensonic@users.sf.net>
3911 * libs/gst/base/gstbasetransform.c:
3912 Fix long property description for QoS.
3914 2008-01-12 Jan Schmidt <Jan.Schmidt@sun.com>
3917 _gst_trace_on is already provided by gsttrace.h, no need to declare
3920 * docs/libs/gstreamer-libs-sections.txt:
3921 Add 'buffers', 'check_cond' and 'check_mutex' from libgstcheck
3922 and remove strange tcase_add_test which is outputting a warning.
3924 * libs/gst/check/gstcheck.c:
3925 * libs/gst/check/gstcheck.h:
3926 Properly declare 'buffers', 'check_cond', 'check_mutex' extern
3927 and define them in gstcheck.c instead of having every .c file whcih
3928 includes gstcheck.h be defining its own copy and relying on symbol
3929 interposing to marry them all, which doesn't work on Solaris.
3931 * tests/check/elements/identity.c: (GST_START_TEST):
3932 Don't define 'buffers' locally, it comes from libgstcheck.
3934 * tests/check/generic/sinks.c: (send_buffer):
3935 Fix type of variable (GstFlowReturn, not GstStateChangeReturn)
3937 * tests/check/gst/gststructure.c: (GST_START_TEST):
3938 * tests/check/gst/gstsystemclock.c: (GST_START_TEST):
3939 * tests/check/gst/gstutils.c: (GST_START_TEST):
3940 * tests/check/gst/gstvalue.c: (GST_START_TEST):
3941 Add a bunch of casts to make various constants fit the types
3942 they're being assigned to.
3944 2008-01-10 Stefan Kost <ensonic@users.sf.net>
3946 * gst/gstchildproxy.c:
3947 Improve docs and add some ideas for making this more general-purpose.
3949 2008-01-10 Tim-Philipp Müller <tim at centricular dot net>
3951 * gst/gst_private.h: (GST_CAT_TYPES):
3952 Add GST_CAT_TYPES, for consistency, and so that the other
3953 debug categories don't make fun of it. Spotted by Saur on IRC.
3955 2008-01-10 Sebastian Dröge <slomo@circular-chaos.org>
3957 * gst/parse/Makefile.am:
3958 Move types.h from EXTRA_DIST to noinst_HEADERS.
3960 2008-01-10 Sebastian Dröge <slomo@circular-chaos.org>
3963 Add -Wno-portability to the automake parameters to stop warnings
3964 about GNU make extensions being used. We require GNU make in almost
3965 every Makefile anyway.
3968 Use AM_PROG_CC_C_O as a compiler that accepts both -c and -o
3969 at the same time is required for per target flags.
3971 2008-01-09 Tim-Philipp Müller <tim at centricular dot net>
3974 Include glib/gmacros.h for G_BEGIN_DECLS. Check if
3975 __GNUC__ is defined before using it.
3977 2008-01-09 Tim-Philipp Müller <tim at centricular dot net>
3979 * docs/gst/gstreamer-sections.txt:
3980 * gst/gst.c: (init_post):
3981 * gst/gstplugin.c: (_gst_plugin_register_static),
3982 (gst_plugin_register_static), (_gst_plugin_initialize),
3983 (gst_plugin_register_func):
3984 * gst/gstplugin.h: (GST_PLUGIN_DEFINE_STATIC):
3985 API: add gst_plugin_register_static() and deprecate
3986 GST_PLUGIN_DEFINE_STATIC, since it's not portable
3988 Also, in _gst_plugin_register_static(), make sure to call
3989 g_thread_init() before calling GLib functions such as
3990 g_list_append() if we're not initialised yet, since that
3991 may lead to random crashes with older GSlice/GLib versions.
3993 * tests/check/gst/gstplugin.c:
3994 Adapt unit test to above changes.
3996 2008-01-09 Tim-Philipp Müller <tim at centricular dot net>
3998 * gst/gst_private.h: (STRUCTURE_ESTIMATED_STRING_LEN):
3999 * gst/gstcaps.c: (gst_caps_to_string):
4000 * gst/gststructure.c: (GST_ASCII_IS_STRING),
4001 (priv_gst_structure_append_to_gstring), (gst_structure_to_string):
4002 Yet another gratuitous GString micro-optimisation: add a (private)
4003 function that serialises a structure appending to an existing
4004 GString, so that when we serialise caps we don't need to alloc+free
4005 a throwaway GString for each structure (each of which also entailing
4006 multiple reallocs on the way); also use g_string_sized_new() in
4007 various places with an approximate string length to avoid reallocs
4008 within GString. See #500143.
4010 2008-01-09 Tim-Philipp Müller <tim at centricular dot net>
4012 * gst/gststructure.c: (gst_structure_id_set_value):
4013 Always check UTF-8 conformance of structure strings and not only
4014 if the debugging system is enabled; reasoning: the behaviour of
4015 the actual code shouldn't really change depending on whether the
4016 debugging system is enabled or not (#508291).
4018 2008-01-09 Stefan Kost <ensonic@users.sf.net>
4021 Remove old coverage target in favour of "make lcov".
4023 2008-01-09 Wim Taymans <wim.taymans@collabora.co.uk>
4025 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
4026 (gst_base_src_loop):
4027 The start segment for reverse playback goes from start to last_stop.
4029 2008-01-09 Wim Taymans <wim.taymans@collabora.co.uk>
4031 Patch by: Peter Kjellerstedt <pkj axis com>
4034 Cast the results from the timeval/spec_to_time macros to what the
4035 docs say it casts to, a GstClockTime. fixes #508175.
4037 2008-01-09 Wim Taymans <wim.taymans@collabora.co.uk>
4040 Update some comments.
4042 * tools/gst-inspect.c: (print_element_properties_info):
4043 Improve printing of flags.
4045 2008-01-08 Tim-Philipp Müller <tim at centricular dot net>
4047 * libs/gst/base/gstbasetransform.c:
4048 (gst_base_transform_transform_size):
4049 Print element name with g_warning() if there's a problem
4052 2008-01-07 David Schleef <ds@schleef.org>
4054 Patch by: Damien Lespiau <damien.lespiau@gmail.com>
4056 * libs/gst/controller/gstcontroller.h:
4057 * libs/gst/controller/gstcontrolsource.h:
4058 * libs/gst/controller/gstinterpolationcontrolsource.h:
4059 * libs/gst/controller/gstlfocontrolsource.h:
4060 * libs/gst/dataprotocol/dataprotocol.h:
4061 Fix empty prototypes. Fixes bug #507957.
4063 2008-01-07 David Schleef <ds@schleef.org>
4065 * docs/faq/dependencies.xml: Fix typo.
4067 2008-01-07 Wim Taymans <wim.taymans@collabora.co.uk>
4069 * libs/gst/base/gstbasesrc.c: (gst_base_src_default_do_seek),
4070 (gst_base_src_loop):
4071 Don't update the last_stop position in do_seek, that's the position we
4073 Read backwards when we have a negative rate.
4075 * tests/check/elements/filesrc.c: (event_func), (wait_eos),
4076 (setup_filesrc), (cleanup_filesrc), (GST_START_TEST),
4078 Add check for reverse reading.
4080 2008-01-07 Tim-Philipp Müller <tim at centricular dot net>
4082 Patch by: Alexis Ballier <aballier at gentoo org>
4084 * tests/check/gst/gstabi.c:
4085 * tests/check/gst/struct_ppc64.h:
4086 * tests/check/libs/libsabi.c:
4087 * tests/check/libs/struct_ppc64.h:
4088 Decide which header to include based on the userland ABI target
4089 and not the kernel/cpu. Fix up structure sizes of ppc64 header
4090 for 64-bit userland (#503590). Might need something similar for
4093 2008-01-05 Tim-Philipp Müller <tim at centricular dot net>
4095 * gst/gstdebugutils.c: (_gst_debug_bin_to_dot_file):
4096 Log the reason why fopen fails in addition to the fact that it failed.
4098 2008-01-04 Sebastian Dröge <slomo@circular-chaos.org>
4100 * gst/parse/parse.l:
4101 Use "%option never-interactive" to prevent useless calls to isatty()
4102 on every input when parsing. Also use "%option noinput" to not define
4103 the static input/yyinput functions which we don't use anyway. This
4104 removes a compiler warning with gcc 4.3 and saves some bytes in the
4107 * gst/parse/lex._gst_parse_yy.pre.c:
4108 Regenerated for the above change.
4110 2008-01-04 Wim Taymans <wim.taymans@collabora.co.uk>
4112 * gst/gstpad.c: (fixate_value):
4113 Don't crash when trying to fixate and empty list.
4116 2008-01-03 Sebastian Dröge <slomo@circular-chaos.org>
4118 * docs/faq/gst-uninstalled:
4119 Clarify the comments to make the usage of this script and what it
4120 does easier to understand.
4122 2008-01-01 Thijs Vermeir <thijsvermeir@gmail.com>
4124 * tools/gst-plot-timeline.py:
4125 Add more options to gst-plot-timeline
4127 2007-12-31 Wim Taymans <wim.taymans@collabora.co.uk>
4129 * docs/design/part-synchronisation.txt:
4130 Some more info on how the stream_time in GstBaseSink is done.
4132 2007-12-30 Tim-Philipp Müller <tim at centricular dot net>
4134 * tests/check/generic/sinks.c: (gst_sinks_suite):
4135 Put back the tcase_set_timeout(), apparently it's needed after
4136 all; fix it up in a way that makes things work with valgrind too.
4138 2007-12-30 Thijs Vermeir <thijsvermeir@gmail.com>
4140 * gst/gstdebugutils.c:
4141 Add warning when failed to open file for writing.
4143 2007-12-28 Tim-Philipp Müller <tim at centricular dot net>
4145 Based on patch by: Laurent Glayal <spglegle yahoo fr>
4147 * gst/gstvalue.c: (gst_value_is_fixed):
4148 Optimisation: bail out of the loop as early as possible (#500143).
4150 2007-12-28 Tim-Philipp Müller <tim at centricular dot net>
4152 * gst/gstcaps.c: (gst_caps_to_string):
4153 * gst/gstinfo.c: (gst_debug_construct_term_color):
4154 * gst/gstparse.c: (gst_parse_launchv):
4155 * gst/gstutils.c: (gst_util_dump_mem):
4156 * gst/gstvalue.c: (gst_value_serialize_any_list),
4157 (gst_value_transform_any_list_string):
4158 Bunch of gratuitous nano-optimisations.
4160 2007-12-28 Tim-Philipp Müller <tim at centricular dot net>
4162 * tests/check/generic/sinks.c: (async_done_func),
4163 (async_done_eos_func):
4164 Fix leak in unit test (bus sync handler must unref the message
4165 if it returns GST_BUS_DROP). Don't fiddle with the default test
4166 timeout, this is smaller than the current preconfigured value
4167 via CK_DEFAULT_TIMEOUT, and also breaks things with valgrind
4168 because it overrides the value specified in CK_DEFAULT_TIMEOUT.
4170 2007-12-24 Wim Taymans <wim.taymans@collabora.co.uk>
4172 Based on Patch by: Laurent Glayal <spglegle at yahoo dot fr>
4175 Check for stdio_ext.h for the filesink changes.
4177 * plugins/elements/gstfilesink.c: (buffer_mode_get_type),
4178 (gst_file_sink_class_init), (gst_file_sink_init),
4179 (gst_file_sink_dispose), (gst_file_sink_set_property),
4180 (gst_file_sink_get_property), (gst_file_sink_open_file),
4181 (gst_file_sink_close_file):
4182 * plugins/elements/gstfilesink.h:
4183 Add two properties to control the buffering mode and size.
4184 API: GstFileSink::buffer-mode
4185 API: GstFileSink::buffer-size
4188 2007-12-24 Wim Taymans <wim.taymans@collabora.co.uk>
4190 * gst/gstsystemclock.c: (gst_system_clock_id_wait_jitter_unlocked):
4191 Add some more docs to explain why a FIXME was wrongly added.
4193 2007-12-22 Sebastian Dröge <slomo@circular-chaos.org>
4196 Fix typo in the gst_object_{ref,unref} documentation.
4198 2007-12-21 Tim-Philipp Müller <tim at centricular dot net>
4200 * tests/check/libs/controller.c:
4201 * tests/check/libs/typefindhelper.c:
4202 * tests/check/pipelines/parse-launch.c:
4203 Don't use GST_PLUGIN_DEFINE_STATIC, it is not portable and is
4204 going to be deprecated (see #498924).
4206 2007-12-21 Tim-Philipp Müller <tim at centricular dot net>
4208 * gst/gsttypefind.c: (gst_type_find_register):
4209 Make gst_type_find_register work for static typefind functions,
4210 ie. allow passing plugin == NULL (prerequisite for #498924).
4212 * gst/gstelementfactory.c: (gst_element_register):
4213 Small docs addition.
4215 2007-12-21 Wim Taymans <wim.taymans@collabora.co.uk>
4217 * gst/gstpad.c: (gst_pad_dispose):
4218 Really unlink the peer pad instead of setting the peer pointer to NULL
4219 when we dispose the pad.
4220 This correctly calls the unlink functions and makes sure that the peer
4221 does not have a handle to invalid memory. See #504671.
4223 * tests/check/gst/gstpad.c: (GST_START_TEST), (gst_pad_suite):
4224 Add testsuite for above case.
4226 2007-12-20 Tim-Philipp Müller <tim at centricular dot net>
4228 Patch by: Peter Kjellerstedt <pkj axis com>
4230 * libs/gst/check/gstcheck.h:
4231 Fix detection of the check version we're compiling against (would
4232 otherwise break if check goes v0.10.0); correctly report the
4233 name of the failed test again in case of failure, instead of
4234 just 'tf' (fixes #504499).
4236 2007-12-19 Wim Taymans <wim.taymans@collabora.co.uk>
4238 * libs/gst/base/gstbasesrc.c: (gst_base_src_send_event),
4239 (gst_base_src_get_range), (gst_base_src_pad_get_range),
4240 (gst_base_src_loop), (gst_base_src_set_flushing),
4241 (gst_base_src_change_state):
4242 Allow sending EOS to the source to make it send out an EOS event from
4243 the streaming thread.
4244 Update docs and deprecate the old NULL/READY shutdown method.
4246 * tests/check/libs/basesrc.c: (GST_START_TEST),
4247 (gst_basesrc_suite):
4248 Add unit test for controlled shutdown.
4250 2007-12-19 Wim Taymans <wim.taymans@collabora.co.uk>
4252 * docs/design/part-synchronisation.txt:
4255 * gst/gstsegment.c: (gst_segment_set_seek),
4256 (gst_segment_set_newsegment_full), (gst_segment_to_stream_time),
4257 (gst_segment_to_running_time):
4258 The seek format can be different from the segment format when the start
4259 and stop values are not to be updated, when we only do a rate change for
4262 * tests/check/gst/gstsegment.c: (GST_START_TEST),
4263 (gst_segment_suite):
4264 Add a testcase for the rate-only seeks, checking that the format is
4265 correctly ignored when start and stop are not updated.
4267 2007-12-18 Sebastian Dröge <slomo@circular-chaos.org>
4269 Patch by: Matthias Bolte <photon at mail dot upb dot de>
4271 * win32/vs8/grammar.vcproj:
4272 * win32/vs8/libgstcontroller.vcproj:
4273 * win32/vs8/libgstreamer.vcproj:
4274 Fix compilation with VS8 and include some missing files.
4276 2007-12-18 Tim-Philipp Müller <tim at centricular dot net>
4279 Small docs addition: mention that the strings returned by
4280 gst_tag_list_get_string*() are in UTF-8 encoding.
4282 2007-12-17 Tim-Philipp Müller <tim at centricular dot net>
4285 The check-exports stuff moved to common/win32.mak, so include that.
4287 2007-12-17 Wim Taymans <wim.taymans@collabora.co.uk>
4289 * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
4290 (gst_base_src_perform_seek), (gst_base_src_get_range),
4291 (gst_base_src_set_playing), (gst_base_src_change_state):
4292 Make _wait_playing() not check any variables so that we can call this
4293 function from subclasses. Move the checks elsewhere similar to
4294 _wait_preroll() in basesink.
4296 Only signal the LIVE cond when we are going back to PLAYING.
4298 2007-12-16 Tim-Philipp Müller <tim at centricular dot net>
4300 * gst/gstregistrybinary.c: (gst_registry_binary_write_cache):
4301 Use g_remove() and g_rename(). Check result of g_rename(), and
4302 don't leak the open file descriptor if we error out when writing.
4304 * gst/gstregistryxml.c: (load_plugin), (gst_registry_xml_write_cache):
4305 Must check the return value of close() after writing out the new
4306 registry file. Sometimes write problems such as out-of-diskspace
4307 are only reported when the file is closed and not already during
4308 the write. This may have caused partial/broken registry files in
4309 some rare circumstances. Should fix #503675.
4311 2007-12-16 Edward Hervey <edward.hervey@collabora.co.uk>
4313 * docs/gst/.cvsignore:
4314 * docs/libs/.cvsignore:
4315 * docs/plugins/.cvsignore:
4316 Ignore files generated by new common/* modifications
4318 2007-12-15 Stefan Kost <ensonic@users.sf.net>
4320 * win32/common/libgstbase.def:
4321 Yes, you can also have a <TAB> if you want.
4323 2007-12-15 Stefan Kost <ensonic@users.sf.net>
4325 * win32/common/libgstbase.def:
4326 Add new basetransform API to win export file.
4328 2007-12-15 Stefan Kost <ensonic@users.sf.net>
4330 * tests/check/gst/gstbin.c:
4331 Adjust the test to the refcount change two days ago.
4333 2007-12-14 David Schleef <ds@schleef.org>
4335 * docs/faq/getting.xml: Fix typo.
4337 2007-12-14 Sebastian Dröge <slomo@circular-chaos.org>
4339 * docs/libs/gstreamer-libs-sections.txt:
4340 * libs/gst/base/gstbasetransform.c: (gst_base_transform_init),
4341 (gst_base_transform_prepare_output_buffer),
4342 (gst_base_transform_set_gap_aware):
4343 * libs/gst/base/gstbasetransform.h:
4344 API: Add gst_base_transform_set_gap_aware() to control whether
4345 the element correctly handles GST_BUFFER_FLAG_GAP or shouldn't
4346 get buffers with this flag at all. Fixes #503231.
4348 2007-12-13 Stefan Kost <ensonic@users.sf.net>
4350 * libs/gst/base/gstbasesink.c:
4351 * libs/gst/base/gstbasesrc.c:
4352 * libs/gst/base/gstbasetransform.c:
4353 Replace gst_pad_get_parent by GST_OBJECT_PARENT inside streaming
4354 thread. Correct log message in gstbasesrc.c.
4356 2007-12-13 Tim-Philipp Müller <tim at centricular dot net>
4358 * gst/gstutils.c: (element_find_unconnected_pad):
4359 Fix possible compiler warning (#503417).
4361 2007-12-13 Tim-Philipp Müller <tim at centricular dot net>
4363 * gst/gstobject.c: (gst_object_dispatch_properties_changed):
4364 Don't use GST_CAT_EVENT here for logging, it makes no sense.
4366 2007-12-13 Sebastian Dröge <slomo@circular-chaos.org>
4368 * tools/gst-inspect.c: (print_element_properties_info):
4369 Add support for GstFraction properties.
4371 2007-12-12 Tim-Philipp Müller <tim at centricular dot net>
4374 Add check-exports target and run it as part of 'make check'
4375 (see #499140 and #493983).
4377 * gst/gst_private.h:
4378 * gst/gstelementfactory.h:
4379 * gst/gstghostpad.c: (gst_proxy_pad_class_init):
4380 * gst/gstinfo.c: (_priv_gst_in_valgrind), (_gst_debug_init),
4381 (_priv_gst_in_valgrind):
4382 * gst/gstinfo.h: (GstLogFunction):
4383 * gst/gsttypefind.c: (type_find_debug), (GST_CAT_DEFAULT),
4384 (gst_type_find_register):
4385 * gst/gsttypefindfactory.c: (type_find_debug), (GST_CAT_DEFAULT),
4386 (gst_type_find_factory_get_type):
4387 * libs/gst/controller/gstcontroller.c: (GST_CAT_DEFAULT),
4388 (GST_CAT_DEFAULT), (parent_class), (priv_gst_controller_key),
4389 (gst_controller_new_valist), (gst_controller_new_list),
4390 (_gst_controller_dispose), (_gst_controller_class_init):
4391 * libs/gst/controller/gstcontrolsource.c: (GST_CAT_DEFAULT):
4392 * libs/gst/controller/gsthelper.c: (GST_CAT_DEFAULT),
4393 (GST_CAT_DEFAULT), (gst_object_uncontrol_properties),
4394 (gst_object_get_controller), (gst_object_set_controller),
4395 (gst_object_suggest_next_sync), (gst_object_sync_values),
4396 (gst_object_set_control_source), (gst_object_get_control_source),
4397 (gst_object_get_value_arrays), (gst_object_get_value_array),
4398 (gst_object_get_control_rate), (gst_object_set_control_rate):
4399 * libs/gst/controller/gstinterpolation.c: (GST_CAT_DEFAULT):
4400 * libs/gst/controller/lib.c: (GST_CAT_DEFAULT):
4401 Make some functions that should be static static; rename some
4402 private symbols so that they don't get exported; add some FIXME
4403 comments so we can move accidentally exported functions into
4404 our private section in 0.11.
4406 * win32/common/libgstreamer.def:
4407 Add gst_utils_get_timestamp().
4409 2007-12-12 Stefan Kost <ensonic@users.sf.net>
4413 Add more missing "Since:" tags to docs.
4415 2007-12-12 Stefan Kost <ensonic@users.sf.net>
4418 Add mising "Since:" to docs.
4420 2007-12-11 Stefan Kost <ensonic@users.sf.net>
4423 Include "glib-compat-private.h" to fix the build on system with
4424 glib < 2.10. Fixes #503131.
4426 2007-12-11 Stefan Kost <ensonic@users.sf.net>
4430 Actually its not PURE as it gets the time from elsewhere.
4432 2007-12-11 Stefan Kost <ensonic@users.sf.net>
4434 * docs/gst/gstreamer-sections.txt:
4436 * gst/gstdebugutils.c:
4440 * libs/gst/base/gstbasesink.c:
4441 * tools/gst-launch.c:
4442 Change GST_GET_TIMESTAMP into gst_util_get_timestamp and replace all
4443 uses as we don't have HAVE_POSIX_TIMERS in public headers.
4444 Thanks Tim for spotting.
4445 API: gst_util_get_timestamp
4447 2007-12-09 Sebastian Dröge <slomo@circular-chaos.org>
4450 Don't define GST_DISABLE_DEPRECATED for releases. Fixes #498181.
4452 2007-12-08 Tim-Philipp Müller <tim at centricular dot net>
4454 * gst/gststructure.c: (gst_structure_validate_name),
4455 (gst_structure_new_valist), (gst_structure_parse_value),
4456 (gst_structure_from_string):
4457 Don't crash in _from_string() if the structure name is not valid
4458 (fixes #501560). Allow structure names to start with a number
4459 again (this apparently broke the ubuntu codec installer).
4461 * tests/check/gst/gststructure.c: (GST_START_TEST), (GST_START_TEST),
4463 Add unit test for the crash; update unit tests for new behaviour.
4465 2007-12-03 Wim Taymans <wim.taymans@gmail.com>
4468 Clarify gst_element_get_compatible_pad() documentation.
4471 2007-12-02 Sebastian Dröge <slomo@circular-chaos.org>
4473 * tests/check/Makefile.am:
4474 Don't forget to dist {gst,libs}/struct_hppa.h.
4476 2007-11-28 Stefan Kost <ensonic@users.sf.net>
4478 * libs/gst/base/gstbasesink.c:
4479 Use new API to get elapsed time.
4481 2007-11-28 Stefan Kost <ensonic@users.sf.net>
4483 * gst/gstdebugutils.c:
4485 Fix wrong order of args in GST_CLOCK_DIFF() usage.
4487 * tools/gst-launch.c:
4488 Use new API to get elapsed time.
4490 2007-11-28 Stefan Kost <ensonic@users.sf.net>
4492 * docs/gst/gstreamer-sections.txt:
4494 * gst/gstdebugutils.c:
4496 Rename new API + ChangeLog surgery to remove old name from last entry..
4498 2007-11-28 Stefan Kost <ensonic@users.sf.net>
4500 * docs/gst/gstreamer-sections.txt:
4502 * gst/gstdebugutils.c:
4504 Now hide the different clock stuff behind a macro.
4506 2007-11-28 Stefan Kost <ensonic@users.sf.net>
4509 * gst/gstdebugutils.c:
4511 Apply the posix-timer check from #361155. Conditionally use the posix
4512 timer for logging. This gives better timestamp precission, less
4513 overhead and no ntp jitter.
4515 2007-11-28 Sebastian Dröge <slomo@circular-chaos.org>
4517 * gst/gstminiobject.c: (gst_mini_object_get_type),
4518 (gst_mini_object_class_init), (gst_mini_object_copy_default),
4519 (gst_mini_object_finalize), (gst_mini_object_copy),
4520 (gst_mini_object_is_writable), (gst_mini_object_make_writable),
4521 (gst_mini_object_replace), (param_mini_object_validate),
4522 (gst_param_spec_mini_object_get_type):
4523 Some cleanup and checking against invalid function parameters.
4525 2007-11-28 Wim Taymans <wim.taymans@gmail.com>
4527 * docs/gst/gstreamer-sections.txt:
4529 * tests/check/gst/gstsystemclock.c: (GST_START_TEST),
4530 (gst_systemclock_suite):
4531 Start merging in the easy bits of #361155, the monotonic clock patch.
4532 This one adds a few handy macros with docs and a testsuite.
4534 2007-11-27 Wim Taymans <wim.taymans@gmail.com>
4536 * plugins/elements/gstfilesink.c: (gst_file_sink_event):
4537 Be a bit smarter when seeking, like, don't try to do a seek when it's
4538 not needed. This avoids errors when the file is not seekable.
4541 2007-11-26 Stefan Kost <ensonic@users.sf.net>
4543 * docs/gst/gstreamer-docs.sgml:
4544 * docs/gst/gstreamer-sections.txt:
4545 * docs/gst/gstreamer.types.in:
4550 * plugins/elements/gstqueue.c:
4551 Due to popular request remove preset interface again. :-(.
4553 2007-11-22 Stefan Kost <ensonic@users.sf.net>
4555 * tools/gst-inspect.c:
4556 Print 'default value' for enums and flags too.
4558 2007-11-22 Stefan Kost <ensonic@users.sf.net>
4560 * docs/random/ensonic/profiling.txt:
4564 Fix typo and give better log output.
4566 * gst/gstdebugutils.c:
4567 * gst/gstdebugutils.h:
4568 More ideas, make graphs a bit smaller and fix param name in macro.
4570 2007-11-22 Stefan Kost <ensonic@users.sf.net>
4573 Try harder to use the return value from fgets().
4575 2007-11-21 Stefan Kost <ensonic@users.sf.net>
4578 For theses two fgets we handle the error below.
4580 2007-11-21 Wim Taymans <wim.taymans@gmail.com>
4582 * libs/gst/base/gstbasesink.c: (gst_base_sink_send_event):
4583 Only send upstream events upstream. Fixes #498746.
4585 2007-11-21 Wim Taymans <wim.taymans@gmail.com>
4587 Patch by: Laurent Glayal <spglegle at yahoo dot fr>
4589 * plugins/elements/gstidentity.c: (gst_identity_class_init),
4590 (gst_identity_init), (gst_identity_transform_ip),
4591 (gst_identity_set_property), (gst_identity_get_property):
4592 * plugins/elements/gstidentity.h:
4593 Add property to disable handoff signal emission. Fixes #498694.
4594 API: GstIdentity::signal-handoffs
4596 2007-11-21 Julien Moutte <julien@fluendo.com>
4598 * docs/faq/gst-uninstalled: Yet another missing library for the
4599 uninstalled script (fft)
4601 2007-11-21 Jan Schmidt <jan.schmidt@sun.com>
4603 * docs/faq/developing.xml:
4604 Add a question about how to submit new translations.
4606 * docs/random/release:
4607 Update the contact email address for the Translation Project
4609 * plugins/elements/gstfdsrc.c:
4610 The parent_class for fdsrc is pushsrc, not GstElement.
4612 2007-11-20 Stefan Kost <ensonic@users.sf.net>
4615 Plug a leak and fix saving.
4617 2007-11-20 Sebastian Dröge <slomo@circular-chaos.org>
4619 * docs/gst/gstreamer-sections.txt:
4620 Add new gst_preset__get_property_names() function to the docs
4623 2007-11-20 Stefan Kost <ensonic@users.sf.net>
4627 Change _get_preset_names API to return a strv with copies. Add
4628 _get_property_names to allow implementations to filter and provide
4629 good default implementation.
4631 2007-11-20 Julien MOUTTE <julien@moutte.net>
4633 * docs/faq/gst-uninstalled: Add another library to the uninstalled
4636 2007-11-19 Stefan Kost <ensonic@users.sf.net>
4639 More cleanups, docs, and TODOs from comments that now slowly come in.
4641 2007-11-19 Julien MOUTTE <julien@moutte.net>
4643 * docs/faq/gst-uninstalled: Add new base libraries in the LD
4646 2007-11-19 Stefan Kost <ensonic@users.sf.net>
4649 Fix bogus warning and make the property type specific code more
4652 2007-11-19 Julien MOUTTE <julien@moutte.net>
4654 * gst/gstpreset.c: (gst_preset_default_create_preset): Make
4657 2007-11-19 Wim Taymans <wim.taymans@gmail.com>
4659 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
4660 (gst_bin_add_func), (gst_bin_remove_func),
4661 (gst_bin_change_state_func), (gst_bin_continue_func):
4662 Change email, cleanups add some more debug and comments.
4663 Also set bus and clock on new elements when the pipeline was in error.
4665 2007-11-18 Stefan Kost <ensonic@users.sf.net>
4668 * gst/gstdebugutils.c:
4669 Fix build with --disable-gst-debug. Fixes #497859.
4670 Spotted by Sameer Naik.
4672 2007-11-17 Stefan Kost <ensonic@users.sf.net>
4675 Little documentation improvment.
4678 More TODO cleanups. Remove c++ comments.
4680 * libs/gst/controller/gstcontroller.c:
4681 Add TODO and use quark from static string.
4683 * tests/check/gst/gstmessage.c:
4684 * tests/check/gst/gststructure.c:
4685 Use quark from static string.
4687 2007-11-17 Stefan Kost <ensonic@users.sf.net>
4690 Add some comments and TODOs.
4693 Add padding for future changes.
4695 * plugins/elements/gstqueue.c:
4696 Implement the iface.
4698 2007-11-17 Stefan Kost <ensonic@users.sf.net>
4700 * docs/gst/gstreamer-docs.sgml:
4701 * docs/gst/gstreamer-sections.txt:
4702 * docs/gst/gstreamer.types.in:
4707 Add the preset interface (Fixes #396779). Do some doc cleanups along.
4709 2007-11-16 Jan Schmidt <jan.schmidt@sun.com>
4715 === release 0.10.15 ===
4717 2007-11-15 Jan Schmidt <jan.schmidt@sun.com>
4720 releasing 0.10.15, "October"
4722 2007-11-14 Jan Schmidt <jan.schmidt@sun.com>
4724 * win32/vs6/libgstreamer.dsp:
4725 Convert line endings back to DOS.
4727 2007-11-13 Stefan Kost <ensonic@users.sf.net>
4729 * docs/design/draft-tagreading.txt:
4730 * docs/random/ensonic/profiling.txt:
4731 Update fast tagreading draft and performance profiling ideas.
4733 2007-11-09 Wim Taymans <wim.taymans@gmail.com>
4735 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_last_buffer):
4736 Don't hold the object lock when unreffing a buffer because it could
4737 cause a deadlock when the finalize function wants to grab the object
4738 lock too. Fixes #495133.
4740 2007-11-09 Wim Taymans <wim.taymans@gmail.com>
4742 * gst/gstsegment.c: (gst_segment_set_newsegment_full),
4743 (gst_segment_to_stream_time), (gst_segment_to_running_time):
4744 Also accumulate time correctly when doing reverse playback. Fixes
4746 When converting to running and stream time, use default values for
4747 start/stop/time/accum when comparing different formats. Fixes #494245.
4749 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
4750 Do running/stream time in TIME format.
4752 * tests/check/gst/gstsegment.c: (GST_START_TEST),
4753 (gst_segment_suite):
4754 2 new unit tests for segment accumulation.
4756 2007-11-07 Tim-Philipp Müller <tim at centricular dot net>
4758 * gst/gst.c: (init_pre):
4759 * gst/gstdebugutils.c: (priv_gst_dump_dot_dir), (debug_dump_element),
4760 (_gst_debug_bin_to_dot_file):
4761 Move getenv() back into gst_init, so everyone can live happily
4762 ever after. Make sure the symbol isn't exported though.
4764 2007-11-06 Tim-Philipp Müller <tim at centricular dot net>
4766 Patch by: Sebastien Moutte <sebastien moutte net>
4768 * win32/common/gstenumtypes.c:
4769 * win32/common/gstenumtypes.h:
4772 * win32/vs6/libgstreamer.dsp:
4773 Update vs6 project files (#494343).
4775 2007-11-06 Wim Taymans <wim.taymans@gmail.com>
4777 * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query),
4778 (gst_base_src_perform_seek), (gst_base_src_default_event),
4779 (gst_base_src_set_flushing), (gst_base_src_activate_push),
4780 (gst_base_src_activate_pull):
4781 Unify flushing code, remove some old unlock code that is no longer used.
4782 Take the streaming lock when seeking to avoid races. Fixes #492729.
4783 Added some more comments.
4785 2007-11-06 Tim-Philipp Müller <tim at centricular dot net>
4787 * gst/gst.c: (_gst_disable_segtrap):
4788 Make _gst_disable_segtrap static, it's only used in gstplugin.c and
4789 we can use gst_segtrap_is_enabled() there now that we have that API.
4790 Move _gst_debug_dump_dot_dir into gstdebugutils.c, there's no reason
4791 to do the getenv here (and export the variable).
4793 * gst/gstdebugutils.c: (debug_dump_element),
4794 (_gst_debug_bin_to_dot_file), (_gst_debug_bin_to_dot_file_with_ts):
4795 Don't use VLAs which is a C99ism and throws off MSVC (#493983).
4797 * gst/gstinfo.c: (_priv_gst_info_start_time), (_gst_debug_init),
4798 (gst_debug_log_default):
4799 Rename _gst_info_start_time to priv_gst_info_start_time so it
4800 doesn't get exported (was never in any header).
4802 * gst/gstplugin.c: (_gst_plugin_fault_handler_setup),
4803 (gst_plugin_loading_mutex):
4804 Make static mutex gst_plugin_loading_mutex really static (was never
4805 in any header), and use gst_segtrap_is_enabled() instead of
4806 _gst_disable_segtrap.
4808 * gst/gsttrace.c: (_gst_trace_default):
4809 Make local _gst_trace_default static (was never in any header).
4811 2007-11-06 Tim-Philipp Müller <tim at centricular dot net>
4813 Patch by: Ole André Vadla Ravnås <ole.andre.ravnas@tandberg.com>
4815 * win32/common/libgstbase.def:
4816 * win32/common/libgstcontroller.def:
4817 * win32/common/libgstdataprotocol.def:
4818 * win32/common/libgstnet.def:
4819 * win32/common/libgstreamer.def:
4820 Add more missing symbols, remove some duplicates, and sort
4821 as the 'sort' command sorts it (partially fixes #493983).
4823 2007-11-06 Wim Taymans <wim.taymans@gmail.com>
4825 * gst/gstelement.c: (gst_element_set_state_func):
4826 Only change the state cookie if a different state was set on the
4827 element. See #492729.
4829 2007-11-06 Tim-Philipp Müller <tim at centricular dot net>
4832 Remove unused and uninitialised type variables that were still
4833 exported for some reason (they were never in any header files
4836 2007-11-06 Wim Taymans <wim.taymans@gmail.com>
4838 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
4839 (gst_base_sink_do_sync), (gst_base_sink_preroll_object),
4840 (gst_base_sink_event), (gst_base_sink_get_position_last),
4841 (gst_base_sink_get_position_paused), (gst_base_sink_get_position),
4842 (gst_base_sink_change_state):
4843 Don't try to report a 0 position when we don't know, return -1 and FALSE
4844 instead. This mostly happens when we are prerolling.
4845 Make sure we can report the right position before we post the ASYNC_DONE
4846 message so that a message handler can query position without races.
4848 * tests/check/generic/sinks.c: (send_eos), (GST_START_TEST),
4849 (async_done_handoff), (async_done_func), (send_buffer),
4850 (async_done_eos_func), (gst_sinks_suite):
4851 Add two tests for the above.
4853 2007-11-06 Wim Taymans <wim.taymans@gmail.com>
4856 Update with new email address.
4858 * docs/design/part-TODO.txt:
4859 Add some more info about future pad-block and negotiation changes.
4861 * docs/design/part-buffering.txt:
4862 Add some ideas about buffering reporting.
4864 2007-11-06 Jan Schmidt <jan.schmidt@sun.com>
4866 * tests/check/gst/gstobject.c:
4867 Disable silly racy test that always fails on this combination of CPU
4870 2007-11-03 Tim-Philipp Müller <tim at centricular dot net>
4872 Patch by: Murray Cumming <murrayc@murrayc.com>
4875 Corrected the registration of the parent-set and parent-unset
4876 signals: The parameter is a GstObject, not a GObject (#493134).
4878 2007-11-02 Tim-Philipp Müller <tim at centricular dot net>
4880 * gst/gst_private.h:
4889 Move declaration of private _gst_foo_initialize() functions into
4890 our private header file where they should have been all along.
4892 2007-11-02 Tim-Philipp Müller <tim at centricular dot net>
4894 * docs/plugins/gstreamer-plugins-sections.txt:
4895 * gst/gstdebugutils.h:
4897 * plugins/elements/gstqueue.c:
4898 gtk-doc fixes; trailing-comma-in-enum fix.
4900 2007-11-02 Tim-Philipp Müller <tim at centricular dot net>
4902 * gst/gst.c: (gst_deinit):
4903 Clean up on deinit (not the external ones though, doesn't seem to be
4904 needed for some reason).
4906 2007-11-01 Tim-Philipp Müller <tim at centricular dot net>
4908 * gst/gstinfo.h: (GST_DEBUG_CATEGORY_EXTERN):
4909 Remove __declspec(dllimport) for MSVC that was copied over into core
4910 from a plugin, obviously without ever having been tested (note the
4911 single underscore in _declspec in the initial commit), and that doesn't
4912 really make sense. See #492077.
4914 2007-11-01 Tim-Philipp Müller <tim at centricular dot net>
4916 * gst/gst.c: (init_post):
4917 * gst/gstevent.c: (_gst_event_initialize):
4918 * gst/gstquery.c: (_gst_query_initialize):
4919 * libs/gst/dataprotocol/dataprotocol.c (gst_dp_init):
4920 g_type_class_ref() other types as well, see #349410 and #64764.
4922 * gst/gstbuffer.c: (_gst_buffer_initialize):
4923 * gst/gstmessage.c: (_gst_message_initialize):
4924 Simplify existing g_type_class_ref().
4926 2007-11-01 Tim-Philipp Müller <tim at centricular dot net>
4928 * gst/gstformat.c: (_gst_format_initialize):
4929 g_type_class_ref() our GstFormat type to make sure we avoid the
4930 thread-unsafe bits of the GObject/GType system, ie. bug #349410 and
4931 bug #64764. Should fix intermittent tee unit test failures (#474823).
4933 2007-11-01 Tim-Philipp Müller <tim at centricular dot net>
4935 * tests/check/elements/tee.c: (test_num_buffers):
4936 Simplify, simplify, simplify - or not. Rewrite unit test
4937 not to use gst_parse_launch(); allow N sub-streams. Increasing
4938 the number of sub-streams seems to reproduce #474823 more easily.
4940 2007-10-31 Tim-Philipp Müller <tim at centricular dot net>
4942 Patch by: Ole André Vadla Ravnås <ole.andre.ravnas@tandberg.com>
4945 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_new):
4946 * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
4947 * libs/gst/net/gstnettimeprovider.c: (gst_net_time_provider_new):
4948 Fix a couple of missing includes for MSVC2005 and a C99 issue. Also,
4949 starting with 2.14.0, GLib won't provide a pipe() macro any longer,
4950 so use _pipe() directly (#492077).
4952 * win32/common/dirent.c: (_treaddir):
4953 Add a couple of casts to make it build without warnings with MSVC.
4955 * win32/common/libgstreamer.def:
4956 Add some more symbols that need to be exported.
4958 2007-10-31 Tim-Philipp Müller <tim at centricular dot net>
4960 * tests/examples/metadata/read-metadata.c: (message_loop):
4961 Use _KEEP as merge mode rather than _KEEP_ALL, so tags
4962 arriving in a second or third tag message are added to
4963 the tag list as well.
4965 2007-10-31 Stefan Kost <ensonic@users.sf.net>
4967 * libs/gst/base/gstbasesrc.c:
4968 Its "Since:" and not "@Since:". And remove an superflous cast.
4970 2007-10-30 Wim Taymans <wim.taymans@gmail.com>
4972 * docs/libs/gstreamer-libs-sections.txt:
4973 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
4974 (gst_base_sink_get_last_buffer), (gst_base_sink_set_last_buffer),
4975 (gst_base_sink_get_property), (gst_base_sink_render_object),
4976 (gst_base_sink_preroll_object),
4977 (gst_base_sink_queue_object_unlocked), (gst_base_sink_event),
4978 (gst_base_sink_change_state):
4979 * libs/gst/base/gstbasesink.h:
4980 Add a new last-buffer property that contains the last buffer used in
4981 basesink for preroll or rendering. useful for making snapshots.
4982 API: gst_base_sink_get_last_buffer()
4983 API: GstBaseSink::last-buffer
4985 2007-10-29 Stefan Kost <ensonic@users.sf.net>
4987 * docs/gst/running.xml:
4989 * gst/gstdebugutils.c:
4990 * gst/gstdebugutils.h:
4991 * tools/gst-launch.c:
4992 Improve bin graph dumping, by using the envvar to specify a path.
4993 Rename the envvar to GST_DEBUG_DUMP_DOT_DIR.
4995 2007-10-29 Tim-Philipp Müller <tim at centricular dot net>
4997 * plugins/elements/gsttypefindelement.c:
4998 (gst_type_find_element_handle_event),
4999 (gst_type_find_element_activate):
5000 Post special error message if we can't determine the type of a stream
5003 2007-10-29 Stefan Kost <ensonic@users.sf.net>
5005 * docs/gst/running.xml:
5006 * gst/gstdebugutils.c:
5007 Document new env-var. Add one log-line after dumpng a graph.
5009 2007-10-26 Tim-Philipp Müller <tim at centricular dot net>
5012 Ugly hack to put the (recently removed and non-portable, apparently)
5013 -Wl,--export-dynamic back into libgstcheck's LDFLAGS when we're using
5014 GNU ld, because without that 'make check' fails miserably on my debian
5015 stable box. Someone with more knowledge of linker intricacies and
5016 portability issues than me fix this properly please.
5018 2007-10-25 Wim Taymans <wim.taymans@gmail.com>
5020 * libs/gst/base/gstbasesink.c: (gst_base_sink_event):
5021 Reset last seen position after flushing so that we don't report the old
5024 2007-10-25 Jan Schmidt <Jan.Schmidt@sun.com>
5026 * gst/gstelementfactory.c: (gst_element_register):
5028 Patch from Alessandro Decina adding get_type_full and
5029 get_protocols_full private vfuncs to the URIHandler interface
5030 to allow bindings to support creating URI handlers.
5031 Partially fixes: #339279
5032 API: GstURIHandlerInterface::get_type_full
5033 API: GstURIHandlerInterface::get_protocols_full
5035 2007-10-25 Jan Schmidt <Jan.Schmidt@sun.com>
5037 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_set_property),
5038 (gst_multi_queue_request_new_pad), (gst_single_queue_flush),
5039 (gst_multi_queue_loop), (gst_multi_queue_sink_activate_push):
5040 Make it so that pads are considered linked until a buffer is pushed
5041 and discovered otherwise. This avoids problems with decodebin2 hanging
5042 after a seek in the filesrc ! decodebin2 name=d ! fakesink d. ! fakesink
5045 Make sure we lock the multiqueue when updating the max-size properties.
5047 Fix a crash on Solaris in a debug statement in get_request_pad that
5048 passes a NULL string to GST_DEBUG.
5050 * tests/check/elements/multiqueue.c: (mq_dummypad_chain),
5051 (run_output_order_test):
5052 Fix the test to allow the first buffer on not-linked pads to come out
5053 of sequence while multiqueue discovers that they are not-linked.
5055 2007-10-25 Jan Schmidt <Jan.Schmidt@sun.com>
5058 * libs/gst/check/Makefile.am:
5059 Use a custom export symbol regex for libgstcheck, as it needs
5060 to export symbols that don't match the standard GStreamer gst_*
5061 pattern, and --export-dynamic is not portable (only works on
5064 * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
5065 (gst_check_setup_sink_pad):
5066 Make sure to pass a message parameter to the fail_* macros.
5068 * tests/check/gst/gstinfo.c: (GST_START_TEST):
5069 Fix some compiler warnings.
5071 2007-10-25 Tim-Philipp Müller <tim at centricular dot net>
5073 * tests/check/gst/gststructure.c: (test_to_string):
5074 Disable test that checks that white spaces are not allowed
5075 in structure names or field names, since we need to
5076 support that for now for backwards compatibility reasons.
5078 2007-10-24 Tim-Philipp Müller <tim at centricular dot net>
5080 * docs/gst/gstreamer-sections.txt:
5083 API: add GST_TAG_ARTIST_SORTNAME
5084 API: add GST_TAG_ALBUM_SORTNAME
5085 API: add GST_TAG_TITLE_SORTNAME
5086 Add tag variants for sorting (#414539).
5088 2007-10-24 Tim-Philipp Müller <tim at centricular dot net>
5090 * gst/gststructure.c:
5091 Also allow white space for names so we don't break
5092 backwards compatibility.
5094 2007-10-22 Wim Taymans <wim.taymans@gmail.com>
5096 * docs/design/part-TODO.txt:
5097 * docs/design/part-segments.txt:
5098 * docs/design/part-streams.txt:
5101 2007-10-22 Edgard Lima <edgard.lima@indt.org.br>
5103 * docs/gst/gstreamer-sections.txt:
5104 Fixed documentation from my previous commit (added new API add
5105 gst_value_set_structure(), add gst_value_get_structure() and
5106 GST_VALUE_HOLDS_STRUCTURE).
5108 2007-10-22 Stefan Kost <ensonic@users.sf.net>
5110 * gst/gstdebugutils.c:
5111 Reflow code to fix uninitialized variable warning.
5113 2007-10-22 Edgard Lima <edgard.lima@indt.org.br>
5115 * gst/gstcaps.c: (gst_caps_to_string),
5116 (gst_caps_from_string_inplace):
5117 * gst/gststructure.c: (gst_structure_get_abbrs),
5118 (gst_structure_to_string), (gst_structure_from_string):
5119 * gst/gstvalue.c: (gst_value_set_structure),
5120 (gst_value_get_structure), (gst_value_serialize_structure),
5121 (gst_value_deserialize_structure), (_gst_value_initialize):
5123 * tests/check/gst/gststructure.c: (GST_START_TEST),
5124 (gst_structure_suite):
5125 * tests/check/gst/gstvalue.c: (GST_START_TEST):
5126 Added GstStructure to gst_value_table and its related functions.
5127 Changed gst_structure_to_string to print ';' in the end.
5128 Changed gst_caps_to_string to not print ';' beteween its
5129 fields (structures) anymore and remove the lastes ';' from latest
5130 structure. Now it is possible to have nested structures.
5131 In addition, backward compatibilty is assured by accepting '\0' as
5132 end delimiter. Fixes: #487969.
5133 API: add gst_value_set_structure()
5134 API: add gst_value_get_structure()
5135 API: add GST_VALUE_HOLDS_STRUCTURE
5137 2007-10-19 Tim-Philipp Müller <tim at centricular dot net>
5140 When no GSource callback has been set up, tell developer
5141 to use a function that actually exists.
5143 2007-10-17 Stefan Kost <ensonic@users.sf.net>
5145 * docs/gst/gstreamer-sections.txt:
5149 * gst/gstdebugutils.c:
5150 * gst/gstdebugutils.h:
5153 * tools/gst-launch.c:
5154 Allow dumping pipelines as dot graphs. Fixes #456573.
5156 2007-10-16 Tim-Philipp Müller <tim at centricular dot net>
5158 * gst/gststructure.c:
5159 Allow '+' as well, it can be part of media or mime types
5160 such as image/svg+xml.
5162 2007-10-16 Tim-Philipp Müller <tim at centricular dot net>
5164 * docs/gst/gstreamer-sections.txt:
5167 API: add gst_bus_pop_filtered
5168 API: add gst_bus_timed_pop_filtered
5169 Two new functions for waiting for specific message types on the
5170 bus for a specified amount of time without iterating any main
5171 loops or main contexts.
5173 * tests/check/gst/gstbus.c:
5174 Some tests for the new functions.
5176 2007-10-16 Tim-Philipp Müller <tim at centricular dot net>
5178 * docs/libs/gstreamer-libs-sections.txt:
5179 Make gtk-doc ignore stuff it should ignore.
5181 2007-10-16 Tim-Philipp Müller <tim at centricular dot net>
5183 * libs/gst/check/gstcheck.c:
5184 * libs/gst/check/gstcheck.h:
5185 Allow runtime selection of unit tests to run via the GST_CHECKS
5186 environment variable (test case function names, comma-separated).
5188 2007-10-16 Stefan Kost <ensonic@users.sf.net>
5190 * gst/gststructure.c:
5191 * tests/check/gst/gststructure.c:
5192 Revert serialisation change and constrain structure-names after
5193 consensus on irc. Update api documentation to reflect the change.
5195 2007-10-16 Stefan Kost <ensonic@users.sf.net>
5197 * gst/gststructure.c:
5198 Improve serialization and fix tests.
5200 * tests/check/gst/gststructure.c:
5201 Add another test that covers why I actually did the previous structure
5204 2007-10-15 Wim Taymans <wim.taymans@gmail.com>
5206 * tools/gst-inspect.c: (print_element_info):
5207 Don't crash when inspecting an element.
5209 2007-10-15 Tim-Philipp Müller <tim at centricular dot net>
5211 * tests/check/gst/gststructure.c:
5212 Add unit test for escaping of structure name when serialising
5213 and deserialising to/from strings.
5215 2007-10-15 Wim Taymans <wim.taymans@gmail.com>
5217 * plugins/elements/gstmultiqueue.c: (gst_single_queue_push_one),
5218 (gst_single_queue_new):
5219 * plugins/elements/gstqueue.c: (gst_queue_init),
5220 (gst_queue_push_one):
5221 Fix queue negotiation. If acceptcaps unconditionally returns TRUE,
5222 upstream is tricked into thinking it can suggest a format downstream
5223 while downstream does not support that format. The real problem is that
5224 core calls acceptcaps when pushing a buffer with new caps, for which we
5225 do a little workaround by setting the caps on the srcpad ourselves
5226 before pushing the buffer (until this is figured out). Fixes #486758.
5228 2007-10-15 Stefan Kost <ensonic@users.sf.net>
5230 * gst/gststructure.c:
5232 Add some more comments and debug output. Quote structure name to fix
5233 deserialisation of some strings.
5235 2007-10-15 Stefan Kost <ensonic@users.sf.net>
5238 Define GST_BUFFER_FLAG_GAP more strictly to enable optimizations based
5239 on it. Fix docs for GST_BUFFER_MALLOCDATA and GstBuffer.malloc_data.
5241 2007-10-15 Stefan Kost <ensonic@users.sf.net>
5243 * tools/gst-inspect.c:
5244 Save approx. 400 1 byte allocs when printing. Use API to acces element
5250 * tools/gst-xmlinspect.c:
5251 Use API to acces element details.
5253 2007-10-15 Stefan Kost <ensonic@users.sf.net>
5256 Fix some spelling errors.
5258 2007-10-14 Wim Taymans <wim.taymans@gmail.com>
5260 * gst/gstbin.c: (bin_handle_async_done):
5261 Correctly set the next state if all of our async children commited their
5262 state. This makes sure we can actually cancel the state change in
5263 progress. Fixes a regression in Rhythmbox when seeking.
5265 2007-10-13 Tim-Philipp Müller <tim at centricular dot net>
5268 Don't shadow local variable.
5271 Don't shadow global function name.
5273 2007-10-13 Tim-Philipp Müller <tim at centricular dot net>
5275 * gst/gstelementfactory.c:
5276 * gst/gstpluginfeature.c:
5277 * gst/gstpluginfeature.h:
5278 * gst/gstregistrybinary.c:
5279 * gst/gstregistryxml.c:
5280 * gst/gsttypefind.c:
5281 Use already-interned string for the private GstPluginFeature
5284 2007-10-10 Tim-Philipp Müller <tim at centricular dot net>
5286 * docs/libs/gstreamer-libs-sections.txt:
5287 Add new API to docs; fixes the build.
5289 2007-10-10 Wim Taymans <wim.taymans@gmail.com>
5291 Patch inspired by: Benoit Fouet <benoit dot fouet at purplelabs dot com>
5293 * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_eos),
5294 (gst_base_sink_event):
5295 * libs/gst/base/gstbasesink.h:
5296 Add function to wait for EOS, subclasses can use this to correctly wait
5297 for devices to drain before performing the EOS logic. Fixes #485343.
5298 API: gst_base_sink_wait_eos()
5300 2007-10-10 Tim-Philipp Müller <tim at centricular dot net>
5303 Cast description string constants in GST_PLUGIN_DEFINE macros
5304 to a (gchar*) to make C++ code using these macros compile
5305 without warning with g++-4.2 (see #462737). Even if slightly
5306 ugly, this seems preferable to putting the description strings
5307 into the GLib quark table or making the structure member a
5308 const gchar * and doing casts in core code that allocs and
5309 frees these strings, or requiring a cast in the C++ code.
5311 2007-10-09 Tim-Philipp Müller <tim at centricular dot net>
5314 Use __FUNCTION__ instead of __PRETTY_FUNCTION__, it's silly
5315 to print the entire class/function signature into the log
5316 file for C++ code. This only affects C++ code, for C code
5317 everything remains the same.
5319 2007-10-09 Wim Taymans <wim.taymans@gmail.com>
5321 * gst/gstbin.c: (remove_from_queue):
5322 Work around a problem with pipelines containing (semi)loops until a
5323 proper, more complicated solution is ready. See #475455.
5325 2007-10-09 Tim-Philipp Müller <tim at centricular dot net>
5329 * gst/gstregistrybinary.c:
5330 * gst/gstregistryxml.c:
5331 Put more strings into the GLib quark table. No need to keep
5332 a hundred-something copies of identical version strings,
5333 license strings, package name strings and package origin
5336 2007-10-09 Tim-Philipp Müller <tim at centricular dot net>
5338 * docs/manual/advanced-dataaccess.xml:
5339 Don't imply that it's okay to unconditionally change
5340 buffer data or buffer metadata in a pad probe callback,
5341 and a bunch of other comments. Fixes #430031.
5343 2007-10-08 Tim-Philipp Müller <tim at centricular dot net>
5345 * win32/common/gstenumtypes.c:
5346 * win32/common/gstenumtypes.h:
5347 * win32/common/gstversion.h:
5348 Update generated files.
5350 2007-10-08 Tim-Philipp Müller <tim at centricular dot net>
5352 * docs/manual/advanced-autoplugging.xml:
5353 Prefix section with broken code with a warning (see #342432).
5355 2007-10-08 Tim-Philipp Müller <tim at centricular dot net>
5357 * docs/manual/appendix-integration.xml:
5358 * docs/manual/basics-init.xml:
5359 Call g_thread_init() before g_option_context_new() to
5360 avoid warnings. Spotted by Ritesh Khadgaray. Fixes #484225.
5362 2007-10-08 Wim Taymans <wim.taymans@gmail.com>
5364 * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
5365 (gst_base_sink_queue_object_unlocked),
5366 (gst_base_sink_queue_object), (gst_base_sink_event),
5367 (gst_base_sink_needs_preroll), (gst_base_sink_chain_unlocked):
5368 When we received EOS and are waiting for when to post the EOS message,
5369 our state is prerolled and we should not return ASYNC.
5370 Reorganize some code paths to implement this behavior.
5372 * tests/check/generic/sinks.c: (send_eos), (GST_START_TEST),
5374 Add unit test to verify above EOS fix.
5376 2007-10-08 Wim Taymans <wim.taymans@gmail.com>
5378 * plugins/elements/gsttypefindelement.c:
5379 (gst_type_find_element_have_type), (gst_type_find_element_init),
5380 (gst_type_find_element_setcaps), (gst_type_find_element_chain):
5381 Move detecting the input caps of the sinkpad to the setcaps function.
5382 This allows us to update the output caps when we receive new input caps
5383 instead of always using the first detected caps.
5385 2007-10-08 Wim Taymans <wim.taymans@gmail.com>
5387 * libs/gst/base/gstbasesink.c: (gst_base_sink_event),
5388 (gst_base_sink_get_position):
5389 Don't try to preroll non-async elements after a flush.
5390 Subtract latency form clock times when reporting position.
5392 2007-10-05 Wim Taymans <wim.taymans@gmail.com>
5394 * gst/gstpad.c: (gst_pad_pause_task):
5396 Small comment and documentation update.
5398 2007-10-05 Wim Taymans <wim.taymans@gmail.com>
5400 * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
5401 (gst_base_src_set_live), (gst_base_src_is_live),
5402 (gst_base_src_query_latency), (gst_base_src_perform_seek),
5403 (gst_base_src_default_event), (gst_base_src_wait),
5404 (gst_base_src_do_sync), (gst_base_src_get_range),
5405 (gst_base_src_pad_get_range), (gst_base_src_loop),
5406 (gst_base_src_unlock), (gst_base_src_unlock_stop),
5407 (gst_base_src_set_flushing), (gst_base_src_set_playing),
5408 (gst_base_src_activate_push), (gst_base_src_activate_pull),
5409 (gst_base_src_change_state):
5410 Rework the locking of basesrc in a similar fashion to basesink. We
5411 basically have one lock (LIVE_LOCK) protecting the dataflow. This allows
5412 us to handle live sources and semi live ones much better.
5414 Fix unlocking when seeking, shutting down and pausing in live sources.
5416 2007-10-05 Wim Taymans <wim.taymans@gmail.com>
5418 * tests/check/pipelines/simple-launch-lines.c: (run_pipeline):
5419 Fix compilation again.
5421 2007-10-03 Stefan Kost <ensonic@users.sf.net>
5424 Use meaningful categories for the logs to clean the default one.
5426 2007-10-03 Stefan Kost <ensonic@users.sf.net>
5428 * tests/check/pipelines/cleanup.c:
5429 Print message name and not just number.
5431 2007-10-03 Stefan Kost <ensonic@users.sf.net>
5433 * docs/design/draft-tagreading.txt:
5434 Add some more thoughts.
5436 2007-10-03 Stefan Kost <ensonic@users.sf.net>
5438 * tests/check/pipelines/simple-launch-lines.c:
5439 Print message name and not just number.
5441 2007-10-03 Stefan Kost <ensonic@users.sf.net>
5443 * libs/gst/base/gsttypefindhelper.c:
5444 Speedup typefinding. This is work in progress (see #459862).
5446 2007-10-03 Stefan Kost <ensonic@users.sf.net>
5449 Fix docs that mention 'plugin_desc' instead of 'gst_plugin_desc'.
5450 Spotted by Josep Torra Valles <josep@fluendo.com>.
5452 2007-10-03 Tim-Philipp Müller <tim at centricular dot net>
5455 Fix up broken GST_CLOCK_FLAGS macro and GstClock docs. The flags
5456 field has moved to GstObject.
5458 2007-10-02 Wim Taymans <wim.taymans@gmail.com>
5460 * libs/gst/base/gstbasesrc.c: (gst_base_src_do_sync),
5461 (gst_base_src_get_range), (gst_base_src_change_state):
5462 Call unlock for live sources so that they can't get stuck in _create and
5463 produce a buffer before they are set back to PLAYING.
5465 2007-10-02 Edward Hervey <bilboed@bilboed.com>
5467 * plugins/elements/gstqueue.c: (gst_queue_locked_enqueue),
5468 (gst_queue_locked_dequeue):
5469 Comment the segment-related code... in the PROPER function.
5470 See #482147 and my commit from yesterday.
5472 2007-10-01 Wim Taymans <wim.taymans@gmail.com>
5474 * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
5475 Also initialize the counter that calculates the first timestamp on a
5476 buffer correctly for non-live sources.
5478 2007-10-01 Edward Hervey <bilboed@bilboed.com>
5480 * plugins/elements/gstqueue.c: (gst_queue_locked_dequeue):
5481 Disable code that's breaking the current-time-level reporting.
5484 2007-09-30 Sebastian Dröge <slomo@circular-chaos.org>
5486 * docs/gst/gstreamer-sections.txt:
5487 Add M_PI and IMPORT_SYMBOL to the private part of the GstInfo section
5488 as they shouldn't show up. Fixes the docs build.
5490 2007-09-29 Sebastien Moutte <sebastien@moutte.net>
5493 Add an explicit variable importation needed on VS6 (only for MSC_VER)
5494 Define M_PI which is used in files which are including gstinfo.h.
5495 VS6 includes doesn't define it.
5496 * win32/common/libgstbase.def:
5497 * win32/common/libgstcontroller.def:
5498 * win32/common/libgstreamer.def:
5499 Add new exported functions and variables.
5500 * win32/vs6/libgstcontroller.dsp:
5501 * win32/vs6/libgstreamer.dsp:
5502 Update the list of files to build.
5504 2007-09-28 Wim Taymans <wim.taymans@gmail.com>
5506 Patch by: Felipe Contreras <felipe dot contreras at gmail dot com>
5508 * plugins/elements/gstqueue.c: (update_time_level), (apply_buffer),
5509 (gst_queue_locked_dequeue), (gst_queue_handle_sink_event),
5510 (gst_queue_chain), (gst_queue_loop), (gst_queue_src_activate_push):
5511 Improve debugging. Fixes #480858.
5513 2007-09-28 Wim Taymans <wim.taymans@gmail.com>
5515 Patch by: Felipe Contreras <felipe dot contreras at gmail dot com>
5517 * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event):
5518 First patch of code cleanups, use the macros and right arguments in the
5519 macros to signal and lock the queue. See #480858.
5521 2007-09-26 Wim Taymans <wim.taymans@gmail.com>
5523 * gst/gstbus.c: (poll_func):
5524 Improve debugging when dealing with _poll().
5526 2007-09-26 Tim-Philipp Müller <tim at centricular dot net>
5528 * gst/gstregistryxml.c:
5529 Fix memory leak I introduced a few days ago.
5531 2007-09-26 Michael Smith <msmith@fluendo.com>
5533 * gst/gstbuffer.c: (gst_buffer_finalize):
5534 Make it once again possible to free GstBuffers in the default
5536 The poisoning scribbles on parts of the miniobject we need in
5540 2007-09-25 Tim-Philipp Müller <tim at centricular dot net>
5542 * docs/gst/gstreamer-sections.txt:
5545 API: add GST_TAG_COMPOSER, fixes #459809.
5547 2007-09-24 Sebastian Dröge <slomo@circular-chaos.org>
5551 Add the 3-clause BSD license and the MIT/X11 license to the license
5552 list. Fixes #479784.
5554 2007-09-24 Tim-Philipp Müller <tim at centricular dot net>
5556 * docs/faq/getting.xml:
5557 Add Q+A about different GStreamer versions (#364056).
5559 2007-09-24 Wim Taymans <wim.taymans@gmail.com>
5561 * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
5562 (gst_base_sink_event), (gst_base_sink_change_state):
5563 Return correct gboolean from query function.
5565 2007-09-24 Wim Taymans <wim.taymans@gmail.com>
5567 * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
5568 (gst_base_sink_event), (gst_base_sink_query),
5569 (gst_base_sink_change_state):
5570 Simplify latency query.
5571 When not synchronizing, we can report latency without querying the peer
5574 2007-09-24 Wim Taymans <wim.taymans@gmail.com>
5578 Fix small typos in the docs.
5580 2007-09-24 Wim Taymans <wim.taymans@gmail.com>
5582 * docs/design/draft-latency.txt:
5583 * docs/design/draft-push-pull.txt:
5584 * docs/design/draft-tagreading.txt:
5585 * docs/design/part-MT-refcounting.txt:
5586 * docs/design/part-activation.txt:
5587 * docs/design/part-block.txt:
5588 * docs/design/part-element-source.txt:
5589 * docs/design/part-events.txt:
5590 * docs/design/part-gstbin.txt:
5591 * docs/design/part-gstelement.txt:
5592 * docs/design/part-gstobject.txt:
5593 * docs/design/part-gstpipeline.txt:
5594 * docs/design/part-messages.txt:
5595 * docs/design/part-preroll.txt:
5596 * docs/design/part-push-pull.txt:
5597 * docs/design/part-qos.txt:
5598 * docs/design/part-query.txt:
5599 * docs/design/part-scheduling.txt:
5600 * docs/design/part-seeking.txt:
5601 * docs/design/part-segments.txt:
5602 * docs/design/part-states.txt:
5603 Documentation updates and typo fixes.
5605 2007-09-23 Tim-Philipp Müller <tim at centricular dot net>
5607 * plugins/elements/gstfakesink.c:
5608 Add some debug text to error message to indicate that
5609 we errored out on request.
5611 * tools/gst-launch.c:
5612 When the state change to PLAYING fails, check for an
5613 error message on the bus and print it.
5615 2007-09-22 Thomas Vander Stichele <thomas at apestaart dot org>
5617 translated by: Jorge González González <aloriel@gmail.com>
5621 Added Spanish translation.
5623 2007-09-21 Wim Taymans <wim.taymans@gmail.com>
5625 * plugins/elements/gstqueue.c: (gst_queue_push_one):
5626 Fix printf arguments.
5628 2007-09-20 Stefan Kost <ensonic@users.sf.net>
5630 * tests/check/generic/states.c:
5631 Improved state change unit test.
5633 2007-09-20 Stefan Kost <ensonic@users.sf.net>
5636 Move priv to the right place.
5638 * gst/gstsystemclock.c:
5639 Add FIXME: and improve log.
5641 * tests/check/Makefile.am:
5642 * tests/examples/manual/Makefile.am:
5643 Work with all types of registries.
5645 2007-09-19 Wim Taymans <wim.taymans@gmail.com>
5647 * libs/gst/base/gstbasesrc.c: (gst_base_src_send_event):
5648 Don't unref the event after pushing it. Fixes #478401.
5650 2007-09-19 Stefan Kost <ensonic@users.sf.net>
5653 * tests/examples/manual/.cvsignore:
5654 Ignore registries in any format.
5656 2007-09-19 Tim-Philipp Müller <tim at centricular dot net>
5658 * gst/glib-compat-private.h:
5659 Add compatibility macro for g_intern_string() for
5660 GLib-2.8 (any reason we can't just bump the
5661 requirement to at least 2.10?)
5663 * gst/gstpadtemplate.h:
5664 * gst/gstelementfactory.c:
5665 * gst/gstregistryxml.c:
5666 * gst/gstregistrybinary.c:
5667 Make GstStaticPadTemplate's templ_name field a const gchar * and fix
5668 up the internal code accordingly. This shouldn't be a problem, since
5669 there is no reason external code could ever assume the string in such
5670 a structure is dynamically allocated unless it did that itself; the
5671 use of g_strdup() is private to element factories. The new code also
5672 saves some memory by putting pad template name strings into the GLib
5673 quark table instead of allocating them dynamically.
5674 Declaring this field constant fixes warnings with g++-4.2 when using
5675 the GST_STATIC_PAD_TEMPLATE macro in c++ code (#478092).
5677 2007-09-19 Stefan Kost <ensonic@users.sf.net>
5679 * gst/gstelementfactory.c:
5680 Release static caps. Fixes #475723.
5682 2007-09-18 Tim-Philipp Müller <tim at centricular dot net>
5686 Make some internal API take const gchar * instead of just
5687 gchar * to avoid compiler warnings with g++-4.2.2 when
5688 passing string constants (partially fixes #478092).
5690 2007-09-17 Wim Taymans <wim.taymans@gmail.com>
5692 * gst/gstbin.c: (bin_query_latency_fold), (gst_bin_query):
5693 A latency query fails when one of the sinks fail.
5695 * gst/gstelement.c: (gst_element_set_base_time):
5698 2007-09-17 Jan Schmidt - Sun Microsystems <jan.schmidt@sun.com>
5700 * gst/gstbin.c: (gst_bin_continue_func):
5701 * libs/gst/base/gstbasesrc.c: (gst_base_src_do_sync):
5702 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad_full):
5703 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_loop):
5705 Fix minor compilation warnings shown with Forte.
5707 2007-09-17 Wim Taymans <wim.taymans@gmail.com>
5709 * plugins/elements/gstqueue.c: (apply_buffer),
5710 (gst_queue_locked_enqueue), (gst_queue_locked_dequeue):
5711 Measure queue level based on the diff between head and tail timestamps
5712 even when pushing the first buffer.
5714 2007-09-14 Wim Taymans <wim.taymans@gmail.com>
5716 * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
5717 (gst_base_sink_event), (gst_base_sink_change_state):
5718 Sinks that don't preroll can always be queried for the latency.
5719 Don't post ASYNC start when we are not async.
5721 2007-09-14 Wim Taymans <wim.taymans@gmail.com>
5723 * plugins/elements/gstqueue.c: (gst_queue_locked_enqueue),
5724 (gst_queue_handle_sink_event), (gst_queue_chain),
5725 (gst_queue_push_one), (gst_queue_handle_src_query),
5726 (gst_queue_sink_activate_push), (gst_queue_src_activate_push):
5727 * plugins/elements/gstqueue.h:
5728 When downstream returns UNEXPECTED from pushing a buffer, don't try to
5729 push more buffers but allow pushing of EOS and NEWSEGMENT.
5730 Add some more debug info here and there. Fixes #476514.
5732 2007-09-14 Wim Taymans <wim.taymans@gmail.com>
5734 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
5735 (gst_base_sink_preroll_queue_flush), (gst_base_sink_commit_state),
5736 (gst_base_sink_wait_preroll), (gst_base_sink_needs_preroll),
5737 (gst_base_sink_set_flushing), (gst_base_sink_query),
5738 (gst_base_sink_change_state):
5739 Latency query is allowed after we are prerolled. Introduce a new flag
5740 for this and stop abusing other variables.
5742 2007-09-13 Wim Taymans <wim.taymans@gmail.com>
5744 * libs/gst/base/gstbasesrc.c: (gst_base_src_send_event):
5745 Push OOB events downstream when we get them in send_event. This allows
5746 the application to insert events in the pipeline.
5747 Add some more comments.
5749 2007-09-13 Wim Taymans <wim.taymans@gmail.com>
5751 * gst/gstbin.c: (gst_bin_class_init), (clear_queue),
5752 (do_bin_latency), (gst_bin_change_state_func):
5753 * gst/gstpipeline.c: (gst_pipeline_change_state):
5754 Move latency query from GstPipeline to GstBin so that we can also
5755 use it when async-handling is enabled on bins.
5757 2007-09-13 Wim Taymans <wim.taymans@gmail.com>
5759 * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
5760 (gst_base_src_do_sync), (gst_base_src_change_state):
5762 Clean up the timestamping and syncing code for pseudo live sources.
5764 2007-09-13 Tim-Philipp Müller <tim at centricular dot net>
5766 Patch by: Steve Fink <sphink gmail com>
5768 * docs/manual/appendix-checklist.xml:
5769 Mention less -R switch in the section about debug output (#474055).
5771 2007-09-13 Wim Taymans <wim.taymans@gmail.com>
5773 * plugins/elements/gstqueue.c: (gst_queue_handle_src_query):
5774 Queue can latency to the pipeline up to the configured max size in time.
5775 Report this fact in the latency query.
5777 2007-09-13 Sebastian Dröge <slomo@circular-chaos.org>
5779 Patch by: Sebastien Moutte <sebastien at moutte dot net>
5781 * libs/gst/controller/gstinterpolation.c:
5782 * libs/gst/controller/gstlfocontrolsource.c:
5783 Use gst_guint64_to_gdouble() when converting from a uint64 or
5784 GstClockTime to double to fix the build on win32. Fixes #474371.
5786 2007-09-13 Sebastian Dröge <slomo@circular-chaos.org>
5788 * gst/gstbuffer.c: (gst_buffer_finalize):
5789 Implement poisoning for GstBuffer if --enable-poisoning is specified.
5790 When finalizing a buffer the complete struct is filled with 0xff,
5791 thus making a use of the buffer after the final unref impossible.
5793 2007-09-13 Sebastian Dröge <slomo@circular-chaos.org>
5795 * tests/check/libs/controller.c: (GST_START_TEST):
5796 Use fail_unless_equals_int(a, b) instead of
5797 fail_unless_equals (a == b) to get better output on failures.
5799 2007-09-12 Tim-Philipp Müller <tim at centricular dot net>
5801 * tests/check/gst/gsturi.c:
5802 Also check for the other file URI variant on win32.
5804 2007-09-12 Tim-Philipp Müller <tim at centricular dot net>
5806 * gst/gsturi.c: (gst_uri_get_location):
5807 If there's no hostname, we want to return 'c:/foo/bar.txt'
5808 and not '/c:/foo/bar.txt' on Windows. Fixes #469402.
5810 * tests/check/gst/gsturi.c:
5811 Unit test for the above and a few more things.
5813 2007-09-11 Wim Taymans <wim.taymans@gmail.com>
5815 * docs/design/part-live-source.txt:
5816 Add docs on how live sources should timestamp.
5818 * libs/gst/base/gstbasesrc.c: (gst_base_src_do_sync):
5819 Add some more debug info.
5820 For subclasses that are live and like to sync, add aditional startup
5821 latency to sync time and timestamps so that we timstamp according to the
5824 2007-09-11 Tim-Philipp Müller <tim at centricular dot net>
5827 Also do a g_type_class_ref() for the subbuffer type in
5830 2007-09-11 Wim Taymans <wim.taymans@gmail.com>
5832 * docs/gst/gstreamer-sections.txt:
5833 * gst/gstpad.c: (gst_pad_peer_query):
5835 Add function to perform a query on the peer of a pad.
5836 API: gst_pad_peer_query()
5838 2007-09-11 Stefan Kost <ensonic@users.sf.net>
5840 * tests/check/gst/gstsystemclock.c:
5841 Cleanup the test a little (use gst-logging and not g_message). Improve
5842 test to check if a wait reached the target.
5844 2007-09-11 Tim-Philipp Müller <tim at centricular dot net>
5846 * docs/libs/gstreamer-libs-sections.txt:
5847 Add new API to docs and fix the build.
5849 2007-09-10 Wim Taymans <wim.taymans@gmail.com>
5851 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
5852 (gst_base_src_init), (gst_base_src_set_do_timestamp),
5853 (gst_base_src_get_do_timestamp), (gst_base_src_set_property),
5854 (gst_base_src_get_property), (gst_base_src_do_sync):
5855 * libs/gst/base/gstbasesrc.h:
5856 Add property to make the basesrc timestamp buffers based on the current
5858 API: GstBaseSrc::do-timestamp
5859 API: gst_base_src_set_do_timestamp()
5860 API: gst_base_src_get_do_timestamp()
5862 2007-09-08 Tim-Philipp Müller <tim at centricular dot net>
5864 * docs/random/release:
5865 Really make sure translations are up-to-date before
5866 a release (#465010).
5868 2007-09-07 Sebastian Dröge <slomo@circular-chaos.org>
5870 * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
5871 Always destroy the timer, also in error cases.
5873 2007-09-05 Wim Taymans <wim.taymans@gmail.com>
5875 * docs/manual/highlevel-xml.xml:
5876 Fix XML example code. Fixes #472714.
5878 2007-09-05 Wim Taymans <wim.taymans@gmail.com>
5880 * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
5881 (gst_base_sink_wait_preroll), (gst_base_sink_needs_preroll),
5882 (gst_base_sink_query):
5883 Protect eos and have_preroll with the OBJECT lock so we don't need to
5884 take the PREROLL lock when querying the latency. Fixes #473846.
5886 2007-09-05 Stefan Kost <ensonic@users.sf.net>
5889 Give some log-messages a category.
5891 2007-09-04 Wim Taymans <wim.taymans@gmail.com>
5893 * gst/gststructure.c:
5894 (gst_structure_fixate_field_nearest_fraction):
5895 Fix fraction list fixation code. Take the fraction with the smallest
5896 difference with the target instead of the first one in the list.
5898 * tests/check/gst/gststructure.c: (GST_START_TEST),
5899 (gst_structure_suite):
5900 Added test to verify correct fraction list fixation behaviour.
5902 2007-09-02 Tim-Philipp Müller <tim at centricular dot net>
5904 * win32/common/libgstreamer.def:
5905 Export gst_bus_add_signal_watch too.
5907 2007-08-30 Wim Taymans <wim.taymans@gmail.com>
5909 * docs/libs/gstreamer-libs-sections.txt:
5910 Add new methods to docs.
5912 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
5913 (gst_base_sink_init), (gst_base_sink_set_ts_offset),
5914 (gst_base_sink_get_ts_offset), (gst_base_sink_set_property),
5915 (gst_base_sink_get_property), (gst_base_sink_wait_clock):
5916 * libs/gst/base/gstbasesink.h:
5917 Add ts-offset property to fine-tune the synchronisation.
5918 API: GstBaseSink::ts-offset property
5919 API: gst_base_sink_set_ts_offset()
5920 API: gst_base_sink_get_ts_offset()
5922 2007-08-29 Wim Taymans <wim.taymans@gmail.com>
5924 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
5925 (gst_base_sink_init), (gst_base_sink_set_sync),
5926 (gst_base_sink_get_sync), (gst_base_sink_set_max_lateness),
5927 (gst_base_sink_get_max_lateness), (gst_base_sink_set_qos_enabled),
5928 (gst_base_sink_is_qos_enabled), (gst_base_sink_set_async_enabled),
5929 (gst_base_sink_is_async_enabled), (gst_base_sink_set_property),
5930 (gst_base_sink_get_property), (gst_base_sink_change_state):
5931 * libs/gst/base/gstbasesink.h:
5932 Add async property to instruct the sink never to inform the parent about
5933 ASYNC state changes, update docs.
5934 Check argument with g_return_* for the public functions.
5935 API: GstBaseSink::async property
5936 API: gst_base_sink_set_async_enabled()
5937 API: gst_base_sink_is_async_enabled()
5939 2007-08-28 Wim Taymans <wim.taymans@gmail.com>
5941 * libs/gst/base/gstbasesink.c: (gst_base_sink_loop):
5944 * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
5945 (gst_base_src_default_query), (gst_base_src_wait),
5946 (gst_base_src_do_sync), (gst_base_src_change_state):
5947 Rearrange some code so that we can add support for measuring the
5950 2007-08-27 Stefan Kost <ensonic@users.sf.net>
5952 * docs/random/ensonic/dynlink.txt:
5953 More thoughs on this.
5955 * plugins/elements/gstcapsfilter.c:
5956 Add bugzilla ticket number to FIXME comment.
5958 2007-08-24 Wim Taymans <wim.taymans@gmail.com>
5960 * docs/design/part-TODO.txt:
5961 * docs/design/part-block.txt:
5964 2007-08-24 Jan Schmidt <thaytan@mad.scientist.com>
5967 Revert patch which uses $(gst_headers) instead of $^ because it
5970 2007-08-24 Jan Schmidt <thaytan@mad.scientist.com>
5972 * tests/check/gst/gstbin.c: (GST_START_TEST):
5973 Fix leaks in the new unit test.
5975 2007-08-23 Tim-Philipp Müller <tim at centricular dot net>
5978 Don't use GST_INFO before the debug system is actually initialised
5979 (shouldn't do any harm, but won't print anything either, so we can
5980 just as well remove it).
5983 GST_CAT_LEVEL_LOG_valist(), which is our inline helper function for
5984 compilers that don't support variadic macros (such as MSVC), should
5985 check for debug_level <= __gst_debug_min as well, since that's the
5986 function called from all the level-specific GST_CAT_*_LOG_OBJECT()
5987 inline helper functions. Should improve performance a bit, but also
5988 makes sure uses of GST_INFO et.al are ignored if the debugging
5989 system isn't initialised yet (instead of printing an assertion
5992 2007-08-23 Stefan Kost <ensonic@users.sf.net>
5994 patch by: David Nečas <yeti@physics.muni.cz>
5997 Replace some non portable makefile constructs.
5999 2007-08-21 Stefan Kost <ensonic@users.sf.net>
6001 * common/gtk-doc-plugins.mak:
6002 Grrrrr. Don't remove the types file on make clean.
6004 2007-08-20 Wim Taymans <wim.taymans@gmail.com>
6006 * tools/gst-launch.1.in:
6007 Add colorspace to example pipeline. Fixes #458274.
6009 2007-08-20 Tim-Philipp Müller <tim at centricular dot net>
6011 * docs/random/release:
6012 The release manager should run 'make download-po' before making a
6013 release to make sure translations are up-to-date.
6019 Add some new translations.
6021 2007-08-17 Wim Taymans <wim.taymans@gmail.com>
6023 * tools/gst-launch.c: (event_loop), (main):
6024 Don´t try to do any state management when a live pipeline posts
6026 Also make the buffering string translatable.
6028 2007-08-16 Wim Taymans <wim.taymans@gmail.com>
6030 * gst/gstbin.c: (is_eos), (gst_bin_add_func),
6031 (bin_handle_async_start), (gst_bin_handle_message_func):
6033 When adding elements, insert messages into the bus of the newly added
6034 element and make sure the element is the source of the message. This
6035 allows the parent bin to intercept the message and do the
6036 right thing. It also avoids us posting ASYNC_START and CLOCK_PROVIDE
6037 messages to the app (which is not allowed).
6040 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
6041 Fix testsuite so that is does not work around messages that should not
6042 have been posted in the first place.
6044 2007-08-16 Wim Taymans <wim.taymans@gmail.com>
6046 * gst/gstbin.c: (add_to_queue), (remove_from_queue), (clear_queue),
6047 (update_degree), (gst_bin_sort_iterator_next):
6048 Fix annoying bug in the sorted iterator where a sink that is not really
6049 a sink (when it has downstream links) screwed up the iterator.
6051 * tests/check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
6052 Unit test to verify the fix.
6054 2007-08-16 Wim Taymans <wim.taymans@gmail.com>
6057 Add some more docs for the messages.
6059 * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
6060 (gst_base_sink_query):
6061 Add some more debugging.
6063 * tools/gst-launch.c: (event_loop):
6064 When interrupting, don't try to set pipeline to PAUSED twice.
6066 2007-08-14 Wim Taymans <wim.taymans@gmail.com>
6069 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_element_set_state),
6070 (bin_handle_async_start), (gst_bin_handle_message_func):
6071 Move ASYNC_START message posting to where it belongs, similar to
6073 Don't post ASYNC_START when we are in error.
6074 Post ASYNC_START when we added an async element to a bin.
6076 2007-08-14 Julien MOUTTE <julien@moutte.net>
6078 * gst/gstindex.c: (gst_index_add_association): Fix index entry
6079 generation from vargs. Fixes #466595.
6081 2007-08-14 Wim Taymans <wim.taymans@gmail.com>
6083 * gst/gstbin.c: (gst_bin_element_set_state):
6084 Always change the state of a NO_PREROLL element even if it has ASYNC
6085 elements inside (in case of a bin).
6087 * tests/check/generic/sinks.c: (GST_START_TEST), (gst_sinks_suite):
6088 Unit test for this case.
6090 2007-08-13 Stefan Kost <ensonic@users.sf.net>
6092 * libs/gst/check/gstbufferstraw.c:
6093 * libs/gst/check/gstcheck.h:
6094 * libs/gst/controller/gstcontroller.c:
6095 * libs/gst/controller/gstcontrolsource.h:
6096 * libs/gst/controller/gstlfocontrolsource.h:
6097 * plugins/elements/gstcapsfilter.h:
6098 * plugins/elements/gstfdsink.h:
6099 * plugins/elements/gstfdsrc.h:
6100 Add more missing docs.
6102 2007-08-12 Wim Taymans <wim.taymans@gmail.com>
6104 * gst/gststructure.c:
6105 Add Since tag to docs.
6107 2007-08-12 Wim Taymans <wim.taymans@gmail.com>
6109 * docs/gst/gstreamer-sections.txt:
6110 * gst/gststructure.c: (gst_structure_get_uint):
6111 * gst/gststructure.h:
6112 Add function to get uint from a structure.
6113 API: gst_structure_get_uint()
6115 2007-08-12 Wim Taymans <wim.taymans@gmail.com>
6117 * gst/gstcaps.c: (gst_caps_set_simple_valist),
6118 (gst_caps_intersect):
6119 Fix proper check for simple caps.
6121 2007-08-10 Stefan Kost <ensonic@users.sf.net>
6123 * docs/gst/Makefile.am:
6124 * docs/libs/Makefile.am:
6125 Remove cruft and do some cleanups.
6127 * docs/gst/gstreamer-docs.sgml:
6128 * docs/libs/gstreamer-libs-docs.sgml:
6129 Prepare for comming gtkdoc features (rebase against online docs).
6131 2007-08-10 Michael Smith <msmith@fluendo.com>
6133 * docs/gst/gstreamer-sections.txt:
6134 Add gst_registry_add_path to docs.
6136 2007-08-10 Michael Smith <msmith@fluendo.com>
6138 * gst/gstregistry.h:
6139 Add gst_registry_add_path, which was missing from this header.
6141 2007-08-10 Tim-Philipp Müller <tim at centricular dot net>
6143 * libs/gst/controller/gstlfocontrolsource.c:
6146 2007-08-09 Philippe Kalaf <philippe.kalaf@collabora.co.uk>
6148 * libs/gst/base/gstbasesink.c:
6149 Don't send an async_start message during downwards state change if
6150 target state is less than READY
6152 2007-08-09 Thomas Vander Stichele <thomas at apestaart dot org>
6154 translated by: Gabor Kelemen <kelemeng@gnome.hu>
6158 Added Hungarian translation.
6160 2007-08-09 Thomas Vander Stichele <thomas at apestaart dot org>
6167 Updated translations.
6169 2007-08-07 Jan Schmidt <thaytan@mad.scientist.com>
6171 * libs/gst/controller/Makefile.am:
6172 Dist gstlfocontrolsourceprivate.h
6174 2007-08-07 Jan Schmidt <thaytan@mad.scientist.com>
6176 * docs/libs/gstreamer-libs.types:
6177 Don't register the enum type gst_lfo_waveform_get_type() in the
6178 .types file - only GObject derived types belong.
6180 2007-08-07 Wim Taymans <wim.taymans@gmail.com>
6182 Patch by: <arenevier at fdn dot fr>
6185 Remove comma from last element in enum to avoid compile errors when
6186 using -pendantic. Fixes #464366.
6188 2007-08-07 Wim Taymans <wim.taymans@gmail.com>
6190 * docs/design/part-TODO.txt:
6191 Add some more TODO items
6193 * gst/gstbin.c: (find_message), (gst_bin_change_state_func):
6196 * gst/gstcaps.c: (gst_caps_intersect):
6197 Optimize trivial intersection case between identical caps pointers.
6199 * gst/gstelement.c: (gst_element_continue_state),
6200 (gst_element_set_state_func):
6202 Fix spelling and grammar mistakes.
6204 2007-08-05 Stefan Kost <ensonic@users.sf.net>
6208 Update POTFILES. Fixes #461599.
6210 2007-08-03 Sebastian Dröge <slomo@circular-chaos.org>
6213 Fix confusing typo in debug output.
6215 2007-08-03 Sebastian Dröge <slomo@circular-chaos.org>
6217 reviewed by: Stefan Kost <ensonic@users.sf.net>
6219 * libs/gst/controller/Makefile.am:
6220 * libs/gst/controller/gstlfocontrolsource.c: (_calculate_pos),
6221 (gst_lfo_waveform_get_type), (gst_lfo_control_source_reset),
6222 (gst_lfo_control_source_new),
6223 (gst_lfo_control_source_set_waveform),
6224 (gst_lfo_control_source_bind), (gst_lfo_control_source_init),
6225 (gst_lfo_control_source_finalize),
6226 (gst_lfo_control_source_dispose),
6227 (gst_lfo_control_source_set_property),
6228 (gst_lfo_control_source_get_property),
6229 (gst_lfo_control_source_class_init):
6230 * libs/gst/controller/gstlfocontrolsource.h:
6231 * libs/gst/controller/gstlfocontrolsourceprivate.h:
6232 API: Add GstLFOControlSource, a control source that gives values
6233 for specific timestamps based on several periodic waveforms.
6236 * tests/check/libs/controller.c: (GST_START_TEST),
6237 (gst_controller_suite):
6238 * docs/libs/gstreamer-libs-docs.sgml:
6239 * docs/libs/gstreamer-libs-sections.txt:
6240 * docs/libs/gstreamer-libs.types:
6241 Add documentation and unit tests for GstLFOControlSource.
6243 2007-08-03 Jan Schmidt <thaytan@mad.scientist.com>
6248 === release 0.10.14 ===
6250 2007-08-03 Jan Schmidt <thaytan@mad.scientist.com>
6253 releasing 0.10.14, "Breathing Vacuum"
6255 2007-08-02 Tim-Philipp Müller <tim at centricular dot net>
6257 * gst/gstelement.c: (gst_element_class_set_details_simple):
6259 Make strings passed to gst_element_class_set_details_simple()
6260 constant, as they should be (#462752).
6262 2007-08-02 Wim Taymans <wim.taymans@gmail.com>
6264 * gst/gstbin.c: (gst_bin_change_state_func),
6265 (bin_handle_async_done), (gst_bin_handle_message_func):
6266 Don't forget about the fact that some element went ASYNC even after a
6267 resync. This makes us post the ASYNC_DONE message correctly.
6270 2007-07-31 Jan Schmidt <thaytan@mad.scientist.com>
6272 * gst/gstregistry.c: (gst_registry_add_feature):
6273 When replacing an existing feature in the registry, make sure to
6274 continue holding a reference until we've replaced the name string
6275 within our feature hash table. Make sure to use g_hash_table_replace
6276 instead of g_hash_table_insert to ensure the new name string is used
6277 as a key instead of the old one that we're about to free.
6280 2007-07-31 Jan Schmidt <thaytan@mad.scientist.com>
6282 * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
6283 (gst_plugin_feature_set_name):
6284 Revert patch from #459466 until after the release and we can work
6285 out exactly what the problem is (if any).
6287 2007-07-26 Tim-Philipp Müller <tim at centricular dot net>
6289 * docs/gst/gstreamer-sections.txt:
6292 API: add GST_TAG_LICENSE_URI and GST_TAG_COPYRIGHT_URI (#451939).
6294 2007-07-26 Jan Schmidt <thaytan@mad.scientist.com>
6296 * docs/libs/Makefile.am:
6297 Include our build-prefix libs and includes before the generic ones to
6298 avoid linking against the installed libs when we want the build-tree
6301 2007-07-26 Tim-Philipp Müller <tim at centricular dot net>
6303 Patch by: Steve Fink <sphink gmail com>
6305 * docs/pwg/building-testapp.xml:
6306 Mention that GST_PLUGIN_PATH or --gst-plugin-path might be needed
6307 if people try to build or install the example from the plugin
6308 template against a GStreamer from package using the configure
6311 2007-07-25 Tim-Philipp Müller <tim at centricular dot net>
6313 Patch by: Steve Fink <sphink gmail com>
6315 * tools/gst-inspect.1.in:
6316 Document --print-all and --print-plugin-auto-install-info command
6317 line options in man page.
6319 2007-07-25 Wim Taymans <wim.taymans@gmail.com>
6321 * docs/gst/gstreamer-sections.txt:
6322 Add docs for new api function.
6324 2007-07-25 Wim Taymans <wim.taymans@gmail.com>
6326 * gst/gstelementfactory.c: (gst_element_factory_has_interface):
6327 * gst/gstelementfactory.h:
6328 API: gst_element_factory_has_interface()
6329 Added method to check if an element factory implements a named
6332 2007-07-25 Stefan Kost <ensonic@users.sf.net>
6335 * docs/gst/gstreamer.types.in:
6336 Another conditional doc check.
6339 * gst/gstparamspecs.h:
6340 * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
6345 2007-07-24 Stefan Kost <ensonic@users.sf.net>
6347 * gst/gstregistrybinary.c: (gst_registry_binary_check_magic),
6348 (gst_registry_binary_load_feature),
6349 (gst_registry_binary_load_plugin),
6350 (gst_registry_binary_read_cache):
6351 Print error just once and with additional info.
6353 2007-07-24 Stefan Kost <ensonic@users.sf.net>
6355 * libs/gst/base/gsttypefindhelper.c: (helper_find_peek),
6356 (helper_find_suggest), (helper_find_get_length),
6357 (gst_type_find_helper_get_range), (buf_helper_find_suggest),
6358 (gst_type_find_helper_for_buffer):
6359 Cleanup the typefindhelper code and add private doc comments.
6361 2007-07-24 Edward Hervey <bilboed@bilboed.com>
6363 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
6364 (gst_capsfilter_transform_size), (gst_capsfilter_prepare_buf):
6365 Fix capsfilter for cases where the caps set on capsfilter will provide
6366 additional information.
6369 2007-07-24 Stefan Kost <ensonic@users.sf.net>
6371 * gst/gsttypefindfactory.c:
6372 Fix docs that recommened wrong function to use.
6374 2007-07-23 Stefan Kost <ensonic@users.sf.net>
6376 * tools/gst-inspect.c: (print_plugin_features):
6377 Also give media-type for typefinders in element output.
6379 2007-07-23 Stefan Kost <ensonic@users.sf.net>
6381 * gst/gstregistry.c: (gst_registry_init), (gst_registry_finalize),
6382 (gst_registry_remove_features_for_plugin_unlocked),
6383 (gst_registry_add_feature), (gst_registry_remove_feature),
6384 (gst_registry_lookup_feature_locked):
6385 * gst/gstregistry.h:
6386 Speed up gst_registry_lookup_feature_locked() by using a hashmap.
6389 2007-07-23 Stefan Kost <ensonic@users.sf.net>
6391 * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
6392 (gst_plugin_feature_set_name):
6393 Avoid double memory usage for pluginfeature names. Fixes #459466.
6395 2007-07-22 Tim-Philipp Müller <tim at centricular dot net>
6398 Small addition to GST_FLOW_IS_FATAL() docs: mention that elements
6399 driving the pipeline may need to explicitly check for NOT_LINKED as
6400 well, since IS_FATAL doesn't cover that.
6402 2007-07-22 Tim-Philipp Müller <tim at centricular dot net>
6404 * docs/pwg/advanced-types.xml:
6405 Fix typo and duplicate entry in video formats list.
6407 2007-07-22 Sebastian Dröge <slomo@circular-chaos.org>
6409 * libs/gst/controller/gstinterpolation.c:
6410 Also round to the nearest int when using cubic interpolation.
6412 2007-07-19 Jan Schmidt <thaytan@noraisin.net>
6414 * libs/gst/controller/gstinterpolation.c:
6415 When linearly interpolating integer types, round to the nearest int
6416 by adding 0.5. Don't do it for float/double types.
6417 Fixes the failing controller test on my machine, which is somehow
6418 rounding differently than on the buildbots.
6420 2007-07-20 Stefan Kost <ensonic@users.sf.net>
6422 * tools/gst-plot-timeline.py:
6423 Better log parsing (categories can have -). Adjust text vs. lines, so
6424 that they span the same y-range.
6426 2007-07-20 Stefan Kost <ensonic@users.sf.net>
6428 * docs/random/ensonic/audiobaseclasses.txt:
6429 * docs/random/ensonic/dynlink.txt:
6430 * docs/random/ensonic/profiling.txt:
6433 * docs/random/moving-plugins:
6434 Add note to use g_assert type macros.
6436 2007-07-20 Stefan Kost <ensonic@users.sf.net>
6439 * libs/gst/check/Makefile.am:
6440 Add libm check as we use in for plugins.
6442 2007-07-18 Jan Schmidt <thaytan@noraisin.net>
6444 * gst/gstbin.c: (gst_bin_continue_func):
6445 Check that the state_cookie hasn't changed since the continue_func
6446 was scheduled. Avoids problems where the state changes back to
6447 something it shouldn't be because it was changed in the meantime.
6449 2007-07-17 Stefan Kost <ensonic@users.sf.net>
6451 * gst/gstregistrybinary.c: (gst_registry_binary_save_const_string),
6452 (gst_registry_binary_save_string),
6453 (gst_registry_binary_save_pad_template),
6454 (gst_registry_binary_save_feature),
6455 (gst_registry_binary_save_plugin),
6456 (gst_registry_binary_load_feature),
6457 (gst_registry_binary_load_plugin),
6458 (gst_registry_binary_read_cache):
6459 Fix memory leak. Be less verbose in the log.
6461 2007-07-16 Jan Schmidt <thaytan@mad.scientist.com>
6463 * tests/check/elements/.cvsignore:
6464 Add file to cvsignore as commanded.
6466 2007-07-16 Jan Schmidt <thaytan@mad.scientist.com>
6468 * tests/check/elements/multiqueue.c: (mq_dummypad_chain),
6469 (mq_dummypad_event), (run_output_order_test):
6470 Use a GStaticMutex to protect all cases where libcheck
6471 fail_if/fail_unless macros might be called from multiple threads
6472 simultaneously to avoid errors like:
6473 "check_pack.c:107: :-1081725400:Bad message type arg"
6475 2007-07-16 Jan Schmidt <thaytan@mad.scientist.com>
6477 * tests/check/pipelines/stress.c: (GST_START_TEST):
6478 Make sure we set the pipeline back to the NULL state before
6479 dropping our final reference.
6481 2007-07-16 Jan Schmidt <thaytan@mad.scientist.com>
6483 * tests/check/elements/tee.c: (GST_START_TEST):
6484 Make the tee stress-test a little less stressful so it doesn't just
6485 time out on slow-machines, and remove a small race when it's starting
6486 up by adding a get_state() call.
6488 2007-07-16 Stefan Kost <ensonic@users.sf.net>
6491 Avoid reading registry twice on startup. Fixes #457322.
6493 2007-07-13 Jan Schmidt <thaytan@mad.scientist.com>
6495 * pkgconfig/gstreamer-check-uninstalled.pc.in:
6496 * pkgconfig/gstreamer-check.pc.in:
6497 Substitute the CFLAGS for libcheck into our .pc file too so that
6498 dependent modules will pick it up properly if libcheck is installed
6499 into some other prefix.
6501 2007-07-13 Jan Schmidt <thaytan@mad.scientist.com>
6504 Revert the pkg-config check for libcheck, since it pulls in the
6505 wrong non-PIC libcheck.a on Ubuntu and probably Fedora too. We need
6506 a proper solution, either from the check project, or something else.
6508 2007-07-12 Stefan Kost <ensonic@users.sf.net>
6511 Use pkg-config to locate check.
6513 2007-07-10 Stefan Kost <ensonic@users.sf.net>
6520 Add deprecation guards.
6522 * libs/gst/base/gstcollectpads.h:
6523 Don't document object (this is implicitly private).
6525 2007-07-08 Tim-Philipp Müller <tim at centricular dot net>
6527 * gst/gststructure.c: (gst_structure_parse_value):
6528 When deserialising foo=bar without a type cast, check if it's a
6529 boolean before falling back to a string type, otherwise things like
6530 audiotestsrc ! audio/x-raw-int,signed=true ! fakesink won't work,
6531 because the filtercaps end up having a signed=(string)true field,
6532 which causes problems later when intersection caps.
6534 * tests/check/gst/gststructure.c: (GST_START_TEST):
6535 Add a unit test for this.
6537 2007-07-06 Sebastian Dröge <slomo@circular-chaos.org>
6539 Reviewed by: Stefan Kost <ensonic@users.sf.net>
6541 * libs/gst/controller/Makefile.am:
6542 * libs/gst/controller/gstcontroller.c:
6543 (gst_controlled_property_add_interpolation_control_source),
6544 (gst_controlled_property_new), (gst_controlled_property_free),
6545 (gst_controller_find_controlled_property),
6546 (gst_controller_new_valist), (gst_controller_new_list),
6547 (gst_controller_new), (gst_controller_remove_properties_valist),
6548 (gst_controller_remove_properties_list),
6549 (gst_controller_remove_properties),
6550 (gst_controller_set_property_disabled),
6551 (gst_controller_set_disabled), (gst_controller_set_control_source),
6552 (gst_controller_get_control_source), (gst_controller_get),
6553 (gst_controller_sync_values), (gst_controller_get_value_array),
6554 (_gst_controller_dispose), (gst_controller_get_type),
6555 (gst_controlled_property_set_interpolation_mode),
6556 (gst_controller_set), (gst_controller_set_from_list),
6557 (gst_controller_unset), (gst_controller_unset_all),
6558 (gst_controller_get_all), (gst_controller_set_interpolation_mode):
6559 * libs/gst/controller/gstcontroller.h:
6560 * libs/gst/controller/gstcontrollerprivate.h:
6561 * libs/gst/controller/gstcontrolsource.c:
6562 (gst_control_source_class_init), (gst_control_source_init),
6563 (gst_control_source_get_value),
6564 (gst_control_source_get_value_array), (gst_control_source_bind):
6565 * libs/gst/controller/gstcontrolsource.h:
6566 * libs/gst/controller/gsthelper.c: (gst_object_set_control_source),
6567 (gst_object_get_control_source):
6568 * libs/gst/controller/gstinterpolation.c:
6569 (gst_interpolation_control_source_find_control_point_node),
6570 (gst_interpolation_control_source_get_first_value),
6571 (_interpolate_none_get), (interpolate_none_get),
6572 (interpolate_none_get_boolean_value_array),
6573 (interpolate_none_get_enum_value_array),
6574 (interpolate_none_get_string_value_array),
6575 (_interpolate_trigger_get), (interpolate_trigger_get),
6576 (interpolate_trigger_get_boolean_value_array),
6577 (interpolate_trigger_get_enum_value_array),
6578 (interpolate_trigger_get_string_value_array):
6579 * libs/gst/controller/gstinterpolationcontrolsource.c:
6580 (gst_control_point_free), (gst_interpolation_control_source_reset),
6581 (gst_interpolation_control_source_new),
6582 (gst_interpolation_control_source_set_interpolation_mode),
6583 (gst_interpolation_control_source_bind),
6584 (gst_control_point_compare), (gst_control_point_find),
6585 (gst_interpolation_control_source_set_internal),
6586 (gst_interpolation_control_source_set),
6587 (gst_interpolation_control_source_set_from_list),
6588 (gst_interpolation_control_source_unset),
6589 (gst_interpolation_control_source_unset_all),
6590 (gst_interpolation_control_source_get_all),
6591 (gst_interpolation_control_source_get_count),
6592 (gst_interpolation_control_source_init),
6593 (gst_interpolation_control_source_finalize),
6594 (gst_interpolation_control_source_dispose),
6595 (gst_interpolation_control_source_class_init):
6596 * libs/gst/controller/gstinterpolationcontrolsource.h:
6597 * libs/gst/controller/gstinterpolationcontrolsourceprivate.h:
6598 API: Refactor GstController into the core controller which can take
6599 a GstControlSource for providing actual values for timestamps.
6600 Implement a interpolation control source and use this for backward
6601 compatibility, deprecate a bunch of functions that are now handled
6602 by GstControlSource or GstInterpolationControlSource.
6603 Make it possible to disable the controller completely or only for
6604 specific properties. Fixes #450711.
6605 * docs/libs/gstreamer-libs-docs.sgml:
6606 * docs/libs/gstreamer-libs-sections.txt:
6607 * docs/libs/gstreamer-libs.types:
6608 Add new functions and classes to the docs.
6609 * tests/check/libs/controller.c: (GST_START_TEST),
6610 (gst_controller_suite):
6611 * tests/examples/controller/audio-example.c: (main):
6612 Port unit test and example to the new API and add some new
6615 2007-07-05 Wim Taymans <wim.taymans@gmail.com>
6617 Patch by: Mark Nauwelaerts <manauw at skynet be>
6619 * plugins/elements/gstmultiqueue.c:
6620 (gst_multi_queue_get_internal_links), (apply_buffer),
6621 (single_queue_overrun_cb), (gst_single_queue_new):
6622 Implement non-default GstPadIntLinkFunction for multiqueue pads so that
6623 the pipeline layout can be tracked correctly. Fixes #453732.
6625 2007-07-05 Stefan Kost <ensonic@users.sf.net>
6627 * docs/gst/Makefile.am:
6628 * docs/libs/Makefile.am:
6629 * docs/plugins/Makefile.am:
6630 Simplify --extra-dir as gtkdoc scans recursively.
6632 2007-07-03 Wim Taymans <wim.taymans@gmail.com>
6634 * tools/gst-launch.c: (main):
6635 When we got an error, there is no point in waiting for preroll when
6638 2007-07-03 Wim Taymans <wim.taymans@gmail.com>
6640 * plugins/elements/gsttee.c: (gst_tee_base_init),
6641 (gst_tee_request_new_pad), (gst_tee_release_pad),
6642 (gst_tee_find_buffer_alloc), (gst_tee_buffer_alloc),
6643 (gst_tee_do_push), (clear_pads), (gst_tee_handle_buffer),
6645 Be a lot smarter when deciding what srcpad to use for proxying
6646 the buffer_alloc. Also handle pad added/removed when doing so.
6648 Keep track of what pads we already pushed on in case we have pads
6649 added/removed while pushing. Fixes #374639
6651 * tests/check/Makefile.am:
6652 * tests/check/elements/tee.c: (handoff), (GST_START_TEST),
6654 Added unit test for pad resync.
6656 2007-07-01 Thomas Vander Stichele <thomas at apestaart dot org>
6660 Updated translations.
6662 2007-07-01 Thomas Vander Stichele <thomas at apestaart dot org>
6664 translation by: Tommi Vainikainen <Tommi.Vainikainen@iki.fi>
6668 Added new Finnish translation.
6670 2007-06-28 Wim Taymans <wim@fluendo.com>
6672 * plugins/elements/gstmultiqueue.c: (apply_buffer),
6673 (single_queue_overrun_cb):
6674 When figuring out when a queue is filled, use our internal time estimate
6675 based on segments, just like check_full does.
6677 2007-06-27 Stefan Kost <ensonic@users.sf.net>
6679 * gst/gstminiobject.c: (gst_mini_object_get_type):
6680 Remove 3 do-nothing methods.
6682 2007-06-27 Wim Taymans <wim@fluendo.com>
6684 Patch by: Tim Angus <tim at ngus dot net>
6686 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
6687 (gst_capsfilter_set_property):
6688 Take a reference instead of a copy when setting "caps".
6689 Fix documentation to clarify this behaviour. Fixes #449414.
6691 2007-06-27 Stefan Kost <ensonic@users.sf.net>
6693 * gst/gstindexfactory.c: (gst_index_factory_get_type):
6694 * gst/gstplugin.c: (gst_plugin_init):
6695 * gst/gstpluginfeature.c: (gst_plugin_feature_init):
6696 * gst/gstquery.c: (gst_query_get_type):
6697 * gst/gstregistry.c: (gst_registry_init):
6698 * gst/gsturi.c: (gst_uri_handler_base_init):
6699 Remove empty instance_init() functions to save relocs and lessen the
6700 noise. Remove some of the function prototypes that are doubled by
6703 2007-06-27 Wim Taymans <wim@fluendo.com>
6705 Patch by: Étienne Noreau-Hébert <etienne at deepunder dot org>
6707 * gst/gstghostpad.c: (gst_proxy_pad_save_thyself):
6708 Add peer and direction in the XML serialisation of ghostpads.
6711 2007-06-26 Stefan Kost <ensonic@users.sf.net>
6714 Preserve useful information, thanks Tim.
6716 2007-06-26 Jan Schmidt <thaytan@noraisin.net>
6718 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_init),
6719 (gst_single_queue_flush), (apply_segment), (apply_buffer),
6720 (gst_single_queue_push_one), (gst_multi_queue_loop),
6721 (gst_multi_queue_sink_activate_push), (gst_multi_queue_sink_event),
6722 (gst_multi_queue_src_activate_push), (wake_up_next_non_linked),
6723 (compute_high_id), (gst_single_queue_new):
6724 * plugins/elements/gstmultiqueue.h:
6725 Take the multiqueue lock when updating the fill level so we don't get
6728 After applying a buffer or event on the src pad segment, make sure to
6729 call gst_data_queue_limits_changed() to get the data queue to unblock
6730 and check the filled state again.
6732 Rework the not-linked pad handling so the logic is that not-linked
6733 pads can push as fast as they like, but only so they never get
6734 ahead of any linked pads.
6736 * tests/check/elements/multiqueue.c: (mq_sinkpad_to_srcpad),
6737 (mq_dummypad_getcaps), (mq_dummypad_chain), (mq_dummypad_event),
6738 (run_output_order_test), (GST_START_TEST), (multiqueue_suite):
6740 Add a test to check that not-linked pads always stay behind
6745 2007-06-26 Jan Schmidt <thaytan@mad.scientist.com>
6747 * docs/random/release:
6748 Some updates to the release procedure.
6750 2007-06-26 Stefan Kost <ensonic@users.sf.net>
6752 * gst/gstelementfactory.c: (__gst_element_details_clear):
6753 Microoptimization that saves stunning 80 bytes.
6755 2007-06-25 Stefan Kost <ensonic@users.sf.net>
6757 * docs/plugins/gstreamer-plugins.args:
6758 * docs/plugins/inspect/plugin-coreelements.xml:
6759 * docs/plugins/inspect/plugin-coreindexers.xml:
6760 Update docs with caps info.
6762 2007-06-24 Thomas Vander Stichele <thomas at apestaart dot org>
6765 Updated Italian translation.
6767 2007-06-23 Thomas Vander Stichele <thomas at apestaart dot org>
6771 Update Vietnamese translations.
6773 2007-06-21 Tim-Philipp Müller <tim at centricular dot net>
6775 * libs/gst/base/gstbasesink.c:
6776 Remove unused signal enum.
6778 2007-06-21 Jan Schmidt <thaytan@mad.scientist.com>
6780 * docs/gst/gstreamer-sections.txt:
6782 * gst/gstutils.c: (gst_type_register_static_full):
6783 Beef up and include the docs for gst_type_register_static_full and
6784 gst_element_class_set_details_simple and add the API keyword
6787 2007-06-21 Jan Schmidt <thaytan@mad.scientist.com>
6789 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_set_property),
6790 (update_time_level), (gst_single_queue_push_one),
6791 (gst_multi_queue_chain), (gst_multi_queue_sink_event),
6792 (single_queue_overrun_cb), (single_queue_underrun_cb),
6793 (single_queue_check_full):
6794 Fix setting max-* properties after adding queues.
6795 Use IS_FILLED for checking visible items.
6796 Signal overrun if multiple queues overrun.
6797 Add extra debug output.
6798 Patch by: Wim Taymans <wim@fluendo.com>
6800 2007-06-21 Stefan Kost <ensonic@users.sf.net>
6802 * gst/gstelement.c: (gst_element_class_set_details_simple):
6804 * gst/gstutils.c: (gst_type_register_static_full):
6806 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_base_init):
6807 * plugins/elements/gstfakesink.c: (gst_fake_sink_base_init):
6808 * plugins/elements/gstfakesrc.c: (gst_fake_src_base_init):
6809 * plugins/elements/gstfdsink.c: (gst_fd_sink_base_init):
6810 * plugins/elements/gstfdsrc.c: (gst_fd_src_base_init):
6811 * plugins/elements/gstfilesink.c: (gst_file_sink_base_init):
6812 * plugins/elements/gstfilesrc.c: (gst_file_src_base_init):
6813 * plugins/elements/gstidentity.c: (gst_identity_base_init):
6814 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init):
6815 * plugins/elements/gstqueue.c: (gst_queue_base_init),
6816 (apply_buffer), (gst_queue_chain):
6817 * plugins/elements/gsttee.c: (gst_tee_base_init):
6818 * plugins/elements/gsttypefindelement.c:
6819 (gst_type_find_element_base_init),
6820 (gst_type_find_element_class_init):
6821 Saving relocations for GTypeInfo and GstElementDetails. Fixes #437457.
6822 API: add gst_type_register_static_full
6823 API: add gst_element_class_set_details_simple
6825 2007-06-21 Tim-Philipp Müller <tim at centricular dot net>
6827 * docs/pwg/advanced-types.xml:
6828 Fix typo in iana.org URI.
6830 2007-06-19 Andy Wingo <wingo@pobox.com>
6832 * tests/check/pipelines/simple-launch-lines.c
6833 (test_state_change_returns): Enable pull-mode tests now that
6834 basesink has been fixed.
6836 * libs/gst/base/gstbasesink.c (gst_base_sink_needs_preroll):
6837 Changed from gst_base_sink_is_prerolled, reversing the sense of
6838 the return value. Returns FALSE also if the sink is in pull mode,
6839 in which case it needs no preroll.
6840 (gst_base_sink_query, gst_base_sink_change_state): Update for
6841 needs_preroll change.
6842 (gst_base_sink_change_state): Add a case for READY_TO_PAUSED after
6843 chaining up, in which we return SUCCESS directly if we activated
6844 in pull mode instead of ASYNC. Involves countering an async_start
6845 message sent before chaining up; not sure if this is correct, in
6846 an ideal world we only send async-start when activating in push
6849 * tests/check/pipelines/simple-launch-lines.c
6850 (test_state_change_returns): New test, partially disabled until
6853 2007-06-19 Wim Taymans <wim@fluendo.com>
6855 * plugins/elements/gstmultiqueue.c: (apply_buffer),
6856 (gst_multi_queue_sink_event):
6859 2007-06-19 Wim Taymans <wim@fluendo.com>
6861 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
6862 (gst_bin_change_state_func), (bin_push_state_continue),
6863 (bin_handle_async_start), (bin_handle_async_done),
6864 (gst_bin_handle_message_func):
6865 Move the common code for posting state-change messages into
6867 Broadcast the state signal after we posted the messages.
6868 Mark the bin as busy when it's doing a state-change.
6869 Make sure async-start/done messages don't interfere with the bin's
6870 state when it's busy.
6871 After the state change, let the bin check which elements completed the
6872 state change while it was busy so that it can update its state.
6874 2007-06-19 Jan Schmidt <thaytan@mad.scientist.com>
6876 * docs/random/release:
6877 Add a note about updating the doap file to the release checklist
6879 2007-06-18 Wim Taymans <wim@fluendo.com>
6881 * plugins/elements/gstmultiqueue.c: (apply_buffer),
6882 (gst_single_queue_push_one), (gst_multi_queue_chain),
6883 (gst_multi_queue_sink_event):
6884 Make sure we don't reference the buffer/event after we have given away
6885 ownership in the queue.
6887 2007-06-18 Wim Taymans <wim@fluendo.com>
6889 * plugins/elements/gstmultiqueue.c: (gst_single_queue_flush),
6890 (gst_multi_queue_chain), (gst_multi_queue_sink_event):
6891 Update queue state _after_ adding the item in the queue because else we
6892 could end up being full without the element added yet.
6894 2007-06-18 Wim Taymans <wim@fluendo.com>
6896 * gst/gstbin.c: (gst_bin_init), (gst_bin_add_func),
6897 (gst_bin_remove_func), (gst_bin_get_state_func),
6898 (gst_bin_element_set_state), (gst_bin_continue_func),
6899 (bin_push_state_continue), (bin_handle_async_start),
6900 (bin_handle_async_done), (gst_bin_handle_message_func):
6902 Immediatly commit the toplevel bin state when receiving an async-done
6903 message. This enables us to avoid spawning a thread to commit the state
6904 in some common cases and it also avoids some races.
6905 Avoid spawning a state thread when adding/removing async elements to a
6906 toplevel bin. Instead we immediatly update the bin state.
6907 Get rid of iterating all the children when getting the state in the bin
6908 because it is now always up-to-date.
6909 Fix bug where locked elements would always return _SUCCESS even it they
6910 returned NO_PREROLL before being locked.
6911 Fix the order of the state_change, async-start/done messages that was
6912 sometimes incorrect.
6913 Mark the state_dirty field as deprecated, we don't need it anymore as we
6914 are always up-to-date.
6916 * gst/gstelement.c: (gst_element_get_state_func),
6917 (gst_element_continue_state):
6918 Small debug inprovements.
6919 Return the previous element state return when nothing is pending instead
6920 of blindly returning SUCCESS.
6922 * tests/check/generic/sinks.c: (GST_START_TEST), (pad_blocked_cb),
6924 Add a whole bunch of new testcases.
6926 2007-06-17 Thomas Vander Stichele <thomas at apestaart dot org>
6930 Update translations.
6932 2007-06-15 Jan Schmidt <thaytan@mad.scientist.com>
6935 Fix typo in the docs.
6937 2007-06-15 Wim Taymans <wim@fluendo.com>
6939 * docs/libs/gstreamer-libs-sections.txt:
6940 Add docs for new methods.
6942 2007-06-15 Wim Taymans <wim@fluendo.com>
6944 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_item_destroy),
6945 (gst_multi_queue_item_new):
6946 Don't use GSlice because we don't depend on >= 2.10 yet.
6948 2007-06-15 Wim Taymans <wim@fluendo.com>
6950 * plugins/elements/gstmultiqueue.c: (gst_single_queue_flush),
6951 (update_time_level), (apply_segment), (apply_buffer),
6952 (gst_single_queue_push_one), (gst_multi_queue_item_new),
6953 (gst_multi_queue_loop), (gst_multi_queue_sink_activate_push),
6954 (gst_multi_queue_sink_event), (single_queue_overrun_cb),
6955 (single_queue_underrun_cb), (single_queue_check_full):
6956 Remove debug printf.
6958 2007-06-15 Wim Taymans <wim@fluendo.com>
6960 * libs/gst/base/gstdataqueue.c: (gst_data_queue_cleanup),
6961 (gst_data_queue_finalize), (gst_data_queue_locked_is_empty),
6962 (gst_data_queue_set_flushing), (gst_data_queue_push),
6963 (gst_data_queue_pop), (gst_data_queue_drop_head),
6964 (gst_data_queue_limits_changed), (gst_data_queue_get_level):
6965 * libs/gst/base/gstdataqueue.h:
6967 Added methods to get the current levels and to inform the queue that the
6968 'full' limits changed.
6970 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_init),
6971 (gst_multi_queue_finalize), (gst_multi_queue_set_property),
6972 (gst_single_queue_flush), (update_time_level), (apply_segment),
6973 (apply_buffer), (gst_single_queue_push_one),
6974 (gst_multi_queue_item_steal_object),
6975 (gst_multi_queue_item_destroy), (gst_multi_queue_item_new),
6976 (gst_multi_queue_loop), (gst_multi_queue_chain),
6977 (gst_multi_queue_sink_activate_push), (gst_multi_queue_sink_event),
6978 (gst_multi_queue_getcaps), (gst_multi_queue_src_activate_push),
6979 (gst_multi_queue_src_query), (single_queue_overrun_cb),
6980 (single_queue_underrun_cb), (single_queue_check_full),
6981 (gst_single_queue_new):
6982 Keep track of time in the queue by measuring the difference between
6983 running_time on input and output. This gives more accurate results and
6984 can compensate for segments correctly.
6985 Make a queue by default only 5 buffers deep. We will now increase the
6986 buffer size depending on the filledness of the other queues.
6987 Factor out commong flush code.
6988 Make sure we don't add additional refcounts to buffers when we can avoid
6990 Propagate GstFlowReturn differently.
6991 Use GSlice for intermediate GstMultiQueueItems.
6993 Resize queues on over and underruns based on filled level of other
6995 When checking if the queue is filled, prefer to measure in time if we
6996 can and fall back to bytes when no time is known.
6998 * plugins/elements/gstqueue.c:
7001 2007-06-15 Wim Taymans <wim@fluendo.com>
7003 * libs/gst/base/gstbasetransform.c:
7004 (gst_base_transform_sink_event):
7005 Work around the brokenness of the event vmethod in basetransform. Prefer
7006 to return TRUE when the subclass returned FALSE (meaning don't forward
7009 * libs/gst/base/gstbasetransform.h:
7012 2007-06-15 Wim Taymans <wim@fluendo.com>
7014 * gst/gstpad.c: (gst_pad_push_event), (gst_pad_send_event):
7015 * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
7016 (gst_base_src_default_query), (gst_base_src_get_range),
7017 (gst_base_src_start):
7018 * tests/check/pipelines/parse-launch.c: (setup_pipeline):
7021 2007-06-15 Stefan Kost <ensonic@users.sf.net>
7023 * docs/pwg/advanced-types.xml:
7024 Added more formats to caps table.
7026 2007-06-15 Stefan Kost <ensonic@users.sf.net>
7028 * tools/gst-launch.c: (main):
7029 Remove crufy code. GOption does not need this workaround.
7031 2007-06-14 Stefan Kost <ensonic@users.sf.net>
7033 * libs/gst/controller/gstcontroller.c:
7034 (gst_controlled_property_set_interpolation_mode):
7035 Fix wrong getter for enums in controller.
7037 2007-06-14 Tim-Philipp Müller <tim at centricular dot net>
7039 * libs/gst/check/gstcheck.c: (gst_check_init):
7040 Intercept criticals and warnings in the Gst-Phonon log domain, so
7041 ASSERT_CRITICAL() etc. can be used in gst-phonon's unit tests as
7044 2007-06-14 Edward Hervey <edward@fluendo.com>
7046 * gst/gstparamspecs.c: (_gst_param_fraction_validate):
7047 Since this file doesn't include "gst.h" it will not go through the
7048 macros that disable GST_LOG if debugging was disabled.
7050 2007-06-14 Tim-Philipp Müller <tim at centricular dot net>
7052 * libs/gst/check/Makefile.am:
7053 * libs/gst/check/gstcheck.h:
7054 * pkgconfig/gstreamer-check-uninstalled.pc.in:
7055 * pkgconfig/gstreamer-check.pc.in:
7056 Ugly 'fix' for the controller unit test on the p5 bot: in
7057 fail_unless_equals_float() check whether the values are 'almost
7058 equal' by allowing a small absolute error, which should be good
7059 enough for our use cases (normal numbers and values close to 0).
7060 Proper fixage left to floating point arithmetic aficionados.
7062 2007-06-14 Stefan Kost <ensonic@users.sf.net>
7064 * libs/gst/base/gstbasesink.c: (gst_base_sink_reset_qos),
7065 (gst_base_sink_render_object), (gst_base_sink_get_position):
7066 Add two breaks thats where missing.
7068 2007-06-14 Tim-Philipp Müller <tim at centricular dot net>
7070 * docs/libs/gstreamer-libs-sections.txt:
7071 * libs/gst/check/gstcheck.h:
7072 API: add fail_unless_equals_float() and assert_equals_float().
7073 Add documentation for some of the macros.
7075 * tests/check/libs/controller.c: (GST_START_TEST):
7076 Use newly-added asserts.
7078 2007-06-14 Stefan Kost <ensonic@users.sf.net>
7080 * gst/gstpad.c: (gst_pad_alloc_buffer_full), (gst_pad_push):
7081 Show the caps change in the log to help spotting the case of not
7082 exactly matching caps.
7084 2007-06-14 Tim-Philipp Müller <tim at centricular dot net>
7086 * docs/pwg/building-boiler.xml:
7087 Fix typos, spotted by Thijs Vermeir (#447190).
7089 2007-06-13 Jan Schmidt <thaytan@mad.scientist.com>
7091 * docs/plugins/tmpl/.cvsignore:
7092 Ignore file to keep the buildbots happy
7094 2007-06-13 Jan Schmidt <thaytan@mad.scientist.com>
7096 * docs/plugins/Makefile.am:
7097 * docs/plugins/gstreamer-plugins-docs.sgml:
7098 * docs/plugins/gstreamer-plugins-sections.txt:
7099 Pull fdsink into the docs too.
7101 2007-06-11 Sebastian Dröge <slomo@circular-chaos.org>
7103 * libs/gst/controller/gstinterpolation.c:
7104 Actually use the new functions with min/max checks for the trigger and
7105 none interpolation modes for get() and get_value_array() instead of
7108 2007-06-10 Sebastian Dröge <slomo@circular-chaos.org>
7110 * libs/gst/controller/gstcontroller.c:
7111 (gst_controlled_property_free):
7112 Unset the minimum and maximum GValues when freeing the corresponding
7113 GstControllerProperty struct.
7115 2007-06-09 Sebastian Dröge <slomo@circular-chaos.org>
7117 * libs/gst/controller/gstcontroller.c:
7118 (gst_controlled_property_new):
7119 * libs/gst/controller/gstcontrollerprivate.h:
7120 * libs/gst/controller/gstinterpolation.c:
7121 (gst_controlled_property_find_control_point_node),
7122 (interpolate_none_get), (interpolate_none_get_enum_value_array),
7123 (interpolate_none_get_string_value_array),
7124 (interpolate_trigger_get),
7125 (interpolate_trigger_get_enum_value_array),
7126 (interpolate_trigger_get_string_value_array):
7127 Protect against values larger or smaller than the minimum or maximum
7128 allowed value for the property when using values that can be compared.
7130 Optimize trigger interpolator a bit by taking the last requested value
7131 into account instead of always looping through the complete list.
7133 Fix coding style a bit, everywhere else we use "return foo" instead
7136 * tests/check/libs/controller.c: (GST_START_TEST),
7137 (gst_controller_suite):
7138 Add unit test for the protection against too large or too small
7141 2007-06-08 Sebastian Dröge <slomo@circular-chaos.org>
7143 * docs/random/slomo/controller.txt:
7144 Add some thoughts about the future of the controller.
7146 2007-06-08 Wim Taymans <wim@fluendo.com>
7148 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
7149 Don't overflow in retimestamping code.
7151 2007-06-07 Sebastien Moutte <sebastien@moutte.net>
7153 * libs/gst/controller/gstinterpolation.c: (DEFINE_CUBIC_GET):
7154 Use gst_util_guint64_to_gdouble for conversions.
7155 * win32/common/libgstreamer.def:
7156 Add new exported functions.
7158 2007-06-07 Tim-Philipp Müller <tim at centricular dot net>
7161 Small docs addition.
7163 2007-06-07 Stefan Kost <ensonic@users.sf.net>
7166 Remove that test line again.
7168 2007-06-07 Stefan Kost <ensonic@users.sf.net>
7171 Test commit mail sending.
7173 2007-06-07 Stefan Kost <ensonic@users.sf.net>
7176 Fix typo and test commit mail sending.
7178 2007-06-07 Stefan Kost <ensonic@users.sf.net>
7180 * tests/examples/controller/audio-example.c:
7181 Improve comment and test commit mail sending.
7183 2007-06-07 Wim Taymans <wim@fluendo.com>
7185 * gst/gstbin.c: (find_message), (bin_replace_message), (is_eos),
7186 (gst_bin_remove_func), (gst_bin_element_set_state),
7187 (bin_handle_async_start), (bin_handle_async_done),
7188 (gst_bin_handle_message_func):
7189 Add helper function to find messages.
7190 Generate the async-done messages together with the state change
7192 Small cleanups in handling toplevel bins.
7194 2007-06-06 Tim-Philipp Müller <tim at centricular dot net>
7196 * libs/gst/base/gstdataqueue.c:
7197 * libs/gst/base/gstdataqueue.h:
7198 * plugins/elements/gstmultiqueue.c: (gst_single_queue_push_one),
7199 (gst_multi_queue_item_new), (gst_multi_queue_chain),
7200 (gst_multi_queue_sink_event):
7201 * tests/check/elements/multiqueue.c: (multiqueue_suite):
7202 Fix multiqueue leaking buffers and events when downstream or the
7203 queue are flushing. Make refcounting assumptions explicit and
7204 document them (shouldn't break existing code that uses it other than
7205 maybe leak miniobjects, but that already happens anyway). Add unit
7206 test for the most common flushing case. Fixes #423700.
7208 2007-06-06 Sebastian Dröge <slomo@circular-chaos.org>
7210 * libs/gst/controller/gstcontroller.c:
7211 Clarify docs: The get_all, get_value_array(s) functions
7212 don't modify the GObject properties.
7214 2007-06-06 Sebastian Dröge <slomo@circular-chaos.org>
7216 * libs/gst/controller/gstcontroller.c:
7217 (gst_controlled_property_set_interpolation_mode),
7218 (gst_controlled_property_prepend_default),
7219 (gst_controlled_property_new), (gst_controller_set_unlocked),
7220 (gst_controller_set), (gst_controller_set_from_list),
7221 (gst_controller_unset), (gst_controller_unset_all):
7222 * libs/gst/controller/gstcontrollerprivate.h:
7223 * libs/gst/controller/gstinterpolation.c:
7224 Factor out the 'set' logic into gst_controller_set_unlocked for the
7225 gst_controller_set and gst_controller_set_from_list functions.
7227 To make life of the interpolators easier always add a control point
7228 at timestamp zero with the default value.
7230 In the linear interpolator make things more obvious by better variable
7233 Implement cubic interpolation mode (by using a natural cubic spline)
7234 and map the quadratic interpolation mode to this too (as quadratic
7235 doesn't make much sense, see discussion on the list).
7237 * tests/check/libs/controller.c: (GST_START_TEST),
7238 (gst_controller_suite):
7239 Add unit test for the cubic interpolation mode and check everywhere
7240 if the interpolation mode could be set as expected.
7242 2007-06-06 Tim-Philipp Müller <tim at centricular dot net>
7244 * gst/gstparamspecs.c: (gst_param_spec_fraction_get_type):
7245 Don't use GLib-2.10 functions, we still depend on
7246 GLib-how-old-is-it-again-2.8.
7248 2007-06-06 Tim-Philipp Müller <tim at centricular dot net>
7250 * docs/gst/gstreamer-sections.txt:
7254 * gst/gstparamspecs.c: (_gst_param_fraction_init),
7255 (_gst_param_fraction_set_default), (_gst_param_fraction_validate),
7256 (_gst_param_fraction_values_cmp),
7257 (gst_param_spec_fraction_get_type), (gst_param_spec_fraction):
7258 * gst/gstparamspecs.h:
7260 * tests/check/Makefile.am:
7261 * tests/check/gst/.cvsignore:
7262 * tests/check/gst/gstparamspecs.c: (gst_dummy_obj_base_init),
7263 (gst_dummy_obj_class_init), (gst_dummy_obj_init),
7264 (gst_dummy_obj_set_property), (gst_dummy_obj_get_property),
7265 (GST_START_TEST), (gst_param_spec_suite):
7266 API: add GstParamSpecFraction, so elements can have fraction
7267 properties without lots of painful string parsing (#444648).
7269 2007-06-05 Wim Taymans <wim@fluendo.com>
7271 * gst/gstobject.c: (gst_object_class_init):
7272 Fix signal signature.
7275 Add small clarification in the api docs.
7277 * plugins/elements/gstfilesrc.c: (gst_file_src_set_location):
7278 States are protected with object lock.
7280 2007-06-05 Jan Schmidt <thaytan@mad.scientist.com>
7283 I should probably be listed as an author by now.
7285 * docs/random/release:
7286 Update the release doc
7288 2007-06-05 Tim-Philipp Müller <tim at centricular dot net>
7291 Make docs for gst_value_compare() mention return enums that
7294 2007-06-05 Jan Schmidt <thaytan@mad.scientist.com>
7299 === release 0.10.13 ===
7301 2007-06-05 Jan Schmidt <thaytan@mad.scientist.com>
7304 releasing 0.10.13, "With or without you"
7306 2007-05-25 Wim Taymans <wim@fluendo.com>
7308 * gst/gstbin.c: (bin_handle_async_done):
7309 Make sure that the child bin stops after completing the async state
7310 change so that the parent can continue the state change to PLAYING.
7313 2007-05-25 Wim Taymans <wim@fluendo.com>
7315 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
7316 (unref_data), (gst_collect_pads_remove_pad),
7317 (gst_collect_pads_check_pads):
7318 Use additional refcounting to avoid crashes when dynamically adding and
7319 removing pads. Fixes #420206.
7321 2007-05-24 Wim Taymans <wim@fluendo.com>
7323 * tools/gst-launch.c: (event_loop):
7324 When buffering goes from a two digit to a single digit number, make sure
7325 to remove the old second digit by writing a blank over it.
7327 2007-05-24 Tim-Philipp Müller <tim at centricular dot net>
7329 * libs/gst/base/gstdataqueue.c:
7330 Eliminate tabs and trailing comma in enum list; fix some typos.
7332 2007-05-24 Wim Taymans <wim@fluendo.com>
7334 * tests/check/gst/gstbin.c: (GST_START_TEST):
7335 Allow refcount of 3 and 4 because some state thread might still be busy
7338 2007-05-24 Tim-Philipp Müller <tim at centricular dot net>
7340 * plugins/elements/Makefile.am:
7341 * plugins/elements/gstmultiqueue.h:
7342 * plugins/elements/gstqueue.h:
7343 These are not installed headers, no need for padding.
7345 2007-05-24 Wim Taymans <wim@fluendo.com>
7347 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_get_state_func),
7348 (gst_bin_continue_func):
7349 Enable latency for next release.
7350 Restore STATE_LOCK around recalc_state that was left out during the
7351 rewrite and could result in racy behaviour when _get_state and
7352 recalc_state are run concurrently. See #440463.
7354 2007-05-23 Wim Taymans <wim@fluendo.com>
7356 * tests/check/gst/gstsystemclock.c: (store_callback),
7358 Improve test_async_order to also work when both timers are already
7359 expired when we get scheduled to check it.
7361 2007-05-22 Tim-Philipp Müller <tim at centricular dot net>
7363 * gst/gstbin.c: (gst_bin_init), (gst_bin_dispose),
7364 (gst_bin_set_property), (gst_bin_get_property),
7365 (gst_bin_remove_func), (gst_bin_handle_message_func):
7367 'private' is a c++ keyword, let's not use that in header files,
7368 otherwise c++ compilers will throw a tantrum.
7370 2007-05-22 Tim-Philipp Müller <tim at centricular dot net>
7372 * plugins/elements/gstelements.c:
7373 * plugins/elements/gstfilesink.c: (gst_file_sink_do_seek),
7374 (gst_file_sink_get_current_offset):
7375 * plugins/indexers/gstindexers.c: (plugin_init):
7376 Use #ifdef for HAVE_XYZ for consistency.
7378 * tests/check/Makefile.am:
7379 * tests/check/elements/.cvsignore:
7380 * tests/check/elements/filesink.c: (setup_filesink),
7381 (cleanup_filesink), (GST_START_TEST), (filesink_suite):
7382 Add some unit tests for filesink.
7384 2007-05-22 Tim-Philipp Müller <tim at centricular dot net>
7386 Patch by: Mark Nauwelaerts <manauw at skynet be>
7388 * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
7389 (gst_file_sink_query), (gst_file_sink_do_seek),
7390 (gst_file_sink_get_current_offset), (gst_file_sink_render):
7391 * plugins/elements/gstfilesink.h:
7392 Fix position reporting; rename data_written member to current_pos to
7393 reflect its real meaning (fixes #412648).
7395 2007-05-22 Edward Hervey <edward@fluendo.com>
7397 * docs/gst/gstreamer-sections.txt:
7398 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
7399 (gst_bin_dispose), (gst_bin_set_property), (gst_bin_get_property),
7400 (gst_bin_remove_func), (gst_bin_handle_message_func):
7402 Add a property for bins that handle the state change of their childs.
7405 2007-05-22 Sebastian Dröge <slomo@circular-chaos.org>
7407 * libs/gst/controller/gstinterpolation.c:
7408 Use an array of the correct type when using _get_value_array with
7409 linear interpolation.
7411 2007-05-22 Stefan Kost <ensonic@users.sf.net>
7413 * gst/gstelement.c (gst_element_requires_clock,
7414 gst_element_provides_clock, gst_element_request_pad,
7415 gst_element_class_set_details, gst_element_class_set_details_simple,
7416 gst_element_default_send_event, gst_element_abort_state,
7417 gst_element_continue_state, gst_element_set_state,
7418 gst_element_set_state_func, iterator_activate_fold_with_resync):
7419 * gst/gstpad.c (gst_pad_activate_pull, gst_pad_set_getcaps_function,
7420 gst_pad_fixate_caps, gst_pad_configure_sink, gst_pad_configure_src,
7421 gst_pad_query, gst_pad_save_thyself, handle_pad_block, gst_pad_push,
7422 gst_pad_get_range, gst_pad_pull_range):
7423 * gst/gstpad.h (GST_PAD_LINK_SUCCESSFUL, GST_FLOW_CUSTOM_SUCCESS,
7424 GST_FLOW_NOT_SUPPORTED, GST_FLOW_IS_FATAL, GstPadActivateFunction,
7425 GstPadActivateModeFunction, GstPadChainFunction,
7426 GstPadGetCapsFunction, GstPadAcceptCapsFunction,
7427 GstPadFixateCapsFunction, GstPadTemplate):
7428 * gst/gstpipeline.c (gst_pipeline_change_state,
7429 gst_pipeline_set_new_stream_time, gst_pipeline_use_clock,
7430 gst_pipeline_set_clock, gst_pipeline_auto_clock,
7431 gst_pipeline_get_delay):
7432 Whitespace and docs fixes.
7434 2007-05-21 Sebastian Dröge <slomo@circular-chaos.org>
7436 * libs/gst/controller/gstinterpolation.c:
7437 (interpolate_trigger_get_enum_value_array),
7438 (interpolate_trigger_get_string_value_array):
7439 Add support for retrieving value arrays when using the trigger
7442 2007-05-21 Sebastian Dröge <slomo@circular-chaos.org>
7444 * libs/gst/controller/gstcontroller.c:
7445 (gst_controller_get_value_array):
7446 * libs/gst/controller/gstcontroller.h:
7447 Clarify the docs of gst_controller_get_value_array(): The array where
7448 the values should be written to must be allocated as there seems to be
7449 no way to get the size of a random GType. This doesn't change any
7450 behaviour. Also fix some typos all over the place and remove an unused,
7451 commented function that is not necessary as g_object_set() could be
7453 * tests/check/libs/controller.c: (GST_START_TEST),
7454 (gst_controller_suite):
7455 Add unit test for gst_controller_get_value_array().
7457 2007-05-21 Jan Schmidt <thaytan@mad.scientist.com>
7459 * tests/check/gst/gstbuffer.c: (GST_START_TEST):
7461 Disable part of the gst_buffer_try_new_and_alloc test, because
7462 it can happily succeed on 64-bit systems where there's more address
7465 2007-05-21 Sebastian Dröge <slomo@circular-chaos.org>
7467 * tests/check/gst/gstpad.c: (GST_START_TEST), (gst_pad_suite):
7468 Add unit test for the improved caps checking from bug #421543.
7470 2007-05-21 Wim Taymans <wim@fluendo.com>
7472 * docs/design/part-synchronisation.txt:
7475 * gst/gstbin.c: (gst_bin_query):
7476 * plugins/elements/gstqueue.c: (apply_segment):
7482 2007-05-21 Wim Taymans <wim@fluendo.com>
7484 * gst/gstpad.c: (gst_pad_get_caps_unlocked),
7485 (gst_pad_acceptcaps_default), (gst_pad_configure_sink),
7486 (gst_pad_configure_src):
7487 Added simple version of improved caps checking. It was previously
7488 assumed that a setcaps function would check the validity of the caps but
7489 people prefer us to check caps against the template automatically.
7492 2007-05-21 Wim Taymans <wim@fluendo.com>
7494 * libs/gst/base/gstbasetransform.h:
7495 Fix macro for locking/unlocking the transform lock.
7497 2007-05-19 Tim-Philipp Müller <tim at centricular dot net>
7499 * docs/plugins/tmpl/.cvsignore:
7502 2007-05-18 Edward Hervey <edward@fluendo.com>
7504 * plugins/elements/gstqueue.c: (gst_queue_loop):
7505 Hello, I am Mr Taymans' personal debugger. Today I will introduce a fix
7506 for the subtle art of warning a potentially blocking thread that it
7507 should check the source pad return value, and relay the information
7510 2007-05-18 Edward Hervey <edward@fluendo.com>
7512 * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event):
7513 Release the queue lock !
7515 2007-05-17 Sebastian Dröge <slomo@circular-chaos.org>
7517 * docs/libs/gstreamer-libs-sections.txt:
7518 Add the two new controller functions to the appropiate places.
7520 2007-05-17 Sebastian Dröge <slomo@circular-chaos.org>
7522 reviewed by: Stefan Kost <ensonic@users.sf.net>
7524 * libs/gst/controller/gstcontroller.c:
7525 (gst_controller_suggest_next_sync), (gst_controller_sync_values),
7526 (_gst_controller_get_property), (_gst_controller_set_property),
7527 (_gst_controller_init), (_gst_controller_class_init):
7528 * libs/gst/controller/gstcontroller.h:
7529 * libs/gst/controller/gsthelper.c: (gst_object_suggest_next_sync),
7530 (gst_object_get_control_rate), (gst_object_set_control_rate):
7531 API: gst_controller_suggest_next_sync(), gst_object_suggest_next_sync()
7532 Add API that provides sync suggestion timestamps for elements that
7533 call gst_object_sync_values() from which those elements can subdivide
7534 their processing loop to get the best results for the controlled
7535 properties. For now it just suggests last_sync + control_rate as
7536 new timestamp but this will be improved in the future.
7538 While doing that change the control-rate property to a GstClockTime
7539 from guint and change it's meaning from samples to nanoseconds as
7540 the GstController doesn't know anything about sampling rate. Strictly
7541 speaking this breaks ABI but as the control-rate property didn't do
7542 anything in the past and as such couldn't be used this should be no
7545 2007-05-17 Sebastian Dröge <slomo@circular-chaos.org>
7547 reviewed by: Stefan Kost <ensonic@users.sf.net>
7549 * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
7550 (gst_controller_unset_all):
7551 * libs/gst/controller/gstcontrollerprivate.h:
7552 * libs/gst/controller/gstinterpolation.c:
7553 (gst_controlled_property_find_control_point_node):
7554 Save last synced value from the list to continue searching from there
7555 in future syncs. This speeds everything up a bit.
7557 2007-05-17 Sebastian Dröge <slomo@circular-chaos.org>
7559 reviewed by: Stefan Kost <ensonic@users.sf.net>
7561 * libs/gst/controller/gstcontroller.c: (gst_control_point_compare),
7562 (gst_control_point_find), (gst_controlled_property_new),
7563 (gst_control_point_free), (gst_controlled_property_free),
7564 (gst_controller_set), (gst_controller_set_from_list),
7565 (gst_controller_unset), (gst_controller_unset_all),
7566 (gst_controller_sync_values):
7567 * libs/gst/controller/gstcontroller.h:
7568 * libs/gst/controller/gstcontrollerprivate.h:
7569 * libs/gst/controller/gstinterpolation.c:
7570 (gst_controlled_property_find_control_point_node),
7571 (interpolate_none_get), (interpolate_trigger_get):
7572 Add a new private GstControlPoint struct which "inherits" from
7573 GstTimedValue to allow different interpolators to store internal
7574 values next to each control point. From the outside everything is
7575 still a GstControlPoint so we don't loose binary compatibility.
7576 Also fixup all the GValue handling to not leak GValues or list nodes.
7577 * tests/check/libs/controller.c: (GST_START_TEST):
7578 Free the list nodes and GValues in the controller_misc test.
7580 2007-05-17 Edward Hervey <edward@fluendo.com>
7585 2007-05-16 Tim-Philipp Müller <tim at centricular dot net>
7587 * gst/gstplugin.c: (gst_plugin_load_file):
7588 If we fail to load a plugin because of unresolved symbols or missing
7589 libraries and spew a warning to stderr, we may just as well mention
7590 which plugin it was that failed to load.
7592 2007-05-13 David Schleef <ds@schleef.org>
7594 * docs/Makefile.am: the gtk-doc makefile snippet correctly
7595 handles the case when ENABLE_GTK_DOC is false, and installs
7596 the prebuilt documentation. So gtk-doc subdirs are
7597 unconditionally enabled. Fixes: #349099.
7599 2007-05-13 David Schleef <ds@schleef.org>
7601 * gst/gstutils.h: Reword some documentation.
7603 2007-05-12 David Schleef <ds@schleef.org>
7605 * gst/gstplugin.c: gst_plugin_register_func() doesn't actually
7606 do anything with the passed "module" parameter, so remove it.
7607 Allows removal of additional vestigal code.
7609 2007-05-12 David Schleef <ds@schleef.org>
7612 Using sigaction should depend on HAVE_SIGACTION, not HAVE_WIN32.
7613 Switch to using g_stat() because it's more portable.
7615 2007-05-12 David Schleef <ds@schleef.org>
7618 Add GST_DISABLE_OPTION_PARSING, in order to disable option
7619 parsing for embedded systems.
7620 * gst/gstelementfactory.c:
7621 Allow gst_element_register() to be called with plugin==NULL.
7622 Did nobody notice that static elements were broken?
7624 2007-05-12 Wim Taymans <wim@fluendo.com>
7626 * tools/gst-launch.c: (event_loop):
7627 Give more interesting info when buffering starts and stops.
7628 Fix case where buffering starts but we fail to update the buffering flag
7629 because the target state is not PLAYING.
7631 2007-05-12 Wim Taymans <wim@fluendo.com>
7633 * plugins/elements/gstqueue.c: (gst_queue_init),
7634 (gst_queue_finalize), (update_time_level), (apply_segment),
7635 (apply_buffer), (gst_queue_locked_flush),
7636 (gst_queue_locked_enqueue), (gst_queue_locked_dequeue),
7637 (gst_queue_handle_sink_event), (gst_queue_chain),
7638 (gst_queue_push_one), (gst_queue_loop):
7639 * plugins/elements/gstqueue.h:
7640 Refactor an cleanup queue a bit.
7641 Do better time level calculations that also work when the srcpad is not
7643 Remove some unneeded debug lines.
7645 * tests/check/elements/queue.c: (GST_START_TEST), (queue_suite):
7646 Added testcase for time level measurement.
7647 Try to make some stuff more racefree.
7649 2007-05-11 Tim-Philipp Müller <tim at centricular dot net>
7651 * gst/gsturi.c: (gst_element_make_from_uri):
7652 Don't leak plugin feature.
7654 * tests/check/Makefile.am:
7655 * tests/check/gst/.cvsignore:
7656 * tests/check/gst/gsturi.c: (GST_START_TEST), (gst_uri_suite):
7657 Add brain-dead unit test.
7659 2007-05-11 Tim-Philipp Müller <tim at centricular dot net>
7661 Patch by: Jeroen Wouters <woutersj at gmail com>
7663 * gst/gsturi.c: (gst_uri_get_protocol), (search_by_entry):
7664 Treat protocol strings in a case-insensitive way (#437563).
7666 2007-05-11 Michael Smith <msmith@fluendo.com>
7668 * gst/gstplugin.c: (gst_plugin_load_file):
7669 * gst/gstregistry.c: (gst_registry_scan_path_level):
7670 Don't print a g_warning for any failure to load a shared object.
7671 Instead, push this down into gstplugin.c, and warn _only_ if we
7672 failed to open the module (i.e. failure to link).
7673 Avoids warnings on normal, working, non-plugin .so files.
7675 2007-05-11 Stefan Kost <ensonic@users.sf.net>
7677 * gst/gstplugin.c (gst_plugin_load_file):
7678 * gst/gstregistry.c (GST_CAT_DEFAULT,
7679 gst_registry_lookup_feature_locked, gst_registry_scan_path_level):
7680 Print a g_warning if there was an error when loading a plugins during
7681 registry scan. The shuld help beginners starting with gst-plugin
7684 2007-05-10 Wim Taymans <wim@fluendo.com>
7686 * plugins/elements/gstqueue.c: (gst_queue_class_init),
7687 (update_time_level), (gst_queue_locked_flush),
7688 (gst_queue_handle_sink_event), (gst_queue_chain),
7689 (gst_queue_push_one), (gst_queue_loop):
7690 * plugins/elements/gstqueue.h:
7691 Be smarter when calculating the current amount of data in the queue by
7692 measuring the difference between start and end timestamps (in running
7693 time) inside the queue. Fixes #432876.
7694 API: GstQueue::pushing to notify elements that we are pushing data again
7695 since the running signal is rather broken for this purpose.
7697 2007-05-10 Stefan Kost <ensonic@users.sf.net>
7699 * plugins/elements/gstqueue.c (_do_init, gst_queue_signals,
7700 gst_queue_base_init, gst_queue_init):
7703 2007-05-09 Sebastien Moutte <sebastien@moutte.net>
7705 * win32/common/libgstreamer.def:
7706 Add new exported functions.
7707 * win32/vs6/grammar.dsp:
7708 Use grammar pre-generated files.
7710 2007-05-09 Tim-Philipp Müller <tim at centricular dot net>
7712 Based on patch by: Peter Kjellerstedt <pkj at axis com>
7715 * gst/gstparse.c: (gst_parse_launchv), (gst_parse_launch):
7717 * gst/gstutils.c: (gst_parse_bin_from_description):
7719 Maintain API and ABI when --disable-parse is used. Now that
7720 we have an appropriate error code, we can just return NULL and the
7721 appropriate error when gst_parse_launch() is used despite it having
7722 been disabled (#342564).
7724 * tests/check/Makefile.am:
7725 * tests/check/pipelines/.cvsignore:
7726 * tests/check/pipelines/parse-disabled.c:
7727 Make sure these functions exist and return NULL plus a GError when
7728 --disable-parse is used.
7730 2007-05-09 Tim-Philipp Müller <tim at centricular dot net>
7732 * tests/benchmarks/complexity.c: (main):
7733 * tests/benchmarks/mass-elements.c: (main):
7734 Set a good example and don't leak messages.
7736 2007-05-06 Stefan Kost <ensonic@users.sf.net>
7738 * docs/gst/Makefile.am:
7739 * docs/libs/Makefile.am:
7740 Correct fixxrefs options.
7742 * docs/plugins/Makefile.am:
7743 * docs/plugins/gstreamer-plugins-docs.sgml:
7744 * docs/plugins/gstreamer-plugins-sections.txt:
7745 * plugins/elements/Makefile.am:
7746 * plugins/elements/gstcapsfilter.c (gst_capsfilter_details):
7747 * plugins/elements/gstcapsfilter.h (__GST_CAPSFILTER_H__,
7748 GST_TYPE_CAPSFILTER, GST_CAPSFILTER, GST_CAPSFILTER_CLASS,
7749 GST_IS_CAPSFILTER, GST_IS_CAPSFILTER_CLASS, GstCapsFilter,
7750 GstCapsFilterClass, _GstCapsFilter, trans, filter_caps,
7751 _GstCapsFilterClass, trans_class):
7752 * plugins/elements/gstelements.c (name, rank, type, _elements):
7753 * plugins/elements/gstidentity.c
7754 (gst_identity_check_imperfect_timestamp,
7755 gst_identity_check_imperfect_offset):
7756 Document capsfilter and add doc-blurb to identity.
7758 2007-05-04 Tim-Philipp Müller <tim at centricular dot net>
7760 * libs/gst/controller/gstcontroller.c:
7761 (gst_controlled_property_set_interpolation_mode):
7762 * libs/gst/controller/gstinterpolation.c:
7763 Don't crash if someone tries to set an interpolation mode that
7764 is invalid or that isn't supported yet. Fixes #422295.
7766 * tests/check/libs/controller.c: (GST_START_TEST),
7767 (gst_controller_suite):
7768 Add a test case for the above.
7770 2007-05-03 Edward Hervey <edward@fluendo.com>
7772 * libs/gst/base/gstbasetransform.c: (gst_base_transform_chain):
7773 Properly set the last_stop position on GstSegment. This will only happen
7774 if there is a buffer to push out.
7776 2007-05-03 Wim Taymans <wim@fluendo.com>
7778 * libs/gst/base/gstbasetransform.c:
7779 (gst_base_transform_buffer_alloc):
7780 always_in_place does not mean that the sink and source caps are the
7781 same! Make sure we don't blindly proxy the buffer_alloc in this case.
7783 2007-05-03 Wim Taymans <wim@fluendo.com>
7785 * docs/libs/gstreamer-libs-sections.txt:
7786 * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
7787 (gst_base_src_default_query), (gst_base_src_get_range):
7788 * libs/gst/base/gstbasesrc.h:
7789 API: gst_base_src_query_latency(). Added method so that subclasses can
7790 easily get the latency values of the base source class.
7792 2007-05-02 Zaheer Abbas Merali <<zaheerabbas at merali dot org>>
7794 * tools/gst-inspect.c (print_implementation_info):
7797 2007-05-02 Tim-Philipp Müller <tim at centricular dot net>
7799 * tools/Makefile.am:
7800 * tools/gst-launch.1.in:
7801 Don't create a customised man page based on the host architecture,
7802 describe the default registry path generically. That way the man
7803 page is the same for all architectures and packagers have one
7804 multilib issue less to deal with. Fixes #434926.
7806 2007-05-02 Wim Taymans <wim@fluendo.com>
7809 Fix documentation as spotted by rg on IRC.
7811 2007-04-29 Stefan Kost <ensonic@users.sf.net>
7814 Improve docs for gst_element_{link,unlink}.
7816 2007-04-28 Tim-Philipp Müller <tim at centricular dot net>
7818 * docs/design/part-events.txt:
7819 * docs/design/part-overview.txt:
7823 * libs/gst/base/gstbasesink.c:
7824 Typo fixes; minor docs addition.
7826 2007-04-27 Sebastian Dröge <slomo@circular-chaos.org>
7828 * docs/gst/gstreamer-sections.txt:
7829 * gst/gsturi.c: (get_element_factories_from_uri_protocol),
7830 (gst_uri_protocol_is_supported), (gst_element_make_from_uri):
7832 API: Add gst_uri_protocol_is_supported(), which checks if a sink
7833 or src that supports a given URI protocol exists.
7835 2007-04-27 Sebastian Dröge <slomo@circular-chaos.org>
7837 * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
7838 * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
7839 Set the location to NULL if "file://" is set as URI. Otherwise
7840 some random previous URI would still be set if "file://" is
7841 set on an already used filesink/filesrc.
7843 2007-04-27 Sebastian Dröge <slomo@circular-chaos.org>
7845 * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
7846 * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
7847 Special case the "file://" URI as as this is used by some
7848 applications to test with gst_element_make_from_uri if there's
7849 an element that supports the URI protocol.
7850 Also move the g_path_is_absolute() check for the location part
7851 of the URI to also check this for "file://localhost/bla" URIs.
7853 2007-04-26 Tim-Philipp Müller <tim at centricular dot net>
7855 * docs/gst/gstreamer-sections.txt:
7856 * gst/gstbuffer.c: (gst_buffer_try_new_and_alloc):
7858 * tests/check/gst/gstbuffer.c: (GST_START_TEST),
7860 API: add gst_buffer_try_new_and_alloc() plus unit test (#431940).
7862 2007-04-26 Stefan Kost <ensonic@users.sf.net>
7864 * gst/gstregistrybinary.c: (gst_registry_binary_write_cache),
7865 (gst_registry_binary_load_pad_template),
7866 (gst_registry_binary_load_plugin),
7867 (gst_registry_binary_read_cache):
7868 * gst/gstregistrybinary.h:
7869 Implement no-mmap alternative for registry reading. Do code cleanups.
7870 Add more comments about avoiding strdups for all text data. Comments
7873 2007-04-25 Stefan Kost <ensonic@users.sf.net>
7875 * gst/gstregistrybinary.h (GstBinaryPluginElement,
7876 GstBinaryPluginFeature, _GstBinaryElementFactory, plugin_feature,
7877 GstBinaryElementFactory, _GstBinaryTypeFindFactory, plugin_feature):
7878 Comment structs and reformat to fix the build (that stuff should go
7879 into a priv. header).
7881 2007-04-25 Stefan Kost <ensonic@users.sf.net>
7883 * gst/gstregistrybinary.c: (gst_registry_binary_save_feature),
7884 (gst_registry_binary_load_feature):
7885 * gst/gstregistrybinary.h:
7886 Refactor so that we can implement multiple features. Add support for
7887 TypeFindFactory features.
7889 2007-04-24 Stefan Kost <ensonic@users.sf.net>
7891 Patch by: Peter Kjellerstedt <Peter.Kjellerstedt@axis.com>
7894 Fix AM_CONDITIONAL(GST_DISABLE_GST_DEBUG,...) and update comment.
7896 2007-04-23 Stefan Kost <ensonic@users.sf.net>
7898 * gst/gstbin.c: (gst_bin_element_set_state),
7899 (iterator_activate_fold_with_resync), (gst_bin_continue_func),
7900 (bin_handle_async_done), (gst_bin_handle_message_func):
7901 Fix build with --gst-disable-gst-debug
7903 2007-04-21 Tim-Philipp Müller <tim at centricular dot net>
7905 * libs/gst/base/gstbasetransform.c: (gst_base_transform_activate):
7906 Make sure streaming has finished before calling the ::stop() vfunc,
7907 since that vfunc might clear state which is being used in the
7908 streaming thread. This fixes a race that caused crashes in
7909 audioresample when shutting down a pipeline (#420106).
7911 2007-04-20 Stefan Kost <ensonic@users.sf.net>
7913 * docs/gst/gstreamer-sections.txt:
7914 That was one byte missing.
7916 2007-04-20 Stefan Kost <ensonic@users.sf.net>
7919 * docs/gst/gstreamer-sections.txt:
7921 * gst/gstconfig.h.in:
7922 * gst/gstobject.c: (gst_object_class_init),
7923 (gst_signal_object_class_init):
7925 2nd attempt to have a xml-less build as a joined effort of #413123
7928 2007-04-20 Stefan Kost <ensonic@users.sf.net>
7930 * docs/design/draft-tagreading.txt:
7931 Added open issues/thoughts to draft.
7933 2007-04-19 Sebastian Dröge <slomo@circular-chaos.org>
7935 * gst/parse/grammar.tab.pre.c:
7936 * gst/parse/grammar.tab.pre.h:
7937 * gst/parse/lex._gst_parse_yy.pre.c:
7938 Update the prebuild parser sources.
7940 2007-04-19 Sebastian Dröge <slomo@circular-chaos.org>
7942 * gst/parse/Makefile.am:
7943 And now fix the building of the flex sources. Now everything should
7946 2007-04-19 Sebastian Dröge <slomo@circular-chaos.org>
7948 * gst/parse/Makefile.am:
7949 Now hopefully fix the build failures by setting proper rule
7950 dependencies and moving instead of copying.
7952 2007-04-19 Stefan Kost <ensonic@users.sf.net>
7954 * tests/benchmarks/complexity.gnuplot:
7955 * tests/benchmarks/complexity.scm:
7956 * tests/benchmarks/mass-elements.gnuplot:
7957 * tests/benchmarks/mass-elements.scm:
7958 Total licensification.
7960 2007-04-19 Stefan Kost <ensonic@users.sf.net>
7962 * gst/parse/Makefile.am:
7963 Fix the build by correcting the rule that gave wrong files to flex.
7965 2007-04-19 Stefan Kost <ensonic@users.sf.net>
7967 * tests/benchmarks/complexity.c:
7968 * tests/benchmarks/mass-elements.c:
7969 Change licence to LGPL as granted by Benjamin and Andy.
7971 2007-04-19 Sebastian Dröge <slomo@circular-chaos.org>
7973 * gst/parse/Makefile.am:
7974 Add correct grammar.tab.h dependency if compiling without new enough
7975 flex. Fixes #431150.
7977 2007-04-18 Sebastian Dröge <slomo@circular-chaos.org>
7979 * gst/parse/Makefile.am:
7980 Fix typo and use outdated sources if the flex/bison sources are newer
7981 than the pregenerated ones but flex is too old. Print a warning in
7982 that case. This should fix the build on the build bot.
7984 2007-04-18 Sebastian Dröge <slomo@circular-chaos.org>
7986 Patch by: Marc-Andre Lureau <marcandre dot lureau at gmail dot com>
7987 * gst/parse/Makefile.am:
7988 * gst/parse/grammar.y:
7989 * gst/parse/parse.l:
7990 Make the parser reentrant and recursively callable. This requires flex
7991 >= 2.5.31, for older versions pregenerated sources are used as we
7992 can't bump the build dependency. Finally fixes #349180.
7994 * gst/gstparse.c: (gst_parse_launch):
7995 Drop the HAVE_MT_SAVE_FLEX #ifdefs as we always use a new enough flex
7998 * docs/gst/Makefile.am:
7999 * docs/gst/Makefile.am:
8000 * gst/parse/grammar.tab.pre.c: (__gst_parse_strdup),
8001 (__gst_parse_strfree), (__gst_parse_link_new),
8002 (__gst_parse_link_free), (__gst_parse_chain_new),
8003 (__gst_parse_chain_free), (SET_ERROR), (YYPRINTF),
8004 (gst_parse_element_set), (gst_parse_free_link),
8005 (gst_parse_found_pad), (gst_parse_perform_delayed_link),
8006 (gst_parse_perform_link), (yytnamerr), (yysyntax_error), (yyerror),
8007 (_gst_parse_launch):
8008 * gst/parse/grammar.tab.pre.h:
8009 * gst/parse/lex._gst_parse_yy.pre.c: (PRINT), (yy_get_next_buffer),
8010 (yy_get_previous_state), (yy_try_NUL_trans), (input),
8011 (_gst_parse_yyrestart), (_gst_parse_yy_switch_to_buffer),
8012 (_gst_parse_yy_load_buffer_state), (_gst_parse_yy_create_buffer),
8013 (_gst_parse_yy_delete_buffer), (_gst_parse_yy_init_buffer),
8014 (_gst_parse_yy_flush_buffer), (_gst_parse_yypush_buffer_state),
8015 (_gst_parse_yypop_buffer_state),
8016 (_gst_parse_yyensure_buffer_stack), (_gst_parse_yy_scan_buffer),
8017 (_gst_parse_yy_scan_string), (_gst_parse_yy_scan_bytes),
8018 (yy_fatal_error), (_gst_parse_yyget_extra),
8019 (_gst_parse_yyget_lineno), (_gst_parse_yyget_column),
8020 (_gst_parse_yyget_in), (_gst_parse_yyget_out),
8021 (_gst_parse_yyget_leng), (_gst_parse_yyget_text),
8022 (_gst_parse_yyset_extra), (_gst_parse_yyset_lineno),
8023 (_gst_parse_yyset_column), (_gst_parse_yyset_in),
8024 (_gst_parse_yyset_out), (_gst_parse_yyget_debug),
8025 (_gst_parse_yyset_debug), (_gst_parse_yyget_lval),
8026 (_gst_parse_yyset_lval), (_gst_parse_yylex_init),
8027 (yy_init_globals), (_gst_parse_yylex_destroy), (yy_flex_strncpy),
8028 (yy_flex_strlen), (_gst_parse_yyalloc), (_gst_parse_yyrealloc),
8029 (_gst_parse_yyfree):
8030 If the installed flex version is too old use pre-generated parser
8031 sources. These pre-generated parser sources are always updated when
8032 the actual flex/bison sources change but require everybody who wants
8033 to change something in the parser to have flex >= 2.5.31 installed.
8035 2007-04-18 Stefan Kost <ensonic@users.sf.net>
8037 * common/m4/gst-gettext.m4:
8038 * gst/gst-i18n-lib.h:
8039 Make --disable-nls to work
8041 2007-04-17 Wim Taymans <wim@fluendo.com>
8043 * gst/gstconfig.h.in:
8044 Revert previous change that broke the build.
8046 2007-04-17 Stefan Kost <ensonic@users.sf.net>
8050 * gst/gstconfig.h.in:
8051 Drop libxml2 dependency when building with
8052 --enable-binary-registry --disable-loadsave
8054 2007-04-16 Tim-Philipp Müller <tim at centricular dot net>
8056 * gst/gstregistrybinary.c: (gst_registry_binary_write_cache),
8057 (gst_registry_binary_read_cache):
8058 * gst/gstregistrybinary.h:
8059 Remove unnecessary <sys/mman.h> include which broke the win32 build
8060 with MingW; move includes from header file to .c file, even if the
8061 header file isn't installed; use g_strerror() where UTF-8 strings
8062 are expected, such as in GST_DEBUG messages.
8064 2007-04-13 Jan Schmidt <thaytan@mad.scientist.com>
8066 * docs/libs/gstreamer-libs-sections.txt:
8067 Remove bogus addition for API I didn't end up keeping.
8069 * libs/gst/base/gstbasesrc.h:
8070 Mention Since: 0.10.13 in the documentation.
8072 Add the API keyword to the previous ChangeLog entry.
8074 2007-04-13 Jan Schmidt <thaytan@mad.scientist.com>
8076 * docs/libs/gstreamer-libs-sections.txt:
8077 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
8078 (gst_base_src_default_prepare_seek_segment),
8079 (gst_base_src_prepare_seek_segment), (gst_base_src_perform_seek):
8080 * libs/gst/base/gstbasesrc.h:
8081 Allow basesrc derived classes to execute seeks in other formats
8082 by providing a prepare_seek_segment vmethod. Sub-classes can choose
8083 to prepare the GstSegment in any format that their perform_seek method
8084 will be able to understand. The default implementation provides the
8085 old behaviour of attempting to convert the seek offsets to the
8086 configured native format.
8088 API: basesrc::prepare_seek_segment vmethod.
8090 2007-04-13 Jan Schmidt <thaytan@mad.scientist.com>
8092 * gst/gstelement.c: (gst_element_get_state_func):
8093 Don't output the same debug statement twice.
8095 * libs/gst/base/gstadapter.c: (gst_adapter_try_to_merge_up),
8096 (gst_adapter_peek), (gst_adapter_take_buffer):
8097 Optimise the case where we have buffers at the head of the queue that
8098 can be joined quickly (because they're contiguous sub-buffers) by
8099 merging them together rather than copying data out into new memory.
8101 * gst/parse/grammar.y:
8102 * tests/check/pipelines/parse-launch.c:
8103 Fix a leak in an error path for parse_launch, and add a check
8104 for it to the testsuite.
8106 2007-04-13 Jan Schmidt <thaytan@mad.scientist.com>
8108 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_release_pad):
8109 Don't deadlock when releasing a pad - gst_pad_set_active may try
8110 and take the multiqueue lock too.
8112 2007-04-12 Tim-Philipp Müller <tim at centricular dot net>
8114 * gst/gsterror.c: (_gst_core_errors_init):
8116 API: add GST_CORE_ERROR_DISABLED (#392804).
8118 2007-04-12 Thomas Vander Stichele <thomas at apestaart dot org>
8120 * docs/faq/gst-uninstalled:
8121 don't get empty paths on the PATH variables
8122 * gst/gstpad.c (gst_pad_is_active, gst_pad_set_blocked_async):
8123 Don't format for the uncommon terminal width of 84 characters.
8125 2007-04-06 Wim Taymans <wim@fluendo.com>
8127 * gst/gstpipeline.c: (reset_stream_time),
8128 (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time):
8129 Only try to select a different pipeline clock when we went back to
8130 PAUSED and not when we merely got flushed.
8132 2007-04-05 Michael Smith <msmith@fluendo.com>
8134 * tools/gst-launch.1.in:
8135 fractions are better supported in gstreamer than ractions, so
8136 suggest using those.
8138 2007-04-05 Thomas Vander Stichele <thomas at apestaart dot org>
8140 Submitted by: Mogens Jaeger <mogens@jaeger.tf>
8144 Added Danish translation.
8146 2007-04-05 Wim Taymans <wim@fluendo.com>
8148 * libs/gst/base/gstbasesink.c:
8149 (gst_base_sink_queue_object_unlocked), (gst_base_sink_event):
8150 Fix leak caused when refusing newsegment after EOS.
8152 * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init),
8153 (gst_fake_sink_init), (gst_fake_sink_set_property),
8154 (gst_fake_sink_get_property), (gst_fake_sink_preroll),
8155 (gst_fake_sink_render), (gst_fake_sink_change_state):
8156 * plugins/elements/gstfakesink.h:
8157 Add num-buffers property to make the element generate EOS after a
8158 configurable amount of buffers.
8159 API: fakesink::num-buffers property.
8161 * tests/check/elements/fakesink.c: (GST_START_TEST),
8163 Fix GstBus leak in test.
8164 Test for fakesink num-buffers.
8166 2007-04-05 Wim Taymans <wim@fluendo.com>
8168 * libs/gst/base/gstbasesink.c:
8169 (gst_base_sink_queue_object_unlocked), (gst_base_sink_event),
8170 (gst_base_sink_change_state):
8171 Don't accept anything after an EOS, return UNEXPECTED instead.
8173 * tests/check/elements/fakesink.c: (GST_START_TEST),
8175 Unit test for new EOS behaviour.
8177 2007-04-05 Wim Taymans <wim@fluendo.com>
8179 * gst/gstelement.c: (gst_element_get_request_pad):
8180 Make padtemplates also work when they don't contain %s or %d.
8182 2007-04-05 Wim Taymans <wim@fluendo.com>
8184 * docs/gst/gstreamer-sections.txt:
8185 * gst/gstclock.c: (gst_clock_adjust_unlocked),
8186 (gst_clock_unadjust_unlocked), (gst_clock_set_calibration):
8188 Improve _adjust_unlocked() so that it overflows less.
8189 Add gst_clock_unadjust_unlocked to convert from external time to
8190 internal time based on calibration.
8191 Add some more debug.
8192 API: GstClock::gst_clock_unadjust_unlocked()
8194 2007-04-03 Wim Taymans <wim@fluendo.com>
8196 Patch by: Tommi Myöhänen <ext-tommi dot myohanen at nokia dot com>
8198 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_release_pad):
8199 Deactivate pads and free GstSingleQueue with gst_single_queue_free()
8200 when releasing sink pad. Fixes #425400.
8202 2007-04-02 Stefan Kost <ensonic@users.sf.net>
8204 * docs/random/ensonic/dynlink.txt:
8205 More work on proposal for new core api.
8207 * docs/libs/gstreamer-libs-sections.txt:
8208 * libs/gst/base/gstbasetransform.h:
8209 API: GST_BASE_TRANSFORM_LOCK/UNLOCK added
8211 * libs/gst/controller/gstcontroller.c:
8212 (on_object_controlled_property_changed),
8213 (gst_controller_sync_values),
8214 (gst_controller_set_interpolation_mode):
8215 * libs/gst/controller/gstcontroller.h:
8216 Less verbose logging add docs for unimplemented parts and correctly
8217 return when using unavailable parts.
8219 2007-03-29 Jan Schmidt <thaytan@mad.scientist.com>
8221 * gst/gstclock.c: (gst_clock_set_master), (do_linear_regression):
8222 Move all the debug to the CLOCK category, and associate it with
8225 2007-03-29 Jan Schmidt <thaytan@mad.scientist.com>
8227 * libs/gst/base/gstadapter.c: (gst_adapter_take_buffer):
8228 Make take_buffer a bit quicker by removing redundant checks
8229 caused by calling gst_adapter_take.
8231 2007-03-28 Tim-Philipp Müller <tim at centricular dot net>
8233 * plugins/elements/gstmultiqueue.c: (gst_single_queue_free):
8236 * tests/check/Makefile.am:
8237 * tests/check/elements/.cvsignore:
8238 * tests/check/elements/multiqueue.c: (setup_multiqueue),
8239 (GST_START_TEST), (multiqueue_suite):
8240 Add some dead simple unit tests for the 'multiqueue' element
8241 (some bits don't work yet and are disabled for now).
8243 2007-03-28 Tim-Philipp Müller <tim at centricular dot net>
8245 * gst/gstelement.c: (gst_element_get_request_pad),
8246 (gst_element_class_get_request_pad_template):
8247 Make gst_element_get_request_pad() create request pads only for
8248 request pad templates and not for, say, sometimes pad templates.
8250 2007-03-28 Stefan Kost <ensonic@users.sf.net>
8252 * docs/design/draft-klass.txt:
8253 Add example that needs more thinking.
8255 * docs/design/draft-missing-plugins.txt:
8256 More thoughts about wrapper plugins.
8258 * docs/random/ensonic/embedded.txt:
8259 * docs/random/ensonic/profiling.txt:
8262 2007-03-25 Wim Taymans <wim@fluendo.com>
8264 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range),
8265 (gst_base_src_loop):
8266 Only push the segment events in the PLAYING state for live sources.
8268 2007-03-23 Jan Schmidt <thaytan@mad.scientist.com>
8270 * gst/gstpipeline.c: (gst_pipeline_change_state):
8271 Modify the clock distribution path in PAUSED->PLAYING so that we
8272 never attempt to choose a new clock unless we're actually leaving
8273 the PAUSED state for the first time. This prevents choosing a
8274 different clock when the state_change gets called for a 2nd time due
8275 to some element doing an async state change.
8277 2007-03-22 Sebastian Dröge <slomo@circular-chaos.org>
8279 * gst/gstpad.c: (gst_pad_set_caps), (gst_pad_configure_sink),
8280 (gst_pad_configure_src), (gst_pad_alloc_buffer_full),
8281 (gst_pad_chain_unchecked), (gst_pad_push):
8282 Revert last commit. This needs some more thoughts.
8284 2007-03-22 Sebastian Dröge <slomo@circular-chaos.org>
8286 * gst/gstpad.c: (gst_pad_set_caps), (gst_pad_alloc_buffer_full),
8287 (gst_pad_chain_unchecked), (gst_pad_push):
8288 Check in set_caps if the caps are compatible with the pad and remove
8289 two functions that are redundant now. Fixes #421543.
8291 2007-03-22 Wim Taymans <wim@fluendo.com>
8293 * tests/check/gst/gstsystemclock.c: (GST_START_TEST),
8294 (mixed_thread), (mixed_async_cb), (gst_systemclock_suite):
8295 Unref some more to make valgrind happy.
8297 2007-03-22 Wim Taymans <wim@fluendo.com>
8299 * gst/gstsystemclock.c: (gst_system_clock_id_wait_jitter_unlocked),
8300 (gst_system_clock_id_wait_jitter),
8301 (gst_system_clock_id_wait_async), (gst_system_clock_id_unschedule):
8302 Fix anoying regression that survived a few releases. When adding an
8303 async entry while blocking on a sync entry, the sync entry will unblock
8304 but still be busy, so it should continue to wait instead of returning
8306 Add some comments here and there.
8308 * tests/check/gst/gstsystemclock.c: (mixed_thread),
8309 (mixed_async_cb), (GST_START_TEST), (gst_systemclock_suite):
8310 Add testcase for this.
8312 2007-03-22 Wim Taymans <wim@fluendo.com>
8314 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
8315 Handle errors from the clock sync better, only UNSCHEDULED indicates a
8316 WRONG_STATE and can silently pause the task. All other cases should
8319 2007-03-22 Wim Taymans <wim@fluendo.com>
8321 Patch by: Ville Syrjala <syrjala at sci dot fi>
8323 * gst/gstpad.c: (gst_pad_alloc_buffer_full), (gst_pad_send_event):
8324 Fix possible deadlock if pad eventfunc is not specified. Fixes #421177.
8327 2007-03-21 Michael Smith <msmith@fluendo.com>
8329 * docs/pwg/advanced-types.xml:
8330 Fix some errors in the typefinding docs pointed out on irc.
8332 2007-03-21 Jan Schmidt <thaytan@mad.scientist.com>
8334 * libs/gst/base/gstbasesrc.c:
8335 Clarify FIXME comment in the face of having added unlock_stop()
8337 2007-03-21 Wim Taymans <wim@fluendo.com>
8339 * gst/gstbin.c: (gst_bin_get_type), (gst_bin_element_set_state):
8340 Prepare for release where we warn against possible app breakage in the
8341 case of live pipelines along with an env var to enable/disable live
8342 preroll mode (GST_COMPAT=[no-]live-preroll).
8344 2007-03-20 Zaheer Abbas Merali <zaheerabbas at merali dot org>
8346 * plugins/elements/gstidentity.c (gst_identity_check_imperfect_offset):
8347 So we should use correct constants for checking for None offset.
8349 2007-03-20 Wim Taymans <wim@fluendo.com>
8351 * docs/design/part-block.txt:
8352 Mention the fact that the newly switched element should be set to at
8355 2007-03-20 Wim Taymans <wim@fluendo.com>
8358 Fix compilation with registry disabled as spotted by Saur.
8360 2007-03-20 Wim Taymans <wim@fluendo.com>
8362 Patch by: Olivier Crete <tester at tester dot ca>
8364 * gst/gstelement.c: (gst_element_sync_state_with_parent):
8365 Look at the pending state too when syncing the element state to the
8366 parent. Fixes #420133.
8368 2007-03-19 Jan Schmidt <thaytan@mad.scientist.com>
8370 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_flushing),
8371 (gst_base_sink_change_state):
8372 * libs/gst/base/gstbasesink.h:
8373 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
8374 (gst_base_src_default_event), (gst_base_src_unlock_stop),
8375 (gst_base_src_deactivate):
8376 * libs/gst/base/gstbasesrc.h:
8377 Add ::unlock_stop to basesrc and basesink. This allows an opportunity
8378 for sub-classes to correctly clear any state they set trying to
8379 unlock, such as clearing out unlock commands from a command fd.
8380 API: basesrc::unlock_stop
8381 API: basesink::unlock_stop
8383 * plugins/elements/gstfdsink.c: (gst_fd_sink_class_init),
8384 (gst_fd_sink_render), (gst_fd_sink_unlock),
8385 (gst_fd_sink_unlock_stop):
8386 * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init),
8387 (gst_fd_src_init), (gst_fd_src_unlock), (gst_fd_src_unlock_stop),
8388 (gst_fd_src_create), (gst_fd_src_get_size), (gst_fd_src_do_seek):
8390 Implement unlock_stop in fdsrc and fdsink.
8391 Implement seeking in fdsrc when a seekable fd is passed, as in
8392 gst-launch-0.10 fdsrc ! ... ! xvimagesink < /path/to/file
8394 2007-03-19 Wim Taymans <wim@fluendo.com>
8396 Patch by: Evan Nemerson <evan at coeus dash group dot com>
8398 * gst/gstelement.c: (gst_element_class_init):
8399 Fix pad-added and pad-removed signal signatures so that the pad type is
8400 stated as GST_TYPE_PAD instead of G_TYPE_OBJECT. Fixes #419851.
8402 2007-03-19 Wim Taymans <wim@fluendo.com>
8404 * docs/gst/gstreamer-sections.txt:
8405 Add new element field and method.
8407 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
8408 (bin_remove_messages), (gst_bin_add_func), (gst_bin_remove_func),
8409 (gst_bin_recalc_state), (gst_bin_get_state_func),
8410 (gst_bin_element_set_state), (gst_bin_change_state_func),
8411 (gst_bin_continue_func), (bin_bus_handler),
8412 (bin_push_state_continue), (bin_handle_async_start),
8413 (bin_handle_async_done), (gst_bin_handle_message_func):
8414 Make async state changes a bit smarter by using new ASYNC_START and
8415 ASYNC_DONE messages. This reduces the number of times we run the state
8416 recalculation thread.
8417 Don't change state of element with a pending ASYNC_START message.
8418 Deprecate STATE_DIRTY messages.
8420 * gst/gstelement.c: (gst_element_init), (gst_element_send_event),
8421 (gst_element_get_state_func), (gst_element_continue_state),
8422 (gst_element_lost_state), (gst_element_set_state_func),
8423 (gst_element_change_state):
8425 Keep the state that was last set by the app in a new element field.
8426 Don't allow state changes when handling an element event.
8427 Post ASYNC_START and ASYNC_DONE messages.
8428 Change lost_state so that we go to PAUSED and wait for the parent to set
8429 us to PLAYING again (so latency calculation can be performed)
8430 Export gst_element_change_state() method so that subclasses can use it.
8431 API: gst_element_change_state()
8432 API: GST_STATE_TARGET
8434 * gst/gstpipeline.c: (gst_pipeline_class_init),
8435 (reset_stream_time), (gst_pipeline_change_state),
8436 (gst_pipeline_handle_message), (gst_pipeline_set_new_stream_time):
8437 Using the new ASYNC_START message we can reset the base_time when
8438 needed. This can then be used to implement base_time redistribution in
8439 flushing seeks so that we can remove the explicit seek handling.
8440 Perform latency query and configuration when going to PLAYING.
8442 * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
8443 (gst_base_sink_query), (gst_base_sink_change_state):
8444 Post new ASYNC_START/ASYNC_DONE messages.
8446 * tests/check/generic/sinks.c: (GST_START_TEST):
8447 Fix test because the bin will not set the async element to PLAYING right
8450 * tests/check/gst/gstbin.c: (pop_async_done), (GST_START_TEST):
8451 Make the message check a little stronger.
8452 Handle ASYNC messages.
8454 * tests/check/pipelines/cleanup.c: (GST_START_TEST):
8455 * tests/check/pipelines/simple-launch-lines.c: (GST_START_TEST):
8456 Expect ASYNC_DONE messages.
8458 2007-03-19 Wim Taymans <wim@fluendo.com>
8460 * docs/gst/gstreamer-sections.txt:
8461 * gst/gstmessage.c: (gst_message_new_async_start),
8462 (gst_message_new_async_done), (gst_message_parse_info),
8463 (gst_message_parse_async_start):
8465 Add ASYNC_START and ASYNC_DONE messages to prepare for latency
8468 2007-03-15 Tim-Philipp Müller <tim at centricular dot net>
8470 * tools/gst-inspect.c:
8471 (print_plugin_automatic_install_info_codecs):
8472 Now that we don't check for the 'Codec' keyword any longer in the
8473 klass, we shouldn't spew a warning if the klass isn't a decoder or
8474 encoder (since it might be a Source/Network, for example).
8476 2007-03-14 Tim-Philipp Müller <tim at centricular dot net>
8478 * tools/gst-inspect.c:
8479 (print_plugin_automatic_install_info_codecs):
8480 Don't require decoder/demuxer/depayloader elements or
8481 encoder/muxer/paylader elements to have 'Codec' as part of their
8482 factory class string when introspecting a plugin's capabilities.
8483 draft-klass.txt mentions that it might be removed in future, and
8484 flump3dec doesn't have it as part of its class string, so chances
8485 are others might also not have it.
8487 2007-03-14 Thomas Vander Stichele <thomas at apestaart dot org>
8509 Update translations from translation project
8511 2007-03-14 Stefan Kost <ensonic@users.sf.net>
8513 * gst/gstchildproxy.c: (gst_child_proxy_get_property),
8514 (gst_child_proxy_set_property):
8515 Invert precondition check to be alike the ones in the mimiced gobject
8518 2007-03-13 Stefan Kost <ensonic@users.sf.net>
8520 * docs/design/draft-tagreading.txt:
8521 * docs/random/ensonic/audiobaseclasses.txt:
8522 Do some Architect work.
8524 * gst/gstobject.c: (gst_object_set_name):
8528 Add docs that point from gst_pad_get_range to gst_pad_pull_range
8530 2007-03-12 Jan Schmidt <thaytan@mad.scientist.com>
8532 * gst/gstsystemclock.c: (gst_system_clock_init),
8533 (gst_system_clock_start_async), (gst_system_clock_id_wait_async):
8534 Defer starting the async system clock thread until the first async
8535 wait is scheduled. Fixes #414986.
8537 2007-03-12 Tim-Philipp Müller <tim at centricular dot net>
8539 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_finalize),
8540 (gst_single_queue_free):
8541 Fix small leak (free GstSingleQueue structure too, not only contents).
8543 2007-03-10 Sebastien Moutte <sebastien@moutte.net>
8545 * gst/gstbin.c:(gst_bin_add):
8546 Use GST_STR_NULL to prevent NULL pointer to be passed to GST_CAT_DEBUG.
8547 * win32/common/libgstbase.def:
8548 * win32/common/libgstreamer.def:
8549 Add new exported functions.
8551 2007-03-09 Wim Taymans <wim@fluendo.com>
8553 * docs/plugins/gstreamer-plugins-sections.txt:
8556 2007-03-09 Wim Taymans <wim@fluendo.com>
8558 * docs/gst/gstreamer-sections.txt:
8559 * gst/gstbuffer.c: (gst_buffer_copy_metadata), (_gst_buffer_copy):
8561 Add metadata copy functions. Fixes #393099.
8562 API: gst_buffer_copy_metadata()
8564 * gst/gstutils.c: (gst_buffer_stamp):
8565 * libs/gst/base/gstbasetransform.c:
8566 (gst_base_transform_prepare_output_buffer):
8567 Use new metadata copy functions.
8569 2007-03-09 Thomas Vander Stichele <thomas at apestaart dot org>
8571 * plugins/elements/gstidentity.c: (gst_identity_class_init),
8572 (gst_identity_init), (gst_identity_check_perfect),
8573 (gst_identity_check_imperfect_timestamp),
8574 (gst_identity_check_imperfect_offset), (gst_identity_transform_ip),
8575 (gst_identity_set_property), (gst_identity_get_property):
8576 * plugins/elements/gstidentity.h:
8577 Separate out check-imperfect-timestamp and check-imperfect-offset.
8578 Put back check-perfect as it was to keep compatibility.
8580 2007-03-09 Jan Schmidt <thaytan@mad.scientist.com>
8582 * gst/gstelement.c: (gst_element_dispose):
8583 There's no need to warn if VOID_PENDING is not NONE here, as
8584 long as the state is NULL it's ok, and that's checked immediately
8587 2007-03-08 Zaheer Abbas Merali <zaheerabbas at merali dot org>
8589 * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
8590 Fix check for perfect stream to ignore buffers with -1
8591 offsets/offset ends when checking data contiguity.
8593 2007-03-08 Wim Taymans <wim@fluendo.com>
8595 * tools/gst-launch.c: (event_loop):
8596 Print INFO messages.
8598 2007-03-08 Wim Taymans <wim@fluendo.com>
8600 * libs/gst/base/gstbasetransform.c:
8601 (gst_base_transform_sink_eventfunc),
8602 (gst_base_transform_handle_buffer), (gst_base_transform_chain),
8603 (gst_base_transform_activate):
8604 * libs/gst/base/gstbasetransform.h:
8605 Add support for dropping buffers with custom GstFlowReturn.
8606 Set DISCONT flags on outgoing buffers based on QoS, incomming DISCONT
8607 buffers or dropped buffers.
8609 * docs/libs/gstreamer-libs-sections.txt:
8610 docs for new custom return code.
8612 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
8613 Use drop support in base class to implement drop-probability.
8615 2007-03-07 Tim-Philipp Müller <tim at centricular dot net>
8617 * gst/gst.c: (load_plugin_func):
8618 * gst/gstplugin.c: (gst_plugin_load_by_name), (gst_plugin_load):
8619 * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
8620 * gst/gsttrace.c: (gst_trace_new), (gst_alloc_trace_set_flags_all):
8621 Remove newlines at end of debug log strings.
8623 2007-03-07 Zaheer Abbas Merali <zaheerabbas at merali dot org>
8625 * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
8626 Only post bus message at max, once per buffer received.
8628 2007-03-07 Wim Taymans <wim@fluendo.com>
8630 * docs/design/Makefile.am:
8631 * docs/design/part-synchronisation.txt:
8632 Add doc about synchronisation
8634 * docs/design/draft-latency.txt:
8635 * docs/design/part-TODO.txt:
8636 * docs/design/part-clocks.txt:
8637 * docs/design/part-events.txt:
8638 * docs/design/part-gstbus.txt:
8639 * docs/design/part-gstpipeline.txt:
8640 * docs/design/part-live-source.txt:
8641 * docs/design/part-messages.txt:
8642 * docs/design/part-overview.txt:
8643 * docs/design/part-streams.txt:
8644 * docs/design/part-trickmodes.txt:
8645 Documentation updates.
8647 2007-03-07 Jan Schmidt <thaytan@mad.scientist.com>
8650 Update the doap file.
8652 2007-03-07 Zaheer Abbas Merali <zaheerabbas at merali dot org>
8654 * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
8655 Rename non-perfect to imperfect for Mike and for the sanctity of the
8657 Also make sure bus message gets emitted for data-incontiguities.
8659 2007-03-07 Zaheer Abbas Merali <zaheerabbas at merali dot org>
8661 * plugins/elements/gstidentity.c: (gst_identity_check_perfect),
8662 (gst_identity_start):
8663 * plugins/elements/gstidentity.h:
8664 Emit bus message if check-perfect is true and we encounter a
8665 non-perfect stream between 2 consecutive buffers.
8668 2007-03-07 Jan Schmidt <thaytan@mad.scientist.com>
8673 === release 0.10.12 ===
8675 2007-03-07 Jan Schmidt <thaytan@mad.scientist.com>
8678 releasing 0.10.12, "Inevitable Demise"
8680 2007-03-01 Jan Schmidt <thaytan@mad.scientist.com>
8683 Version 0.10.11.2 (0.10.12 pre-release)
8684 Bump libtool versioning.
8686 2007-03-01 Stefan Kost <ensonic@users.sf.net>
8688 * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
8689 Log flow-names and not numbers.
8691 2007-02-28 Thomas Vander Stichele <thomas at apestaart dot org>
8694 Convert to new AG_GST style.
8696 2007-02-28 Wim Taymans <wim@fluendo.com>
8698 * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency):
8699 Don't unref query twice.
8701 2007-02-28 Wim Taymans <wim@fluendo.com>
8703 * gst/gstvalue.c: (gst_value_transform_object_string),
8704 (_gst_value_initialize):
8705 Implement GstObject -> string transform so we print object names
8706 when serializing GValues containing GstObjects.
8708 2007-02-28 Wim Taymans <wim@fluendo.com>
8710 * docs/gst/gstreamer-sections.txt:
8711 Add new stuff to docs.
8713 2007-02-28 Wim Taymans <wim@fluendo.com>
8715 * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
8716 (gst_base_sink_queue_object_unlocked), (gst_base_sink_send_event),
8717 (gst_base_sink_change_state):
8718 Improve latency query code.
8719 Don't leak latency events.
8721 * tests/check/gst/gstbin.c: (GST_START_TEST):
8724 2007-02-28 Wim Taymans <wim@fluendo.com>
8726 * gst/gstelement.c: (gst_element_message_full),
8727 (gst_element_get_state_func):
8729 Improve docs a little. Added Since: for new macro.
8731 * gst/gstobject.c: (gst_object_sink):
8732 * gst/gstpipeline.c: (gst_pipeline_change_state),
8733 (gst_pipeline_set_new_stream_time):
8734 * gst/gstpipeline.h:
8735 Improve debugging and docs.
8737 * gst/gstutils.c: (gst_element_state_change_return_get_name):
8740 2007-02-28 Wim Taymans <wim@fluendo.com>
8742 * gst/gstelement.c: (gst_element_message_full),
8743 (gst_element_set_locked_state), (gst_element_get_state_func),
8744 (gst_element_change_state):
8745 Handle INFO messages from the GST_ELEMENT_INFO macro as well.
8746 Documentation updates.
8747 Small code cleanups.
8749 * gst/gstmessage.c: (gst_message_new_info),
8750 (gst_message_parse_info):
8752 API: gst_message_new_info()
8753 API: gst_message_parse_info()
8754 Add INFO message create and parse code.
8756 2007-02-28 Wim Taymans <wim@fluendo.com>
8758 * gst/gstbin.c: (bin_query_min_max_init), (bin_query_latency_fold),
8759 (bin_query_latency_done):
8760 Also report the live parameter of a latency query.
8762 2007-02-28 Thomas Vander Stichele <thomas at apestaart dot org>
8764 * tests/check/generic/states.c: (GST_START_TEST), (states_suite):
8765 Copy the current generic/states example from -base and adapt so
8766 we can use the exact same code everywhere.
8767 Check a STATES_IGNORE_ELEMENTS env var which can be used
8768 to ignore certain element factories for this test, which is
8769 what is being done in -base
8770 * tests/check/Makefile.am:
8771 Mention this environment variable.
8773 2007-02-27 Wim Taymans <wim@fluendo.com>
8775 * docs/gst/gstreamer-sections.txt:
8776 * gst/gstbus.c: (gst_bus_init), (gst_bus_dispose), (gst_bus_post),
8777 (gst_bus_timed_pop), (gst_bus_pop):
8779 API: gst_bus_timed_pop()
8780 Implement gst_bus_timed_pop() to do a blocking timed wait for a
8781 message to arrive on the bus.
8783 * tests/check/gst/gstbus.c: (GST_START_TEST), (pop_thread),
8785 Two unit tests for new _timed_pop() function.
8787 2007-02-23 Wim Taymans <wim@fluendo.com>
8789 * gst/gstpipeline.c: (gst_pipeline_change_state),
8790 (gst_pipeline_provide_clock_func), (gst_pipeline_set_delay):
8791 Don't ref a NULL clock in _provide_clock_func().
8792 Don't allow an INVALID delay.
8793 Don't try to calculate base_time with an invalid start_time.
8794 Also distribute and notify a NULL clock when it was selected.
8796 * tools/gst-launch.c: (event_loop):
8797 Don't crash when a NULL clock was selected in the pipeline.
8799 2007-02-23 Tim-Philipp Müller <tim at centricular dot net>
8801 * docs/design/Makefile.am:
8802 * docs/design/draft-missing-plugins.txt:
8803 * docs/random/draft-missing-plugins.txt:
8804 Some small updates: update plugin system identifier prefix
8805 ('gstreamer.net' to 'gstreamer'), mention our new install
8806 API in libgstbaseutils rather than libgimme-codec, add
8807 reference to the online docs.
8809 2007-02-21 Thomas Vander Stichele <thomas at apestaart dot org>
8811 * win32/common/config.h:
8812 Pretty sure Bill never made a powerpc version. Powerpc hackers,
8813 use moap cl ci to only check in what is mentioned in the ChangeLog.
8815 2007-02-21 Thomas Vander Stichele <thomas at apestaart dot org>
8817 * docs/gst/gstreamer-sections.txt:
8819 Fix up documentation to link to the correct GstGError section.
8820 Add GST_ELEMENT_INFO macro since someone else added a Info message.
8822 2007-02-21 Thomas Vander Stichele <thomas at apestaart dot org>
8824 * tools/gst-launch.c: (event_loop):
8825 Make sure that we actually show the important message part of a
8827 No need to check if the gerror is not NULL to free; first of all
8828 g_free accepts NULL; and second the default error handler would
8829 segfault if gerror was NULL.
8831 2007-02-21 Wim Taymans <wim@fluendo.com>
8833 * docs/gst/gstreamer-sections.txt:
8834 Removed docs as well.
8836 2007-02-21 Wim Taymans <wim@fluendo.com>
8838 * gst/gstmessage.c: (gst_message_parse_duration):
8840 Remove new messages for release.
8842 2007-02-20 Wim Taymans <wim@fluendo.com>
8844 * docs/design/part-gstghostpad.txt:
8845 * gst/gstghostpad.c: (gst_ghost_pad_dispose),
8846 (gst_ghost_pad_new_full):
8847 Make the ghostpad a parent of the internal pad again for better backward
8848 compatibility. Don't write code that relies on this however.
8850 * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_activate_push),
8851 (gst_pad_link_check_hierarchy):
8852 Require that parents should be GstElements in the hierarchy check.
8854 2007-02-20 Wim Taymans <wim@fluendo.com>
8856 * gst/gstbin.c: (bin_replace_message), (gst_bin_add_func),
8857 (gst_bin_change_state_func), (bin_query_min_max_init),
8858 (bin_query_latency_fold), (bin_query_latency_done),
8861 Implement latency query.
8863 2007-02-20 Wim Taymans <wim@fluendo.com>
8865 * docs/design/part-gstghostpad.txt:
8866 * gst/gstghostpad.c: (gst_ghost_pad_class_init),
8867 (gst_ghost_pad_internal_do_activate_push),
8868 (gst_ghost_pad_internal_do_activate_pull),
8869 (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
8870 (gst_ghost_pad_do_link), (gst_ghost_pad_dispose),
8871 (gst_ghost_pad_new_full), (gst_ghost_pad_set_target):
8872 Do not set the internal pad as a parent anymore so we can avoid
8873 hierarchy linking errors when the ghostpad has no parent yet. This also
8874 fixes failed activation because of unlinked internal pads, which in
8875 turn fixes the impossible case where you have to activate a pad before
8876 you can add it to a running element.
8879 * gst/gstpad.c: (pre_activate), (post_activate),
8880 (gst_pad_set_active), (gst_pad_activate_pull),
8881 (gst_pad_activate_push), (gst_pad_check_pull_range):
8882 Add some more debug info.
8883 Mark activation mode in pre_activate so that we don't try to activate in
8884 endless loops. Fixes #385084.
8886 2007-02-19 Wim Taymans <wim@fluendo.com>
8888 * libs/gst/base/gstbasetransform.c: (gst_base_transform_init),
8889 (gst_base_transform_check_get_range):
8890 Implement a checkgetrange function instead of relying on the default
8891 core behaviour that assumes we can operate in pull mode if we have a
8892 getrange function. First step at fixing #385084.
8894 2007-02-15 Stefan Kost <ensonic@users.sf.net>
8896 * gst/gstchildproxy.h:
8897 * libs/gst/base/gstbasesink.h:
8898 * libs/gst/base/gstbasesrc.h:
8899 * libs/gst/base/gstbasetransform.h:
8900 More docs coverage and some ChangeLog surgery (add missing names)
8902 2007-02-15 Wim Taymans <wim@fluendo.com>
8904 * docs/design/part-TODO.txt:
8905 * docs/design/part-activation.txt:
8906 * docs/design/part-block.txt:
8907 * docs/design/part-buffering.txt:
8908 * docs/design/part-clocks.txt:
8909 * docs/design/part-element-source.txt:
8910 * docs/design/part-events.txt:
8911 * docs/design/part-gstbin.txt:
8912 * docs/design/part-gstbus.txt:
8913 * docs/design/part-gstpipeline.txt:
8914 * docs/design/part-live-source.txt:
8915 * docs/design/part-messages.txt:
8916 * docs/design/part-overview.txt:
8917 * docs/design/part-qos.txt:
8918 * docs/design/part-query.txt:
8919 * docs/design/part-states.txt:
8920 * docs/design/part-trickmodes.txt:
8921 Some doc updates. Start renaming from stream_time to running_time where
8922 it was used wrongly.
8924 2007-02-15 Wim Taymans <wim@fluendo.com>
8926 * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query):
8927 Answer LATENCY query.
8929 2007-02-15 Wim Taymans <wim@fluendo.com>
8931 * tests/check/gst/gstevent.c: (event_probe), (test_event),
8935 2007-02-15 Wim Taymans <wim@fluendo.com>
8937 * gst/gstpad.c: (gst_pad_get_internal_links_default),
8938 (gst_pad_dispatcher):
8939 Improve debugging of default pad dispatcher and query functions.
8941 2007-02-15 Wim Taymans <wim@fluendo.com>
8943 * docs/gst/gstreamer-sections.txt:
8944 Remove old unused method.
8946 2007-02-13 Wim Taymans <wim@fluendo.com>
8948 * tests/check/gst/gstsegment.c: (GST_START_TEST):
8951 2007-02-13 Wim Taymans <wim@fluendo.com>
8953 * docs/design/part-seeking.txt:
8956 * gst/gstsegment.c: (gst_segment_set_seek):
8957 Revert old bogus change that should make seeking work again.
8959 2007-02-13 Stefan Kost <ensonic@users.sf.net>
8961 * docs/random/ensonic/dynlink.txt:
8962 * docs/random/ensonic/interfaces.txt:
8963 * docs/random/ensonic/receipies.txt:
8964 Possible dynamic reconnection api, plus some type fixes the other two
8967 2007-02-13 Sebastian Dröge <slomo@circular-chaos.org>
8969 * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
8970 * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
8971 Also check for an absolute path following file:// in the filesrc
8972 element. Remove redundant check and call g_path_is_absolute() on the
8975 2007-02-13 Stefan Kost <ensonic@users.sf.net>
8977 * docs/design/draft-klass.txt:
8978 Add existing category analysis.
8981 Fix doc example, framerate is a fraction.
8983 2007-02-12 Stefan Kost <ensonic@users.sf.net>
8986 * docs/gst/Makefile.am:
8987 * docs/gst/gstreamer-sections.txt:
8988 * docs/libs/Makefile.am:
8989 Erm, forgot a bunch of --extra-dir.
8991 2007-02-12 Stefan Kost <ensonic@users.sf.net>
8994 * docs/gst/Makefile.am:
8995 * docs/libs/Makefile.am:
8996 * docs/plugins/Makefile.am:
8997 Add crossreferences to glib/gobject docs.
8999 2007-02-12 Wim Taymans <wim@fluendo.com>
9001 * docs/design/draft-latency.txt:
9004 * docs/libs/gstreamer-libs-sections.txt:
9005 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
9006 (gst_base_sink_get_latency), (gst_base_sink_query_latency),
9007 (gst_base_sink_wait_clock), (gst_base_sink_send_qos),
9008 (gst_base_sink_perform_qos), (gst_base_sink_queue_object_unlocked),
9009 (gst_base_sink_chain_unlocked), (gst_base_sink_send_event),
9010 (gst_base_sink_get_position), (gst_base_sink_query),
9011 (gst_base_sink_change_state):
9012 * libs/gst/base/gstbasesink.h:
9013 API: gst_base_sink_query_latency() to let subclasses query the upstream
9015 API: gst_base_sink_get_latency() to let subclasses query the configured
9016 latency in the sink.
9017 Implement query and set latency.
9019 As spotted by Will Newton <will dot newton at gmail dot com>: Make sure we
9020 don't continue preroll when we are flushing. Fixes #405284.
9022 * tests/check/pipelines/stress.c: (change_state_timeout),
9023 (quit_timeout), (GST_START_TEST), (stress_suite):
9026 2007-02-09 Tim-Philipp Müller <tim at centricular dot net>
9028 Patch by: René Stadler <mail at renestadler de>
9030 * docs/gst/gstreamer-sections.txt:
9031 * gst/gsttaglist.c: (_gst_tag_initialize):
9033 API: add GST_TAG_REFERENCE_LEVEL (#403597).
9035 2007-02-11 Stefan Kost <ensonic@users.sf.net>
9037 * docs/libs/Makefile.am:
9038 Fix path to core docs.
9040 * gst/gstbin.c: (gst_bin_get_by_interface),
9041 (gst_bin_iterate_all_by_interface):
9042 Refix docs by also renaming 'interface' to 'iface' in implementation.
9044 * docs/gst/gstreamer-sections.txt:
9046 * gst/gstchildproxy.c: (gst_child_proxy_base_init):
9047 * gst/gstchildproxy.h:
9048 * gst/gstelementfactory.c:
9049 * gst/gstpadtemplate.h:
9050 * libs/gst/controller/gstcontroller.c:
9051 (gst_controlled_property_new):
9054 2007-02-10 Sébastien Moutte <sebastien@moutte.net>
9056 * gst/gstbin.h:(gst_bin_get_by_interface),
9057 (gst_bin_iterate_all_by_interface):
9058 Replace interface parameter name by iface as interface is
9059 a reserved keyword in Visual Studio for C++ projects so it removes
9060 a build error for application developpers using VS.
9061 * plugins/elements/gstfilesrc.c:(gst_file_src_uri_set_uri):
9062 Fix a bug on Windows in uri format check. Now the prefix checked
9063 is file:// and next we check if the path after file:// is absolute.
9064 * win32/common/libgstbase.def:
9065 * win32/common/libgstdataprotocol.def:
9066 * win32/common/libgstgstreamer.def:
9067 Add new exported functions.
9069 2007-02-09 Andy Wingo <wingo@pobox.com>
9071 * tests/check/pipelines/simple-launch-lines.c
9072 (simple_launch_lines_suite, test_tee): Disable tee test until I
9073 have time to fix it :-(
9075 * tests/check/Makefile.am (noinst_HEADERS):
9076 * tests/check/libs/libsabi.c:
9077 * tests/check/libs/struct_ppc32.h: Add ABI checks for PPC32.
9078 * tests/check/gst/gstabi.c:
9079 * tests/check/gst/struct_ppc32.h: Add ABI checks for PPC32.
9081 * tests/check/pipelines/simple-launch-lines.c (test_tee): Add
9082 tests for push and pull tee behavior.
9084 * plugins/elements/gsttee.h:
9085 * plugins/elements/gsttee.c: Describe has-sink-loop better, and
9086 mark as deprecated as well as unimplemented. It was a crack idea.
9087 Add support for tee operating in pull mode, off by default.
9089 * gst/gstregistryxml.c (load_feature, load_plugin): Drop some
9090 normal-case logs down to LOG, raise errors to WARNING.
9091 (gst_registry_xml_read_cache): Don't log before calling a function
9094 * gst/gstregistry.c (gst_registry_finalize): Less debug on program
9095 exit (registry finalize).
9096 (gst_registry_add_plugin, gst_registry_add_feature): No need for a
9097 DEBUG log when we emit signals that people don't even have the
9098 chance to connect to.
9099 (gst_registry_scan_path_level): Less logging in the normal case.
9101 2007-02-05 Sebastian Dröge <slomo@circular-chaos.org>
9103 Patch by: Michal Benes <michal dot benes at itonis dot tv>
9105 * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
9106 Correctly generate EOS for non-seekable files. We don't have a total
9107 length for them and would get an unexpected end of file if we only
9108 special-cased for regular files. (Fixes: #404569)
9110 2007-02-05 Sebastian Dröge <slomo@circular-chaos.org>
9112 * tests/check/elements/filesrc.c: (GST_START_TEST),
9114 Add unit test for the GstURIHandler interface in filesrc. This also
9115 tests the newly added file://localhost/foo/bar support.
9117 2007-02-04 Tim-Philipp Müller <tim at centricular dot net>
9119 * gst/gstelementfactory.h:
9120 The klass string is not a hierarchy. Add reference to the design doc
9121 for more information and common types.
9123 2007-02-02 Wim Taymans <wim@fluendo.com>
9125 * gst/gstquery.c: (gst_query_new_latency):
9126 Remove old structure field.
9128 2007-02-02 Stefan Kost <ensonic@users.sf.net>
9130 * tools/gst-launch.1.in:
9131 Give example for network streaming (#351998)
9133 2007-02-02 Wim Taymans <wim@fluendo.com>
9135 * docs/gst/gstreamer-sections.txt:
9136 Add docs for new methods.
9138 * gst/gstevent.c: (gst_event_new_latency),
9139 (gst_event_parse_latency):
9141 Add new LATENCY event to configure latency in a pipeline.
9142 API: gst_event_new_latency
9143 API: gst_event_parse_latency
9145 * gst/gstmessage.c: (gst_message_new_buffering),
9146 (gst_message_new_lost_preroll), (gst_message_new_prerolled),
9147 (gst_message_new_latency), (gst_message_parse_buffering),
9148 (gst_message_parse_lost_preroll):
9150 Added messages used in draft-latency.
9151 API: gst_message_new_lost_preroll
9152 API: gst_message_parse_lost_preroll
9153 API: gst_message_new_prerolled
9154 API: gst_message_new_latency
9156 * gst/gstquery.c: (gst_query_new_latency), (gst_query_set_latency),
9157 (gst_query_parse_latency):
9159 Implemented new latency query as in design doc.
9160 API: gst_query_new_latency
9161 API: gst_query_set_latency
9162 API: gst_query_parse_latency
9164 2007-02-02 Wim Taymans <wim@fluendo.com>
9166 * docs/design/draft-latency.txt:
9167 Slight redesign to allow for dynamic latency adjustments.
9169 * docs/design/part-negotiation.txt:
9172 2007-02-02 Sebastian Dröge <slomo@circular-chaos.org>
9174 reviewed by: Wim Taymans <wim@fluendo.com>
9176 * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
9177 * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
9178 Allow file://localhost/foo/bar URLs and correctly fail for every other
9179 hostname that one sets. This was gnomevfssrc is linked for those if
9180 installed as it can handle it (#403172)
9182 2007-02-01 Sebastian Dröge <slomo@circular-chaos.org>
9184 reviewed by: Tim-Philipp Müller <tim at centricular dot net>
9186 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
9187 (unref_data), (gst_collect_pads_add_pad_full):
9188 * libs/gst/base/gstcollectpads.h:
9189 Don't put the previously added destroy notify in the GstCollectData
9190 struct as all it's padding is already used and we don't want to break
9191 ABI. Instead put in the pad's GObject data for now. This should be
9192 cleaned up for 0.11 (#402393).
9194 2007-02-01 Sebastian Dröge <slomo@circular-chaos.org>
9196 reviewed by: Wim Taymans <wim@fluendo.com>
9198 * docs/libs/gstreamer-libs-sections.txt:
9199 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
9200 (unref_data), (gst_collect_pads_add_pad),
9201 (gst_collect_pads_add_pad_full):
9202 * libs/gst/base/gstcollectpads.h:
9203 API: Add function to specify a destroy notification for custom
9204 GstCollectData when adding new pads in GstCollectPads (#402393).
9206 2007-02-01 Tim-Philipp Müller <tim at centricular dot net>
9209 Update Swedish translation (#378255).
9211 2007-01-31 Stefan Kost <ensonic@users.sf.net>
9213 * docs/design/draft-klass.txt:
9214 Fix the previous change, this is a list of categories and not a hierarchy.
9216 2007-01-31 Stefan Kost <ensonic@users.sf.net>
9218 * docs/design/draft-klass.txt:
9219 Add info about how to get a list of used classes.
9221 2007-01-30 Tim-Philipp Müller <tim at centricular dot net>
9223 * plugins/elements/gsttypefindelement.c:
9224 (gst_type_find_element_chain_do_typefinding),
9225 (gst_type_find_element_change_state):
9226 Don't leak found caps in chain function (no idea why that never
9227 showed up as a leak anywhere).
9229 2007-01-30 Stefan Kost <ensonic@users.sf.net>
9232 Fix and expand GstPluginDesc API docs.
9234 2007-01-29 Stefan Kost <ensonic@users.sf.net>
9237 * gst/gstelementfactory.c:
9238 * gst/gstpadtemplate.h:
9241 * libs/gst/controller/gstcontroller.c:
9242 (gst_controlled_property_new):
9243 * tests/examples/controller/audio-example.c:
9246 2007-01-29 Stefan Kost <ensonic@users.sf.net>
9249 comment about refining the xml deps
9252 comments about moving away from jade for docs
9255 recommit the ifdefs to use the binary registry
9257 * gst/gstbin.c: (gst_bin_change_state_func):
9258 this break is obsolete
9260 * gst/gstelementfactory.h:
9261 better GST_ELEMENT_DETAILS docs, add comment about translation
9266 * gst/gstobject.c: (gst_signal_object_get_type):
9267 add G_UNLIKELY as usual
9269 * gst/gstpad.c: (gst_pad_event_default):
9270 add fall trhu comment
9272 * gst/gstregistrybinary.c: (gst_registry_binary_write),
9273 (gst_registry_binary_initialize_magic),
9274 (gst_registry_binary_save_string),
9275 (gst_registry_binary_save_pad_template),
9276 (gst_registry_binary_save_feature),
9277 (gst_registry_binary_save_plugin),
9278 (gst_registry_binary_write_cache),
9279 (gst_registry_binary_check_magic),
9280 (gst_registry_binary_load_pad_template),
9281 (gst_registry_binary_load_feature),
9282 (gst_registry_binary_load_plugin),
9283 (gst_registry_binary_read_cache):
9284 comment typo and formatting
9286 * gst/gstutils.c: (gst_element_state_get_name),
9287 (gst_element_state_change_return_get_name):
9288 remove obsolete breaks
9290 * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
9291 add FIXME 0.11 and remove cpp comment
9293 2007-01-29 Edward Hervey <edward@fluendo.com>
9295 * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
9296 Fix print statement in an even more portable way.
9298 2007-01-29 Tim-Philipp Müller <tim at centricular dot net>
9300 * docs/gst/gstreamer-sections.txt:
9302 API: add GST_ROUND_DOWN_* macros (#401781).
9304 2007-01-27 Tim-Philipp Müller <tim at centricular dot net>
9306 * docs/gst/gstreamer.types.in:
9307 * gst/gstregistry.c: (gst_registry_class_init):
9308 Document registry signals and make gtk-doc pick them up (#401381).
9310 2007-01-26 Tim-Philipp Müller <tim at centricular dot net>
9312 * docs/pwg/building-testapp.xml:
9313 Add some audioconverts and audioresample to the pipeline, and some
9314 more comments and error handling.
9316 2007-01-26 Tim-Philipp Müller <tim at centricular dot net>
9318 * docs/manual/manual.xml:
9322 2007-01-26 Wim Taymans <wim@fluendo.com>
9324 * gst/gstcaps.c: (gst_static_caps_get):
9325 Init caps flags too.
9327 2007-01-25 Sebastian Dröge <slomo@circular-chaos.org>
9329 Patch by: Jindrich Makovicka <jindrich.makovick at itonis dot tv>
9331 * plugins/elements/gstfilesrc.c: (gst_file_src_start):
9332 If not using mmap'ed files try to seek to the end instead of the
9333 start to determine whether we can seek at all. This fixes the case
9334 of 2GB+ files over NFS, where seeks in the first 2GB can succeed but
9335 seeks for everything afterwards fail. Fixes #400656
9337 2007-01-25 Wim Taymans <wim@fluendo.com>
9339 * gst/gstcaps.c: (_gst_caps_free), (gst_static_caps_get):
9340 Add some refcount debugging.
9341 Make gst_static_caps_get threadsafe, which is needed when autoplugging
9342 in multiple streaming threads.
9344 2007-01-25 Wim Taymans <wim@fluendo.com>
9346 Patch by: David Schleef <ds at schleef dot org>
9348 * docs/libs/gstreamer-libs-sections.txt:
9349 * libs/gst/base/gstadapter.c: (gst_adapter_copy):
9350 * libs/gst/base/gstadapter.h:
9351 API: gst_adapter_copy() that can reduce the amount of memcpy when
9352 getting data from the adapter. Fixes #388201.
9354 2007-01-25 Edward Hervey <edward@fluendo.com>
9356 * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
9357 In print statements, "%x" is for guint. Fixes build on macosx.
9359 2007-01-24 Edward Hervey <edward@fluendo.com>
9361 * plugins/elements/gstmultiqueue.c:
9362 (gst_multi_queue_loop):
9364 (single_queue_overrun_cb), (single_queue_underrun_cb),
9365 (single_queue_check_full), (gst_single_queue_new):
9366 Implement single queue growth system.
9367 This uses the extra-size properties, and will grow single queues by
9368 that much if one goes full whereas there are others empty. This is
9369 called extra-mode in the code.
9370 When a single queue's levels go back below the initial max-size
9371 limits, it is no longer in extra-mode. This is to ensure we don't
9372 consume too much memory.
9375 2007-01-23 Tim-Philipp Müller <tim at centricular dot net>
9377 * gst/gst.c: (gst_init_get_option_group):
9378 Make warning about late g_thread_init() calls a bit more explicit,
9379 so that it's more obvious to application developers what they need
9380 to do if a user files a bug against their application.
9382 2007-01-22 Edward Hervey <edward@fluendo.com>
9384 * plugins/elements/gstmultiqueue.c:
9385 (gst_multi_queue_src_activate_push), (gst_single_queue_new):
9386 Remove previous hack of unsetting the flushing flag for the source pad
9387 instead of activating it. Instead, fix the source pad activate function
9388 so that it no longer depends on having a parent set or not.
9390 2007-01-22 Tim-Philipp Müller <tim at centricular dot net>
9392 Patch by: Carlos Sanmartin Dominguez <csanmartin@igalia.com>
9394 * docs/manual/basics-bus.xml:
9395 Fix example code, gst_element_unref() doesn't exist any longer.
9397 2007-01-21 Tim-Philipp Müller <tim at centricular dot net>
9399 Patch by: Mark Nauwelaerts <manauw at skynet be>
9402 Fix two docs typoes (#399094).
9404 2007-01-19 Edward Hervey <edward@fluendo.com>
9406 * docs/faq/gst-uninstalled:
9407 Add gst-plugins-base/gst/utils/ to LD_LIBRARY_PATH so that plugins
9408 depending on libgstbaseutils can work in uninstalled environment.
9410 2007-01-18 Stefan Kost <ensonic@users.sf.net>
9413 * gst/gsttagsetter.c:
9414 Add more docs regarding tag merge-modes and when to send tags. Fix 'since'
9415 statement for new tag.
9417 2007-01-17 Edward Hervey <edward@fluendo.com>
9419 * plugins/elements/gstmultiqueue.c: (gst_single_queue_new):
9420 When dynamically creating single queues, activate sinkpad before adding
9422 We should be doing the same thing for the source pad, but we can't
9423 since it would call a method which needs the parent to be set in order
9424 to work propertly. Instead of activating the source pad, we just unset
9425 the flushing flag, which is the minimal requirement for adding a pad
9426 to an element in a state greater than READY.
9428 2007-01-17 Edward Hervey <edward@fluendo.com>
9430 * docs/faq/gst-uninstalled:
9431 Add DYLD_LIBRARY_PATH declarations so we can also use this script on
9434 2007-01-17 Tim-Philipp Müller <tim at centricular dot net>
9436 * tests/check/gst/gstabi.c:
9437 * tests/check/gst/struct_hppa.h:
9438 * tests/check/libs/libsabi.c:
9439 * tests/check/libs/struct_hppa.h:
9440 Add ABI structs for HPPA (see #393796).
9442 2007-01-16 Tim-Philipp Müller <tim at centricular dot net>
9444 * libs/gst/check/gstcheck.c: (gst_check_abi_list):
9445 Actually write ABI structs to the file specified in the GST_ABI
9446 environment variable, as the message we print claims we would.
9448 2007-01-15 Stefan Kost <ensonic@users.sf.net>
9450 * tests/check/gst/gsttask.c:
9453 2007-01-15 Stefan Kost <ensonic@users.sf.net>
9455 * gst/gsttaglist.c: (_gst_tag_initialize):
9456 Change tag type from STRING to DOUBLE. Apply ChangeLog surgery for my
9457 previous two entries.
9459 2007-01-15 Stefan Kost <ensonic@users.sf.net>
9461 * docs/gst/gstreamer-sections.txt:
9462 * gst/gsttaglist.c: (_gst_tag_initialize):
9464 Add tag support for beat-per-minute.
9466 2007-01-15 Stefan Kost <ensonic@users.sf.net>
9468 * gst/gstregistrybinary.c: (gst_registry_binary_write),
9469 (gst_registry_binary_initialize_magic),
9470 (gst_registry_binary_save_string), (gst_registry_binary_make_data),
9471 (gst_registry_binary_save_pad_template),
9472 (gst_registry_binary_save_feature),
9473 (gst_registry_binary_save_plugin),
9474 (gst_registry_binary_write_cache),
9475 (gst_registry_binary_check_magic),
9476 (gst_registry_binary_load_pad_template),
9477 (gst_registry_binary_load_feature),
9478 (gst_registry_binary_load_plugin),
9479 (gst_registry_binary_read_cache):
9480 * gst/gstregistrybinary.h:
9481 Use glib types, cleanup comments, impement interfaces and uri-types.
9483 2007-01-13 Andy Wingo <wingo@pobox.com>
9485 * gst/gstpad.c (gst_pad_get_range, gst_pad_pull_range): Allow
9486 getrange() to return buffers with other caps, while we fix
9487 demuxers and typefind, or otherwise change part-negotiation.txt.
9489 2007-01-12 Andy Wingo <wingo@pobox.com>
9491 * libs/gst/base/gstbasetransform.c (gst_base_transform_activate):
9492 Factor start/stop into this private function instead of partially
9493 in activate functions and partially in the change_state function.
9494 Fixes setup before the element has changed from READY->PAUSED, as
9495 is the case in pull-mode pipelines.
9496 (gst_base_transform_sink_activate_push)
9497 (gst_base_transform_src_activate_pull): Refactor to use
9498 gst_base_transform_activate().
9499 (gst_base_transform_change_state): Removed, not needed any more.
9501 * libs/gst/base/gstbasesink.c (gst_base_sink_negotiate_pull):
9502 Truncate before fixating.
9504 * libs/gst/base/gstbasesink.c (gst_base_sink_negotiate_pull):
9505 Don't set_caps() if the result of fixating is ANY, as it's not
9506 supported, and not necessary in the case of a link with no
9507 template caps on either side. Fixes tests/check/libs/basesrc in
9508 some pull-mode tests.
9510 * libs/gst/base/gstbasetransform.c (_GstBaseTransformPrivate):
9511 (gst_base_transform_init, gst_base_transform_sink_activate_push)
9512 (gst_base_transform_src_activate_pull):
9513 Track the activation mode.
9514 (gst_base_transform_setcaps): In pull mode, when activating the
9515 src pad, after activating the sink pad, activate the sink pad's
9516 peer, as discussed in part-negotiation.txt.
9518 * libs/gst/base/gstbasesrc.h:
9519 * libs/gst/base/gstbasesrc.c (gst_base_src_fixate): Add fixate
9520 vmethod, as in basesink.
9522 * libs/gst/base/gstbasesink.h: Reformat docs, add fixate vmethod.
9524 * libs/gst/base/gstbasesink.c (gst_base_sink_pad_setcaps): In pull
9525 mode, first proxy the setcaps to the peer pad.
9526 (gst_base_sink_pad_fixate): Add a fixate function that calls the
9528 (gst_base_sink_default_activate_pull): Rename from
9529 gst_base_sink_activate_pull.
9530 (gst_base_sink_negotiate_pull): New function, performs negotiation
9531 in pull mode before calling ::activate_pull().
9532 (gst_base_sink_pad_activate_pull): Actually call the activate_pull
9533 vmethod instead of the default implementation. I have no idea how
9534 this worked before. Negotiate before calling activate_pull.
9536 * gst/gstpad.c (gst_pad_activate_pull): Refuse to activate unlinked
9537 sink pads in pull mode. In addition to being correct, fixes
9538 filesrc ! decodebin ! identity ! fakesink.
9539 (gst_pad_get_range, gst_pad_pull_range): Don't call
9540 gst_pad_set_caps() if the caps changes; instead error out with
9541 GST_FLOW_NOT_NEGOTIATED, as discussed in part-negotiation.txt.
9543 2007-01-12 Andy Wingo <wingo@pobox.com>
9545 * docs/design/part-negotiation.txt: Update with more policy.
9547 2007-01-12 Tim-Philipp Müller <tim at centricular dot net>
9549 * libs/gst/check/gstbufferstraw.h:
9550 * libs/gst/check/gstcheck.h:
9551 Add G_BEGIN_DECLS and G_END_DECLS. Move GST_CHECK_MAIN where it
9554 2007-01-12 Tim-Philipp Müller <tim at centricular dot net>
9556 * tests/check/Makefile.am:
9557 * tests/check/gst/.cvsignore:
9558 * tests/check/gst/gsttagsetter.c: (gst_dummy_enc_add_interfaces),
9559 (gst_dummy_enc_base_init), (gst_dummy_enc_class_init),
9560 (gst_dummy_enc_init), (tag_list_foreach), (tag_setter_list_length),
9561 (GST_START_TEST), (gst_tag_setter_suite):
9562 Add minimal unit test for beforementioned GstTagSetter bug.
9564 2007-01-12 Tim-Philipp Müller <tim at centricular dot net>
9566 Patch by: René Stadler <mail at renestadler dot de>
9568 * gst/gsttagsetter.c: (gst_tag_setter_merge_tags):
9569 gst_tag_list_merge() returns a new list, so it's not the best idea
9570 to ingore its return value. Effectively meant that tags could only
9571 be merged on a GstTagSetter once using _merge_tags(). Fixes #395554.
9572 Also add function guard to require a non-NULL taglist as input (has
9573 always been so due to gst_tag_list_copy(), just making it explicit).
9575 2007-01-11 Tim-Philipp Müller <tim at centricular dot net>
9577 * docs/random/draft-missing-plugins.txt:
9578 Some additions: mention new API that is supposed to be used at the
9579 various stages; short blob about new gst-inspect introspection
9580 option; mention potential future problem with plugins that have
9581 a dynamic list of elements (such as ladspa, pitfdll, libvisual).
9583 2007-01-11 Tim-Philipp Müller <tim at centricular dot net>
9585 * tools/gst-inspect.c:
9586 (print_plugin_automatic_install_info_codecs),
9587 (print_plugin_automatic_install_info_protocols),
9588 (print_plugin_automatic_install_info), (main):
9589 Add --print-plugin-auto-install-info option to gst-inspect, so we can
9590 introspect plugin files and get machine-parsable output that corresponds
9591 to the last bit of the missing-plugin installer string (small gotcha:
9592 doesn't take into account ranks).
9594 2007-01-11 Stefan Kost <ensonic@users.sf.net>
9597 * docs/gst/gstreamer-sections.txt:
9599 * gst/gstregistry.c: (gst_registry_lookup_feature_locked),
9600 (gst_registry_lookup_locked):
9601 * gst/gstregistry.h:
9602 * gst/gstregistrybinary.c: (gst_registry_binary_write),
9603 (gst_registry_binary_initialize_magic),
9604 (gst_registry_binary_save_string),
9605 (gst_registry_binary_save_pad_template),
9606 (gst_registry_binary_save_feature),
9607 (gst_registry_binary_save_plugin),
9608 (gst_registry_binary_write_cache),
9609 (gst_registry_binary_check_magic),
9610 (gst_registry_binary_load_pad_template),
9611 (gst_registry_binary_load_feature),
9612 (gst_registry_binary_load_plugin),
9613 (gst_registry_binary_read_cache):
9614 * gst/gstregistrybinary.h:
9615 * gst/gstregistryxml.c: (load_feature),
9616 (gst_registry_xml_read_cache):
9617 commit binary registry (disabled by default, see #359653)
9619 2007-01-11 Tim-Philipp Müller <tim at centricular dot net>
9621 * tests/check/gst/gstpad.c: (test_get_allowed_caps):
9622 Fix 'make check' too.
9624 2007-01-10 Andy Wingo <wingo@pobox.com>
9626 * docs/design/part-negotiation.txt: Fix a typo, add a couple
9629 * docs/design/part-negotiation.txt: Update with, um, one way that
9630 pull-mode negotiation might work?
9633 * gst/gstpad.c (gst_pad_get_allowed_caps): Remove the restriction
9634 that the pad must be a src pad; makes sense to call it the other
9635 way in pull mode, and the logic is symmetric anyway.
9637 2007-01-10 Tim-Philipp Müller <tim at centricular dot net>
9639 * plugins/elements/gstfilesink.c:
9640 Include <stdio.h> for fseeko().
9642 2007-01-10 Wim Taymans <wim@fluendo.com>
9646 Reserve LATENCY event.
9648 2007-01-09 Wim Taymans <wim@fluendo.com>
9650 * docs/design/draft-latency.txt:
9653 2007-01-09 Wim Taymans <wim@fluendo.com>
9655 * docs/design/draft-latency.txt:
9659 * gst/gststructure.c:
9663 2007-01-09 Tim-Philipp Müller <tim at centricular dot net>
9665 * tests/check/.cvsignore:
9666 Ignore test-registry.xml as well.
9668 2007-01-09 Wim Taymans <wim@fluendo.com>
9670 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad):
9671 unref data at the end when we are done with the pad.
9673 2007-01-08 Tim-Philipp Müller <tim at centricular dot net>
9675 * docs/gst/gstreamer-sections.txt:
9676 * gst/gst.c: (load_plugin_func), (scan_and_update_registry),
9677 (init_post), (gst_deinit), (gst_update_registry):
9679 API: add gst_update_registry() (#391296).
9681 * tests/check/Makefile.am:
9682 * tests/check/gst/gstregistry.c:
9683 * tests/check/gst/.cvsignore:
9684 Simple unit test for the above.
9686 2007-01-08 Tim-Philipp Müller <tim at centricular dot net>
9688 * gst/gstregistry.c: (gst_registry_scan_path_level):
9689 Plugin extension on HP-UX is .sl, add that to the list of approved
9690 plugin extensions (see #393796).
9692 * tests/check/gst/gstpad.c: (GST_START_TEST):
9693 ulong => gulong. Fixes compilation with HP-UX compiler.
9695 * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
9696 Fix compilation if valgrind headers are not available.
9698 2007-01-07 Sébastien Moutte <sebastien@moutte.net>
9700 * win32/common/libgstreamer.def:
9701 Add new exported function.
9702 * win32/vs6/libgstbase.dsp:
9703 Add gstdataqueue.c to the build.
9704 * win32/vs6/libgstcoreelements.dsp:
9705 Add gstmultiqueue.c to the build.
9707 2007-01-06 Andy Wingo <wingo@pobox.com>
9709 * libs/gst/base/gstbasesink.h: New GstBaseSinkClass vmethod,
9710 activate_pull(), providing for a way to specialize the process of
9711 spawning a thread to pull on the sink pad. There is a default
9714 * libs/gst/base/gstbasesink.c (gst_base_sink_pad_activate_pull)
9715 (gst_base_sink_pad_activate_push, gst_base_sink_pad_activate)
9716 (gst_base_sink_init): Renamed pad activation functions (inserting
9717 "_pad" in their names). Refactor to use the new activate_pull
9718 vmethod, as appropriate.
9719 (gst_base_sink_class_init, gst_base_sink_activate_pull): Set the
9720 default activate_pull function to start a task pulling from the
9721 sink pad, as before.
9723 * gst/gstpad.c (gst_pad_get_range, gst_pad_pull_range): Set caps
9724 on the pads if necessary, as in push()/chain(). Update docs.
9725 Shouldn't affect existing pull() usage as it is currently only
9726 being used on buffers without caps.
9728 2007-01-05 Tim-Philipp Müller <tim at centricular dot net>
9730 * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
9732 Call g_thread_init() first thing in gst_init() / gst_check_init().
9733 When initialisation is done via gst_init_get_option_group() and
9734 GOption parsing, issue a warning if the GLib thread system has not
9735 been initialised yet by the time gst_init_get_option_group() is
9736 called, as it's quite likely other GLib functions such as
9737 g_option_context_new() have been called already then, and
9738 g_thread_init() must be called before any other GLib function. The
9739 application in question must be fixed in that case, since memory
9740 corruption might happen otherwise.
9741 We issue the warning because even if the GLib folks decide to work
9742 around the problem on their end in future, this is still an issue
9743 with all GLib versions >= 2.10.0, so we should warn until we depend
9744 on a GLib version we know to be safe.
9745 Update documentation as well.
9748 2007-01-05 Tim-Philipp Müller <tim at centricular dot net>
9750 * tools/gst-inspect.c: (main):
9751 * tools/gst-launch.c: (main):
9752 * tools/gst-typefind.c: (main):
9753 * tools/gst-xmlinspect.c: (main):
9754 Call g_thread_init() really really early, before any other GLib
9755 function (see #342564 and recent discussion on gtk-devel-list).
9757 2007-01-05 Tim-Philipp Müller <tim at centricular dot net>
9759 Patch by: Vincent Torri <vtorri at univ-evry dot fr>
9761 * gst/gst_private.h:
9762 * gst/gstconfig.h.in:
9764 On win32, all the __declspec stuff for symbol exporting is
9765 apparently only needed with MSVC, but doesn't work with MingW.
9766 Fixes compilation with MingW and #391909.
9768 2007-01-05 Tim-Philipp Müller <tim at centricular dot net>
9770 * libs/gst/base/gstbasesrc.c: (gst_base_src_activate_push):
9771 Change some GST_ERROR_OBJECT that aren't really errors to
9772 GST_WARNING_OBJECT in order to reduce terminal spam.
9774 2007-01-04 Stefan Kost <ensonic@users.sf.net>
9776 * tests/check/Makefile.am:
9777 disable test again, as there seem to be still race problems
9779 2007-01-04 Stefan Kost <ensonic@users.sf.net>
9781 * tests/check/Makefile.am:
9782 * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
9783 (GST_START_TEST), (queue_suite):
9784 enable queue test again, add tests for the leaky behaviour
9786 2007-01-02 Tim-Philipp Müller <tim at centricular dot net>
9789 * tests/examples/Makefile.am:
9790 Compile adapter test/example only if the required headers are
9791 available (fixes #391915).
9793 2007-01-01 David Schleef <ds@schleef.org>
9796 Restore the previous signal handler for SIGSEGV instead of
9797 setting to default, since we may have stolen it away from
9798 someone. (i.e., Mono)
9800 2006-12-26 Tim-Philipp Müller <tim at centricular dot net>
9802 * docs/random/draft-missing-plugins.txt:
9803 Some small additions and clarifications.
9805 2006-12-26 Tim-Philipp Müller <tim at centricular dot net>
9807 * gst/gstregistryxml.c: (gst_registry_save_escaped):
9808 Make sure we don't pass non-UTF-8 strings to g_markup_escape(),
9809 since that can lead to random memory corruptions and crashes
9810 (may or may not be related to #383244, #386711, and #386711).
9812 2006-12-21 Stefan Kost <ensonic@users.sf.net>
9814 * tests/check/.cvsignore:
9815 * tests/check/Makefile.am:
9816 sync .cvsignome and CLEANFILES
9818 2006-12-21 Stefan Kost <ensonic@users.sf.net>
9820 * tests/check/Makefile.am:
9823 2006-12-21 Stefan Kost <ensonic@users.sf.net>
9825 * docs/design/part-states.txt:
9826 two tiny additional comments
9828 * gst/gststructure.c:
9831 * tests/check/Makefile.am:
9832 * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
9834 disable test for now, unless it gets fixed
9836 2006-12-21 Stefan Kost <ensonic@users.sf.net>
9838 * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
9840 fix race in underrun test
9842 2006-12-21 Stefan Kost <ensonic@users.sf.net>
9844 * tests/check/elements/.cvsignore:
9847 * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
9849 try to narrow test failure
9851 2006-12-21 David Schleef <ds@schleef.org>
9853 * plugins/elements/gstfakesrc.c:
9854 Use g_random_int_range(), since it produces better random
9855 numbers in a range than almost-correct floating point code.
9857 2006-12-21 Stefan Kost <ensonic@users.sf.net>
9859 * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
9860 (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
9861 (gst_check_teardown_sink_pad):
9862 do not automatically (de)activate pads
9864 * tests/check/Makefile.am:
9865 * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
9866 (setup_queue), (cleanup_queue), (GST_START_TEST), (queue_suite):
9867 add new, yet simple tests for queue
9869 * tests/check/elements/fakesrc.c: (cleanup_fakesrc):
9870 * tests/check/elements/fdsrc.c: (cleanup_fdsrc):
9871 * tests/check/elements/filesrc.c: (cleanup_filesrc),
9873 * tests/check/elements/identity.c: (cleanup_identity):
9874 consistent pad (de)activation
9876 2006-12-20 Tim-Philipp Müller <tim at centricular dot net>
9878 Patch by: Sebastian Dröge <slomo ubuntu com>
9880 * libs/gst/base/gstcollectpads.c:
9881 Fix two doc typos (#387866).
9883 2006-12-19 Tim-Philipp Müller <tim at centricular dot net>
9885 * docs/manual/advanced-dparams.xml:
9886 Fix typo (g_object_control_properties() doesn't exist).
9888 2006-12-19 Edward Hervey <edward@fluendo.com>
9890 * gst/gstsegment.c: (gst_segment_set_seek):
9891 Fine tune the cases where the segment start/stop values are really
9893 * tests/check/gst/gstsegment.c: (GST_START_TEST):
9894 Add tests for the return values of gst_segment_set_seek().
9896 2006-12-19 Tim-Philipp Müller <tim at centricular dot net>
9901 * plugins/elements/gstqueue.c: (gst_queue_class_init),
9903 Fix incorrect documentation and flesh it out a bit more.
9904 Set default values for the max properties on the GParamSpec as well,
9905 so it shows up correctly in gst-inspect.
9907 2006-12-18 Stefan Kost <ensonic@users.sf.net>
9909 * plugins/elements/gstqueue.c: (queue_leaky_get_type):
9910 Correct docs of queue, add more detail and crosslink it more.
9912 2006-12-16 Tim-Philipp Müller <tim at centricular dot net>
9914 * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
9915 Print additional debug info when the stream isn't perfectly
9916 timestamped; don't try to use invalid durations.
9918 2006-12-16 Tim-Philipp Müller <tim at centricular dot net>
9920 * docs/design/Makefile.am:
9921 Dist new design docs.
9923 2006-12-16 Wim Taymans <wim@fluendo.com>
9925 Patch by: Sjoerd Simons <sjoerd at luon dot net>
9927 * libs/gst/base/gstcollectpads.c: (ref_data), (unref_data),
9928 (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
9929 (gst_collect_pads_stop), (gst_collect_pads_event),
9930 (gst_collect_pads_chain):
9931 * libs/gst/base/gstcollectpads.h:
9932 Add refcounting to the collectpads data so we can track when it's safe
9933 to free the data. Fixes #383382.
9935 2006-12-15 Wim Taymans <wim@fluendo.com>
9937 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
9938 (gst_collect_pads_remove_pad):
9939 Automatically activate/deactivate pads when they are added to a
9940 started/stoped collectpads.
9942 2006-12-15 Wim Taymans <wim@fluendo.com>
9944 * gst/gstelement.c: (gst_element_add_pad):
9945 * gst/gstghostpad.c: (gst_ghost_pad_new_full):
9946 * gst/gstpad.c: (gst_pad_init):
9947 Set pads to FLUSHING when they are created. Check, warn and fix when a
9948 demuxer adds an inactive pad to itself when running. Fixes #339326.
9950 2006-12-15 Wim Taymans <wim@fluendo.com>
9952 * gst/gstelement.c: (gst_element_class_init),
9953 (gst_element_default_send_event), (gst_element_send_event),
9954 (gst_element_default_query), (gst_element_query):
9955 Expose default element send_event and query handling as vmethods that
9956 subclasses can chain up to.
9958 2006-12-15 Wim Taymans <wim@fluendo.com>
9960 * gst/gstelement.c: (gst_element_set_state_func):
9961 Small documentation fixes.
9963 2006-12-15 Wim Taymans <wim@fluendo.com>
9965 * docs/design/draft-latency.txt:
9966 Checked in draft for handling latency in pipelines.
9968 2006-12-15 Thomas Vander Stichele <thomas at apestaart dot org>
9972 * gstreamer.spec.in:
9975 2006-12-14 Tim-Philipp Müller <tim at centricular dot net>
9977 * gst/gst.c: (init_pre), (init_post):
9978 init_pre() and init_post() might be called via our GOptionGroup or
9979 from gst_init(), and we should skip both of them if we've already
9980 been initialised, otherwise we will init some things twice or add
9981 two default log functions.
9983 2006-12-13 Edward Hervey <edward@fluendo.com>
9985 * docs/manual/basics-bus.xml:
9986 No, gst_main_loop does not exist. Its g_main_loop.
9987 Discovered by somebody who abused the copy-paste technique of coding :)
9989 2006-12-13 Tim-Philipp Müller <tim at centricular dot net>
9991 * gst/gstghostpad.c:
9992 Log ghostpad debug stuff to the GST_PADS category as well rather
9993 than just to the default category.
9995 2006-12-12 Tim-Philipp Müller <tim at centricular dot net>
9998 * gst/gst.c: (init_pre):
9999 Add some basic system details such as OS and architecture
10000 to the debug output if possible, courtesy of uname().
10002 2006-12-11 Tim-Philipp Müller <tim at centricular dot net>
10004 * docs/gst/running.xml:
10005 Document GST_REGISTRY_FORK and GST_DEBUG_NO_COLOR
10006 environment variables.
10008 2006-12-09 Jan Schmidt <thaytan@mad.scientist.com>
10010 * tests/check/gst/gstbin.c: (GST_START_TEST):
10011 It is acceptable to have a refcount of 2 or 3 at this point in the
10012 test, because the pipeline might be just posting its state_change
10013 message. The next line then waits for that message to appear using
10014 bus_poll, so that should be fine too.
10016 2006-12-09 Jan Schmidt <thaytan@mad.scientist.com>
10018 * gst/gst.c: (ensure_current_registry_forking):
10019 Ignore EINTR when reading from the child registry pipe.
10020 Explicitly ignore the return value from close, since it makes no
10023 * gst/gstminiobject.c: (gst_mini_object_ref),
10024 (gst_mini_object_unref):
10025 When debugging refcounts, check GST_IS_MINI_OBJECT and warn.
10027 * gst/gstregistry.c: (_priv_gst_registry_remove_cache_plugins):
10028 When removing cached plugins, remove their features too, so they're
10029 not visible after they've disappeared.
10031 * gst/gstutils.c: (prepare_link_maybe_ghosting):
10032 In the unlikely case that we are linking pads with no parents, don't
10033 crash trying to get the non-existent parent bin.
10035 * gst/parse/grammar.y:
10036 Output debug in the PIPELINE category
10038 2005-03-08 Wim Taymans <wim@fluendo.com>
10040 Patch by: René Stadler <mail at renestadler dot de>
10042 * gst/gstclock.c: (gst_clock_new_periodic_id):
10043 Reject invalid clock times for interval of periodic ids.
10046 2006-12-07 Jan Schmidt <thaytan@mad.scientist.com>
10048 * gst/gstelementfactory.c: (gst_element_factory_create):
10049 * gst/gstpluginfeature.c: (gst_plugin_feature_load):
10050 * gst/gsttypefindfactory.c: (gst_type_find_factory_call_function):
10051 * tools/gst-inspect.c: (print_element_info):
10052 Fix refcounting of gst_plugin_feature_load to match the docs.
10055 2006-12-07 Wim Taymans <wim@fluendo.com>
10057 * libs/gst/base/gstbasesink.c: (gst_base_sink_event),
10058 (gst_base_sink_get_position):
10059 Improve debugging of events.
10061 2006-12-07 Wim Taymans <wim@fluendo.com>
10063 Patch by: René Stadler <mail at renestadler dot de>
10065 * gst/gstclock.c: (gst_clock_id_wait):
10066 Make period ids add the interval to the origial requested time instead
10067 of the possibly updated time which can be wrong when there are multiple
10068 waiters for the same id. Fixes #382592.
10070 * gst/gstsystemclock.c: (gst_system_clock_async_thread),
10071 (gst_system_clock_id_wait_jitter_unlocked),
10072 (gst_system_clock_id_wait_jitter):
10073 Fix restart in the async notify thread when an async entry is added to
10074 the front of the list. Fixes #381492.
10076 * tests/check/gst/gstsystemclock.c: (store_callback),
10077 (notify_callback), (GST_START_TEST), (gst_systemclock_suite):
10078 Added test for multiple async waits.
10079 Added test for async wait order.
10081 2006-12-07 Wim Taymans <wim@fluendo.com>
10083 * gst/gstbin.c: (gst_bin_query):
10084 Add some more docs about the POSITION query.
10086 2006-12-07 Jan Schmidt <thaytan@mad.scientist.com>
10089 Bump version nano - back to CVS.
10091 === release 0.10.11 ===
10093 2006-12-06 Jan Schmidt <thaytan@mad.scientist.com>
10096 releasing 0.10.11, "Love never runs on time"
10098 2006-12-01 Jan Schmidt <thaytan@mad.scientist.com>
10100 * win32/common/libgstbase.def:
10101 * win32/common/libgstreamer.def:
10102 * win32/vs8/libgstbase.vcproj:
10103 * win32/vs8/libgstcoreelements.vcproj:
10104 * win32/vs8/libgstreamer.vcproj:
10105 Fix compilation on win32 under VS8
10106 Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
10107 Partially fixes #381175
10109 2006-11-29 Jan Schmidt <thaytan@mad.scientist.com>
10111 * gst/gstvalue.c: (gst_value_compare_fraction):
10112 If someone is foolish enough to compare 2 fractions with denominator =
10113 0, return UNORDERED rather than aborting.
10115 2006-11-28 Edward Hervey <edward@fluendo.com>
10117 * libs/gst/base/Makefile.am:
10118 * libs/gst/base/gstdataqueue.c: (gst_data_queue_get_type),
10119 (gst_data_queue_base_init), (gst_data_queue_class_init),
10120 (gst_data_queue_init), (gst_data_queue_new),
10121 (gst_data_queue_cleanup), (gst_data_queue_finalize),
10122 (gst_data_queue_locked_flush), (gst_data_queue_locked_is_empty),
10123 (gst_data_queue_locked_is_full), (gst_data_queue_flush),
10124 (gst_data_queue_is_empty), (gst_data_queue_is_full),
10125 (gst_data_queue_set_flushing), (gst_data_queue_push),
10126 (gst_data_queue_pop), (gst_data_queue_drop_head),
10127 (gst_data_queue_set_property), (gst_data_queue_get_property):
10128 * libs/gst/base/gstdataqueue.h:
10129 New GstDataQueue object for threadsafe queueing. Most useful for
10130 elements that need some queueing functionnality.
10131 * docs/libs/gstreamer-libs-docs.sgml:
10132 * docs/libs/gstreamer-libs-sections.txt:
10133 Insert documentation for GstDataQueue
10134 * plugins/elements/Makefile.am:
10135 * plugins/elements/gstelements.c:
10136 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init),
10137 (gst_multi_queue_class_init), (gst_multi_queue_init),
10138 (gst_multi_queue_finalize), (gst_multi_queue_set_property),
10139 (gst_multi_queue_get_property), (gst_multi_queue_request_new_pad),
10140 (gst_multi_queue_release_pad), (gst_single_queue_push_one),
10141 (gst_multi_queue_item_destroy), (gst_multi_queue_item_new),
10142 (gst_multi_queue_loop), (gst_multi_queue_chain),
10143 (gst_multi_queue_sink_activate_push), (gst_multi_queue_sink_event),
10144 (gst_multi_queue_getcaps), (gst_multi_queue_bufferalloc),
10145 (gst_multi_queue_src_activate_push), (gst_multi_queue_acceptcaps),
10146 (gst_multi_queue_src_event), (gst_multi_queue_src_query),
10147 (wake_up_next_non_linked), (compute_next_non_linked),
10148 (single_queue_overrun_cb), (single_queue_underrun_cb),
10149 (single_queue_check_full), (gst_single_queue_new):
10150 * plugins/elements/gstmultiqueue.h:
10151 New multiqueue element, using GstDataQueue. Used for queuing multiple
10153 Closes #344639 and #347785
10155 2006-11-22 Stefan Kost <ensonic@users.sf.net>
10157 * docs/pwg/advanced-types.xml:
10158 add more missing type details
10160 * tools/gst-run.c: (main):
10161 remove unused variable
10163 2006-11-21 Stefan Kost <ensonic@users.sf.net>
10165 * docs/libs/Makefile.am:
10166 * docs/libs/gstreamer-libs.types:
10167 add types of base classes to enable gobject specific stuff in the docs
10169 * docs/random/ensonic/embedded.txt:
10170 more ideas about isolating platform specific things
10172 2006-11-20 Wim Taymans <wim@fluendo.com>
10174 Patch by: Sebastian Dröge <slomo at ubuntu dot com>
10176 * libs/gst/check/gstcheck.h:
10177 Fix compilation and running against 0.9.4. Fixes #377332.
10179 2006-11-20 Wim Taymans <wim@fluendo.com>
10181 * gst/gstsegment.c: (gst_segment_set_seek),
10182 (gst_segment_set_newsegment_full), (gst_segment_to_stream_time),
10183 (gst_segment_to_running_time):
10184 Fix boundary checking in to_running_time() and to_stream_time().
10187 * tests/check/gst/gstsegment.c: (GST_START_TEST):
10188 stream and running time can now be calculated for the complete
10191 2006-11-15 Tim-Philipp Müller <tim at centricular dot net>
10193 * gst/gstpad.c: (gst_pad_push_event):
10194 Can't access event structure after giving away ownership of
10197 2006-11-15 Stefan Kost <ensonic@users.sf.net>
10199 * docs/random/ensonic/embedded.txt:
10200 * docs/random/ensonic/profiling.txt:
10201 * docs/random/ensonic/receipies.txt:
10204 2006-11-13 Wim Taymans <wim@fluendo.com>
10206 Patch by: Mark Nauwelaerts <manauw at skynet dot be>
10209 Fix documentation for gst_pad_dispatcher. Fixes #374475.
10211 2006-11-13 Wim Taymans <wim@fluendo.com>
10213 Patch by: Jonathan Matthew <jonathan at kaolin dot wh9 dot net>
10215 * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
10216 Store new length in segment duration so we don't keep on calling the
10217 potentially expensize get_size() call. Fixes #370865.
10219 2006-11-10 Tim-Philipp Müller <tim at centricular dot net>
10221 Patch by: Sergey Scobich <sergey.scobich at gmail com>
10223 * win32/common/libgstreamer.def:
10224 Add two missing symbols (#366492).
10226 2006-11-10 Jan Schmidt <thaytan@mad.scientist.com>
10228 * libs/gst/base/gstadapter.c: (gst_adapter_flush),
10229 (gst_adapter_take_buffer):
10230 Fix format string to use all its arguments.
10231 Remove useless >= check on a guint
10233 2006-11-09 Jan Schmidt <thaytan@mad.scientist.com>
10235 * tests/examples/adapter/.cvsignore:
10236 Ignore build file as commanded by the build-bot
10238 2006-11-09 Jan Schmidt <thaytan@mad.scientist.com>
10240 * tests/examples/adapter/Makefile.am:
10241 * tests/examples/adapter/adapter_test.c: (run_test_take),
10242 (run_test_take_buffer), (run_tests), (main):
10244 Add new files from the previous commit
10246 2006-11-09 Jan Schmidt <thaytan@mad.scientist.com>
10250 * libs/gst/base/gstadapter.c: (gst_adapter_clear),
10251 (gst_adapter_push), (gst_adapter_peek_into), (gst_adapter_peek),
10252 (gst_adapter_flush), (gst_adapter_take), (gst_adapter_take_buffer):
10253 * libs/gst/base/gstadapter.h:
10254 * tests/check/libs/adapter.c: (create_and_fill_adapter),
10255 (GST_START_TEST), (gst_adapter_suite):
10256 * tests/examples/Makefile.am:
10257 Do some optimisation work in GstAdapter to avoid copies in more cases.
10258 It could still do slightly better by merging buffers when
10259 gst_buffer_is_span_fast is true, but is already faster.
10261 Also, avoid traversing a single-linked list to append each incoming
10262 buffer inside the adapter.
10264 Add simple test app that times the adapter behaviour in different
10265 situations, and extend the unit test to check that bytes enter and
10266 exit the adapter in their original order.
10268 2006-11-08 Tim-Philipp Müller <tim at centricular dot net>
10270 * docs/random/draft-missing-plugins.txt:
10271 Update: use element message instead of adding a new message
10272 type to the core; don't provide GStreamer API to initiate the
10273 plugin download, just provide API to compose the strings needed
10274 and let an external libgimmestuff handle the rest.
10276 2006-11-08 Jan Schmidt <thaytan@mad.scientist.com>
10278 * tools/gst-inspect.c: (print_element_properties_info):
10279 Print a string instead of 'unknown type' for GValueArray properties
10281 2006-11-08 Christian F.K. Schaller <christian@fluendo.com>
10283 * docs/random/draft-missing-plugins.txt:
10286 2006-11-07 Tim-Philipp Müller <tim at centricular dot net>
10288 * tests/examples/typefind/typefind.c: (type_found), (main):
10289 Make typefind element example work again (#371894); add a
10292 2006-11-07 Tim-Philipp Müller <tim at centricular dot net>
10294 * docs/random/draft-missing-plugins.txt:
10295 Commit initial draft about how to deal with missing plugins,
10296 needs work (API too).
10298 2006-11-07 Stefan Kost <ensonic@users.sf.net>
10300 * docs/pwg/advanced-types.xml:
10301 documents the new caps elements (see #363118)
10303 2006-11-06 Tim-Philipp Müller <tim at centricular dot net>
10305 * gst/gstplugin.c: (gst_plugin_load_file):
10306 * plugins/elements/gstfilesrc.c: (gst_mmap_buffer_finalize),
10307 (gst_file_src_map_region), (gst_file_src_start):
10308 * plugins/indexers/gstfileindex.c: (gst_file_index_load),
10309 (gst_file_index_commit):
10310 Use g_strerror() instead of strerror() - we want UTF-8.
10312 2006-11-06 Tim-Philipp Müller <tim at centricular dot net>
10314 Patch by: Peter Kjellerstedt <pkj at axis com>
10316 * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
10317 Another printf fix (#371493).
10319 2006-11-06 Stefan Kost <ensonic@users.sf.net>
10321 * tests/check/gst/gsttag.c:
10322 relicence (okay with author=company)
10324 2006-11-06 Stefan Kost <ensonic@users.sf.net>
10326 * gst/gstpad.c: (gst_pad_event_default_dispatch),
10327 (gst_pad_push_event):
10328 Enhance debug and improve docs
10333 2006-11-06 Stefan Kost <ensonic@users.sf.net>
10335 * docs/random/ensonic/distributed.txt:
10336 * docs/random/ensonic/profiling.txt:
10339 2006-11-06 Stefan Kost <ensonic@users.sf.net>
10341 * docs/gst/gstreamer-sections.txt:
10342 add new API and fix the build
10344 * gst/gstbin.c: (gst_bin_recalc_state):
10345 * gst/gstelement.c: (gst_element_message_full),
10346 (gst_element_get_state_func), (gst_element_set_state_func):
10347 use new API and improve logging
10349 * gst/gstutils.c: (gst_element_state_change_return_get_name):
10351 API: add function to get StateChangereturn names to improve logs
10353 2006-11-04 Thomas Vander Stichele <thomas at apestaart dot org>
10355 * plugins/elements/gstfilesrc.c: (gst_file_src_start):
10356 I'm considering shooting the next person to put strerror stuff
10357 in the translateable part of the message.
10359 2006-11-03 Wim Taymans <wim@fluendo.com>
10361 * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
10362 Get the type and printf conversion specifiers right.
10364 2006-11-03 Wim Taymans <wim@fluendo.com>
10366 Patch by: Mark Nauwelaerts <manauw at skynet dot be>
10368 * gst/gstpad.c: (gst_pad_init), (pre_activate),
10369 (gst_pad_set_blocked_async), (gst_pad_acceptcaps_default),
10370 (gst_pad_accept_caps), (handle_pad_block), (gst_pad_push_event):
10371 Some small cleanups. Improve debugging.
10373 Signal all waiting threads with a broadcast instead of just one.
10376 2006-11-03 Wim Taymans <wim@fluendo.com>
10378 * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd),
10379 (gst_fd_src_create):
10380 Add some debugging.
10381 Only update fd when it's different from the old.
10383 2006-11-02 Tim-Philipp Müller <tim at centricular dot net>
10385 * plugins/elements/gstfilesrc.c: (gst_file_src_create_mmap):
10386 Printf fixes for PPC/OSX, take two (#369366).
10388 2006-11-02 Tim-Philipp Müller <tim at centricular dot net>
10390 Based on patch by: Jan David Mol <j.j.d.mol at tudelft nl>
10392 * plugins/elements/gstfilesink.c: (gst_file_sink_class_init):
10393 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
10394 (gst_file_src_map_small_region), (gst_file_src_create_mmap):
10395 Printf fixes for gsize parameters on PPC/OSX (#369366). Also,
10396 don't cast to long long for portability reasons, but use
10397 GLib's types instead.
10399 2006-10-30 Michael Smith <msmith@fluendo.com>
10401 * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
10402 Get the arguments to lseek() the right way around.
10405 2006-10-30 Wim Taymans <wim@fluendo.com>
10407 Patch by: gorshkov <gorshkov at oghma dot on dot ca>
10410 _declspec should be __declspec (two underscores, not one). Fixes 366572.
10412 2006-10-28 Tim-Philipp Müller <tim at centricular dot net>
10414 Patch by: Kjartan Maraas <kmaraas at gnome org>
10416 * docs/design/part-MT-refcounting.txt:
10417 * docs/random/wtay/capsnego2-docs:
10420 Typo fixes (#366212).
10422 2006-10-28 Wim Taymans <wim@fluendo.com>
10424 Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
10427 * win32/common/libgstbase.def:
10428 * win32/common/libgstreamer.def:
10429 * win32/vs8/libgstbase.vcproj:
10430 * win32/vs8/libgstcontroller.vcproj:
10431 Add needed entries in .def files.
10433 Rearrange def files in vs8 solutions. Fixes #366286.
10435 2006-10-28 Tim-Philipp Müller <tim at centricular dot net>
10437 * win32/common/gstconfig.h:
10438 Add GST_SEGMENT_FORMAT and GST_USING_PRINTF_EXTENSION to the
10439 hand-made win32 gstconfig.h. Fixes #366321.
10441 2006-10-27 Wim Taymans <wim@fluendo.com>
10443 * gst/gstghostpad.c: (gst_proxy_pad_do_acceptcaps),
10444 (gst_ghost_pad_new_full):
10445 Make acceptcaps return TRUE when we don't have a target, just like
10448 2006-10-27 Wim Taymans <wim@fluendo.com>
10450 * libs/gst/base/gstbasetransform.c: (gst_base_transform_chain):
10451 Revert previous commit, 0 sized buffers are allowed. Reopens #363095.
10453 2006-10-26 Tim-Philipp Müller <tim at centricular dot net>
10455 * gst/gststructure.c: (gst_structure_id_set_value):
10456 If someone tries to set a non-UTF8 string field on a structure,
10457 don't just print a warning, but also ignore the request and do
10458 not change/add that field to the structure.
10460 * tests/check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
10461 Test for the above.
10463 2006-10-25 David Schleef <ds@schleef.org>
10466 g_hash_table_insert() needs a cast to a non-const pointer duh.
10468 2006-10-25 David Schleef <ds@schleef.org>
10472 Change name parameter of _gst_debug_register_funcptr to const
10473 to reflect the constness of its use in the function as well
10474 as to quiet a gcc warning.
10476 2006-10-25 Edward Hervey <edward@fluendo.com>
10478 * libs/gst/base/gstbasetransform.c: (gst_base_transform_chain):
10479 Don't push the buffer if it's empty.
10482 2006-10-24 Wim Taymans <wim@fluendo.com>
10487 * libs/gst/base/gstbasetransform.c:
10488 (gst_base_transform_sink_eventfunc):
10489 Debug segment values *after* updating them as this is more
10492 2006-10-23 Wim Taymans <wim@fluendo.com>
10494 * docs/design/part-events.txt:
10497 * docs/design/part-block.txt:
10498 * gst/gstpad.c: (gst_pad_is_blocking), (handle_pad_block),
10499 (gst_pad_push_event):
10500 Revert BLOCKING patch, it tries to be smart without really having a
10501 clear idea what or how. So, now we discard all FLUSHING events again on
10502 a blocking pad. Should fix gnonlin again.
10504 2006-10-23 Wim Taymans <wim@fluendo.com>
10506 Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
10508 * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
10509 (gst_base_src_start), (gst_base_src_activate_push):
10510 Make sure size is always initialized. Fixes #364388.
10512 2006-10-20 Stefan Kost <ensonic@users.sf.net>
10514 * docs/random/ensonic/distributed.txt:
10515 add some ideas about doing distributed processing
10517 * docs/random/ensonic/profiling.txt:
10518 get_rusage look promising
10520 2006-10-18 Stefan Kost <ensonic@users.sf.net>
10522 * docs/manual/basics-helloworld.xml:
10523 Add a cast in example to fix compile warning
10525 2006-10-18 Wim Taymans <wim@fluendo.com>
10527 * gst/gstsegment.c: (gst_segment_set_last_stop),
10528 (gst_segment_set_seek), (gst_segment_set_newsegment_full):
10529 Relax arg checking again, -1 is allowed.
10531 2006-10-18 Wim Taymans <wim@fluendo.com>
10533 * gst/gstsegment.c: (gst_segment_set_last_stop),
10534 (gst_segment_set_seek), (gst_segment_set_newsegment_full):
10535 _set_last_stop() must be with a value != -1
10536 A _TYPE_SET to -1 means seek to 0.
10537 Calc last_stop correctly for negative rates.
10538 Make sure we work with positive durations when updating a segment.
10540 2006-10-18 Wim Taymans <wim@fluendo.com>
10542 * docs/design/part-live-source.txt:
10546 2006-10-18 Tim-Philipp Müller <tim at centricular dot net>
10549 Add an explicit cast to GstBuffer** to keep old code that added an
10550 explicit cast to GstMiniObject** for gst_mini_object_replace()
10551 compiling without warning.
10553 2006-10-18 Stefan Kost <ensonic@users.sf.net>
10555 * gst/gstvalue.c: (gst_value_set_date), (gst_date_copy):
10556 check for validity of dates
10558 2006-10-17 Tim-Philipp Müller <tim at centricular dot net>
10560 * docs/gst/gstreamer-sections.txt:
10561 Forgot this one, makes gtk-doc shut up.
10563 2006-10-17 Tim-Philipp Müller <tim at centricular dot net>
10565 Patch by: Peter Kjellerstedt <pkj at axis com>
10568 Don't define xmlNodePtr to gpointer if the core was built with
10569 --disable-loadsave and --disable-registry, this will break
10570 applications that want to use libxml2 but are buildling against a
10571 core that doesn't use libxml2. Use an intermediary type GstXmlNodePtr
10572 instead so we don't have to mess with the libxml2 namespace
10575 2006-10-17 Tim-Philipp Müller <tim at centricular dot net>
10578 Fix gst_buffer_replace() macro to avoid gst_mini_object_replace()-related
10579 type-punned pointer warnings.
10581 2006-10-16 Tim-Philipp Müller <tim at centricular dot net>
10583 * gst/gstelement.h:
10584 Add casts to the correct return type to state <=> state transition
10587 2006-10-16 Stefan Kost <ensonic@users.sf.net>
10589 * docs/design/part-live-source.txt:
10590 describe howto handle latency
10592 * docs/random/ensonic/profiling.txt:
10595 * tools/gst-plot-timeline.py:
10596 fix log parsing for solaris, remove unused function
10598 2006-10-16 Wim Taymans <wim@fluendo.com>
10600 * docs/design/part-trickmodes.txt:
10602 Update some docs regarding reverse playback.
10604 2006-10-15 Tim-Philipp Müller <tim at centricular dot net>
10606 Patch by: Marcus Granado <mrc dot gran at gmail com>
10608 * win32/vs8/grammar.vcproj:
10609 Error out with a warning if glib-genmarshal.exe is not in path,
10610 instead of creating bogus gstmarshal.[ch] files. Fixes #361720.
10612 2006-10-13 Wim Taymans <wim@fluendo.com>
10614 * gst/gstsegment.c: (gst_segment_set_seek):
10615 When seeking to stop -1, set last_stop (current position) to the
10616 duration of the segment.
10618 2006-10-13 Wim Taymans <wim@fluendo.com>
10620 * gst/gstelement.h:
10621 Clarify _NO_PREROLL a bit more.
10626 * gst/gstpad.c: (gst_pad_link_check_hierarchy),
10627 (gst_pad_get_caps_unlocked), (gst_pad_save_thyself),
10628 (handle_pad_block), (gst_pad_push_event), (gst_pad_send_event):
10629 Patch by: Yves Lefebvre <ivanohe at abacom dot com> Fix possible deadlock
10630 due to wrong locking order. Fixes #361769.
10631 Remove some redundant/misplaced checks in pad_block.
10633 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
10634 For negative rates, count backwards from the duration.
10636 2006-10-13 Tim-Philipp Müller <tim at centricular dot net>
10638 * gst/gsterror.c: (_gst_library_errors_init):
10639 Fix error message for GST_LIBRARY_ERROR_SETTINGS (feel free to come
10640 up with something better).
10642 2006-10-12 Tim-Philipp Müller <tim at centricular dot net>
10644 * win32/vs6/libgstreamer.dsp:
10645 * win32/vs7/libgstreamer.vcproj:
10646 * win32/vs8/libgstreamer.vcproj:
10647 Don't reference glib-compat.c which is currently not used and not
10648 disted; add gstquark.c which was recently added. Fixes #361730.
10650 2006-10-12 Tim-Philipp Müller <tim at centricular dot net>
10652 * win32/common/libgstbase.def:
10653 * win32/common/libgstcontroller.def:
10654 * win32/common/libgstreamer.def:
10655 Add gst_caps_merge() and a bunch of other recently-added functions.
10658 2006-10-11 Wim Taymans <wim@fluendo.com>
10660 * docs/plugins/gstreamer-plugins.args:
10661 * docs/plugins/inspect/plugin-coreelements.xml:
10662 * docs/plugins/inspect/plugin-coreindexers.xml:
10663 Update element args.
10665 * gst/gstsystemclock.c:
10666 Small comment update.
10668 * plugins/elements/gsttee.c: (gst_tee_class_init), (gst_tee_init),
10669 (gst_tee_request_new_pad), (gst_tee_release_pad),
10670 (gst_tee_buffer_alloc), (gst_tee_sink_activate_push),
10671 (gst_tee_sink_activate_pull):
10672 * plugins/elements/gsttee.h:
10674 Add default property defines.
10675 Implement release pad function.
10676 Give properties better blubs etc.
10677 Activate pads before adding them to a running tee.
10678 Do simple buffer_alloc on the first requested pad.
10679 Post error when activation fails.
10681 2006-10-11 Tim-Philipp Müller <tim at centricular dot net>
10683 * gst/gst.c: (ensure_current_registry_forking):
10684 Check return value of write() to make compiler happy.
10686 2006-10-11 Wim Taymans <wim@fluendo.com>
10688 Patch by: Sjoerd Simons <sjoerd at luon dot net>
10690 * plugins/elements/gstqueue.c: (gst_queue_chain):
10691 Recheck queue filledness after signalling the overrun when we're about
10692 to leak downstream because we released the lock when emitting the signal
10693 and the queue could be empty again. Fixes #352345.
10695 2006-10-11 Tim-Philipp Müller <tim at centricular dot net>
10697 * libs/gst/controller/gstcontroller.c: (gst_controller_new_list):
10698 Fix refcounting here too, just like we did for _new_valist() a few
10699 days ago (#357180) (thanks to René Stadler). Also remove all those
10700 'Since: 0.9' from the gtk-doc blobs.
10702 * tests/check/libs/controller.c: (controller_refcount_new_list),
10703 (gst_controller_suite):
10704 Unit test for the above.
10706 2006-10-10 Wim Taymans <wim@fluendo.com>
10708 Patch by: Sebastien Cote <sebas642 at yahoo dot ca>
10710 * gst/gstpad.c: (gst_pad_get_caps_unlocked),
10711 (gst_pad_save_thyself):
10713 Write pad direction in XML output. Fixes #345496.
10715 2006-10-10 Wim Taymans <wim@fluendo.com>
10717 Patch by: René Stadler <mail at renestadler dot de>
10719 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
10720 (gst_controller_new_list), (_gst_controller_dispose),
10721 (_gst_controller_finalize), (_gst_controller_class_init):
10722 Take ref to controlled object so that it cannot disappear.
10725 2006-10-10 Wim Taymans <wim@fluendo.com>
10727 * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
10728 (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
10729 (gst_check_teardown_sink_pad):
10730 Activate/deactivate pads in setup/teardown respectively.
10732 2006-10-10 Zaheer Abbas Merali <zaheerabbas at merali dot org>
10734 Patch by: Josep Torra Valles <josep@fluendo.com>
10737 Cast values when making gstenumtypes.h. This pacifies Forte
10738 so it doesn't warn about the ~0 as GST_MESSAGE_ANY not fitting
10739 in the enumeration.
10741 2006-10-09 Wim Taymans <wim@fluendo.com>
10743 * gst/gstevent.c: (gst_event_new_seek), (gst_event_parse_seek):
10744 Rename some more @cur to @start to fix docs.
10746 * gst/gstsegment.c: (gst_segment_set_seek):
10748 time and start must always stay in sync as defined in design doc.
10750 * gst/gsttaglist.c: (gst_tag_list_is_empty):
10751 Rename param to fix docs.
10753 * tests/check/gst/gstsegment.c: (GST_START_TEST):
10754 Check that start and time are in sync.
10756 * tests/check/pipelines/parse-launch.c:
10757 (gst_parse_test_element_change_state):
10758 Activate pad before adding to the element.
10760 2006-10-09 Wim Taymans <wim@fluendo.com>
10762 * docs/design/part-qos.txt:
10767 Update seek event docs regarding negative rates.
10768 Rename @cur to @start.
10770 * gst/gstsegment.c: (gst_segment_set_seek):
10771 * gst/gstsegment.h:
10772 Update set_seek docs regarding negative rates.
10773 Correctly update last_stop to @stop when dealing with negative
10775 Rename @cur to @start.
10777 * tests/check/gst/gstpad.c: (GST_START_TEST):
10778 Activate pads before trying to use them.
10780 * tests/check/gst/gstsegment.c: (GST_START_TEST),
10781 (gst_segment_suite):
10782 Add simple check for segments and negative rates.
10784 2006-10-09 Tim-Philipp Müller <tim at centricular dot net>
10786 * gst/gsttaglist.c: (gst_tag_list_is_empty):
10787 * gst/gsttaglist.h:
10788 * docs/gst/gstreamer-sections.txt:
10789 API: add gst_tag_list_is_empty() (#360467).
10791 * tests/check/gst/gsttag.c: (GST_START_TEST):
10794 2006-10-09 Zaheer Abbas Merali <zaheerabbas at merali dot org>
10796 * gst/gstmessage.h:
10797 Revert change from earlier wrt GST_MESSAGE_TYPE_ANY having
10798 a value that doesn't fit on enumeration.
10800 2006-10-09 Zaheer Abbas Merali <zaheerabbas at merali dot org>
10802 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
10803 Remove local debugging system and use Gstreamer's instead.
10805 2006-10-09 Zaheer Abbas Merali <zaheerabbas at merali dot org>
10807 Patch by: Josep Torra Valles <josep@fluendo.com>
10809 * common/m4/gst-error.m4:
10810 Disable warning of statement not reached on Forte.
10811 * gst/gstmessage.h:
10812 Fix warning on Forte (value doesn't fit on enumeration).
10813 * libs/gst/base/gstbasesink.c: (gst_base_sink_chain_unlocked):
10814 Fix warning on Forte (value doesn't fit on enumeration).
10815 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
10816 DEBUG macro says it takes minimum of 2 args and so Forte
10817 complains about the use with just 1 arg.
10818 * plugins/elements/gstfdsink.c:
10819 * plugins/elements/gstfdsrc.c:
10820 * plugins/elements/gstfilesink.c:
10821 * plugins/elements/gstfilesrc.c:
10822 Use correct return type for the uri handler implementations.
10824 All these fix warnings in Forte. Fixes bug #360860.
10826 2006-10-08 Tim-Philipp Müller <tim at centricular dot net>
10828 * gst/gstelement.h:
10829 gcc versions prior to gcc 3.3 apparently complain about a NULL printf
10830 format string, so don't use G_GNUC_PRINTF for those versions.
10832 2006-10-07 Tim-Philipp Müller <tim at centricular dot net>
10834 * gst/gsttaglist.c: (gst_is_tag_list):
10835 * gst/gsttaglist.h:
10836 Minor fixes to GST_IS_TAG_LIST and gst_is_tag_list().
10838 * tests/check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
10839 Small test for the above.
10841 2006-10-07 Tim-Philipp Müller <tim at centricular dot net>
10843 * gst/gsttaglist.h:
10844 Less tabs, more spaces.
10846 2006-10-06 Tim-Philipp Müller <tim at centricular dot net>
10849 Those two function declarations do actually belong there, revert
10850 commit from yesterday that turned them intro macros.
10852 2006-10-06 Zaheer Abbas Merali <zaheerabbas at merali dot org>
10854 Patch by: Josep Torra Valles <josep@fluendo.com>
10856 * gst/gst.c: (gst_init_get_option_group):
10857 Fix empty declaration and type mismatch.
10858 * gst/gstbin.c: (gst_bin_change_state_func):
10860 * gst/gstelement.c: (gst_element_continue_state),
10861 (gst_element_set_state_func), (gst_element_change_state),
10862 (gst_element_change_state_func):
10863 Fix type mismatches.
10864 * gst/gstinfo.c: (gst_debug_compare_log_function_by_func),
10865 (gst_debug_remove_log_function), (_gst_debug_nameof_funcptr):
10866 Cast as appropriate.
10867 * gst/gstobject.c: (gst_class_signal_connect):
10868 Cast as appropriate. The function pointer parameter really
10869 has the wrong type but would break API if we change it.
10871 Fix redefinition of _FILE_OFFSET_BITS caused on Solaris wrt
10872 order of including string.h.
10873 * gst/gstutils.c: (gst_element_state_get_name):
10874 Remove unreachable line.
10875 * gst/gstxml.c: (gst_xml_parse_doc):
10877 All these caught by Forte.
10879 2006-10-06 Zaheer Abbas Merali <zaheerabbas at merali dot org>
10881 Patch by: Josep Torra Valles <josep@fluendo.com>
10883 * common/m4/gst-error.m4:
10885 We need to disable warnings on Forte for empty declarations
10886 due to gst-indent adding ;s to lines that just use macros
10887 where the macro actually doesn't need a ; at end to end
10890 2006-10-06 Wim Taymans <wim@fluendo.com>
10892 * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
10893 (gst_file_sink_close_file), (gst_file_sink_event),
10894 (gst_file_sink_render):
10895 Add some FIXME for the NEWSEGMENT handling.
10897 2006-10-05 Zaheer Abbas Merali <zaheerabbas at merali dot org>
10899 * gst/parse/grammar.y:
10900 Remove static function gst_parse_element_lock as all it does
10901 is return. Looks like cruft from 0.8.
10903 2006-10-05 Zaheer Abbas Merali <zaheerabbas at merali dot org>
10905 Patch by: Josep Torra Valles <josep@fluendo.com>
10907 * common/m4/gst-error.m4:
10909 * libs/gst/net/Makefile.am:
10910 Fix a compilation issue with Forte on Solaris. inet_aton is in
10913 2006-10-05 Tim-Philipp Müller <tim at centricular dot net>
10915 * gst/gstpad.c: (pre_activate):
10916 * gst/gstregistry.c: (gst_registry_scan_path_level):
10917 * gst/gstregistryxml.c: (load_plugin):
10918 * libs/gst/controller/gstcontroller.c:
10919 (gst_controlled_property_set_interpolation_mode):
10920 * libs/gst/dataprotocol/dataprotocol.c:
10921 (gst_dp_packet_from_event_1_0):
10922 * libs/gst/net/gstnetclientclock.c:
10923 (gst_net_client_clock_observe_times):
10924 * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
10927 2006-10-05 Tim-Philipp Müller <tim at centricular dot net>
10930 * docs/gst/gstreamer-sections.txt:
10931 * gst/gstconfig.h.in:
10932 * gst/gstelement.h:
10934 Add GST_USING_PRINTF_EXTENSION to gstconfig.h so that we know
10935 whether we can use G_GNUC_PRINTF in other header files and at
10936 least check the printf format/arguments of debug messages and
10937 GST_ELEMENT_ERROR messages when the printf extension is not
10939 Replace more tabs with spaces in gstinfo.h and remove two spurious
10940 function declarations in GST_DISABLE_DEBUG part with macros.
10942 2006-10-03 Tim-Philipp Müller <tim at centricular dot net>
10944 * gst/gstbus.c: (gst_bus_class_init), (gst_bus_post):
10945 More docs for the sync-message signal (mention that it is not
10946 emitted by default); log message structures of messages posted on
10949 2006-10-03 Jan Schmidt <thaytan@mad.scientist.com>
10951 * gst/gst.c: (ensure_current_registry_forking):
10952 Use a pipe pair to receive status results from the forked child, and
10953 ignore the result from waitpid. Fixes #355499
10955 2006-10-02 Wim Taymans <wim@fluendo.com>
10957 * tests/check/gst/gstghostpad.c: (GST_START_TEST),
10958 (gst_ghost_pad_suite):
10961 2006-10-02 Tim-Philipp Müller <tim at centricular dot net>
10964 Add 'Since: 0.10.11' to gst_pad_is_blocking() gtk-doc blurb.
10966 2006-10-02 Edward Hervey <edward@fluendo.com>
10968 * docs/design/part-block.txt:
10969 Further explain the use of flushing on blocked pads.
10970 * docs/gst/gstreamer-sections.txt:
10971 * gst/gstpad.c: (gst_pad_is_blocking), (handle_pad_block),
10972 (gst_pad_push_event):
10974 Added new GstPadFlag : GST_PAD_BLOCKING.
10975 Adds the notion of pads really blocking, which enables to properly
10976 handle FLUSH_START/FLUSH_STOP events on blocked pads.
10978 API: gst_pad_is_blocking()
10979 API: GST_PAD_IS_BLOCKING() macro
10980 API: GST_PAD_BLOCKING GstPadFlag
10982 2006-10-02 Wim Taymans <wim@fluendo.com>
10984 Patch by: mrcgran <mrc.gran at gmail dot com>
10986 * gst/gstghostpad.c: (gst_proxy_pad_do_getcaps):
10987 Filter the proxied caps against the padtemplate if we have one.
10989 * gst/gstquery.c: (gst_query_new_segment):
10990 Add include for gstinfo.h so that compilation with
10991 -DGST_DISABLE_GST_DEBUG works again. Fixes #358436.
10993 2006-10-02 Wim Taymans <wim@fluendo.com>
10995 Patch by: Alessandro Decina <alessandro at nnva org>
10997 * plugins/elements/gstfilesink.c: (gst_file_sink_init),
10998 (gst_file_sink_set_location), (gst_file_sink_open_file),
10999 (gst_file_sink_close_file), (gst_file_sink_event),
11000 (gst_file_sink_render):
11001 Set file to NULL when closing filesink so that we can set a new filename
11002 in READY. Fixes #358613.
11004 2006-10-02 Tim-Philipp Müller <tim at centricular dot net>
11006 Patch by: Alessandro Decina <alessandro at nnva org>
11008 * gst/gstevent.c: (_gst_event_copy):
11009 Fix gst_mini_object_make_writable() and gst_event_copy() for events
11010 with event structures by setting the parent refcount address of the
11011 copied structure to the address of the refcount member of the newly
11012 copied event rather than the address of the refcount member of the
11013 original event. Fixes #358737.
11015 * tests/check/gst/gstevent.c: (GST_START_TEST):
11016 Unit test for the above.
11018 2006-09-29 Stefan Kost <ensonic@users.sf.net>
11020 * docs/design/Makefile.am:
11021 Dist some more files.
11023 2006-09-29 Tim-Philipp Müller <tim at centricular dot net>
11025 * tests/check/libs/controller.c: (GST_START_TEST),
11026 (gst_controller_suite):
11027 Add test for the previous fix; add some more tests
11028 for correct refcounting behaviour; fix a few leaks
11029 in test cases; call gst_controller_init() at start
11032 2006-09-29 Tim-Philipp Müller <tim at centricular dot net>
11034 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
11035 (gst_controller_set_from_list):
11036 Don't g_return_val_if_fail() on timed values with invalid timestamps
11037 inside a critical section without unlocking the mutex. Spotted by
11038 René Stadler. (#357617)
11039 Also, fix up refcounting properly: when returning an existing
11040 controller, we should increase the reference only once and not
11041 once per property and when trying to control a property again
11042 we should also increase the refcount.
11044 2006-09-29 Wim Taymans <wim@fluendo.com>
11046 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
11047 * libs/gst/net/gstnettimeprovider.c:
11048 (gst_net_time_provider_thread):
11049 Stop reading commands when EOF as well.
11051 * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init):
11052 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init):
11053 * plugins/elements/gstidentity.c: (gst_identity_class_init):
11054 Unify description of the dump property.
11056 2006-09-28 Jan Schmidt <thaytan@mad.scientist.com>
11058 * tests/examples/manual/.cvsignore:
11059 OK, so it's actually cvsignore that needs changing. Stop laughing.
11061 2006-09-28 Jan Schmidt <thaytan@mad.scientist.com>
11063 * tests/examples/manual/Makefile.am:
11064 Gah, declare vars *before* using them
11066 2006-09-28 Jan Schmidt <thaytan@mad.scientist.com>
11068 * gst/gst.c: (init_pre), (scan_and_update_registry),
11069 (ensure_current_registry_nonforking),
11070 (ensure_current_registry_forking), (ensure_current_registry),
11071 (init_post), (gst_debug_help), (gst_deinit):
11072 * gst/gst_private.h:
11073 * gst/gstregistry.c: (gst_registry_finalize),
11074 (gst_registry_remove_features_for_plugin_unlocked),
11075 (gst_registry_remove_plugin), (gst_registry_scan_path_level),
11076 (gst_registry_scan_path),
11077 (_priv_gst_registry_remove_cache_plugins),
11078 (_priv_gst_registry_cleanup):
11079 * gst/gstregistry.h:
11080 Re-commit the registry changes, along with an extra fix:
11081 When a cached plugin is encountered at a different file path,
11082 update the stored path in the registry cache so that the parent
11083 process knows where it actually is now when it re-reads the registry
11084 cache. Fixes the thing that broke distcheck with the previous commit.
11086 * tests/check/Makefile.am:
11087 Clean up files named 'core' too when running make clean.
11089 * tests/examples/manual/Makefile.am:
11090 Set up a registry path for running these tests, and clean it properly
11093 2006-09-28 Jan Schmidt <thaytan@mad.scientist.com>
11096 Don't pull in gmodule-2.0.pc as a dependency in our .pc files - we
11097 want gmodule-no-export-2.0.pc instead so that we don't drag in
11098 --export-dynamic on every project that links to GStreamer.
11100 Also, make our export regex only match the start of symbols, rather
11101 than any symbol that contains '_gst' somewhere.
11103 * libs/gst/check/Makefile.am:
11104 The libgstcheck we build does however need export-dynamic, as it
11105 produces some symbols that don't match our _gst... style regex.
11108 2006-09-27 Jan Schmidt <thaytan@mad.scientist.com>
11110 * gst/gst.c: (init_pre), (scan_and_update_registry),
11111 (ensure_current_registry_nonforking),
11112 (ensure_current_registry_forking), (ensure_current_registry),
11113 (init_post), (gst_debug_help), (gst_deinit):
11114 * gst/gst_private.h:
11115 * gst/gstregistry.c: (gst_registry_finalize),
11116 (gst_registry_remove_plugin), (gst_registry_scan_path_level),
11117 (gst_registry_scan_path), (_gst_registry_remove_cache_plugins),
11118 (_gst_registry_cleanup):
11119 * gst/gstregistry.h:
11120 Revert previous change until I figure out why it breaks distcheck.
11122 2006-09-27 Jan Schmidt <thaytan@mad.scientist.com>
11124 * gst/gst.c: (init_pre), (scan_and_update_registry),
11125 (ensure_current_registry_nonforking),
11126 (ensure_current_registry_forking), (ensure_current_registry),
11127 (init_post), (gst_debug_help), (gst_deinit):
11129 Make init_pre and init_post take the full complement of GOptionFunc
11130 args so they can return useful GErrors. Make the registry updating
11133 Call _priv_gst_registry_remove_cache_plugins after scanning files to
11134 ensure that the registry we're about to write out doesn't contain
11135 stale information about old-deleted plugin files.
11137 Make _priv_gst_registry_remove_cache_plugins return a boolean so
11138 that deletion of plugin files is considered a registry change.
11140 * gst/gst_private.h:
11141 * gst/gstregistry.c: (gst_registry_finalize),
11142 (gst_registry_remove_features_for_plugin_unlocked),
11143 (gst_registry_remove_plugin), (gst_registry_scan_path_level),
11144 (gst_registry_scan_path),
11145 (_priv_gst_registry_remove_cache_plugins),
11146 (_priv_gst_registry_cleanup):
11147 * gst/gstregistry.h:
11148 Rename _gst_registry_remove_cache_plugins and _gst_registry_cleanup
11149 by adding _priv prefix, so that they won't appear in the global
11150 symbol table. They still do atm though because of #318031. Move the
11151 prototypes to gst_private.h
11153 When removing a plugin, remove all features for that plugin too.
11156 2006-09-27 Wim Taymans <wim@fluendo.com>
11158 * docs/random/moving-plugins:
11159 Make it clear that the "compiled-in descriptions" really mean
11160 the element details.
11162 * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
11163 (gst_base_sink_wait_preroll):
11166 * docs/libs/gstreamer-libs-sections.txt:
11167 * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
11168 (gst_base_src_get_range), (gst_base_src_activate_push):
11169 * libs/gst/base/gstbasesrc.h:
11170 Added function to block while waiting for PLAYING, this function
11171 is used by live sources that block on the clock.
11172 API: gst_base_src_wait_playing()
11174 2006-09-27 Tim-Philipp Müller <tim at centricular dot net>
11176 Patch by: Peter Kjellerstedt <pkj at axis com>
11179 gst-element-check.m4 is generated and should therefore be
11180 copied from the build dir rather than the source dir (#357593).
11181 'make distcheck' hasn't noticed this because we were disting
11182 the file as well, so stop doing that.
11184 2006-09-27 Tim-Philipp Müller <tim at centricular dot net>
11186 * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
11187 Add some tests for gst_caps_intersect().
11189 * tools/gst-launch.c: (event_loop):
11190 Print all buffering percentages we get, even the 100% one.
11192 2006-09-26 Wim Taymans <wim@fluendo.com>
11194 * tools/gst-inspect.c: (print_element_properties_info),
11195 (print_signal_info):
11196 Fix printing of flags to match the look of enums.
11198 2006-09-25 Tim-Philipp Müller <tim at centricular dot net>
11200 * gst/gstelementfactory.c:
11201 Fix typo in docs blurb.
11203 2006-09-25 Tim-Philipp Müller <tim at centricular dot net>
11205 * gst/gsturi.c: (search_by_entry):
11206 Don't assert/crash here if a uri handler doesn't return any
11207 supported protocols. The list of protocols could be generated
11208 dynamically at runtime or at plugin registration, and an error
11209 in the underlying library shouldn't be fatal (#353301).
11211 2006-09-25 Tim-Philipp Müller <tim at centricular dot net>
11214 Fix warning if HAVE_PRINTF_EXTENSION is undefined
11215 (spotted by Peter Kjellerstedt).
11217 2006-09-23 Wim Taymans <wim@fluendo.com>
11219 Based on patch by: Antoine Tremblay <hexa00 at gmail dot com>
11221 * libs/gst/base/gstbasesrc.c:
11222 (gst_base_src_default_check_get_range), (gst_base_src_start),
11223 (gst_base_src_activate_push), (gst_base_src_activate_pull),
11224 (gst_base_src_change_state):
11225 Match _start/_stop calls in the activate functions. Remove redundant
11226 _stop call from the state change function. Fixes #356910.
11227 Turn failure DEBUG into ERROR.
11229 2006-09-22 Wim Taymans <wim@fluendo.com>
11231 * docs/design/part-buffering.txt:
11232 * gst/gstmessage.c: (gst_message_new_buffering),
11233 (gst_message_parse_buffering):
11234 Update docs about buffering.
11236 * docs/design/part-trickmodes.txt:
11239 2006-09-22 Stefan Kost <ensonic@users.sf.net>
11241 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
11242 (gst_controller_new_list):
11243 Ref instances when returning them again (fixes #357180)
11245 2006-09-22 Tim-Philipp Müller <tim at centricular dot net>
11247 * gst/gstghostpad.c: (gst_ghost_pad_set_target):
11248 Don't forget to release proxy lock when there's an error.
11250 2006-09-20 Jan Schmidt <thaytan@mad.scientist.com>
11253 Add extra initialisers for Caps things, to fix some plugin warnings
11256 2006-09-18 Wim Taymans <wim@fluendo.com>
11258 * gst/gstghostpad.c: (gst_ghost_pad_new_full):
11259 Also set template on the internal pad so that a getcaps from the
11260 target pad returns the template caps.
11262 2006-09-18 Wim Taymans <wim@fluendo.com>
11264 * gst/gstelement.c: (gst_element_post_message),
11265 (gst_element_dispose):
11266 Use _DEBUG_OBJECT some more.
11268 * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
11271 * tools/gst-launch.c: (main):
11272 If the toplevel element is not a GstPipeline, it must be put in a
11273 pipeline so that a bus and clock is selected.
11275 2006-09-17 Tim-Philipp Müller <tim at centricular dot net>
11277 * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query):
11278 JITTER, RATE, and LATENCY query should be handled by the
11279 default case and not by the CONVERT query code.
11281 2006-09-17 Tim-Philipp Müller <tim at centricular dot net>
11283 * gst/gstformat.c: (gst_format_register):
11284 Fix locking order (must take lock before using n_values).
11286 * gst/gstvalue.c: (gst_value_serialize_enum),
11287 (gst_value_deserialize_enum_iter_cmp),
11288 (gst_value_deserialize_enum):
11289 Fix serialisation/deserialisation of custom registered GstFormats.
11291 * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
11292 Unit test for custom format serialisation/deserialisation.
11294 2006-09-17 Stefan Kost <ensonic@users.sf.net>
11296 * docs/pwg/building-boiler.xml:
11297 * plugins/elements/gstcapsfilter.c:
11298 More G_OBJECT macro fixing. Also Fix some details on the plugin-stamp
11301 2006-09-16 Edward Hervey <edward@fluendo.com>
11303 * libs/gst/base/gstbasetransform.c:
11304 (gst_base_transform_buffer_alloc):
11305 Check if requested caps are the same as the sinks caps IF
11306 ->have_same_caps is TRUE. If they are not, act as if have_same_caps
11308 This fixes the renegotiation issues stated in #352827.
11310 2006-09-16 Thomas Vander Stichele <thomas at apestaart dot org>
11313 * docs/manual/advanced-autoplugging.xml:
11314 * tests/examples/Makefile.am:
11315 * tests/examples/manual/.cvsignore:
11316 * tests/examples/manual/Makefile.am:
11317 * tests/examples/manual/extract.pl:
11318 Extract the manual examples again like we used to do.
11321 2006-09-16 Thomas Vander Stichele <thomas at apestaart dot org>
11323 * win32/common/config.h:
11326 2006-09-16 Stefan Kost <ensonic@users.sf.net>
11329 Documents how to receive errors.
11331 2006-09-15 Wim Taymans <wim@fluendo.com>
11333 * tools/gst-launch.c: (sigint_handler_sighandler), (check_intr),
11334 (event_loop), (main):
11335 Added some comments here and there.
11336 Post an application message when an interrupt is caught instead of doing
11337 an uncontrolled state change.
11338 Clean up the event loop.
11339 Handle buffering messages, pause/resume the pipeline.
11340 Make shutdown because of an interrupt more reliable.
11342 2006-09-15 Wim Taymans <wim@fluendo.com>
11344 * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
11345 (gst_base_sink_wait_preroll), (gst_base_sink_do_sync),
11346 (gst_base_sink_preroll_object):
11347 Make sure that our internal state is correct when we commit our state
11348 asynchronously. This solves a race where a state change to PLAYING
11349 could cause the sink to remain blocked in preroll in some situations.
11351 2006-09-15 Wim Taymans <wim@fluendo.com>
11353 * tools/gst-inspect.c: (print_element_properties_info),
11354 (print_signal_info):
11355 List flags as hex so it's easier to deal with.
11357 2006-09-15 Wim Taymans <wim@fluendo.com>
11359 * docs/libs/gstreamer-libs-sections.txt:
11360 * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_preroll),
11361 (gst_base_sink_do_sync):
11362 * libs/gst/base/gstbasesink.h:
11363 Expose logic to wait for preroll so that subclasses such as audiosink
11364 can also use this method.
11365 API: gst_base_sink_wait_preroll()
11367 2006-09-15 Wim Taymans <wim@fluendo.com>
11369 * gst/gstobject.c: (gst_object_set_parent):
11370 * gst/gstpipeline.c: (do_pipeline_seek):
11371 Small cleanups in docs and code.
11373 * gst/gstsegment.c: (gst_segment_clip):
11374 * tests/check/gst/gstsegment.c: (GST_START_TEST):
11375 if stop == start and start is in the segment, no clipping should be
11376 done. Also add a test for this.
11378 2006-09-15 Wim Taymans <wim@fluendo.com>
11380 * docs/design/part-buffering.txt:
11381 * docs/gst/gstreamer-sections.txt:
11382 * gst/gstmessage.c: (gst_message_new_buffering),
11383 (gst_message_parse_buffering):
11384 * gst/gstmessage.h:
11385 Added methods to create and parse BUFFERING messages.
11386 Added preliminary docs about buffering.
11387 API: gst_message_new_buffering
11388 API: gst_message_parse_buffering
11390 2006-09-06 Wim Taymans <wim@fluendo.com>
11393 Update documentation.
11395 * gst/gstelement.c: (gst_element_class_init),
11396 (gst_element_release_request_pad), (gst_element_set_clock),
11397 (gst_element_get_index), (gst_element_add_pad),
11398 (gst_element_remove_pad), (gst_element_get_random_pad),
11399 (gst_element_send_event), (gst_element_get_query_types),
11400 (gst_element_query), (gst_element_post_message),
11401 (gst_element_message_full), (gst_element_continue_state),
11402 (gst_element_lost_state), (gst_element_save_thyself),
11403 (gst_element_restore_thyself):
11404 Documentation updates.
11405 Rename last bit of the new-pad -> pad-added signal rename.
11406 Fix the case where an element query would only work if the source
11408 Avoid some useless type checking in message handling.
11413 Documentation updates.
11415 2006-09-14 Thomas Vander Stichele <thomas at apestaart dot org>
11417 * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
11418 add an INFO line for when we actually update the fd
11420 2006-09-14 Thomas Vander Stichele <thomas at apestaart dot org>
11425 === release 0.10.10 ===
11427 2006-09-14 Thomas Vander Stichele <thomas at apestaart dot org>
11430 releasing 0.10.10, "Pais"
11432 2006-09-05 Tim-Philipp Müller <tim at centricular dot net>
11434 * docs/manual/advanced-position.xml:
11435 Fix typo in sample code.
11437 2006-09-05 Wim Taymans <wim@fluendo.com>
11439 * libs/gst/net/gstnetclientclock.c: (inet_aton),
11440 (gst_net_client_clock_init), (gst_net_client_clock_finalize),
11441 (gst_net_client_clock_do_select), (gst_net_client_clock_new):
11442 * libs/gst/net/gstnetclientclock.h:
11443 * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
11444 * libs/gst/net/gstnettimepacket.h:
11445 * libs/gst/net/gstnettimeprovider.c: (inet_aton),
11446 (gst_net_time_provider_init), (gst_net_time_provider_finalize),
11447 (gst_net_time_provider_thread), (gst_net_time_provider_new):
11448 * libs/gst/net/gstnettimeprovider.h:
11449 Make stuff compile on windows. Fixes #345295.
11451 2006-09-03 Tim-Philipp Müller <tim at centricular dot net>
11453 * gst/gst.c: (ensure_current_registry_forking):
11454 Print better details when child was terminated by signal.
11456 2006-09-03 Tim-Philipp Müller <tim at centricular dot net>
11458 * gst/gstregistryxml.c: (gst_registry_xml_save_feature):
11459 Print a warning rather than g_assert() if a plugin feature
11460 is a URI handler but returns no protocols (#353976).
11462 2006-09-02 Stefan Kost <ensonic@users.sf.net>
11464 * docs/random/moving-plugins:
11467 2006-09-01 Tim-Philipp Müller <tim at centricular dot net>
11469 * gst/gstinfo.c: (_gst_debug_nameof_funcptr):
11470 Fix locking order, handle NULL function values properly.
11475 * gst/gstpad.c: (gst_pad_buffer_alloc_unchecked):
11476 Initialise variable before using it and fix debug statement to
11477 print the address of the function rather than the address of the
11478 variable on the stack holding the address of the function.
11480 2006-09-01 Wim Taymans <wim@fluendo.com>
11482 * gst/gstghostpad.c: (gst_proxy_pad_do_event),
11483 (gst_proxy_pad_do_bufferalloc), (gst_proxy_pad_do_chain),
11484 (gst_proxy_pad_do_getrange), (gst_proxy_pad_do_checkgetrange),
11485 (gst_proxy_pad_set_target_unlocked), (gst_ghost_pad_parent_set),
11486 (gst_ghost_pad_parent_unset),
11487 (gst_ghost_pad_internal_do_activate_push),
11488 (gst_ghost_pad_internal_do_activate_pull),
11489 (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
11490 (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
11491 (gst_ghost_pad_init), (gst_ghost_pad_dispose),
11492 (gst_ghost_pad_new_full), (gst_ghost_pad_new_no_target),
11493 (gst_ghost_pad_new), (gst_ghost_pad_new_from_template),
11494 (gst_ghost_pad_new_no_target_from_template),
11495 (gst_ghost_pad_get_target), (gst_ghost_pad_set_target):
11497 Avoid needless typechecking in macros.
11498 Since the internal pad is always present and never changes, there is
11499 no need to locking or ref when retrieving it.
11500 Improve debugging a bit.
11501 Handle link errors when setting the target. Fixes #341029.
11503 2006-09-01 Wim Taymans <wim@fluendo.com>
11505 * docs/libs/gstreamer-libs-sections.txt:
11506 * docs/plugins/gstreamer-plugins-sections.txt:
11507 Fix docs some more.
11509 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
11510 (gst_collect_pads_event):
11511 * libs/gst/base/gstcollectpads.h:
11512 Documentation updates.
11513 Free queued buffer when removing a pad.
11515 2006-08-31 Michael Smith <msmith@fluendo.com>
11517 * gst/gstutils.c: (gst_element_link_pads),
11518 (gst_element_link_pads_filtered):
11519 Ensure that we set a capsfilter to NULL if we failed to link it
11520 when doing filtered linking, to avoid criticals.
11522 No need to check for unreffing srcpad, which is explicly NULLed
11523 above (a trivial code cleanup).
11525 2006-08-31 Wim Taymans <wim@fluendo.com>
11527 * docs/design/part-gstghostpad.txt:
11528 Update ascii art in documentation.
11530 * gst/gstghostpad.c: (gst_proxy_pad_do_internal_link),
11531 (gst_proxy_pad_set_target_unlocked), (gst_proxy_pad_init),
11532 (gst_ghost_pad_parent_set), (gst_ghost_pad_parent_unset),
11533 (gst_ghost_pad_internal_do_activate_push),
11534 (gst_ghost_pad_internal_do_activate_pull),
11535 (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
11536 (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
11537 (gst_ghost_pad_dispose), (gst_ghost_pad_new_full),
11538 (gst_ghost_pad_set_target):
11539 Small cleanups and leak fixes.
11540 Remove some checks now that the internal pad is never NULL.
11541 Fix the case where linking pads without a target would create nasty
11542 criticals. Fixes #341029.
11543 Don't assign a GstPadLinkReturn to a gboolean and mess up the return
11544 value of _set_target().
11546 * tests/check/gst/gstghostpad.c: (GST_START_TEST),
11547 (gst_ghost_pad_suite):
11548 Some more tests for creating and linking untargeted ghostpads.
11550 2006-08-31 Edward Hervey <edward@fluendo.com>
11552 * docs/gst/gstreamer-sections.txt:
11553 * gst/gstghostpad.c: (gst_proxy_pad_do_getcaps),
11554 (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target_unlocked),
11555 (gst_proxy_pad_dispose), (gst_ghost_pad_new_full),
11556 (gst_ghost_pad_new_no_target), (gst_ghost_pad_new),
11557 (gst_ghost_pad_new_from_template),
11558 (gst_ghost_pad_new_no_target_from_template):
11559 * gst/gstghostpad.h:
11560 Refactored *_new() functions.
11561 Templates are now used as a g_object_new() parameter.
11562 Use template in _do_getcaps() if we don't have a target.
11563 Small documentation cleanups.
11564 Added two new constructors:
11565 gst_ghost_pad_new_from_template()
11566 gst_ghost_pad_new_no_target_from_template()
11567 * tests/check/gst/gstghostpad.c: (GST_START_TEST),
11568 (gst_ghost_pad_suite):
11569 Added tests for new ghostpad instanciation functions.
11571 API additions: gst_ghost_pad_new_from_template,
11572 gst_ghost_pad_new_no_target_from_template
11574 2006-08-30 Stefan Kost <ensonic@users.sf.net>
11576 * docs/random/ensonic/profiling.txt:
11577 Ideas about qos profiling.
11579 2006-08-29 Wim Taymans <wim@fluendo.com>
11581 * gst/gstcaps.c: (gst_caps_structure_is_subset_field):
11585 2006-08-29 Tim-Philipp Müller <tim at centricular dot net>
11588 Improve and detypofy docs.
11590 * tests/check/Makefile.am:
11591 * tests/check/gst/.cvsignore:
11592 * tests/check/gst/gstxml.c: (GST_START_TEST), (gst_xml_suite):
11593 Add a basic test suite for GstXML.
11595 2006-08-29 Wim Taymans <wim@fluendo.com>
11597 * gst/gstelement.c: (activate_pads), (clear_caps),
11598 (iterator_activate_fold_with_resync), (gst_element_pads_activate):
11599 Clear the pad caps when the element shut down all of the pads and
11600 is not streaming data that could modify the caps.
11603 2006-08-28 Michael Smith <msmith@fluendo.com>
11605 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
11606 Revert previous change; I misunderstood single-segment mode.
11608 2006-08-28 Michael Smith <msmith@fluendo.com>
11610 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
11611 Unset DISCONT on buffers when using single-segment mode.
11613 2006-08-28 Wim Taymans <wim@fluendo.com>
11615 * gst/gstcaps.c: (gst_caps_merge_structure):
11617 Fix docs and indentation again.
11619 * tests/check/gst/gstquery.c: (GST_START_TEST):
11620 Fix leak in tests and add some more tests.
11622 2006-08-28 Edward Hervey <edward@fluendo.com>
11624 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
11625 Inform GstSegment of the last stop position in order for the current
11626 segment to have a proper duration if it doesn't have a specific stop
11627 position from which a duration could be calculated.
11628 This bug was noticeable when a non-flushing, non-update new segment was
11629 followed by another segment (all buffers from the new segment were being
11632 2006-08-28 Wim Taymans <wim@fluendo.com>
11634 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
11635 Small comment update.
11637 * plugins/elements/gstidentity.c: (gst_identity_class_init),
11638 (gst_identity_transform_ip):
11639 Drop-probability is broken, mention this in the code with a
11640 FIXME and also in the property description.
11641 Make silent also be silent about the drop messages.
11643 2006-08-28 Tim-Philipp Müller <tim at centricular dot net>
11645 * docs/manual/appendix-win32.xml:
11646 Remove mention of popt, we don't depend on that any
11647 longer (#353136). Add some comments pointing out that
11648 this section is slightly outdated.
11650 2006-08-28 Wim Taymans <wim@fluendo.com>
11652 Patch by: Torsten Schoenfeld <kaffeetisch at gmx dot de>
11654 * gst/gstquery.c: (gst_query_new_segment):
11655 * tests/check/gst/gstquery.c: (GST_START_TEST):
11656 Initialize variables when creating a new segment query.
11659 2006-08-28 Wim Taymans <wim@fluendo.com>
11661 Patch by: Torsten Schoenfeld <kaffeetisch at gmx dot de>
11663 * gst/gstelement.c: (gst_element_get_bus):
11664 * tests/check/gst/gstelement.c: (GST_START_TEST):
11665 Check for NULL before _reffing the bus. Fixes #353122.
11667 2006-08-25 Tim-Philipp Müller <tim at centricular dot net>
11669 * docs/manual/basics-bus.xml:
11670 Docs update: fix wrong callback return value explanation; add
11671 some lines about the implicit relationship between main loop
11672 and main context; remove duplicate main loop variable declaration.
11674 2006-08-24 Tim-Philipp Müller <tim at centricular dot net>
11676 * tests/check/gst/gstcaps.c: (GST_START_TEST):
11677 Don't leak caps in unit test; add a few more simple
11680 2006-08-24 Stefan Kost <ensonic@users.sf.net>
11682 * docs/gst/gstreamer-sections.txt:
11683 * gst/gstcaps.c: (gst_caps_structure_is_subset_field),
11684 (gst_caps_structure_is_subset), (gst_caps_merge),
11685 (gst_caps_merge_structure):
11687 * libs/gst/base/gstbasetransform.c:
11688 (gst_base_transform_transform_caps):
11689 * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
11690 implement caps merging (fixes #352580)
11692 2006-08-23 Stefan Kost <ensonic@users.sf.net>
11694 * tools/Makefile.am:
11695 * tools/gst-plot-timeline.py:
11696 add debug-log plotting developer tool (#340674)
11698 2006-08-23 Wim Taymans <wim@fluendo.com>
11700 * gst/gstpad.c: (gst_pad_start_task), (gst_pad_pause_task),
11701 (gst_pad_stop_task):
11702 Improve debugging for task functions.
11704 * gst/gsttask.c: (gst_task_func), (gst_task_set_lock),
11705 (gst_task_start), (gst_task_pause), (gst_task_join):
11706 Make sure that the task function started and finished after a
11708 Don't try to push the task function on the threadpool multiple
11710 Improve the g_warning message with some useful suggestions
11711 about how to fix the problem.
11713 2006-08-23 Wim Taymans <wim@fluendo.com>
11715 * gst/gstutils.c: (gst_pad_proxy_getcaps):
11716 Handle RESYNC correctly in _proxy_getcaps.
11718 2006-08-21 Tim-Philipp Müller <tim at centricular dot net>
11720 * gst/gstxml.c: (gst_xml_dispose), (gst_xml_parse_file),
11721 (gst_xml_parse_memory), (gst_xml_get_element):
11722 Chain up to parent class in dispose function and also
11723 unref the elements in the toplevel_elements GList.
11724 Don't leak XmlDocPtr in _parse_file() and _parse_memory().
11725 Always return a reference in gst_xml_get_element() rather
11726 than only sometimes.
11728 * tools/gst-launch.c: (xmllaunch_parse_cmdline):
11729 Don't leak GstXml object.
11731 2006-08-21 Stefan Kost <ensonic@users.sf.net>
11733 * docs/gst/gstreamer-sections.txt:
11734 * gst/gstcaps.c: (gst_structure_is_equal_foreach),
11737 * libs/gst/base/gstbasetransform.c:
11738 (gst_base_transform_transform_caps):
11739 API: Add gst_caps_merge() and use it in basetransform, fixes #345444
11742 2006-08-21 Edward Hervey <edward@fluendo.com>
11744 * gst/gstxml.c: (gst_xml_class_init), (gst_xml_dispose):
11745 Implement GObject::dispose virtual method in GstXML so we can free the
11746 top_elements GList.
11748 2006-08-21 Wim Taymans <wim@fluendo.com>
11750 * gst/gstbuffer.c: (gst_buffer_make_metadata_writable),
11751 (gst_buffer_create_sub):
11752 Copy duration/offset_end/caps when creating a subbuffer of the
11754 Make the subbuffer read-only when we make the metadata writable for
11755 now. Fixes #351768.
11757 * tests/check/gst/gstbuffer.c: (GST_START_TEST):
11758 Added check for metadata copy when creating subbuffers.
11760 2006-08-21 Edward Hervey <edward@fluendo.com>
11762 * libs/gst/base/gstbasetransform.c:
11763 (gst_base_transform_buffer_alloc):
11764 Only call downstream buffer_alloc if transform element is passthrough
11765 or always_in_place. Closes #350449.
11767 2006-08-20 Stefan Kost <ensonic@users.sf.net>
11770 ChangeLog surgery to add comments to previous changes
11772 2006-08-20 Stefan Kost <ensonic@users.sf.net>
11777 * gst/gstpad.c: (gst_pad_set_active):
11778 Be more verbose in the log
11780 * libs/gst/base/gstbasetransform.c:
11781 (gst_base_transform_transform_caps):
11782 Simplify caps to get rid of duplicates, fixes #345444
11784 2006-08-20 Stefan Kost <ensonic@users.sf.net>
11788 Use these optimizations only internally.
11790 2006-08-20 Stefan Kost <ensonic@users.sf.net>
11792 * gst/gstvalue.c: (gst_value_compare_list),
11793 (gst_value_compare_fraction_range),
11794 (gst_value_intersect_fraction_fraction_range),
11795 (gst_value_intersect_fraction_range_fraction_range),
11796 (gst_value_subtract_fraction_fraction_range),
11797 (gst_value_subtract_fraction_range_fraction_range),
11798 (gst_value_get_compare_func), (gst_value_compare),
11799 (gst_value_compare_with_func):
11801 Saves the expensive lookup of the compare function in many cases
11804 2006-08-18 Edward Hervey <edward@fluendo.com>
11806 * tests/check/gst/gstinfo.c: (gst_info_suite):
11807 Disable test that require gstdebug if it wasn't built in core.
11809 2006-08-18 Stefan Kost <ensonic@users.sf.net>
11811 * docs/random/ensonic/logging.txt:
11814 * gst/gstinfo.c: (gst_debug_log_default):
11815 reorder fields, save some columns, add optional color codes for log
11818 2006-08-18 Stefan Kost <ensonic@users.sf.net>
11820 * docs/random/ensonic/logging.txt:
11821 add ideas about making the logs a bit more useful
11823 2006-08-17 Tim-Philipp Müller <tim at centricular dot net>
11825 * docs/pwg/advanced-events.xml:
11826 * docs/pwg/titlepage.xml:
11827 Update for 0.10 API (#340627). Add myself
11830 2006-08-17 Tim-Philipp Müller <tim at centricular dot net>
11832 * docs/libs/gstreamer-libs-docs.sgml:
11833 * docs/libs/gstreamer-libs-sections.txt:
11834 * libs/gst/check/gstbufferstraw.c:
11835 Make gstcheck stuff show up in docs (still needs to
11836 be documented properly though).
11838 2006-08-16 Jan Schmidt <thaytan@mad.scientist.com>
11840 * docs/gst/gstreamer-sections.txt:
11842 * gst/gst.c: (init_post):
11843 * gst/gst_private.h:
11844 * gst/gstquark.c: (_priv_gst_quarks_initialize):
11846 * gst/gstquery.c: (gst_query_new_position),
11847 (gst_query_set_position), (gst_query_parse_position),
11848 (gst_query_new_duration), (gst_query_set_duration),
11849 (gst_query_parse_duration), (gst_query_new_convert),
11850 (gst_query_set_convert), (gst_query_parse_convert),
11851 (gst_query_new_segment), (gst_query_set_segment),
11852 (gst_query_parse_segment), (gst_query_new_seeking),
11853 (gst_query_set_seeking), (gst_query_parse_seeking):
11854 Add internal helpers for pre-registering quarks from static strings
11855 and using the quark values directly instead of looking them up when
11856 creating and parsing queries. Can be used for event construction too.
11859 2006-08-16 Wim Taymans <wim@fluendo.com>
11864 2006-08-15 Tim-Philipp Müller <tim at centricular dot net>
11866 * gst/gstutils.c: (gst_util_set_value_from_string):
11867 Fix memleak (#351502).
11869 * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
11870 Add unit test for most of gst_util_set_value_from_string()
11871 (not that one would want to encourage use of this function).
11873 2006-08-15 Tim-Philipp Müller <tim at centricular dot net>
11875 * libs/gst/check/gstcheck.h:
11876 Use const gchar * variables in fail_unless_equals_string
11877 macro to avoid compiler warnings (and don't use tabs for
11880 2006-08-15 Tim-Philipp Müller <tim at centricular dot net>
11882 * tools/gst-launch.c: (print_tag):
11883 More space on the left for the tag names, to cater
11884 for the 'extended comment' tag (not touching the
11885 string for the first line since it's translated).
11887 2006-08-15 Tim-Philipp Müller <tim at centricular dot net>
11889 * libs/gst/check/gstcheck.h:
11890 Fix ASSERT_CRITICAL and ASSERT_WARNING macros to actually
11891 print something when they fail.
11893 2006-08-14 Tim-Philipp Müller <tim at centricular dot net>
11895 * docs/gst/gstreamer-sections.txt:
11896 * gst/gsttaglist.c: (_gst_tag_initialize):
11897 * gst/gsttaglist.h:
11898 API: add GST_TAG_EXTENDED_COMMENT (#350935).
11899 Also change merge function for GST_TAG_COMMENT to
11902 2006-08-14 Tim-Philipp Müller <tim at centricular dot net>
11904 * gst/gstinfo.c: (gst_debug_print_object):
11905 Make GST_PTR_FORMAT print messages as well.
11907 * tests/check/gst/gstinfo.c: (printf_extension_log_func),
11908 (GST_START_TEST), (gst_info_suite):
11911 2006-08-14 Edward Hervey <edward@fluendo.com>
11913 * gst/gstelementfactory.c: (gst_element_register):
11914 If the GstElementClass doesn't have a GstElementDetails with all fields
11915 filled up correctly (longname, description AND author), then error out
11916 nicely instead of crashing.
11918 2006-08-14 Tim-Philipp Müller <tim at centricular dot net>
11920 * gst/gststructure.c:
11921 Fix typo in docs and re-wrap docs blurb to not exceed 80 chars/line.
11924 Expand on the difference between arrays and lists as we use them.
11926 2006-08-14 Wim Taymans <wim@fluendo.com>
11928 * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
11929 If the parent state change function failed, don't assume we can safely
11930 stop the source, this will be done when the pads are deactivated.
11932 2006-08-14 Wim Taymans <wim@fluendo.com>
11935 * gst/gsttask.c: (gst_task_join):
11938 * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_activate_push),
11939 (gst_pad_stop_task):
11940 When pad (de)activation failed for some reason, restore the old
11941 activation mode and set the pad to flushing instead of assuming the
11942 pad is deactivated.
11943 If the _task_join() failed, reinstall the task on the pad so that it can
11944 be stopped later and return an error.
11946 2006-08-11 Andy Wingo <wingo@pobox.com>
11949 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packetizer_new):
11950 * tests/check/libs/gdp.c: (gst_dp_suite): GST_DISABLE_DEPRECATED
11951 is only for users of API that don't want to see deprecated
11952 functions in the headers; people that want to compile out
11953 deprecated code should pass -DGST_REMOVE_DEPRECATED into the
11954 CFLAGS. Fixes the build of multifdsink, or will soon..
11956 2006-08-11 Wim Taymans <wim@fluendo.com>
11958 * docs/gst/gstreamer-sections.txt:
11959 Add GstClockClass vmethod docs.
11962 Mark #endif with comment for associated #if
11964 * gst/gstclock.c: (gst_clock_id_wait):
11966 Add vmethod wait_jitter to avoid an unneeded _get_time() for
11967 most clock implementations.
11969 Flesh out docs about resolution methods.
11970 API: GstClockClass::wait_jitter
11972 * gst/gstsystemclock.c: (gst_system_clock_class_init),
11973 (gst_system_clock_async_thread),
11974 (gst_system_clock_id_wait_jitter_unlocked),
11975 (gst_system_clock_id_wait_jitter):
11976 Use base class wait_jitter variant for improved performance
11977 due to less clock polling.
11979 2006-08-11 Edward Hervey <edward@fluendo.com>
11981 * gst/gst.c: (gst_init_check), (init_post):
11982 Set gst as being initialized before scanning/updating the registry,
11983 since there might be my python plugin loader that calls gst_init() and
11984 we don't want to loop back in.
11987 2006-08-11 Wim Taymans <wim@fluendo.com>
11989 * docs/design/part-qos.txt:
11990 Bring docs in line with the code. Mostly the sign of the jitter was
11991 wrong in the docs. Fixes #349943.
11994 Fix the docs for the jitter.
11996 * gst/gstevent.c: (gst_event_new_custom), (gst_event_new_tag),
11997 (gst_event_parse_tag), (gst_event_new_buffer_size),
11998 (gst_event_parse_buffer_size), (gst_event_parse_qos),
11999 (gst_event_new_seek), (gst_event_parse_seek),
12000 (gst_event_new_navigation):
12001 Make sure the GstStructure has no parent when creating custom
12003 Add some more argument checking so that we avoid 0.0 rates.
12004 Flesh out the docs for the QoS event some more.
12006 2006-08-11 Wim Taymans <wim@fluendo.com>
12008 * docs/gst/gstreamer-sections.txt:
12009 * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
12010 (ensure_current_registry_forking), (ensure_current_registry),
12011 (parse_one_option), (parse_goption_arg), (gst_deinit),
12012 (gst_registry_fork_is_enabled), (gst_registry_fork_set_enabled):
12015 Added API and command line option to disable registry forking in
12016 addition to the environment variable.
12017 Constify some static arrays.
12018 Added some more debug.
12019 Don't deinit twice.
12020 API: gst_registry_fork_is_enabled()
12021 API: gst_registry_fork_set_enabled()
12022 API: --gst-disable-registry-fork command line option
12025 2006-08-11 Tim-Philipp Müller <tim at centricular dot net>
12027 * gst/gst.c: (gst_init):
12028 Fix typo in error message.
12030 2006-08-10 Stefan Kost <ensonic@users.sf.net>
12032 * libs/gst/controller/gstcontroller.h:
12033 fix ABI size-correction
12035 * tests/check/libs/gdp.c: (gst_dp_suite):
12036 make tests that use deprecated API conditional
12038 2006-08-10 Stefan Kost <ensonic@users.sf.net>
12040 * docs/libs/gstreamer-libs-sections.txt:
12041 * libs/gst/controller/gstcontroller.c:
12042 (_gst_controller_get_property), (_gst_controller_set_property),
12043 (_gst_controller_init), (_gst_controller_class_init):
12044 * libs/gst/controller/gstcontroller.h:
12045 * libs/gst/controller/gsthelper.c: (gst_object_get_control_rate),
12046 (gst_object_set_control_rate):
12047 API: add gst_object_{s,g}et_control_rate(), add private data section,
12050 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packetizer_new):
12051 * libs/gst/dataprotocol/dataprotocol.h:
12052 add deprecation guards to make gtk-doc happy and allow disabling cruft
12054 2006-08-09 Tim-Philipp Müller <tim at centricular dot net>
12056 * tests/check/Makefile.am:
12057 * tests/check/gst/.cvsignore:
12058 Let's enable the new unit test as well.
12060 2006-08-08 Tim-Philipp Müller <tim at centricular dot net>
12063 * docs/gst/gstreamer-sections.txt:
12064 * gst/gstconfig.h.in:
12065 * gst/gstinfo.c: (_gst_debug_init), (gst_debug_print_segment),
12066 (_gst_info_printf_extension_ptr),
12067 (_gst_info_printf_extension_segment):
12068 API: add GST_SEGMENT_FORMAT, which is a printf extension we
12069 register that lets us easily dump GstSegments into debug
12072 * tests/check/gst/gstinfo.c: (segment_printf_extension_log_func),
12073 (info_segment_format_printf_extension), (gst_info_suite):
12074 Add simple unit test that logs a bunch of different segments (not
12075 valgrinded at the moment because of leaks in
12076 gst_debug_add_log_function).
12078 2006-08-09 Edward Hervey <edward@fluendo.com>
12080 * libs/gst/base/gstbasetransform.c:
12081 (gst_base_transform_buffer_alloc):
12082 Even if we can't figure out the proper format to request downstream,
12083 call buffer_alloc() downstream with the input parameters without setting
12084 the caps on the srcpad. This will force negotiation in the chain
12088 2006-08-08 Edward Hervey <edward@fluendo.com>
12090 * gst/gstghostpad.c: (gst_ghost_pad_do_unlink):
12091 Unlinking from a pad without a target is now a perfectly valid case
12092 which should NOT raise an assertion.
12093 This case would happen if a linked ghostpad its target set to NULL after
12094 it was previously linked.
12096 2006-08-08 Edward Hervey <edward@fluendo.com>
12098 * tests/check/libs/gdp.c:
12099 Also comment out the test (see below).
12101 2006-08-08 Edward Hervey <edward@fluendo.com>
12103 * tests/check/libs/gdp.c: (gst_dp_suite):
12104 Use the architecture information from config.h and not gcc macros
12105 in order to properly disable a test that fails on PPC64.
12107 2006-08-04 Tim-Philipp Müller <tim at centricular dot net>
12109 * gst/gstelement.c: (gst_element_remove_pad):
12110 Don't crash printing the warning if the pad has no parent.
12112 2006-08-02 Wim Taymans <wim@fluendo.com>
12114 * libs/gst/dataprotocol/dataprotocol.c:
12115 (gst_dp_header_from_buffer_any), (gst_dp_packet_from_caps_any),
12116 (gst_dp_crc), (gst_dp_header_payload_length),
12117 (gst_dp_header_payload_type), (gst_dp_packet_from_event),
12118 (gst_dp_packet_from_event_1_0), (gst_dp_buffer_from_header),
12119 (gst_dp_caps_from_packet), (gst_dp_event_from_packet_0_2),
12120 (gst_dp_event_from_packet), (gst_dp_validate_header),
12121 (gst_dp_validate_payload):
12122 Make debug category static
12123 Constify the crc table.
12124 Do some more arg checking in public functions.
12125 Fix some docs and do some small cleanups.
12127 * tests/check/libs/gdp.c: (GST_START_TEST), (gst_dp_suite):
12128 Add some more checks to see if GDP deals with bogus input.
12130 2006-07-31 Wim Taymans <wim@fluendo.com>
12132 * gst/gstvalue.c: (gst_value_compare_list):
12133 Fix GstValueList comparison code. Fixes #347293.
12135 * tests/check/gst/gstvalue.c: (GST_START_TEST):
12136 Check to test GstValueList comparison.
12138 2006-07-31 Jan Schmidt <thaytan@mad.scientist.com>
12140 * gst/gstelementfactory.c: (gst_element_factory_create):
12141 Remove unnecessary ref/unref pair
12143 * gst/parse/grammar.y:
12144 Make sure to free the parse buffer on all code paths.
12145 Move a g_free up to the error handler where it's easier to see.
12147 * tests/check/gst/gstevent.c: (test_event):
12148 Extending timeout for downstream travelling events to 10 seconds to
12149 hopefully avoid intermittent failure on the buildbots.
12151 * tests/check/pipelines/parse-launch.c: (run_delayed_test):
12152 Don't manually set the state of the src element - it will happen as a
12153 natural consequence of the pipeline changing state, and that way it
12154 will do it in the right order too.
12156 2006-07-31 Wim Taymans <wim@fluendo.com>
12158 * libs/gst/base/gstbasetransform.c:
12159 (gst_base_transform_buffer_alloc):
12160 Use OBJECT_LOCK and refcounting to get the pad caps in the
12161 buffer_alloc function because the caps could change while we are
12162 busy with them. Fixes #349105
12164 2006-07-31 Wim Taymans <wim@fluendo.com>
12166 * gst/gstutils.c: (gst_pad_get_fixed_caps_func):
12167 Protect _PAD_CAPS with OBJECT_LOCK.
12169 2006-07-31 Wim Taymans <wim@fluendo.com>
12171 * gst/gstpad.c: (gst_pad_class_init), (gst_pad_dispose),
12172 (gst_pad_get_property), (gst_pad_activate_pull),
12173 (gst_pad_activate_push), (gst_pad_set_blocked_async),
12174 (gst_pad_set_activate_function),
12175 (gst_pad_set_activatepull_function),
12176 (gst_pad_set_activatepush_function), (gst_pad_set_chain_function),
12177 (gst_pad_set_getrange_function),
12178 (gst_pad_set_checkgetrange_function), (gst_pad_set_event_function),
12179 (gst_pad_set_query_function), (gst_pad_set_query_type_function),
12180 (gst_pad_set_internal_link_function), (gst_pad_set_link_function),
12181 (gst_pad_set_unlink_function), (gst_pad_set_getcaps_function),
12182 (gst_pad_set_acceptcaps_function),
12183 (gst_pad_set_fixatecaps_function), (gst_pad_set_setcaps_function),
12184 (gst_pad_set_bufferalloc_function), (gst_pad_link_check_hierarchy),
12185 (gst_pad_get_caps_unlocked), (gst_pad_get_caps),
12186 (gst_pad_peer_get_caps), (gst_pad_accept_caps),
12187 (gst_pad_peer_accept_caps), (gst_pad_set_caps),
12188 (gst_pad_configure_sink), (gst_pad_configure_src),
12189 (gst_pad_get_allowed_caps), (gst_pad_get_negotiated_caps),
12190 (gst_pad_buffer_alloc_unchecked), (gst_pad_alloc_buffer_full),
12191 (gst_pad_query), (gst_pad_load_and_link), (handle_pad_block),
12192 (gst_pad_chain_unchecked), (gst_pad_push), (gst_pad_get_range),
12193 (gst_pad_send_event):
12194 Use _DEBUG_OBJECT when it makes sense.
12195 Protect GST_PAD_CAPS with the OBJECT_LOCK.
12196 Small cleanups and code reflows.
12197 Avoid caps refcounting in _accept_caps.
12198 Refactor alloc_buffer so that the code performed on the peer is in a
12199 separate function. Also if the pad does not implement a buffer alloc
12200 function, we should still check if the pad is flushing before falling
12201 back to the default allocator.
12203 2006-07-31 Jan Schmidt <thaytan@mad.scientist.com>
12205 * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
12206 Make all uses of identity and fakesink have silent=true to avoid
12207 serialising every passing data structure, which is breaking tests
12208 on FC4 for some unknown reason.
12210 2006-07-30 Stefan Kost <ensonic@users.sf.net>
12212 * gst/parse/Makefile.am:
12213 * gst/parse/grammar.y:
12214 * gst/parse/parse.l:
12215 Reverted previous patch as it required to bump the flex dependency to
12216 2.5.31, where fc4/5 seem to ship only the ancient 2.5.4a :(
12218 2006-07-30 Stefan Kost <ensonic@users.sf.net>
12220 Patch by: Marc-Andre Lureau <marcandre.lureau@gmail.com>
12222 * gst/parse/Makefile.am:
12223 * gst/parse/grammar.y:
12224 * gst/parse/parse.l:
12225 push & pop the state of the lexer for reentrant use case
12228 2006-07-29 Tim-Philipp Müller <tim at centricular dot net>
12230 * libs/gst/base/gstbasesrc.h:
12231 Note in the docs that the ::newsegment vfunc is not actually used by
12234 2006-07-28 Wim Taymans <wim@fluendo.com>
12236 * libs/gst/base/gstcollectpads.c:
12237 (gst_collect_pads_set_flushing_unlocked), (gst_collect_pads_pop),
12238 (gst_collect_pads_clear), (gst_collect_pads_flush),
12239 (gst_collect_pads_event), (gst_collect_pads_chain):
12240 When flushing a pad, also clear the queued buffer so that we don't
12241 accidentally use it when we shouldn't.
12242 Fix leaks by inreffing incomming buffer.
12243 Flush out queued buffers in case of errors.
12246 2006-07-28 Wim Taymans <wim@fluendo.com>
12248 * docs/random/phonon-gst:
12249 Random notes about a Phonon backend.
12251 2006-07-27 Jan Schmidt <thaytan@mad.scientist.com>
12253 * libs/gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
12255 * tests/check/libs/gdp.c: (gst_dp_suite):
12256 Take a whack at fixing the ppc compile using a different define to
12257 disable the broken test.
12259 * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
12260 Remove excess g_print()
12262 2006-07-27 Jan Schmidt <thaytan@mad.scientist.com>
12264 * tests/check/pipelines/parse-launch.c: (expected_fail_pipe):
12265 Oops, meant to uncomment this line too to dampen the noise a bit.
12267 2006-07-27 Jan Schmidt <thaytan@mad.scientist.com>
12269 * gst/parse/grammar.y:
12270 * gst/parse/parse.l:
12271 * tests/check/pipelines/parse-launch.c: (expected_fail_pipe),
12272 (GST_START_TEST), (parse_suite):
12273 Fix some of the leaks exposed by extending the parse-launch testsuite,
12274 and move the 3 I can't figure out into a separate test that won't run
12275 the pipelines unless the appropriate line is uncommented.
12277 2006-07-27 Tim-Philipp Müller <tim at centricular dot net>
12279 * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
12280 Requesting 0 bytes before the end of the file should result in
12281 FLOW_OK and an empty buffer, not FLOW_UNEXPECTED. Thank you
12284 2006-07-27 Wim Taymans <wim@fluendo.com>
12286 * gst/gstcaps.c: (gst_static_caps_get), (gst_caps_get_structure):
12287 Fix useless assert, a uint is always positive.
12289 * gst/gststructure.c: (gst_structure_nth_field_name),
12290 (gst_structure_foreach), (gst_structure_map_in_place):
12291 Check input arguments for public functions to avoid obvious crashes.
12293 * plugins/elements/gstfakesink.c: (gst_fake_sink_render):
12294 * plugins/elements/gstfakesink.h:
12295 Do less useless typechecking.
12297 2006-07-27 Tim-Philipp Müller <tim at centricular dot net>
12299 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init):
12300 Do not use mmap() by default since there are a number of error
12301 conditions that we would like to handle in a non-fatal way that
12302 will result in a SIGBUS if we use mmap(). Examples: external
12303 devices (USB harddrive, portable music player) being unplugged
12304 while in use; file on mounted CD/DVD that can't be read because
12305 the medium is partly damaged. Fixes #348455 and #348475.
12307 2006-07-27 Jan Schmidt <thaytan@mad.scientist.com>
12310 Delete unused and misleading define of GST_QUERY_TYPE_RATE_DEN -
12311 rates are a gdouble
12313 2006-07-26 Stefan Kost <ensonic@users.sf.net>
12315 * gst/gstregistry.c:
12316 Move big documentation comment into class section header, so that it
12317 appears in the API docs.
12319 2006-07-26 Jan Schmidt <thaytan@mad.scientist.com>
12321 * docs/gst/gstreamer-sections.txt:
12322 Oops. Commit the docs additions too for new API.
12323 Also, remove the mention of the non-existent GST_QUERY_TYPE_RATE_DEN
12325 2006-07-26 Jan Schmidt <thaytan@mad.scientist.com>
12327 * gst/gststructure.c: (gst_structure_id_set),
12328 (gst_structure_id_set_valist):
12329 * gst/gststructure.h:
12330 Add API for setting values into structures without performing
12331 a quark lookup, if the appropriate quark is already known.
12333 API: gst_structure_id_set
12334 API: gst_structure_id_set_valist
12336 * gst/parse/grammar.y:
12337 * gst/parse/parse.l:
12338 Remove some dead code shown by the coverage information.
12339 Don't throw a critical g_warning when encountering a syntax error,
12340 just warn and let the normal error path handle it.
12342 * plugins/elements/gstelements.c:
12343 Bump the rank of filesink up to PRIMARY so that it is preferred over
12344 gnomevfssink for file:// sink uri's
12346 * tests/check/pipelines/parse-launch.c: (expected_fail_pipe),
12347 (GST_START_TEST), (run_delayed_test),
12348 (gst_parse_test_element_base_init),
12349 (gst_parse_test_element_class_init), (gst_parse_test_element_init),
12350 (gst_parse_test_element_change_state),
12351 (gst_register_parse_element), (parse_suite):
12352 Beef up the tests for parse syntax to check that more error cases
12353 fail as they are supposed to. Increases the test coverage a bit.
12355 2006-07-26 Tim-Philipp Müller <tim at centricular dot net>
12357 * docs/manual/basics-elements.xml:
12358 Fix gst_element_link() example.
12361 Mention in API docs that one should usually gst_bin_add()
12362 elements to a bin or pipeline before doing the linking.
12364 2006-07-26 Wim Taymans <wim@fluendo.com>
12366 * gst/gstbuffer.c: (gst_buffer_get_type), (gst_buffer_new),
12367 (gst_subbuffer_get_type), (gst_buffer_create_sub):
12368 Avoid function call for known types by keeping the buffer and
12369 subbuffer GType global.
12371 * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
12372 Random silly optimisations in read() path.
12374 2006-07-26 Jan Schmidt <thaytan@mad.scientist.com>
12376 * tools/gst-launch.c: (main):
12377 If the top-level of the parse is a normal bin, it doesn't do the
12378 right logic to run as a top-level element, so place it inside a
12381 2006-07-25 Tim-Philipp Müller <tim at centricular dot net>
12383 * plugins/elements/gstfilesrc.c: (gst_file_src_set_property):
12384 Remove superfluous g_object_notify() calls, GObject does
12385 that for us automatically.
12387 2006-07-25 Stefan Kost <ensonic@users.sf.net>
12390 on Win32, use dllspec to export the debug category symbols
12392 2006-07-24 Tim-Philipp Müller <tim at centricular dot net>
12394 * gst/gsttaglist.c: (_gst_tag_initialize):
12395 Allow more than one GST_TAG_IMAGE per taglist.
12397 2006-07-24 Thomas Vander Stichele <thomas at apestaart dot org>
12399 * gst/gstminiobject.c:
12401 * plugins/elements/gstfdsrc.c: (gst_fd_src_set_property),
12402 (gst_fd_src_create):
12403 log recurring events at LOG level
12404 add more debug for when the fd gets set
12406 2006-07-21 Stefan Kost <ensonic@users.sf.net>
12408 * gst/gstparse.c: (gst_parse_launch):
12409 Also remove reentrance checks if flex is MT safe (#348179)
12410 Fix my empty ChangeLog entry below
12412 2006-07-21 Andy Wingo <wingo@pobox.com>
12414 * docs/libs/gstreamer-libs-sections.txt: Attempt to pacify buildbot.
12416 * libs/gst/check/Makefile.am
12417 (libgstcheck_@GST_MAJORMINOR@include_HEADERS)
12418 (libgstcheck_@GST_MAJORMINOR@_la_SOURCES):
12419 * libs/gst/check/gstbufferstraw.h:
12420 * libs/gst/check/gstbufferstraw.c: Add some new hype testing
12421 functions, thus proving I am still a GStreamer haxor. OK I wrote
12422 them a long time ago, but anyways.
12424 2006-07-21 Stefan Kost <ensonic@users.sf.net>
12427 * gst/gstparse.c: (gst_parse_launch):
12428 Check for flex version and omit mutex if we have a MT save flex
12431 2006-07-21 Wim Taymans <wim@fluendo.com>
12433 * gst/gstparse.c: (gst_parse_launch):
12434 Protect recursive calls to _parse with a recursive mutex
12437 2006-07-21 Wim Taymans <wim@fluendo.com>
12439 * tests/check/gst/gstpad.c: (GST_START_TEST):
12442 2006-07-20 Stefan Kost <ensonic@users.sf.net>
12444 * gst/gstparse.c: (gst_parse_launch):
12445 Do not hang on recursive usage of gst_parse_launch()
12447 2006-07-20 Tim-Philipp Müller <tim at centricular dot net>
12449 * gst/gsttaglist.c:
12450 Add some more docs, comments and FIXME 0.11s here and there
12451 and also fix some typos.
12453 2006-07-20 Tim-Philipp Müller <tim at centricular dot net>
12455 * gst/gstsegment.h:
12456 Convert tabs to spaces for better readability.
12458 2006-07-20 Edward Hervey <edward@fluendo.com>
12460 * tests/check/libs/gdp.c: (gst_dp_suite):
12461 the test_buffer test fails at line 140 on ppc64 at the following
12463 fail_unless (GST_BUFFER_FLAG_IS_SET (newbuffer,
12464 GST_BUFFER_FLAG_IN_CAPS),
12465 "GST_BUFFER_IN_CAPS flag should have been copied !");
12466 See bug #348114 for more details.
12468 2006-07-19 Tim-Philipp Müller <tim at centricular dot net>
12470 * docs/pwg/advanced-scheduling.xml:
12472 Fix typos (#348000).
12474 2006-07-18 Tim-Philipp Müller <tim at centricular dot net>
12476 * docs/pwg/intro-basics.xml:
12477 Fix wrong links (#347927).
12479 2006-07-18 Stefan Kost <ensonic@users.sf.net>
12481 * gst/gstregistry.h:
12482 * gst/gstregistryxml.c: (load_feature),
12483 (gst_registry_xml_read_cache), (gst_registry_xml_save_feature):
12484 * win32/common/config.h:
12485 make --disable-index work (#342564)
12487 2006-07-18 Wim Taymans <wim@fluendo.com>
12489 Patch by: Peter Kjellerstedt <pkj at axis dot com>
12493 The attached patch adds two missing defines to gsttrace.h when tracing
12494 is disabled. It also corrects one existing define.
12497 2006-07-17 Wim Taymans <wim@fluendo.com>
12499 * docs/gst/gstreamer-sections.txt:
12500 * gst/gst.c: (gst_segtrap_is_enabled), (gst_segtrap_set_enabled):
12502 * gst/gstplugin.c: (_gst_plugin_fault_handler_restore):
12503 Add two functions to check and change the SIGSEGV behaviour
12504 when loading plugins.
12505 Don't mess with the SIGSEGV handler when we were told not to.
12507 API: gst_segtrap_is_enabled
12508 API: gst_segtrap_set_enabled
12510 2006-07-14 Wim Taymans <wim@fluendo.com>
12512 * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
12513 * tests/check/elements/filesrc.c: (GST_START_TEST):
12514 Revert fix for regression in #347408 after release.
12516 2006-07-14 Tim-Philipp Müller <tim at centricular dot net>
12518 Patch by: Antoine Tremblay <hexa00 at gmail com>
12520 * gst/gstutils.c: (gst_element_unlink):
12521 Free iterator when done (#347311).
12523 * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
12524 And add a test case for this.
12526 2006-07-14 Jan Schmidt <thaytan@mad.scientist.com>
12529 Bump nano back to CVS
12531 === release 0.10.9 ===
12533 2006-07-13 Jan Schmidt <thaytan@mad.scientist.com>
12536 releasing 0.10.9, "On the road again"
12538 2006-07-13 Wim Taymans <wim@fluendo.com>
12540 * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
12541 * tests/check/elements/filesrc.c: (GST_START_TEST):
12542 Revert pull-0 fix for release. Disable check. Fixes #347408.
12544 2006-07-13 Thomas Vander Stichele <thomas at apestaart dot org>
12546 * libs/gst/dataprotocol/dataprotocol.c:
12547 (gst_dp_event_from_packet_1_0):
12548 Fixes #347337: failure to deserialize event packets with
12549 empty payload (only event type)
12551 2006-07-13 Thomas Vander Stichele <thomas at apestaart dot org>
12554 do not install a .c file in the header directory
12556 2006-07-13 Edward Hervey <edward@fluendo.com>
12558 * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked):
12559 GhostPad no longer implicitely use the padtemplates of the targets.
12562 2006-07-11 Jan Schmidt <thaytan@mad.scientist.com>
12564 * gst/gstvalue.c: (gst_value_compare_list),
12565 (gst_value_compare_array), (_gst_value_initialize):
12566 * tests/check/gst/gstvalue.c: (GST_START_TEST):
12567 Make GstValueArray comparison be order dependent as designed.
12568 Add checks for value lists and value array comparisons.
12571 2006-07-11 Edward Hervey <edward@fluendo.com>
12573 * gst/gstbin.c: (activate_pads),
12574 (iterator_activate_fold_with_resync), (gst_bin_src_pads_activate),
12575 (gst_bin_change_state_func):
12576 (de)activate src pads before calling state_change on the childs.
12577 This is to avoid the case where a src ghostpad is blocked (holding the
12578 stream lock), which would block the deactivation of the ghostpad's
12580 * gst/gstghostpad.c: (gst_proxy_pad_do_query_type),
12581 (gst_proxy_pad_do_event), (gst_proxy_pad_do_query),
12582 (gst_proxy_pad_do_internal_link), (gst_proxy_pad_do_bufferalloc),
12583 (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
12584 (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
12585 (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
12586 (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target_unlocked),
12587 (gst_proxy_pad_set_target), (gst_proxy_pad_get_internal),
12588 (gst_proxy_pad_dispose), (gst_proxy_pad_init),
12589 (gst_ghost_pad_parent_set), (gst_ghost_pad_parent_unset),
12590 (gst_ghost_pad_class_init),
12591 (gst_ghost_pad_internal_do_activate_push),
12592 (gst_ghost_pad_internal_do_activate_pull),
12593 (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
12594 (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
12595 (gst_ghost_pad_dispose), (gst_ghost_pad_new_no_target),
12596 (gst_ghost_pad_new), (gst_ghost_pad_set_target):
12597 GhostPads now create their internal GstProxyPad at creation (and not
12598 when they're linked, as it was being done previously).
12599 The internal and target pads are linked straight away.
12600 The data will also travel through the other pad in order to make
12601 pad blocking and probes non-hackish (the probe/block now really happens
12602 on the GhostPad and not on the target).
12603 * gst/gstpad.c: (gst_pad_set_blocked_async),
12604 (gst_pad_link_prepare), (gst_pad_push_event):
12605 Remove previous ghostpad cruft.
12606 * gst/gstutils.c: (gst_pad_add_data_probe),
12607 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
12608 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
12609 (gst_pad_remove_buffer_probe):
12610 Remove previous ghost pad cruft.
12611 Added more detailed debug statements.
12612 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
12613 Fix the testsuite for refcounting changes.
12614 The comments about who has references were correct, but the refcount
12615 being checked wasn't the same (!?!).
12619 2006-07-10 Stefan Kost <ensonic@users.sf.net>
12621 * docs/gst/gstreamer-sections.txt:
12622 * gst/gstconfig.h.in:
12623 More docs for configuration options, add docs to gtk-doc.
12625 2006-07-10 Stefan Kost <ensonic@users.sf.net>
12628 * gst/gstconfig.h.in:
12629 * win32/common/config.h:
12630 Fix build when disabling tracing (fixes #344016). Also start to document
12631 the defines that disable the sub-systems.
12633 2006-07-10 Edward Hervey <edward@fluendo.com>
12635 * gst/gst.c: (ensure_current_registry_forking):
12636 let's make valgrind happy...
12638 2006-07-09 Wim Taymans <wim@fluendo.com>
12640 * gst/gstelement.c: (activate_pads),
12641 (iterator_activate_fold_with_resync), (gst_element_pads_activate):
12642 Better pad activation code: Reset the collect value too on resync.
12645 2006-07-09 Wim Taymans <wim@fluendo.com>
12647 * gst/gstpad.c: (gst_pad_init), (gst_pad_activate_pull),
12648 (gst_pad_activate_push):
12649 Use some more macros where it makes sense.
12650 Allow pad mode switching instead of asserting. When a pad
12651 is activated in one mode and we activate it in another,
12652 deactivate it first before activating it in a different mode.
12655 2006-07-08 Andy Wingo <wingo@pobox.com>
12657 * tools/gst-launch.c (main): Handle err == NULL.
12659 * gst/gst.c (init_post, ensure_current_registry)
12660 (ensure_current_registry_forking)
12661 (ensure_current_registry_nonforking): Reduce #ifdef ratnest by
12662 factoring out the registry scanning into separate functions. Don't
12663 fork for the rescan is GST_REGISTRY_FORK=no; useful in debugging.
12664 Better environment var name/interface suggestions accepted.
12666 2006-07-07 Tim-Philipp Müller <tim at centricular dot net>
12668 * gst/gstobject.c: (gst_object_set_name_default),
12669 (gst_object_set_name):
12670 Random micro-optimisation: don't use a hash table
12671 with strings as keys and the usual strdup/strcmp
12672 involved, but rather just use the GQuark of the
12673 type name as key, since it needs to be looked up
12674 anyway to get the type name string.
12676 * tests/check/gst/gstobject.c: (GST_START_TEST):
12679 2006-07-07 Tim-Philipp Müller <tim at centricular dot net>
12681 * gst/gstbin.c: (compare_interface), (gst_bin_get_by_interface),
12682 (gst_bin_iterate_all_by_interface):
12683 Can't use GPOINTER_TO_INT and GINT_TO_POINTER with GTypes.
12684 GTypes are gulongs and thus the top 4 bytes might be cut
12685 off on some platforms when doing GPOINTER_TO_INT, leading
12686 to invalid GTypes and bad things happening (see RH bug #179654).
12687 Also add a check to make sure the type passed in is really
12690 2006-07-07 Tim-Philipp Müller <tim at centricular dot net>
12695 2006-07-07 Tim-Philipp Müller <tim at centricular dot net>
12699 * gst-element-check.m4:
12700 * gst-element-check.m4.in:
12701 Make gst-element-check-$VERSION.m4 call gst-inspect-$VERSION
12702 instead of the unversioned gst-inspect (#324176, #168659).
12704 2006-07-06 Wim Taymans <wim@fluendo.com>
12706 * gst/gstmessage.h:
12707 Use a valid int for the _MESSAGE_ANY enum value to avoid compiler
12710 2006-07-06 Wim Taymans <wim@fluendo.com>
12712 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
12713 (gst_base_src_wait), (gst_base_src_update_length),
12714 (gst_base_src_get_range), (gst_base_src_default_check_get_range),
12715 (gst_base_src_check_get_range), (gst_base_src_pad_check_get_range),
12716 (gst_base_src_loop), (gst_base_src_start),
12717 (gst_base_src_activate_pull):
12719 blocksize == 0 now means the default blocksize when working in push
12721 Remove some pointless asserts in _wait function.
12722 Fix offset/length calculations and EOS handling. We can now pull 0
12723 bytes as well, which is allowed.
12724 use _check_get_range() to decide if we can operate in _pull based
12726 Fix refcounting leak when check_get_range function was not
12728 API GstBaseSrc::blocksize range can be 0 too now (default)
12730 * tests/check/elements/filesrc.c: (GST_START_TEST),
12732 Added check to test _get_range() behaviour.
12734 2006-07-06 Wim Taymans <wim@fluendo.com>
12736 * gst/gstpad.c: (gst_pad_chain_unchecked), (gst_pad_chain),
12737 (gst_pad_push), (gst_pad_check_pull_range), (gst_pad_get_range),
12738 (gst_pad_pull_range):
12740 Lots of comments and docs added to the pad functions.
12741 Flesh out the expected behaviour of the get_range() functions.
12743 2006-07-06 Wim Taymans <wim@fluendo.com>
12748 * gst/gstiterator.h:
12752 Remove comma at end of enumerator list.
12754 2006-07-05 Sebastien Moutte <sebastien@moutte.net>
12756 * win32/common/libgstbase.def:
12757 * win32/common/libgstdataprotocol.def:
12758 * win32/common/libsgtreamer.def:
12759 Add new exported functions.
12761 2006-07-05 Wim Taymans <wim@fluendo.com>
12763 * libs/gst/base/gstpushsrc.c: (gst_push_src_check_get_range):
12764 Add some more docs here and there.
12766 2006-07-05 Wim Taymans <wim@fluendo.com>
12768 * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_object),
12769 (gst_base_sink_loop), (gst_base_sink_get_position):
12770 When operating in pull mode update the offset so that we
12773 2006-07-05 Wim Taymans <wim@fluendo.com>
12775 * gst/gstregistryxml.c: (read_string):
12776 Avoid strdup. (will happen in libxml, but hey!)
12779 Add some more docs.
12781 2006-07-05 Wim Taymans <wim@fluendo.com>
12783 * gst/gstbuffer.c: (_gst_buffer_copy), (gst_buffer_create_sub):
12784 * tests/check/gst/gstbuffer.c: (GST_START_TEST),
12785 (gst_buffer_suite):
12786 No point in checking if the size of the subbuffer > 0, the
12787 code handles it correclty as demonstrated by unit test.
12788 Also add a unit test for the zero sized _new_and_alloc and
12789 _copy. Fixes #346663.
12791 2006-07-05 Wim Taymans <wim@fluendo.com>
12793 * libs/gst/base/gstbasetransform.c:
12794 (gst_base_transform_prepare_output_buffer),
12795 (gst_base_transform_buffer_alloc),
12796 (gst_base_transform_handle_buffer):
12797 Make sure the buffer we pass to transform_ip has a refcount of
12798 1 and thus is writable. Fixes #343196
12800 2006-07-04 Jan Schmidt <thaytan@mad.scientist.com>
12802 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
12803 (gst_file_src_init), (gst_file_src_set_property),
12804 (gst_file_src_get_property), (gst_file_src_map_region):
12805 * plugins/elements/gstfilesrc.h:
12806 Add "sequential" property, off by default, to use madvise and hint
12807 to the kernel that sequential access is desired.
12808 Touch all retrieved pages by default to ensure they are pulled
12809 into memory. (Closes #345720)
12811 2006-07-03 Wim Taymans <wim@fluendo.com>
12813 * docs/design/part-block.txt:
12814 * docs/design/part-dynamic.txt:
12815 Small docs updates.
12817 2006-07-03 Wim Taymans <wim@fluendo.com>
12819 * gst/gstcaps.c: (gst_caps_new_empty), (_gst_caps_free),
12820 (gst_caps_unref), (gst_static_caps_get),
12821 (gst_caps_append_structure):
12822 * gst/gstclock.c: (gst_clock_entry_new), (_gst_clock_id_free):
12823 Use GSlice when the glib we build against is >= 2.10
12825 2006-07-03 Wim Taymans <wim@fluendo.com>
12827 * gst/gstelement.c: (gst_element_pads_activate):
12828 Small cleanup in pad activation code.
12830 2006-07-03 Wim Taymans <wim@fluendo.com>
12832 Patch by: Peter Kjellerstedt <pkj at axis dot com>
12834 * gst/gst-i18n-app.h:
12835 * gst/gst-i18n-lib.h:
12836 * tools/gst-inspect.c: (print_signal_info):
12837 The attached patch will make the inclusion of gettext.h unconditional in
12838 gst/gst-i18n-app.h and gst/gst-i18n-lib.h, and it will remove the inclusion of
12839 libintl.h in tools/gst-inspect.c.
12840 This allows use of --disable-nls again and fixes #344642.
12842 2006-07-03 Edward Hervey <edward@fluendo.com>
12844 * gst/gstpad.c: (handle_pad_block), (gst_pad_push_event):
12845 Implement pad blocking on events according to part-block.txt.
12846 More comments on behaviour.
12847 * tests/check/gst/gstevent.c: (test_event):
12848 Send event to peer pad of blocked pad (else it will block).
12850 2006-07-03 Thomas Vander Stichele <thomas at apestaart dot org>
12852 * libs/gst/check/gstcheck.c: (gst_check_message_error),
12853 (gst_check_run_suite):
12854 if we get the wrong message, give us the types as string
12855 * plugins/elements/gstfilesrc.c: (gst_file_src_start):
12857 * tests/check/elements/filesrc.c: (GST_START_TEST):
12858 add a test for trying to open a non-existing file
12860 2006-07-03 Thomas Vander Stichele <thomas at apestaart dot org>
12862 * tests/check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
12863 add a test for adding self
12865 2006-07-03 Thomas Vander Stichele <thomas at apestaart dot org>
12867 * libs/gst/check/gstcheck.h:
12868 add some assert_ as alias for fail_unless_*
12869 * tests/check/gst/gst.c: (GST_START_TEST), (gst_suite):
12870 increase test coverage
12872 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
12875 include lcov.mak for lcov coverage generation
12876 * tools/Makefile.am:
12879 2006-07-02 Edward Hervey <edward@fluendo.com>
12881 * tests/check/elements/.cvsignore:
12884 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
12887 don't set CFLAGS and friends for gcov, done from GST_GCOV now
12888 * tests/check/Makefile.am:
12889 clean up gcov files
12891 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
12893 * gst/gstcaps.c: (gst_caps_remove_and_get_structure):
12894 remove gst_caps_simplify; it was not declared and not used
12895 and deprecated in 0.8
12897 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
12899 * docs/faq/gst-uninstalled:
12900 don't put empty paths on PYTHONPATH
12901 * docs/gst/gstreamer-sections.txt:
12902 remove some symbols that are not there
12904 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
12906 * gst/gstcaps.c: (gst_caps_compare_structures):
12908 * tests/check/gst/gstbuffer.c: (GST_START_TEST):
12909 * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
12912 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
12914 * libs/gst/dataprotocol/Makefile.am:
12915 build dataprotocol test by linking to the lib, instead of
12916 compiling the source, so we get coverage
12917 * tests/check/Makefile.am:
12918 * tests/check/elements/filesrc.c: (event_func), (setup_filesrc),
12919 (cleanup_filesrc), (GST_START_TEST), (filesrc_suite):
12920 add a test for filesrc
12922 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
12924 * tests/check/gst/gststructure.c: (GST_START_TEST),
12925 (gst_structure_suite):
12926 Push coverage from 59.04% to 70.00%
12928 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
12930 * tests/check/Makefile.am:
12931 gst-inspect every element; this makes sure that we also get
12932 coverage on element's get/set functions
12934 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
12937 set CFLAGS and friends to -O0 if gcov is being used
12940 * libs/gst/base/Makefile.am:
12941 * libs/gst/check/Makefile.am:
12942 * libs/gst/controller/Makefile.am:
12943 * libs/gst/dataprotocol/Makefile.am:
12944 * libs/gst/net/Makefile.am:
12945 * plugins/elements/Makefile.am:
12946 * plugins/indexers/Makefile.am:
12947 add makefile rules to generate gcov data and clean up
12948 * tests/check/Makefile.am:
12949 add a coverage target that generates an html overview
12952 2006-07-01 Thomas Vander Stichele <thomas at apestaart dot org>
12954 * tests/check/elements/fakesink.c:
12955 * tests/check/elements/fakesrc.c:
12956 * tests/check/elements/fdsrc.c:
12957 * tests/check/elements/identity.c:
12958 * tests/check/generic/sinks.c: (gst_sinks_suite):
12959 * tests/check/generic/states.c:
12960 * tests/check/gst/gst.c:
12961 * tests/check/gst/gstabi.c:
12962 * tests/check/gst/gstbin.c:
12963 * tests/check/gst/gstbuffer.c: (gst_buffer_suite):
12964 * tests/check/gst/gstbus.c: (gst_bus_suite):
12965 * tests/check/gst/gstcaps.c: (GST_START_TEST):
12966 * tests/check/gst/gstelement.c:
12967 * tests/check/gst/gstevent.c: (gst_event_suite):
12968 * tests/check/gst/gstghostpad.c:
12969 * tests/check/gst/gstiterator.c: (gst_iterator_suite):
12970 * tests/check/gst/gstmessage.c: (gst_message_suite):
12971 * tests/check/gst/gstminiobject.c:
12972 * tests/check/gst/gstobject.c:
12973 * tests/check/gst/gstpad.c:
12974 * tests/check/gst/gstpipeline.c:
12975 * tests/check/gst/gstplugin.c:
12976 * tests/check/gst/gstquery.c: (gst_query_suite):
12977 * tests/check/gst/gstsegment.c: (gst_segment_suite):
12978 * tests/check/gst/gststructure.c:
12979 * tests/check/gst/gstsystemclock.c:
12980 * tests/check/gst/gsttag.c:
12981 * tests/check/gst/gsttask.c: (gst_task_suite):
12982 * tests/check/gst/gstutils.c:
12983 * tests/check/gst/gstvalue.c:
12984 * tests/check/libs/adapter.c:
12985 * tests/check/libs/basesrc.c:
12986 * tests/check/libs/collectpads.c:
12987 * tests/check/libs/controller.c:
12988 * tests/check/libs/gdp.c: (gst_dp_suite):
12989 * tests/check/libs/gstnetclientclock.c:
12990 * tests/check/libs/gstnettimeprovider.c:
12991 * tests/check/libs/libsabi.c: (libsabi_suite):
12992 * tests/check/libs/typefindhelper.c:
12993 * tests/check/pipelines/cleanup.c:
12994 * tests/check/pipelines/parse-launch.c:
12995 * tests/check/pipelines/simple-launch-lines.c:
12996 * tests/check/pipelines/stress.c: (stress_suite):
12999 2006-07-01 Thomas Vander Stichele <thomas at apestaart dot org>
13001 * libs/gst/check/gstcheck.c: (gst_check_run_suite):
13002 * libs/gst/check/gstcheck.h:
13003 create a macro and function so that the simple unit test
13004 case can be just one macro to create main()
13006 2006-06-30 Tim-Philipp Müller <tim at centricular dot net>
13008 * gst/gstbin.c: (gst_bin_restore_thyself):
13009 * gst/gstxml.c: (gst_xml_make_element):
13010 Fix deserialisation from XML. Set parent manually
13011 instead of using gst_bin_add(), since gst_bin_add()
13012 will unlink all pads of the element being added.
13015 2006-06-28 Tim-Philipp Müller <tim at centricular dot net>
13017 Patch by: Peter Kjellerstedt <pkj at axis com>
13019 * gst/gst.c: (prepare_for_load_plugin_func), (split_and_iterate):
13020 Fix missing g_strdup() and double free when using the
13021 --gst-plugin-load command line option (#346097).
13023 2006-06-23 Tim-Philipp Müller <tim at centricular dot net>
13026 Promote GST_DEBUG_CATEGORY_STATIC in example in docs.
13028 * libs/gst/net/gstnetclientclock.c:
13029 * libs/gst/net/gstnettimeprovider.c:
13030 Use GST_DEBUG_CATEGORY_STATIC here too (#342503).
13032 2006-06-23 Tim-Philipp Müller <tim at centricular dot net>
13034 * docs/manual/advanced-dataaccess.xml:
13035 Fix buffer probe example compilation in
13038 2006-06-22 Edward Hervey <edward@fluendo.com>
13040 * gst/gstelement.c: (gst_element_pads_activate):
13041 We need to deactivate src pads first and then sink pads.
13042 The reason is the src pads might be blocking while holding the streaming
13043 lock, so we need to deactivate them first so that deactivating the sink
13044 pads doesn't block (since it will require the streaming lock).
13046 2006-06-22 Wim Taymans <wim@fluendo.com>
13048 * libs/gst/base/gstbasetransform.c:
13049 (gst_base_transform_buffer_alloc):
13050 Forgot to remove two unneeded unrefs.
13051 Simplify a check _is_equal allready checks the obvious case.
13053 2006-06-22 Wim Taymans <wim@fluendo.com>
13055 * docs/design/part-block.txt:
13056 Some docs about what pad_block should do.
13058 2006-06-22 Wim Taymans <wim@fluendo.com>
13060 * gst/gstcaps.c: (gst_caps_replace):
13061 Fix crasher when passed NULL. Doc clarification.
13062 Optimize for the trivial case.
13064 * gst/gstpipeline.c: (gst_pipeline_change_state):
13067 * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
13068 Small documentation cleanup.
13070 * libs/gst/base/gstbasetransform.c:
13071 (gst_base_transform_buffer_alloc):
13072 Don't use silly gst_pad_get_negotiated_caps, GST_PAD_CAPS
13073 is what we need and it avoids a whole lot of redundant
13074 refcount operations.
13076 2006-06-22 Tim-Philipp Müller <tim at centricular dot net>
13078 Patch by: Philip Jägenstedt <philip at lysator liu se>
13080 * docs/manual/advanced-dataaccess.xml:
13081 Fix 'Embedding static elements' section to use
13082 GST_PLUGIN_DEFINE_STATIC (#345607).
13084 2006-06-21 Tim-Philipp Müller <tim at centricular dot net>
13086 * tests/check/pipelines/simple-launch-lines.c: (test_stop_from_app):
13087 Attempt to 'fix' spuriously failing test case: it seems like the
13088 timeout of half a second is simply too small when the system is under
13089 load otherwise, and the timeout doesn't really seem to serve any
13090 particular purpose here. Give the pipeline a few seconds to preroll
13091 first, and then give it another half a second to go from PAUSED to
13092 PLAYING and marshal the message into the main thread.
13094 2006-06-21 Tim-Philipp Müller <tim at centricular dot net>
13096 * tools/gst-feedback-m.m:
13097 Don't only use unversioned tools, try versioned tools as well
13100 2006-06-21 Tim-Philipp Müller <tim at centricular dot net>
13102 * gst/gstbus.c: (gst_bus_class_init):
13103 Fix some typos, make docs more explicit.
13105 2006-06-20 Wim Taymans <wim@fluendo.com>
13107 * tests/check/gst/gstghostpad.c: (block_callback),
13108 (GST_START_TEST), (gst_ghost_pad_suite):
13109 Added some more ghostpad tests, mainly blocking
13112 2006-06-16 Wim Taymans <wim@fluendo.com>
13114 * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
13115 (gst_file_sink_close_file), (gst_file_sink_do_seek),
13116 (gst_file_sink_event), (gst_file_sink_render):
13117 * plugins/elements/gstfilesink.h:
13118 Check if we can seek in the file instead of assuming
13119 we always can. Post an error when we are asked to seek in a
13120 non-seekable file (like a fifo). Fixes #343312.
13123 2006-06-16 Tim-Philipp Müller <tim at centricular dot net>
13125 * tools/gst-launch.1.in:
13126 Un-garble (fourcc) bit in filtered caps section.
13128 2006-06-16 Tim-Philipp Müller <tim at centricular dot net>
13130 * docs/manual/advanced-autoplugging.xml:
13131 * docs/manual/basics-helloworld.xml:
13132 * docs/manual/highlevel-components.xml:
13133 Don't leak bus reference in sample code.
13135 2006-06-15 Tim-Philipp Müller <tim at centricular dot net>
13138 Add default for new --enable-plugin-docs switch.
13141 Use new GST_PLUGIN_DOCS macro to check for pyxml etc.
13144 * docs/Makefile.am:
13145 Use new ENABLE_PLUGIN_DOCS conditional.
13147 2006-06-14 Wim Taymans <wim@fluendo.com>
13149 * gst/gstbin.c: (bin_query_duration_done), (gst_bin_query):
13150 Make it clear with a FIXME and a real define what the #if 0
13151 previously disabled.
13153 2006-06-14 Wim Taymans <wim@fluendo.com>
13155 * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
13156 (gst_base_sink_preroll_object), (gst_base_sink_get_position):
13157 * libs/gst/base/gstbasetransform.c:
13158 (gst_base_transform_sink_eventfunc):
13159 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
13160 Don't randomly and silently reset a segment when the format
13161 changes as this is a bug somewhere upstream. Fixes #330379.
13163 2006-06-14 Tim-Philipp Müller <tim at centricular dot net>
13165 Patch by: Wouter Paesen <wouter at kangaroot net>
13167 * libs/gst/controller/gstcontroller.c:
13168 (gst_controlled_property_new):
13169 Fix controlling of float properties (#344849).
13171 * tests/check/libs/controller.c:
13172 (gst_test_mono_source_get_property),
13173 (gst_test_mono_source_set_property),
13174 (gst_test_mono_source_class_init), (GST_START_TEST):
13175 While we're at it, add some float stuff to unit test.
13177 2006-06-13 Thomas Vander Stichele <thomas at apestaart dot org>
13180 * docs/images/gdp-header.svg:
13182 * docs/libs/Makefile.am:
13183 * docs/libs/gdp-header.png:
13184 * libs/gst/dataprotocol/dataprotocol.c:
13185 add it to the API docs
13186 * docs/manual/intro-motivation.xml:
13189 2006-06-13 Tim-Philipp Müller <tim at centricular dot net>
13191 * gst/gst.c: (scan_and_update_registry), (init_post):
13192 If the fork()'ed child process can't write the updated registry cache
13193 file to disk for some reason, make it exit with a failure exit code,
13194 so that the parent can then re-scan the plugins itself and update the
13195 registry structures in memory and work with that (rather than failing
13196 when creating elements because seemingly no plugins are available).
13197 Refactor registry scanning code into separate function for this and
13198 also separate fork() and non-fork() code paths. Fixes #344748.
13200 2006-06-13 Wim Taymans <wim@fluendo.com>
13202 * docs/manual/advanced-dataaccess.xml:
13203 Fix wrong PluginDesc. Fixes #344755.
13205 2006-06-13 Tim-Philipp Müller <tim at centricular dot net>
13207 * gst/gstregistryxml.c: (gst_registry_xml_write_cache):
13208 Fix silly bug that prevented us from creating
13209 ~/.gstreamer-0.10 and writing the registry in one
13210 go (the first call to g_mkstemp() would overwrite the
13211 placeholder in the template string, so the second call
13212 to g_mkstemp() after creating the missing directory
13213 would then error out with 'invalid argument').
13215 2006-06-13 Edward Hervey <edward@fluendo.com>
13217 * gst/gst.c: (init_post):
13220 2006-06-13 Thomas Vander Stichele <thomas at apestaart dot org>
13222 * gst/glib-compat-private.h:
13223 * gst/glib-compat.c:
13224 * gst/glib-compat.h:
13225 * gst/gstvalue.c: (gst_value_serialize_flags):
13226 remove GLib 2.6 compatibility code
13228 2006-06-12 Tim-Philipp Müller <tim at centricular dot net>
13230 * gst/parse/Makefile.am:
13231 Fix build with 'make -j N' even more (#340016).
13233 2006-06-12 Wim Taymans <wim@fluendo.com>
13235 * docs/gst/gstreamer-sections.txt:
13238 2006-06-12 Wim Taymans <wim@fluendo.com>
13240 * gst/gstsegment.c: (gst_segment_set_duration),
13241 (gst_segment_set_last_stop), (gst_segment_set_seek),
13242 (gst_segment_set_newsegment_full), (gst_segment_to_stream_time),
13243 (gst_segment_to_running_time), (gst_segment_clip):
13244 Use G_UNLIKELY to help the compiler a bit.
13246 2006-06-12 Wim Taymans <wim@fluendo.com>
13248 Patch by: Stefan Kost <ensonic at sonicpulse dot de>
13250 * gst/gstevent.c: (gst_event_get_type):
13251 * gst/gstmessage.c:
13252 * gst/gstpad.c: (gst_pad_chain_unchecked), (gst_pad_chain),
13254 constify quark registration strings. Fixes #344115
13255 Avoid unneeded type checking is _pad_push() by internally
13256 calling gst_pad_chain_unchecked().
13258 2006-06-12 Wim Taymans <wim@fluendo.com>
13260 * gst/gstbuffer.c: (gst_buffer_get_type), (gst_buffer_finalize),
13261 (_gst_buffer_copy), (gst_buffer_is_metadata_writable),
13262 (gst_subbuffer_finalize), (gst_buffer_create_sub),
13263 (gst_buffer_is_span_fast), (gst_buffer_span):
13264 Init _type for consistency.
13265 Use _FLAGS macro to avoid type check.
13266 Avoid unneeded type checks in subbufer code.
13268 2006-06-12 Wim Taymans <wim@fluendo.com>
13270 * gst/gst.c: (gst_debug_help):
13271 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_list_free):
13272 * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
13273 (gst_plugin_feature_list_free):
13274 * gst/gstregistry.c: (gst_registry_add_plugin),
13275 (gst_registry_add_feature), (gst_registry_plugin_filter),
13276 (gst_registry_feature_filter), (gst_registry_find_plugin),
13277 (gst_registry_find_feature), (gst_registry_get_plugin_list),
13278 (gst_registry_lookup_feature_locked), (gst_registry_lookup_locked):
13279 * gst/gstregistryxml.c: (load_feature),
13280 (gst_registry_xml_read_cache), (gst_registry_xml_write_cache):
13281 * gst/gstminiobject.c: (gst_mini_object_unref),
13282 (gst_mini_object_replace), (gst_value_mini_object_free),
13283 (gst_value_mini_object_copy):
13284 Use _CAST macros to avoid unneeded type checking.
13285 Added some more G_UNLIKELY.
13287 2006-06-12 Wim Taymans <wim@fluendo.com>
13290 Avoid unneeded type checking.
13291 API: GST_BUFFER_IS_DISCONT
13293 * gst/gstminiobject.h:
13294 Avoid type check in flag accessor.
13296 * gst/gstelementfactory.h:
13298 * gst/gstpluginfeature.h:
13300 API: GST_ELEMENT_FACTORY_CAST
13301 API: GST_PLUGIN_CAST
13302 API: GST_PLUGIN_FEATURE_CAST
13304 2006-06-12 Wim Taymans <wim@fluendo.com>
13306 * gst/gstobject.c: (gst_object_get_type), (gst_object_ref),
13307 (gst_object_unref):
13308 Add G_UNLIKELY in type registration.
13309 Avoid type check in _ref/_unref since that is also
13312 2006-06-12 Wim Taymans <wim@fluendo.com>
13314 * gst/gsterror.c: (gst_g_error_get_type):
13315 * gst/gstpadtemplate.c: (gst_pad_template_get_type),
13316 (gst_static_pad_template_get_type):
13317 * gst/gsttaglist.c: (gst_tag_list_get_type):
13318 * gst/gsttagsetter.c: (gst_tag_setter_get_type):
13319 * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type):
13320 * gst/gsturi.c: (gst_uri_handler_get_type):
13321 * gst/gstvalue.c: (gst_date_get_type):
13322 * gst/gstxml.c: (gst_xml_get_type):
13323 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_type),
13324 (gst_base_sink_preroll_object), (gst_base_sink_get_position):
13325 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_type):
13326 Add G_UNLIKELY in type registration.
13328 2006-06-12 Wim Taymans <wim@fluendo.com>
13330 * tools/gst-inspect.c: (print_signal_info):
13331 Properly print enum values.
13333 2006-06-12 Wim Taymans <wim@fluendo.com>
13335 * gst/gstinfo.c: (gst_debug_set_active),
13336 (gst_debug_category_set_threshold), (_gst_debug_nameof_funcptr):
13338 Add some G_[UN]LIKELY.
13339 Maintain __gst_debug_min to avoid formatting the arguments of
13340 debug messages that will be dropped anyway to avoid a lot of
13341 overhead from the debugging system.
13343 2006-06-11 Stefan Kost <ensonic@users.sf.net>
13346 * po/POTFILES.skip:
13347 add missing files containing translatable strings, tell intltool about
13350 2006-06-11 Stefan Kost <ensonic@users.sf.net>
13352 * tests/check/libs/.cvsignore:
13353 add test-binary to ignore list
13355 2006-06-11 Stefan Kost <ensonic@users.sf.net>
13357 * docs/libs/gstreamer-libs-docs.sgml:
13358 reorder (put dp into a chapter) and indent
13360 2006-06-10 Thomas Vander Stichele <thomas at apestaart dot org>
13365 === release 0.10.8 ===
13367 2006-06-10 Thomas Vander Stichele <thomas at apestaart dot org>
13370 releasing 0.10.8, "Soepeke, ik zie ou nog altijd nie"
13372 2006-06-10 Thomas Vander Stichele <thomas at apestaart dot org>
13374 * gst/gst.c: (init_post):
13375 move pid declaration to declaration block
13377 2006-06-10 Thomas Vander Stichele <thomas at apestaart dot org>
13379 * gst/gst.c: (init_post):
13380 use _exit() instead of exit() in our forked child; this ensures
13381 that none of the registered exit handlers from whatever is using
13382 GStreamer get executed. This fixes gnome-mixer-applet failing
13383 to load, because ORBit would shut down.
13384 Spotted by: Edward Hervey <edward@fluendo.com>
13385 Fix suggested by: Tim-Philipp Müller <tim at centricular dot net>
13388 2006-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
13393 === release 0.10.7 ===
13395 2006-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
13398 releasing 0.10.7, "Soepeke, ik zie ou"
13400 2006-06-07 Thomas Vander Stichele <thomas at apestaart dot org>
13423 * win32/common/config.h:
13424 0.10.6.2 prerelease
13426 2006-06-07 Wim Taymans <wim@fluendo.com>
13428 * gst/gstindex.c: (gst_index_gtype_resolver):
13429 * tools/gst-xmlinspect.c: (print_plugin_info):
13430 Fix leak spotted by coverity checker. Fixes #343827
13431 Fix another other leak found by paolo borelli.
13433 2006-06-06 Thomas Vander Stichele <thomas at apestaart dot org>
13435 * libs/gst/dataprotocol/dataprotocol.c:
13436 (gst_dp_header_from_buffer_any), (gst_dp_packet_from_caps_any),
13437 (gst_dp_version_get_type), (gst_dp_init),
13438 (gst_dp_header_from_buffer), (gst_dp_header_from_buffer_1_0),
13439 (gst_dp_packet_from_caps), (gst_dp_packet_from_caps_1_0),
13440 (gst_dp_packet_from_event), (gst_dp_packet_from_event_1_0),
13441 (gst_dp_event_from_packet_0_2), (gst_dp_event_from_packet_1_0),
13442 (gst_dp_event_from_packet), (gst_dp_packetizer_new),
13443 (gst_dp_packetizer_free):
13444 * libs/gst/dataprotocol/dataprotocol.h:
13445 API: add a GstDPPacketizer object, and create/free functions
13446 API: add GstDPVersion enum
13447 Add 1.0 event function that uses the string serialization
13448 Serialize more useful buffer flags
13451 2006-06-06 Thomas Vander Stichele <thomas at apestaart dot org>
13453 * tests/check/Makefile.am:
13454 * tests/check/gst/gstabi.c:
13455 * tests/check/gst/struct_ppc64.h:
13456 * tests/check/libs/libsabi.c:
13457 * tests/check/libs/struct_ppc64.h:
13458 add ppc64 structure sizes
13460 2006-06-06 Thomas Vander Stichele <thomas at apestaart dot org>
13462 * tests/check/Makefile.am:
13463 * tests/check/gst/gstabi.c:
13464 * tests/check/gst/struct_x86_64.h:
13465 * tests/check/libs/libsabi.c:
13466 * tests/check/libs/struct_x86_64.h:
13467 generate and add structure size lists for x86_64
13469 2006-06-06 Thomas Vander Stichele <thomas at apestaart dot org>
13471 * libs/gst/check/gstcheck.c: (gst_check_abi_list):
13472 * libs/gst/check/gstcheck.h:
13473 factor out the method from tests that checks size of structures,
13474 and add code to generate the header containing these sizes
13475 * tests/check/gst/gstabi.c: (GST_START_TEST):
13476 * tests/check/gst/struct_i386.h:
13477 * tests/check/libs/libsabi.c: (GST_START_TEST):
13478 * tests/check/libs/struct_i386.h:
13481 2006-06-06 Michael Smith <msmith@fluendo.com>
13483 * gst/gstsegment.h:
13484 Don't use c++-style comments, fixes #343929
13486 2006-06-05 Edward Hervey <edward@fluendo.com>
13489 plugin_paths is not used if we build without registry support.
13491 * gst/gstsegment.c: (gst_segment_copy):
13492 _copy() was always returning NULL...
13494 2006-06-02 Thomas Vander Stichele <thomas at apestaart dot org>
13496 * libs/gst/dataprotocol/dataprotocol.c:
13497 (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
13498 (gst_dp_packet_from_event):
13499 factor out CRC code
13501 2006-06-02 Thomas Vander Stichele <thomas at apestaart dot org>
13503 * libs/gst/check/gstcheck.c: (gst_check_teardown_src_pad):
13504 make sure we unset caps
13506 2006-06-02 Michael Smith <msmith@fluendo.com>
13508 * libs/gst/check/gstcheck.c: (gst_check_init),
13509 (gst_check_chain_func):
13510 * libs/gst/check/gstcheck.h:
13511 Add a cond/mutex to the check support lib, signal this whenever we
13512 add to the buffers list. This will allow tests to not busy-wait on
13515 2006-06-02 Thomas Vander Stichele <thomas at apestaart dot org>
13517 * libs/gst/dataprotocol/dataprotocol.c:
13518 (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
13519 (gst_dp_packet_from_event):
13520 factor out some common header init code
13522 2006-06-02 Thomas Vander Stichele <thomas at apestaart dot org>
13524 * docs/libs/gstreamer-libs-sections.txt:
13525 * docs/libs/tmpl/gstdataprotocol.sgml:
13526 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc):
13527 * libs/gst/dataprotocol/dataprotocol.h:
13528 API: make gst_dp_crc() public
13530 2006-06-01 Stefan Kost <ensonic@users.sf.net>
13532 * plugins/indexers/gstindexers.c: (plugin_init):
13533 conditionally register fileindexer (fixes #343598)
13535 2006-06-01 Stefan Kost <ensonic@users.sf.net>
13537 * gst/gsttagsetter.h:
13538 Can't cast ifaces to a class
13540 * libs/gst/net/gstnetclientclock.h:
13541 * libs/gst/net/gstnettimeprovider.h:
13542 * plugins/elements/gstfakesink.h:
13543 * plugins/elements/gstfakesrc.h:
13544 * plugins/elements/gstfdsink.h:
13545 * plugins/elements/gstfdsrc.h:
13546 * plugins/elements/gstfilesink.h:
13547 * plugins/elements/gstfilesrc.h:
13548 * plugins/elements/gstidentity.h:
13549 * plugins/elements/gstqueue.h:
13550 * plugins/elements/gsttee.h:
13551 * plugins/indexers/gstfileindex.c:
13552 * plugins/indexers/gstmemindex.c:
13553 * tests/old/examples/plugins/example.h:
13554 Fix more gobject macros: obj<->klass, GstXXX<->GstXXXClass
13556 2006-06-01 Thomas Vander Stichele <thomas at apestaart dot org>
13558 * libs/gst/dataprotocol/dataprotocol.c:
13559 (gst_dp_header_from_buffer):
13560 make sure we zero the whole ABI-compatible area
13562 2006-06-01 Wim Taymans <wim@fluendo.com>
13564 Patch by: Alessandro Decina <alessandro at nnva dot org>
13566 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_stop):
13567 Make sure the EOS flag is cleared from pads after a flush
13568 or stop. Fixes #343538.
13570 * tests/check/libs/collectpads.c: (GST_START_TEST),
13571 (gst_collect_pads_suite):
13572 Added test for collectpads reusage after EOS.
13574 2006-05-30 Sebastien Moutte <sebastien@moutte.net>
13577 set #include <sys/wait.h> in a #ifdef #ifdef HAVE_FORK
13578 * win32/common/libgstbase.def:
13579 export gst_collect_pads_set_flushing
13580 * win32/common/libgstreamer.def:
13581 export gst_pad_set_acceptcaps_function, gst_structure_empty_new,
13582 gst_value_fraction_multiply
13583 * win32/vs6/gst_inspect.dsp:
13584 add a link to intl.lib
13586 2006-05-30 Wim Taymans <wim@fluendo.com>
13588 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
13589 (gst_collect_pads_chain):
13590 Handle the case where a pad is removed from the collection
13591 that could cause the other pads to become collectable.
13593 2006-05-30 Wim Taymans <wim@fluendo.com>
13595 * gst/gstelement.c:
13596 Clarify the use of _release_request_pad() and
13597 _get_request_pad() a bit better.
13599 * libs/gst/base/gstadapter.c: (gst_adapter_peek),
13600 (gst_adapter_take_buffer):
13601 Fix some doc and comment typos.
13603 2006-05-30 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
13605 * docs/gst/gstreamer-sections.txt:
13606 * docs/libs/gstreamer-libs-sections.txt:
13607 add declared symbols
13609 2006-05-30 Jan Schmidt <thaytan@mad.scientist.com>
13611 * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
13612 Add debug that can be enabled using a #define at the top of the file,
13613 for dumping stats about how late/early we were when waking up from
13614 waiting on the clock.
13616 2006-05-30 Wim Taymans <wim@fluendo.com>
13618 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_check_pads):
13619 When rebuilding the pad list, don't leak the previous list.
13621 2006-05-30 Wim Taymans <wim@fluendo.com>
13623 Patch by: Lutz Mueller <lutz at topfrose dot de>
13625 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
13626 (gst_base_src_get_query_types), (gst_base_src_update_length):
13627 Publish supported query types.
13628 Update last_stop field in get_range mode so the position
13629 query works. Fixes #342321.
13631 2006-05-30 Tim-Philipp Müller <tim at centricular dot net>
13633 * docs/gst/gstreamer-sections.txt:
13634 * gst/gsttaglist.c: (_gst_tag_initialize):
13635 * gst/gsttaglist.h:
13636 API: add GST_TAG_PREVIEW_IMAGE (#343341).
13638 2006-05-30 Wim Taymans <wim@fluendo.com>
13640 Patch by: Alessandro Decina <alessandro at nnva dot org>
13642 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad):
13643 Unlock mutex when removing an unknown pad.
13646 * tests/check/Makefile.am:
13647 * tests/check/libs/collectpads.c: (collected_cb), (push_buffer),
13648 (push_event), (setup), (teardown), (GST_START_TEST),
13649 (gst_collect_pads_suite), (main):
13650 Added collecpads check, disabled for now as check crashes for
13653 2006-05-29 Wim Taymans <wim@fluendo.com>
13655 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize):
13656 Don't leak pads lists.
13658 2006-05-29 Wim Taymans <wim@fluendo.com>
13660 * docs/libs/gstreamer-libs-sections.txt:
13661 * libs/gst/base/gstcollectpads.c:
13662 (gst_collect_pads_set_flushing_unlocked),
13663 (gst_collect_pads_set_flushing), (gst_collect_pads_start),
13664 (gst_collect_pads_stop):
13665 * libs/gst/base/gstcollectpads.h:
13666 API: gst_collect_pads_set_flushing()
13667 Added api to set the pads to flushing, useful for seeking
13668 code in elements using collectpads.
13669 Clear segment when receiving a flush.
13671 2006-05-29 Tim-Philipp Müller <tim at centricular dot net>
13673 * gst/gst.c: (add_path_func), (init_post):
13674 Don't scan registry paths passed via --gst-plugin-path immediately
13675 (will crash, because absolutely nothing is set up and no types are
13676 registered etc.); do this later in init_post(). Fixes #343057.
13678 2006-05-28 Thomas Vander Stichele <thomas at apestaart dot org>
13680 * gst/gst.c: (init_post):
13681 if we have fork, fork while reading/rebuilding the registry
13682 so the parent doesn't take the hit of having all plugins loaded
13683 in memory. Fixes #342777.
13685 Check if we have fork()
13686 * win32/common/config.h.in:
13689 2006-05-26 Jan Schmidt <thaytan@mad.scientist.com>
13691 * plugins/elements/gstelements.c:
13692 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
13693 (gst_file_src_init), (gst_file_src_set_property),
13694 (gst_file_src_get_property), (gst_file_src_start):
13695 * plugins/elements/gstfilesrc.h:
13696 API: GstFileSrc::use-mmap
13698 Add a use-mmap property to enable easier testing of all code paths.
13699 Bump rank to PRIMARY, so filesrc is the preferred file reader and used
13700 in the absence of gnomevfssrc. (Closes #340501)
13702 2006-05-26 Zaheer Abbas Merali <zaheerabbas at merali dot org>
13704 * tools/gst-inspect.c:
13705 Add missing include, removes warning of ngettext not being defined on
13708 2006-05-26 Jan Schmidt <thaytan@mad.scientist.com>
13710 * gst/gstvalue.c: (gst_value_deserialize_fraction):
13711 Handle NULL input and output pointers silently as a failed conversion,
13712 rather than g_warnings.
13714 2006-05-25 Wim Taymans <wim@fluendo.com>
13716 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_start):
13717 Initialize variable before using. Fixes #342820.
13719 2006-05-24 Tim-Philipp Müller <tim at centricular dot net>
13721 * libs/gst/base/gsttypefindhelper.c: (buf_helper_find_peek):
13722 Fix off-by-one bug that would only allow peeks of N-1 bytes
13723 from the start even if the buffer to typefind on contains
13724 in fact N bytes of data (makes vorbis typefinding from a
13725 vorbis identification header buffer work).
13727 * tests/check/Makefile.am:
13728 * tests/check/libs/.cvsignore:
13729 * tests/check/libs/typefindhelper.c: (GST_START_TEST),
13730 (gst_typefindhelper_suite), (main), (foobar_typefind),
13732 Add very basic unit test for gst_type_find_helper_for_buffer()
13733 that checks for the problem fixed above.
13735 2006-05-24 Thomas Vander Stichele <thomas at apestaart dot org>
13737 * tools/gst-inspect.c: (print_interfaces),
13738 (print_element_properties_info), (print_element_list), (main):
13739 add more translatable strings
13741 2006-05-23 Tim-Philipp Müller <tim at centricular dot net>
13743 Patch by: Julien Moutte <julien at moutte net>
13745 * docs/gst/gstreamer-sections.txt:
13746 Make new GST_FLOW_IS_SUCCESS macro visible in docs.
13748 * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init),
13749 (gst_fake_sink_preroll):
13750 * plugins/elements/gstfakesink.h:
13751 API: Add new GstFakeSink::preroll-handoff signal (#337100).
13753 2006-05-23 Wim Taymans <wim@fluendo.com>
13755 * gst/gstpad.c: (gst_flow_get_name), (gst_flow_to_quark):
13757 Added _CUSTOM error and success GstFlowReturn that can be
13758 used be elements internally.
13759 Added macro to check for SUCCESS flowreturns.
13760 API: GST_FLOW_CUSTOM_SUCCESS
13761 API: GST_FLOW_CUSTOM_ERROR
13762 API: GST_FLOW_IS_SUCCESS
13764 * tests/check/gst/gstpad.c: (GST_START_TEST), (gst_pad_suite):
13765 Added check for GstFlowReturn sanity.
13767 2006-05-23 Wim Taymans <wim@fluendo.com>
13769 Patch by: Mark Nauwelaerts <manauw at skynet dot be>
13771 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
13772 (gst_collect_pads_event):
13773 clear/reset segment info in FLUSH_STOP.
13776 2006-05-22 Stefan Kost <ensonic@users.sf.net>
13778 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_stop),
13779 (gst_collect_pads_check_collected):
13780 Flush queued buffer on _stop(), fixes playing again (#342454)
13782 2006-05-22 Thomas Vander Stichele <thomas at apestaart dot org>
13784 * tests/check/gst/gststructure.c: (GST_START_TEST),
13785 (gst_structure_suite):
13786 add a test for a complete structure
13788 2006-05-19 Tim-Philipp Müller <tim at centricular dot net>
13790 * docs/faq/developing.xml:
13791 * docs/faq/faq.xml:
13792 * docs/faq/troubleshooting.xml:
13793 * docs/faq/using.xml:
13794 Some minor FAQ updates that won't change the fact that
13795 our FAQ is badly structured, full of information hardly
13796 anyone new to GStreamer needs to know and lacking lots
13797 of information people constantly ask for.
13799 2006-05-19 Jan Schmidt <thaytan@mad.scientist.com>
13801 * gst/gstpad.c: (gst_pad_set_caps):
13802 Short-circuit gst_pad_set_caps if setting the existing
13803 caps pointer again, and avoid printing debug and
13804 reffing/unreffing the caps.
13806 * plugins/elements/gstqueue.c: (gst_queue_push_one):
13807 There's actually no need to set the caps before pushing -
13808 the acceptcaps method will handle it anyway.
13810 2006-05-19 Tim-Philipp Müller <tim at centricular dot net>
13812 * docs/gst/gstreamer-sections.txt:
13813 * win32/common/libgstreamer.def:
13814 * gst/gstutils.c: (gst_element_seek_simple):
13816 API: add gst_element_seek_simple() (#342238).
13818 2006-05-18 Edward Hervey <edward@fluendo.com>
13820 * gst/gsttypefind.c: (gst_type_find_get_type):
13821 * gst/gsttypefind.h:
13822 Added GST_TYPE_TYPE_FIND and gst_type_find_get_type() so a GType gets
13823 registered for GstTypeFind pointers. This allows wrapping the structure
13824 in bindings (i.e. gst-python).
13826 2006-05-18 Tim-Philipp Müller <tim at centricular dot net>
13828 * gst/gsttagsetter.c:
13829 Docs additions and fixes (see #339918).
13831 2006-05-18 Jan Schmidt <thaytan@mad.scientist.com>
13833 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
13834 The caps intersection algorithm can produce multiple copies of the
13835 caps. Until that is fixed, we need to simplify the result to be
13836 sure whether the allowed caps are fixed or not.
13838 * plugins/elements/gstqueue.c: (gst_queue_init),
13839 (gst_queue_bufferalloc), (gst_queue_acceptcaps),
13840 (gst_queue_push_one):
13841 Proxied buffer alloc should not set the caps on the source pad.
13842 When pushing buffers, we always accept the caps change that triggers.
13843 This prevents negotiation errors caused by caps changing mid-stream
13844 and then being refused on our source pad (because upstream is now
13845 refusing those caps).
13847 2006-05-18 Tim-Philipp Müller <tim at centricular dot net>
13849 * tests/examples/helloworld/helloworld.c: (main):
13850 Must plug audioconvert and audioresample between decoder
13853 2006-05-17 Jan Schmidt <thaytan@mad.scientist.com>
13855 * gst/gstregistryxml.c: (read_string), (load_pad_template),
13856 (load_feature), (load_plugin):
13857 Allow empty strings for some of the plugin fields so we don't
13858 drop valid plugin entries that were written out correctly
13861 2006-05-17 Sebastien Moutte <sebastien@moutte.net>
13863 * gst/gstregistryxml.c: (gst_registry_xml_write_cache):
13864 Use g_remove and g_rename instead of remove and rename that don't
13865 handle utf8 characters. rename was failing for users who had specific
13866 characters in their name then the registry was built at each
13868 * win32/vs6/gst_inspect.dsp:
13869 * win32/vs6/gst_launch.dsp:
13870 * win32/vs6/libgstbase.dsp:
13871 * win32/vs6/libgstcoreelements.dsp:
13872 * win32/vs6/libgstreamer.dsp:
13873 Use a debug version of libxml2 (libxml2D.lib,libxml2D.dll) for DEBUG
13874 build of libgstreamer and clean unused libraries in projects link
13877 2006-05-17 Edward Hervey <edward@fluendo.com>
13879 * plugins/elements/gstqueue.c: (gst_queue_push_one):
13880 The queue is not responsible for pushing an EOS when receiving a fatal
13881 flow error. It's up to the real element driving the pipeline to do that.
13883 2006-05-16 Edward Hervey <edward@fluendo.com>
13885 * plugins/elements/gstqueue.c: (gst_queue_push_one):
13886 The queue was posting a non-needed GST_MESSAGE_ERROR when pushing a
13887 buffer returned a fatal error. It should just send an EOS and stop
13889 Upstream elements will then properly receive the GST_FLOW_UNEXPECTED
13890 when pushing buffers on the queue and will be able to handle the event.
13892 2006-05-16 Tim-Philipp Müller <tim at centricular dot net>
13894 * docs/manual/basics-bins.xml:
13895 * docs/manual/basics-init.xml:
13896 Fix typos and minor errors in sample code (#341856).
13898 2006-05-16 Wim Taymans <wim@fluendo.com>
13900 * docs/design/part-qos.txt:
13901 Fix indexes in formulas to make more sense.
13903 2006-05-15 Wim Taymans <wim@fluendo.com>
13905 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
13906 Don't report POSITION based on clock time if sync is
13907 disabled in a sink.
13909 2006-05-15 Tim-Philipp Müller <tim at centricular dot net>
13912 Add cast to make compiler happy - refcount variable was a gint
13913 in GstObject but is a guint in GObject and g_atomic_int_get()
13916 2006-05-15 Thomas Vander Stichele <thomas at apestaart dot org>
13918 * gst/parse/Makefile.am:
13919 chain commands using &&, which also makes parallel make work
13921 2006-05-14 Tim-Philipp Müller <tim at centricular dot net>
13923 * docs/gst/gstreamer-sections.txt:
13926 * gst/gstmessage.h:
13929 === release 0.10.6 ===
13931 2006-05-14 Jan Schmidt <thaytan@mad.scientist.com>
13934 releasing 0.10.6, "Take the cannoli"
13936 2006-05-13 Tim-Philipp Müller <tim at centricular dot net>
13938 * tools/gst-launch.c: (print_tag):
13939 Fix use of uninitialized variable in the hypothetical
13940 case that some broken plugin creates a GST_TAG_IMAGE
13941 tag containing a NULL buffer (#341667).
13943 2006-05-12 Tim-Philipp Müller <tim at centricular dot net>
13945 * tools/gst-launch.c: (print_tag):
13946 Print something more intelligible for image tags when
13947 using the -t switch (#341556).
13949 2006-05-12 Thomas Vander Stichele <thomas at apestaart dot org>
13954 define GST_MAJORMINOR so we have it available in win32/common/config.h
13955 Possibly remove it from our Makefile.am files later
13956 * win32/common/config.h:
13957 * win32/common/config.h.in:
13958 added GST_MAJORMINOR
13959 * win32/common/gstenumtypes.c: (register_gst_resource_error):
13960 * win32/common/gstversion.h:
13963 2006-05-12 Sebastien Moutte <sebastien@moutte.net>
13966 Update win32 files listing.
13967 * win32/common/gstversion.h:
13968 Add GST_MAJORMINOR definition.
13969 * win32/common/libgstreamer.def:
13970 Add new exported functions.
13972 2006-05-12 Michael Smith <msmith@fluendo.com>
13974 * gst/gstplugin.c: (gst_plugin_load_file):
13975 If an so file has no plugin entry point, unload the module.
13977 2006-05-11 Wim Taymans <wim@fluendo.com>
13979 * plugins/elements/gstqueue.c: (gst_queue_chain), (gst_queue_loop),
13980 (gst_queue_set_property):
13981 Don't forget to signal the _chain or _loop function
13982 when the queue size or thresholds change since that might
13983 cause them to make progres again.
13985 2006-05-11 Stefan Kost <ensonic@users.sf.net>
13987 * gst/gstclock.c: (gst_clock_class_init):
13988 * gst/gstindex.c: (gst_index_class_init):
13989 * gst/gstobject.c: (gst_object_class_init):
13990 * gst/gstpad.c: (gst_pad_class_init):
13991 * gst/gstpipeline.c: (gst_pipeline_class_init):
13992 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
13993 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init):
13994 * libs/gst/base/gstbasetransform.c:
13995 (gst_base_transform_class_init):
13996 * libs/gst/net/gstnetclientclock.c:
13997 (gst_net_client_clock_class_init):
13998 * libs/gst/net/gstnettimeprovider.c:
13999 (gst_net_time_provider_class_init):
14000 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init):
14001 * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init):
14002 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init):
14003 * plugins/elements/gstfdsink.c: (gst_fd_sink_class_init):
14004 * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
14005 * plugins/elements/gstfilesink.c: (gst_file_sink_class_init):
14006 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init):
14007 * plugins/elements/gstidentity.c: (gst_identity_class_init):
14008 * plugins/elements/gsttee.c: (gst_tee_class_init):
14009 * tests/old/examples/plugins/example.c: (gst_example_class_init):
14010 * tests/old/testsuite/threads/signals.c: (gst_test_class_init):
14011 G_OBJECT_CLASS macro usage batch cleanup, fixes #337747 for core
14013 2006-05-11 Wim Taymans <wim@fluendo.com>
14015 * gst/gstbuffer.c: (_gst_buffer_initialize):
14016 Register subbufer along with the buffer type so that
14017 it does not accidentally gets registered from N
14018 different streaming threads in a non threadsafe way.
14020 2006-05-10 Tim-Philipp Müller <tim at centricular dot net>
14024 * gst/gstmessage.h:
14025 Make gtk-doc generate docs for our inlined gst_buffer_ref(),
14026 gst_event_ref() and gst_message_ref() functions again
14027 (ugly hack, please do fix if there's a better way besides
14028 overrides.txt, which doesn't seem to work).
14030 2006-05-10 Thomas Vander Stichele <thomas at apestaart dot org>
14032 * libs/gst/check/gstcheck.h:
14033 add an assert for setting state to avoid lots of repetitive code
14036 2006-05-10 Thomas Vander Stichele <thomas at apestaart dot org>
14038 * gst/gstvalue.c: (gst_value_serialize_flags):
14039 fix a leak if no flags are set
14040 * tests/check/gst/gstvalue.c: (GST_START_TEST):
14043 2006-05-10 Tim-Philipp Müller <tim at centricular dot net>
14045 * docs/manual/basics-pads.xml:
14046 Expand a bit on caps and filtered links and update
14047 examples that were still using the no longer existing
14048 gst_pad_link_filtered() (#338206).
14050 2006-05-10 Wim Taymans <wim@fluendo.com>
14052 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
14053 (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
14054 (gst_collect_pads_set_flushing), (gst_collect_pads_start),
14055 (gst_collect_pads_stop):
14056 * libs/gst/base/gstcollectpads.h:
14057 No need to call _stop in _finalize.
14058 Iterate the main pad list in _finalize.
14059 Added some more debug.
14060 Free lists and data in the right order.
14061 Also free data whem doing _remove_pad when stopped for
14062 backward compatibility protect ::started with PAD_LOCK as
14065 2006-05-10 Thomas Vander Stichele <thomas at apestaart dot org>
14067 * gst/gststructure.c: (gst_structure_gtype_from_abbr),
14068 (gst_structure_parse_value):
14070 rename a method so that it actually says what it does better
14072 2006-05-10 Thomas Vander Stichele <thomas at apestaart dot org>
14074 * gst/gstevent.c: (_gst_event_initialize):
14075 * gst/gstformat.c: (_gst_format_initialize):
14076 make sure some essential types used by events are registered
14077 as part of gst_init()
14078 * gst/gstvalue.c: (gst_value_serialize_flags):
14079 if no flags are set, serialize them to a value that represents NONE
14080 so that deserializing them works
14081 * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
14082 add tests for serialization and deserialization of flags
14084 2006-05-10 Wim Taymans <wim@fluendo.com>
14086 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_collect),
14087 (gst_collect_pads_collect_range), (gst_collect_pads_available),
14088 (gst_collect_pads_check_pads), (gst_collect_pads_check_collected),
14089 (gst_collect_pads_event), (gst_collect_pads_chain):
14092 Catch and return errors from the collect function
14093 Refuse data on eos pads.
14095 2006-05-10 Edward Hervey <edward@fluendo.com>
14097 * gst/gstinterface.h:
14098 GST_IMPLEMENTS_INTERFACE and GST_IS_IMPLEMENTS_INTERFACE use the normal
14099 GInterface type checking.
14100 They were previously using non-defined macros.
14102 2006-05-09 Wim Taymans <wim@fluendo.com>
14104 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_init),
14105 (gst_collect_pads_finalize), (gst_collect_pads_add_pad),
14106 (gst_collect_pads_remove_pad), (gst_collect_pads_set_flushing),
14107 (gst_collect_pads_start), (gst_collect_pads_stop),
14108 (gst_collect_pads_peek), (gst_collect_pads_pop),
14109 (gst_collect_pads_available), (gst_collect_pads_read),
14110 (gst_collect_pads_flush), (gst_collect_pads_check_pads),
14111 (gst_collect_pads_is_collected), (gst_collect_pads_event),
14112 (gst_collect_pads_chain):
14113 * libs/gst/base/gstcollectpads.h:
14114 Clean up the mess that is collectpads, add comments and
14115 FIXMEs where needed.
14116 Maintain a separate pad list so we can add pads while
14117 collecting the other ones. For this we need a new separate
14119 Fix memory leak in finalize.
14120 Refactor some weird code to set/unset pad flushing flags, mark
14122 Don't crash in _available, _read, _flush when we're EOS.
14124 * tests/check/libs/.cvsignore:
14125 Ignore adapter check binary.
14127 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
14129 * gst/gstindex.c: (gst_index_resolver_get_type):
14130 * plugins/elements/gstfakesink.c:
14131 (gst_fake_sink_state_error_get_type):
14132 * plugins/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
14133 (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type):
14134 * plugins/elements/gstqueue.c: (queue_leaky_get_type):
14135 Const-ify GEnumValue arrays.
14137 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
14139 * tests/check/gst/gstbuffer.c: (GST_START_TEST):
14140 Add test case for flags + gst_buffer_make_metadata_writable().
14142 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
14144 * gst/gstbuffer.c: (gst_buffer_make_metadata_writable):
14145 gst_buffer_make_metadata_writable() should maintain the
14146 buffer flags (those that make sense at least) (see #340859).
14148 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
14150 * tools/gst-inspect.c:
14151 * tools/gst-launch.c:
14152 * tools/gst-typefind.c:
14153 * tools/gst-xmlinspect.c:
14155 Fix up includes: need to include stdlib.h in tools.h for exit().
14157 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
14159 * gst/gsttaglist.c: (_gst_tag_initialize):
14160 * gst/gsttaglist.h:
14161 API: add GST_TAG_IMAGE tag (#340721).
14163 2006-05-08 Wim Taymans <wim@fluendo.com>
14166 Added some docs for the segment query.
14168 2006-05-08 Wim Taymans <wim@fluendo.com>
14170 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
14171 (gst_base_src_loop), (gst_base_src_change_state):
14172 Always push non-flushing serialized events in the streaming
14175 2006-05-08 Thomas Vander Stichele <thomas at apestaart dot org>
14177 * gst/gsterror.c: (_gst_stream_errors_init):
14178 Add a missing error string.
14180 2006-05-08 Jan Schmidt <thaytan@mad.scientist.com>
14182 * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment):
14183 Add applied_rate to the debug
14185 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
14186 Copy applied_rate into the outgoing NEWSEGMENT event
14188 2006-05-08 Wim Taymans <wim@fluendo.com>
14190 Patch by: Philippe Rouquier <philippero at libertysurf dot fr>
14192 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_flushing),
14193 (gst_base_sink_change_state):
14194 call ::unlock before taking the PREROLL_LOCK so we can safely
14195 handle elements that lock in ::render.
14198 2006-05-08 Edward Hervey <edward@fluendo.com>
14200 * autogen.sh: (CONFIGURE_DEF_OPT):
14201 Darwin's libtoolize is in fact called glibtoolize.
14202 Adding glibtoolize to the list of accepted names for libtoolize.
14204 2006-05-08 Wim Taymans <wim@fluendo.com>
14206 * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
14207 Unify error handling, don't post an error message
14208 when a push() returns EOS but perform our normal EOS
14209 handling code. Fixes #340772.
14211 2006-05-08 Wim Taymans <wim@fluendo.com>
14213 * docs/design/part-overview.txt:
14214 Make upsteam/downstream concepts more clear.
14215 Give an example of serialized/non-serialized events.
14217 * docs/design/part-events.txt:
14218 * docs/design/part-streams.txt:
14219 Mention applied_rate.
14221 * docs/design/part-trickmodes.txt:
14222 Mention applied rate, flesh out some more use cases.
14224 * gst/gstevent.c: (gst_event_new_new_segment),
14225 (gst_event_parse_new_segment), (gst_event_new_new_segment_full),
14226 (gst_event_parse_new_segment_full), (gst_event_new_tag),
14227 (gst_event_parse_tag), (gst_event_new_buffer_size),
14228 (gst_event_parse_buffer_size), (gst_event_new_qos),
14229 (gst_event_parse_qos), (gst_event_parse_seek),
14230 (gst_event_new_navigation):
14232 Add applied_rate field to NEWSEGMENT event.
14233 API: gst_event_new_new_segment_full()
14234 API: gst_event_parse_new_segment_full()
14236 * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_seek),
14237 (gst_segment_set_newsegment), (gst_segment_set_newsegment_full),
14238 (gst_segment_to_stream_time), (gst_segment_to_running_time):
14239 * gst/gstsegment.h:
14240 Add applied_rate to GstSegment structure.
14241 Make calculation of stream_time and running_time more correct
14242 wrt rate/applied_rate.
14243 Add some more docs.
14244 API: GstSegment::applied_rate field
14245 API: gst_segment_set_newsegment_full();
14247 * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
14248 (gst_base_sink_get_sync_times), (gst_base_sink_get_position):
14249 * libs/gst/base/gstbasetransform.c:
14250 (gst_base_transform_sink_eventfunc),
14251 (gst_base_transform_handle_buffer):
14252 Parse and use applied_rate in the GstSegment field.
14254 * tests/check/gst/gstevent.c: (GST_START_TEST):
14255 Add check for applied_rate field.
14257 * tests/check/gst/gstsegment.c: (GST_START_TEST),
14258 (gstsegments_suite):
14259 Add more checks for various GstSegment operations.
14261 2006-05-08 Wim Taymans <wim@fluendo.com>
14263 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
14264 (gst_base_sink_do_sync), (gst_base_sink_chain_unlocked),
14265 (gst_base_sink_get_position), (gst_base_sink_change_state):
14266 Store the sync time of the buffer end position separatly in a
14267 new variable eos_rtime so we can properly sync the EOS event.
14269 Fix the docs for gst_base_sink_set_qos_enabled().
14270 Don't set segment start to invalid value when we receive a
14271 non TIME newsegment.
14272 get closer to handling position reporting for negative rates
14275 2006-05-07 Stefan Kost <ensonic@users.sf.net>
14278 Docs about how to print caps for debug purposes.
14280 * gst/gstpadtemplate.c: (gst_static_pad_template_get):
14281 use gst_caps_make_writable instead of gst_caps_copy, Fixes #340608
14283 2006-05-07 Stefan Kost <ensonic@users.sf.net>
14285 * gst/gstelement.c:
14286 use full enum names and preprend a '%' in docs strings to make recent
14287 gtk-doc turn that into a link
14289 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
14291 * docs/manual/basics-bins.xml:
14292 * docs/manual/basics-bus.xml:
14293 * docs/manual/basics-pads.xml:
14294 Some typo fixes, some additions, some clarifications.
14296 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
14298 * tools/gst-inspect.c: (main):
14299 * tools/gst-launch.c: (main):
14300 * tools/gst-run.c: (main):
14301 * tools/gst-typefind.c: (main):
14302 * tools/gst-xmlinspect.c: (main):
14303 Use the string passed to g_option_context_new() for
14304 what it's intended for - the program name is already
14307 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
14309 * tools/Makefile.am:
14310 * tools/gst-inspect.c: (main):
14311 * tools/gst-launch.c: (main):
14312 * tools/gst-xmlinspect.c: (main):
14314 Add back --version command line option (#340460).
14316 * tools/gst-typefind.c: (have_type_handler), (typefind_file), (main):
14317 Add --version option and use GOption for argument parsing; refactor a
14318 bit; accept directories as arguments and recurse into them; lastly,
14319 print a decent error message when things go wrong.
14321 2006-05-05 Maciej Katafiasz <mathrick@freedesktop.org>
14323 * docs/manual/basics-bins.xml:
14324 Don't mention GstThread (#340611)
14325 * docs/manual/basics-elements.xml:
14326 Update link to GObject tutorial (#340607)
14328 2006-05-05 Wim Taymans <wim@fluendo.com>
14331 * gst/gstminiobject.c:
14332 Add note about refcounting and miniobject/buffer writeability
14333 to docs. Fixes #340604
14335 * gst/gstelementfactory.h:
14336 Added some explanation about @klass.
14338 2006-05-05 Maciej Katafiasz <mathrick@freedesktop.org>
14340 * docs/manual/intro-motivation.xml:
14341 * docs/manual/manual.xml:
14342 Avoid CORBA & Bonobo references (#340598)
14344 2006-05-05 Maciej Katafiasz <mathrick@freedesktop.org>
14346 * docs/manual/basics-bus.xml:
14347 * docs/manual/basics-pads.xml:
14348 Fix up some inaccuracies and omissions (#340609)
14350 2006-05-05 Maciej Katafiasz <mathrick@freedesktop.org>
14352 * gst/gstghostpad.c:
14353 Small typo in docs (#340625)
14355 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
14357 * gst/parse/Makefile.am:
14358 Make 'make -j' proof (see #340698).
14360 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
14363 Require GLib-2.8 here as well.
14365 2006-05-05 Wim Taymans <wim@fluendo.com>
14367 * gst/glib-compat.c:
14368 * gst/gst.c: (init_pre):
14369 * gst/gstobject.c: (gst_object_init), (gst_object_ref),
14370 (gst_object_unref), (gst_object_replace), (gst_object_dispose),
14371 (gst_object_dispatch_properties_changed):
14373 * gst/gstregistryxml.c: (gst_registry_xml_read_cache):
14374 * gst/gststructure.c: (gst_structure_set_valist):
14375 * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
14376 Remove pre glib2.8 compatibility, fixes #340508
14378 2006-05-04 Tim-Philipp Müller <tim at centricular dot net>
14380 * gst/gsttaglist.h:
14381 Mention type of tags in doc blurbs.
14383 2006-05-04 Jan Schmidt <thaytan@mad.scientist.com>
14385 * gst/gstpad.c: (gst_pad_init), (gst_pad_configure_sink),
14386 (gst_pad_configure_src), (gst_pad_push):
14387 Restore acceptcaps checking behaviour now that good plugins have
14390 2006-05-04 Tim-Philipp Müller <tim at centricular dot net>
14392 Patch by: James Andrewartha <trs80 at tartarus uwa edu au>
14399 * gst/gstmessage.c:
14403 * gst/parse/Makefile.am:
14404 * libs/gst/base/gstadapter.c:
14405 * libs/gst/base/gstbasesrc.c:
14406 * libs/gst/base/gstpushsrc.c:
14407 * libs/gst/base/gsttypefindhelper.c:
14408 * plugins/elements/gstfakesrc.c:
14409 * plugins/elements/gstidentity.c:
14410 Make sure gstprivate.h and/or config.h are
14411 always included first, otherwise some of our
14412 defines (like _FILE_OFFSET_BITS) might be
14413 redefined in the system headers. Fixes build
14414 on opensolaris (#340016).
14416 2006-05-04 Wim Taymans <wim@fluendo.com>
14418 * docs/libs/gstreamer-libs-sections.txt:
14419 API: addition: gst_adapter_take_buffer()
14421 * libs/gst/base/gstadapter.c: (gst_adapter_push),
14422 (gst_adapter_peek), (gst_adapter_take), (gst_adapter_take_buffer),
14423 (gst_adapter_available_fast):
14424 * libs/gst/base/gstadapter.h:
14425 Prepare for optimizing the hell out of this hugely inefficient
14427 Added gst_adapter_take_buffer() so we can at least start thinking
14428 about subbuffering and merging.
14429 Added some comments.
14431 * tests/check/Makefile.am:
14432 * tests/check/libs/adapter.c: (GST_START_TEST),
14433 (gst_adapter_suite), (main):
14434 Added GstAdapter check.
14436 2006-05-04 Wim Taymans <wim@fluendo.com>
14438 * docs/design/part-overview.txt:
14439 Fix some typos, add blurb about buffer flags.
14441 2006-05-03 Thomas Vander Stichele <thomas at apestaart dot org>
14443 * docs/libs/gstreamer-libs-sections.txt:
14444 make sure GstBaseTransformClass shows up in the docs
14445 * libs/gst/base/gstbasetransform.c:
14446 * libs/gst/base/gstbasetransform.h:
14447 move docs so gtk-doc picks it up now
14449 2006-05-02 Stefan Kost <ensonic@users.sf.net>
14451 * docs/libs/gstreamer-libs-sections.txt:
14452 add missing symbols to docs
14454 2006-05-02 Stefan Kost <ensonic@users.sf.net>
14456 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
14457 back out the newsegment handling change, see #340060 for ongoing
14460 2006-04-30 Tim-Philipp Müller <tim at centricular dot net>
14462 * tools/gst-run.c: (get_candidates), (main):
14463 Fix wrong g_file_test() usage (see glib docs for why it doesn't
14464 work); fix typo in error message. Fixes #340079.
14466 2006-04-29 Thomas Vander Stichele <thomas at apestaart dot org>
14468 * common/Makefile.am:
14469 * docs/Makefile.am:
14470 * docs/faq/Makefile.am:
14471 * docs/gst/Makefile.am:
14472 * docs/libs/Makefile.am:
14473 * docs/manual/Makefile.am:
14474 * docs/plugins/Makefile.am:
14475 * docs/pwg/Makefile.am:
14476 * docs/slides/Makefile.am:
14478 * common/upload.mak:
14479 move upload.mak to common
14481 2006-04-29 Thomas Vander Stichele <thomas at apestaart dot org>
14483 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
14484 add more asserts on refcounts
14485 do more cleanup at end of tests
14486 fix test leaks showing in FC5
14488 2006-04-29 Stefan Kost <ensonic@users.sf.net>
14490 * plugins/elements/gsttypefindelement.c:
14491 (gst_type_find_element_handle_event):
14492 reverted wrong change and reflowed code to avoid others falling into
14495 2006-04-28 Stefan Kost <ensonic@users.sf.net>
14497 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
14498 fix changelog entry about last collectpads change,
14499 add notes about proper fix
14501 2006-04-28 Stefan Kost <ensonic@users.sf.net>
14504 * gst/gstregistry.c: (gst_registry_scan_path_level),
14505 (gst_registry_scan_path):
14506 * gst/gstregistry.h:
14507 only write out registry if it has changed, fixes #338339
14509 2006-04-28 Stefan Kost <ensonic@users.sf.net>
14512 * gst/gstpipeline.c:
14513 * plugins/elements/gstcapsfilter.c:
14514 * plugins/elements/gstfakesink.c:
14515 * plugins/elements/gstfakesrc.c:
14516 * plugins/elements/gstfdsink.c:
14517 * plugins/elements/gstfdsrc.c:
14518 * plugins/elements/gstfilesink.c:
14519 * plugins/elements/gstfilesrc.c:
14520 * plugins/elements/gstidentity.c:
14521 * plugins/elements/gstqueue.c:
14522 * plugins/elements/gsttee.c:
14523 * plugins/elements/gsttypefindelement.c:
14524 (gst_type_find_element_handle_event):
14525 make GstElementDetails const
14527 2006-04-28 Stefan Kost <ensonic@users.sf.net>
14529 * libs/gst/base/gstbasesink.c: (gst_base_sink_event):
14530 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
14531 (gst_collect_pads_is_collected), (gst_collect_pads_event):
14532 more detailed debug and formatting cleanup,
14533 forward newsegments to src-pad (so that e.g. adder not eats them)
14535 2006-04-28 Stefan Kost <ensonic@users.sf.net>
14537 * gst/gstutils.c: (gst_element_link_pads):
14538 cleanup double code
14540 2006-04-28 Stefan Kost <ensonic@users.sf.net>
14542 * libs/gst/controller/gstcontroller.c:
14543 (gst_controller_sync_values):
14545 * tests/check/libs/controller.c: (GST_START_TEST),
14546 (gst_controller_suite):
14547 a new test for live value handling
14549 2006-04-28 Wim Taymans <wim@fluendo.com>
14551 * gst/gstutils.c: (push_and_ref):
14552 Added some more docs.
14553 Fix refcount issue whith gst_element_found_tags() helper
14554 function. Fixes #338335
14556 * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
14557 Added testsuite for gst_element_found_tags().
14559 2006-04-28 Michael Smith <msmith@fluendo.com>
14561 * gst/gstvalue.c: (gst_value_serialize_flags):
14562 Avoid NULL dereference when trying to serialize flags containing
14565 2006-04-28 Michael Smith <msmith@fluendo.com>
14567 * plugins/elements/gsttypefindelement.c:
14568 (gst_type_find_element_handle_event):
14569 If we get EOS before any data is accumulated, don't use
14570 uninitialised local variables.
14572 2006-04-28 Michael Smith <msmith@fluendo.com>
14574 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
14575 (gst_dp_event_from_packet):
14576 Fixes in reading/writing events over GDP (not currently used?) -
14577 dereferencing NULL events for unknown/invalid event types, memory
14578 leak, and change g_warning to GST_WARNING.
14580 2006-04-28 Wim Taymans <wim@fluendo.com>
14582 * libs/gst/base/gstbasesink.c: (gst_base_sink_is_too_late),
14583 (gst_base_sink_do_render_stats), (gst_base_sink_render_object),
14584 (gst_base_sink_get_position), (gst_base_sink_change_state):
14585 When frame dropping is enabled, we should not ignore frames
14586 without a duration.
14587 Update some documentation.
14589 2006-04-28 Wim Taymans <wim@fluendo.com>
14591 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
14592 (gst_base_src_send_event), (gst_base_src_change_state):
14593 Documentation updates.
14595 2006-04-28 Wim Taymans <wim@fluendo.com>
14597 * plugins/elements/gstfdsink.c: (gst_fd_sink_render),
14598 (gst_fd_sink_check_fd), (gst_fd_sink_update_fd):
14599 handle EAGAIN, EINTR and short writes correctly. Also clean
14600 up some error cases, avoid a deadlock on bad file descriptors and
14601 use GST_DEBUG_OBJECT.
14604 2006-04-28 Wim Taymans <wim@fluendo.com>
14606 * gst/gstvalue.c: (gst_value_serialize_buffer),
14607 (gst_value_deserialize_buffer):
14608 Don't try to serialize a GValue with a NULL buffer.
14611 * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
14612 Added check for serialisation of NULL buffers.
14614 2006-04-28 Wim Taymans <wim@fluendo.com>
14616 * gst/gstminiobject.c: (gst_value_take_mini_object):
14617 Taking a NULL miniobject is valid, fix the case where
14618 we try to unref the NULL miniobject.
14620 2006-04-28 Wim Taymans <wim@fluendo.com>
14622 Patch by: Stefan Kost <ensonic at sonicpulse dot de>
14624 * gst/gstbin.c: (gst_bin_handle_message_func):
14626 Don't leak bin refcount when a state recalc is
14627 in progress and we delay another one #339808.
14629 2006-04-28 Wim Taymans <wim@fluendo.com>
14631 * docs/design/part-TODO.txt:
14632 Mention QoS as an ongoing work item.
14634 * docs/design/part-buffering.txt:
14635 New doc about buffering that needs to be fleshed out
14638 * docs/design/part-qos.txt:
14639 More QoS policy for decoders/demuxers/transforms
14641 * docs/design/part-trickmodes.txt:
14644 2006-04-28 Thomas Vander Stichele <thomas at apestaart dot org>
14649 === release 0.10.5 ===
14651 2006-04-28 Thomas Vander Stichele <thomas at apestaart dot org>
14654 releasing 0.10.5, "Fogo"
14656 2006-04-22 Thomas Vander Stichele <thomas at apestaart dot org>
14658 patch by: Wim Taymans
14660 * gst/gstpad.c: (gst_pad_init), (gst_pad_configure_sink),
14661 (gst_pad_configure_src), (gst_pad_push):
14662 * gst/gstpipeline.c: (gst_pipeline_init):
14663 Fix internal data flow errors. Fixes #338711.
14665 2006-04-12 Wim Taymans <wim@fluendo.com>
14667 * tests/check/gst/gstelement.c: (GST_START_TEST):
14668 Don't leak the factory.
14670 2006-04-12 Thomas Vander Stichele <thomas at apestaart dot org>
14673 * win32/common/config.h:
14676 2006-04-12 Tim-Philipp Müller <tim at centricular dot net>
14678 * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
14679 (gst_controller_unset_all):
14680 Free allocated GstTimedValues when freeing list nodes.
14681 Should fix leaks 'make check-valgrind' complains about.
14683 * win32/common/libgstcontroller.def:
14684 Add gst_controller_unset_all.
14686 2006-04-11 Stefan Kost <ensonic@users.sf.net>
14688 * docs/libs/gstreamer-libs-sections.txt:
14689 * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
14690 (gst_controller_unset_all):
14691 * libs/gst/controller/gstcontroller.h:
14692 API: Added new method gst_controller_unset_all()
14693 fixed gst_controller_unset()
14694 * tests/check/libs/controller.c: (GST_START_TEST),
14695 (gst_controller_suite):
14696 Added two testcases for new and fixed method
14698 2006-04-11 Tim-Philipp Müller <tim at centricular dot net>
14700 * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
14701 MSG_DONTWAIT is not defined on Cygwin, so work
14702 around that (fixes #317048).
14704 2006-04-11 Wim Taymans <wim@fluendo.com>
14706 * gst/gstelementfactory.c: (gst_element_register),
14707 (gst_element_factory_create), (gst_element_factory_make):
14710 Updated docs (Fixes #131079)
14712 * gst/gstpluginfeature.c: (gst_plugin_feature_load):
14715 * tests/check/gst/gstelement.c: (GST_START_TEST),
14716 (gst_element_suite):
14717 Added testcase for elementfactory class field.
14719 2006-04-10 Wim Taymans <wim@fluendo.com>
14721 * gst/gstsegment.c:
14722 Added some more docs.
14724 * libs/gst/base/gstbasesink.c: (gst_base_sink_perform_qos),
14725 (gst_base_sink_reset_qos):
14726 Calculate more accurate rate values.
14728 2006-04-09 Sebastien Moutte <sebastien@moutte.net>
14730 * gst/gst_private.h:
14731 add a new #ifdef to use __declspec(dllimport) only for
14732 other modules and not for gstreamer core
14733 * gst/gstbasesink.c: (gst_base_sink_perform_qos):
14734 use gst_guint64_to_gdouble for conversion
14735 * win32/common/libgstreamer.def:
14736 add new exported functions
14737 * win32/vs6/gst_inspect.dsp:
14738 * win32/vs6/gst_launch.dsp:
14739 * win32/vs6/libgstbase.dsp:
14740 * win32/vs6/libgstcontroller.dsp:
14741 * win32/vs6/libgstcoreelements.dsp:
14742 * win32/vs6/libgstdataprotocol.dsp:
14743 * win32/vs6/libgstnet.dsp:
14744 update project files
14746 2006-04-08 Stefan Kost <ensonic@users.sf.net>
14748 * gst/gstbuffer.c: (gst_subbuffer_class_init):
14749 * gst/gstclock.c: (gst_clock_class_init):
14750 * gst/gstelement.c: (gst_element_class_init):
14751 * gst/gstindex.c: (gst_index_class_init):
14752 * gst/gstindexfactory.c: (gst_index_factory_class_init):
14753 * gst/gstobject.c: (gst_object_class_init),
14754 (gst_signal_object_class_init):
14755 * gst/gstpad.c: (gst_pad_class_init):
14756 * gst/gstpadtemplate.c: (gst_pad_template_class_init):
14757 * gst/gstpluginfeature.c: (gst_plugin_feature_class_init):
14758 * gst/gstregistry.c: (gst_registry_class_init):
14759 * gst/gstsystemclock.c: (gst_system_clock_class_init):
14760 * gst/gsttask.c: (gst_task_class_init):
14761 * gst/gstxml.c: (gst_xml_class_init):
14762 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
14763 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
14764 (gst_base_src_loop):
14765 * libs/gst/controller/gstcontroller.c:/
14766 (_gst_controller_class_init):
14767 * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
14768 * plugins/indexers/gstfileindex.c: (gst_file_index_class_init):
14769 * plugins/indexers/gstmemindex.c: (gst_mem_index_class_init):
14770 * tests/old/examples/plugins/example.c: (gst_example_class_init):
14771 * tests/old/testsuite/threads/signals.c: (gst_test_class_init):
14772 Fix #337365 (g_type_class_ref <-> g_type_class_peek_parent)
14774 2006-04-08 Tim-Philipp Müller <tim at centricular dot net>
14776 * gst/gstpad.c: (gst_pad_link):
14777 Must set peer pads before calling the link function, otherwise
14778 a task started from a link function might get a flow-not-linked
14779 result when trying to push because the other thread where the
14780 linking happens hasn't had a chance to set the peers yet. This
14781 might happen for example when a queue gets linked to a downstream
14782 element, as queue starts a streaming task when its source pad
14783 gets linked. Happens in real life when playing back flac/musepack
14784 files in playbin (#332390).
14786 2006-04-08 Stefan Kost <ensonic@users.sf.net>
14790 * libs/gst/base/gstadapter.h:
14791 * libs/gst/base/gstbasesink.h:
14792 * libs/gst/base/gstbasesrc.h:
14793 * libs/gst/base/gstbasetransform.h:
14794 * libs/gst/base/gstcollectpads.h:
14795 * libs/gst/base/gstpushsrc.h:
14796 Fix broken GObject macros
14798 2006-04-07 Wim Taymans <wim@fluendo.com>
14800 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
14801 Initialize start and stop times, thanks valgrind.
14803 2006-04-07 Wim Taymans <wim@fluendo.com>
14805 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
14806 Be a bit nicer to badly behaving upstream elements that expect
14807 us to deal with non TIME segments and timestamps (such as fakesrc
14810 2006-04-07 Wim Taymans <wim@fluendo.com>
14813 Small documentation clarification about the signal watch.
14815 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
14816 (gst_base_sink_wait_clock), (gst_base_sink_do_sync),
14817 (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
14818 (gst_base_sink_do_render_stats), (gst_base_sink_render_object),
14819 (gst_base_sink_get_position_last),
14820 (gst_base_sink_get_position_paused), (gst_base_sink_change_state):
14821 Convert and store timestamps in stream time and running time, the
14822 raw timestamps are not useful, also document this better.
14823 Use different window sizes for good and bad QoS observations so
14824 we react to badness a little quicker.
14825 Keep track of the amount of rendered and dropped buffers.
14826 Send QoS timestamps in running time.
14828 * libs/gst/base/gstbasetransform.c:
14829 (gst_base_transform_sink_eventfunc),
14830 (gst_base_transform_handle_buffer):
14831 Compare QoS timestamps against running time.
14833 2006-04-06 Tim-Philipp Müller <tim at centricular dot net>
14836 Typo fixes in docs.
14838 2006-04-06 Michael Smith <msmith@fluendo.com>
14840 * gst/gstpad.c: (gst_pad_set_property):
14841 Use g_value_get_object() instead of g_value_dup_gst_object(),
14842 to avoid double-reffing the pad template (which we then sink,
14843 so this worked previously if (and only if) the pad template
14846 * gst/gstpadtemplate.c: (gst_pad_template_init),
14847 (gst_pad_template_pad_created):
14848 Never return floating references to pad templates, create
14849 them as initially-sunken.
14851 Document an extra function (and make this stop sinking our
14852 pad template, since that is now guaranteed to do nothing,
14853 since we created it sunken).
14855 * gst/gstghostpad.c:
14858 2006-04-06 Tim-Philipp Müller <tim at centricular dot net>
14860 * gst/gstinfo.c: (__gst_in_valgrind):
14863 * plugins/elements/gsttypefindelement.c:
14864 (gst_type_find_element_chain):
14865 Don't leak buffer caps.
14867 2006-04-06 Michael Smith <msmith@fluendo.com>
14869 * gst/parse/grammar.y:
14870 Fix a leak in parse-launch for any source-or-sink named element
14873 * tests/check/pipelines/parse-launch.c: (expected_fail_pipe):
14874 Unref the pipeline if it exists after we've failed parsing.
14876 2006-04-05 Michael Smith <msmith@fluendo.com>
14878 * gst/gstpipeline.c: (gst_pipeline_init):
14879 When we create a pipeline bus, initially create it in flushing mode.
14880 Fixes leaks in at least one test, and makes a new pipeline work the
14881 same as one that has gone to READY and then back to NULL.
14883 * gst/gstelement.c:
14886 2006-04-05 Michael Smith <msmith@fluendo.com>
14888 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
14889 Unref a pad we reffed.
14890 * tests/check/gst/gstutils.c: (GST_START_TEST):
14893 2006-04-05 Michael Smith <msmith@fluendo.com>
14895 * gst/gstquery.c: (gst_query_set_formats),
14896 (gst_query_set_formatsv):
14897 Fix leaking GValues in queries, as shown by valgrind/testsuite.
14899 2006-04-05 Michael Smith <msmith@fluendo.com>
14901 * tests/check/generic/sinks.c: (GST_START_TEST):
14902 Fix a variety of memleaks in sinks check, which are only sometimes
14903 shown by running the tests under valgrind (weird?).
14905 2006-04-05 Jan Schmidt <thaytan@mad.scientist.com>
14907 * docs/version.entities.in:
14908 Fix the substituted entity name after thomas' changes on the
14911 2006-04-05 Zaheer Abbas Merali <zaheerabbas at merali dot org>
14913 * gst/gstinfo.c: (__gst_in_valgrind): Use printf instead of
14916 2006-04-05 Andy Wingo <wingo@pobox.com>
14918 * gst/gstpad.c (gst_pad_set_blocked_async): More debug.
14920 * libs/gst/base/gstbasetransform.c
14921 (gst_base_transform_sink_eventfunc): When resetting our segment on
14922 FLUSH_STOP, also update the flag saying we haven't seen a
14925 2006-04-04 Tim-Philipp Müller <tim at centricular dot net>
14927 Patch by: Paolo Borelli <pborelli at katamail dot com>
14929 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
14930 (gst_plugin_check_license):
14931 minor clean-ups: G_DEFINE_TYPE already takes care of the
14932 parent_class stuff, no need to do it twice. Mark array of
14933 license strings as constant. (#337103)
14935 2006-04-04 Michael Smith <msmith@fluendo.com>
14937 * tools/gst-inspect.c: (print_element_list):
14938 Free the right plugin list; fixes a memory leak.
14940 2006-04-04 Tim-Philipp Müller <tim at centricular dot net>
14942 Patch by: Mark Nauwelaerts <manauw at skynet dot be>
14944 * plugins/elements/gstfilesink.c: (gst_file_sink_render):
14945 Don't error out on empty buffers (#336945).
14947 2006-04-04 Jan Schmidt <thaytan@mad.scientist.com>
14949 * docs/libs/gstreamer-libs-sections.txt:
14950 * gst/gsttaglist.c:
14951 * libs/gst/base/gstbasesink.c:
14952 * libs/gst/base/gstbasesink.h:
14953 * libs/gst/base/gstbasesrc.c:
14954 * libs/gst/base/gstbasesrc.h:
14955 Documentation updates. Make BaseSink and BaseSrc docs contain the
14956 class structure so that people can actually see the prototypes for
14957 virtual functions they're supposed to be overriding.
14959 2006-04-04 Tim-Philipp Müller <tim at centricular dot net>
14961 * plugins/elements/gsttypefindelement.c:
14962 (gst_type_find_element_chain):
14963 More debug info; when skipping typefinding, send cached
14964 events in all cases.
14966 2006-04-01 Thomas Vander Stichele <thomas at apestaart dot org>
14969 use new AS_VERSION and AS_NANO macros
14970 * gst/gst-i18n-lib.h:
14973 * gst/gstversion.h.in:
14974 * win32/common/config.h:
14975 * win32/common/config.h.in:
14978 2006-03-31 Michael Smith <msmith@fluendo.com>
14980 * plugins/elements/gsttypefindelement.c:
14981 (gst_type_find_element_chain):
14982 Do not typefind content if the buffers already have caps.
14983 Neccesary for icydemux (#333657), and the right thing to do anyway.
14985 2006-03-30 Wim Taymans <wim@fluendo.com>
14987 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
14988 (gst_base_sink_finalize), (gst_base_sink_set_qos_enabled),
14989 (gst_base_sink_is_qos_enabled), (gst_base_sink_do_sync),
14990 (gst_base_sink_record_qos_observation),
14991 (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
14992 (gst_base_sink_is_too_late), (gst_base_sink_render_object),
14993 (gst_base_sink_change_state):
14994 More QoS measurements as described in the design doc.
14995 Get rid of ringbuffer with observations, running average is
14996 more simple and equally good.
14997 Calculates valid proportion now.
14998 Added beginning of flood measurement.
15000 2006-03-29 Wim Taymans <wim@fluendo.com>
15002 * docs/design/part-qos.txt:
15004 Small documentation updates and additions.
15006 2006-03-29 Wim Taymans <wim@fluendo.com>
15008 * libs/gst/base/gstbasesrc.c: (gst_base_src_finalize),
15009 (gst_base_src_send_event), (gst_base_src_loop),
15010 (gst_base_src_change_state):
15011 Perform the EOS logic when we reach the segment stop position.
15012 Fix compilation on gcc4.1
15014 2006-03-29 Wim Taymans <wim@fluendo.com>
15016 Patch by: Tommi Myöhänen <ext-tommi dot myohanen at nokia dot com>
15018 * plugins/elements/gstqueue.c: (gst_queue_init),
15019 (gst_queue_locked_flush), (gst_queue_handle_sink_event),
15020 (gst_queue_set_property):
15021 * plugins/elements/gstqueue.h:
15022 In queue, when EOS is received, if minimum threshold > max_size -
15023 current_level, there is chance that queue blocks forever in conditional
15024 item del wait. This is because the queue is not emptied completely due
15025 to minimum threshold. Here is another approach. Instead of setting
15026 cur_levels to max in EOS, just zero all minimum threshold levels. This
15027 should make sure that queue gives out all data. When going to READY
15028 (stop) state, just reset the original minimum threshold levels.
15031 2006-03-29 Tim-Philipp Müller <tim at centricular dot net>
15033 * plugins/elements/gsttypefindelement.c: (stop_typefinding),
15034 (gst_type_find_element_handle_event),
15035 (gst_type_find_element_send_cached_events),
15036 (gst_type_find_element_change_state):
15037 * plugins/elements/gsttypefindelement.h:
15038 When typefinding is done in push mode, we should cache
15039 events we receive during typefinding instead of just
15040 dropping them (e.g. newsegment, custom events from
15041 dvdreadsrc etc.) and then send them out once we've
15042 determined the type of the stream (and decodebin
15043 has had a chance to plug in a decoder/demuxer).
15045 2006-03-27 Wim Taymans <wim@fluendo.com>
15047 * docs/design/part-qos.txt:
15050 2006-03-27 Wim Taymans <wim@fluendo.com>
15052 Inspired by a patch of: Lutz Mueller <lutz at topfrose dot de>
15054 * libs/gst/base/gstbasesrc.c: (gst_base_src_finalize),
15055 (gst_base_src_send_event), (gst_base_src_change_state):
15056 Handle element seek correctly when we are streaming.
15059 2006-03-24 Michael Smith <msmith@fluendo.com>
15061 * docs/faq/gst-uninstalled:
15062 Set up LD_LIBRARY_PATH to point at all the gstreamer libs. This will
15063 allow you to correctly run intalled applications built against old
15064 core, using plugins that require updated core (e.g. running
15065 installed totem against a full uninstalled gstreamer stack)
15067 2006-03-24 Stefan Kost <ensonic@users.sf.net>
15069 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_is_collected):
15072 2006-03-24 Wim Taymans <wim@fluendo.com>
15074 * docs/gst/gstreamer-sections.txt:
15075 Rearrange the order of the methods so that related methods
15076 are grouped together in sections.
15078 2006-03-24 Stefan Kost <ensonic@users.sf.net>
15080 * gst/gstelement.c:
15081 Little clarification in the docs
15083 2006-03-24 Stefan Kost <ensonic@users.sf.net>
15087 * plugins/elements/gstidentity.c:
15088 * plugins/elements/gstqueue.c:
15089 * plugins/elements/gsttee.c:
15090 * plugins/elements/gsttypefindelement.c:
15091 GST_ELEMENT_DETAILS formatting
15093 2006-03-24 Wim Taymans <wim@fluendo.com>
15095 * libs/gst/base/gstbasesink.h:
15096 Only add fields, not insert or we break ABI.
15098 2006-03-23 Tim-Philipp Müller <tim at centricular dot net>
15100 * win32/common/libgstbase.def:
15101 * win32/common/libgstreamer.def:
15102 Update, add recently added functions.
15104 2006-03-23 Tim-Philipp Müller <tim at centricular dot net>
15106 * docs/gst/gstreamer-sections.txt:
15107 * gst/gstutils.c: (gst_pad_query_peer_position),
15108 (gst_pad_query_peer_duration), (gst_pad_query_peer_convert):
15110 API: add some new utility functions:
15111 - gst_pad_query_peer_position()
15112 - gst_pad_query_peer_duration()
15113 - gst_pad_query_peer_convert()
15115 2006-03-23 Wim Taymans <wim@fluendo.com>
15117 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
15118 (gst_base_sink_init), (gst_base_sink_finalize),
15119 (gst_base_sink_set_qos_enabled), (gst_base_sink_is_qos_enabled),
15120 (gst_base_sink_set_property), (gst_base_sink_get_property),
15121 (gst_base_sink_commit_state), (gst_base_sink_get_sync_times),
15122 (gst_base_sink_wait_clock), (gst_base_sink_do_sync),
15123 (gst_base_sink_add_qos_observation), (gst_base_sink_send_qos),
15124 (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
15125 (gst_base_sink_is_too_late), (gst_base_sink_render_object),
15126 (gst_base_sink_preroll_object), (gst_base_sink_event),
15127 (gst_base_sink_chain_unlocked), (gst_base_sink_get_position_last),
15128 (gst_base_sink_get_position_paused), (gst_base_sink_get_position),
15129 (gst_base_sink_query), (gst_base_sink_change_state):
15130 Decouple max-lateness and the fact that QoS messages are generated
15131 with a new property (qos).
15132 added API: GstBaseSink::async_play()
15133 Add vmethod so subclasses can be notified of ASYNC playing
15135 Collect timestamp start and stop to report better current
15136 position in EOS/PLAYING/PAUSED/READY/NULL.
15137 Refactor QoS/frame dropping and other measurements.
15138 API: GstBaseSrc::qos
15141 * libs/gst/base/gstbasesink.h:
15142 Added Private struct.
15143 API: gst_base_sink_set_qos_enabled()
15144 API: gst_base_sink_is_qos_enabled()
15146 2006-03-23 Tim-Philipp Müller <tim at centricular dot net>
15148 * gst/gstregistryxml.c: (gst_registry_xml_read_cache):
15149 If compiling against GLib-2.8 or newer, try to read the
15150 registry file using GMappedFile first before falling back
15151 to fopen() + fread() (#332151).
15153 2006-03-22 Wim Taymans <wim@fluendo.com>
15155 * gst/gstinfo.c: (gst_debug_set_active),
15156 (gst_debug_category_set_threshold):
15157 Disable debugging unless explicitly activated.
15160 2006-03-22 Wim Taymans <wim@fluendo.com>
15162 * gst/gstelement.c: (gst_element_set_locked_state),
15163 (gst_element_dispose):
15164 Cleanup the error case.
15166 * gst/gstobject.c: (gst_object_dispose):
15167 print a critical when some object was disposed with
15168 a parent, also revive the object since it might
15171 2006-03-22 Tim-Philipp Müller <tim at centricular dot net>
15173 * tools/gst-launch.1.in:
15176 2006-03-21 Thomas Vander Stichele <thomas at apestaart dot org>
15179 * tests/check/Makefile.am:
15180 disable some tests when we don't have a registry
15181 * tests/check/gst/gstutils.c: (gst_utils_suite):
15182 don't build the part that needs parsing
15184 2006-03-21 Thomas Vander Stichele <thomas at apestaart dot org>
15187 * tests/examples/Makefile.am:
15188 fix --disable-parse build
15190 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
15192 * tools/gst-feedback.1.in:
15193 Fix typo: s/feeback/feedback/ (#133494).
15195 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
15197 * tools/Makefile.am:
15198 * tools/gst-launch.1.in:
15199 Add FILES section and correct entry about GST_REGISTRY_PATH
15200 environment variable (#133495; #133494).
15202 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
15204 * tools/Makefile.am:
15205 * tools/gst-md5sum.1.in:
15206 * tools/gst-md5sum.c:
15207 Remove gst-md5sum and man page (the md5sink element
15208 required was removed ages ago)
15210 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
15212 * gst/gststructure.c: (gst_structure_id_set_value):
15213 Make sure that string fields in structures/taglists
15214 contain valid UTF-8 - we don't want to pass rubbish to
15215 applications because of a buggy plugin (cp. #334167).
15217 2006-03-21 Edward Hervey <edward@fluendo.com>
15219 * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
15220 (gst_bin_handle_message_func):
15221 * gst/gstclock.c: (gst_clock_dispose), (gst_clock_set_master):
15222 * gst/gstelement.c: (gst_element_set_clock), (gst_element_dispose),
15223 (gst_element_set_bus_func):
15224 * gst/gstghostpad.c: (gst_proxy_pad_dispose):
15225 * gst/gstminiobject.c: (gst_value_set_mini_object),
15226 (gst_value_take_mini_object):
15227 * gst/gstpad.c: (gst_pad_set_pad_template):
15228 * gst/gstpipeline.c: (gst_pipeline_dispose),
15229 (gst_pipeline_use_clock), (gst_pipeline_auto_clock):
15230 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_pop),
15231 (gst_collect_pads_chain):
15232 * libs/gst/net/gstnettimeprovider.c:
15233 (gst_net_time_provider_set_property):
15234 Series of fixes for dereferenced pointers that gcc 4.1 complains about.
15235 It's in fact all issues with gst_*object_replace().
15237 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
15239 Patch by: Loïc Minier <lool + gnome at via dot ecp dot fr>
15241 * pkgconfig/gstreamer-check-uninstalled.pc.in:
15242 * pkgconfig/gstreamer-check.pc.in:
15243 Use @CHECK_LIBS@ here instead of hard-coding -lcheck (#334109).
15245 2006-03-21 Edward Hervey <edward@fluendo.com>
15249 * gst/gstmessage.h:
15250 gst_[buffer|event|message]_ref() macros are replaced by a static
15251 inline functions because gcc-4.1 will about if the return value
15253 * tests/check/gst/gstevent.c: (event_probe):
15254 gst_event_ref now has to be given a GstEvent* , fix check accordingly.
15256 2006-03-20 Jan Schmidt <thaytan@mad.scientist.com>
15259 Add G_UNLIKELY to our boilerplate to optimise the 'already registered
15260 the type' case. (Closes: #335195 for now). In the future, when we
15261 depend on GLib 2.10, we could also intern the type name using
15262 g_intern_static_string()
15264 2006-03-20 Wim Taymans <wim@fluendo.com>
15266 * gst/gstbin.c: (gst_bin_handle_message_func),
15267 (bin_query_max_init), (bin_query_position_fold),
15268 (bin_query_position_done), (gst_bin_query):
15269 Position query should also take max of all streams.
15271 2006-03-20 Wim Taymans <wim@fluendo.com>
15273 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
15274 (gst_fake_src_finalize):
15275 Fix leaks in fakesrc.
15277 * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
15278 Fix leaks in the testcase.
15280 2006-03-19 Sebastien Moutte <sebastien@moutte.net>
15282 * gst/gst_private.h:
15283 add win32 specific import decoration(__declspec(dllimport))
15284 for all extern GstDebugCategory * variables
15285 * win32/common/libgstbase.def:
15286 * win32/common/libgstcontroller.def:
15287 * win32/common/libgstreamer.def:
15288 Add some exports, remove empty lines
15289 * win32/common/libgstdataprotocol.def:
15290 * win32/common/libgstdataprotocol.dsp:
15291 * win32/common/libgstnet.def:
15292 * win32/common/libgstnet.dsp:
15293 new project files and exportation files added
15295 2006-03-19 Wim Taymans <wim@fluendo.com>
15297 * tests/check/libs/basesrc.c: (eos_event_counter):
15298 Use proper return value for probe.
15300 2006-03-17 Wim Taymans <wim@fluendo.com>
15302 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_alloc_buffer_full),
15304 Don't leak buffers, caps and pads on negotiation errors.
15306 2006-03-16 Stefan Kost <ensonic@users.sf.net>
15308 * docs/faq/cvs.xml:
15309 * docs/faq/dependencies.xml:
15310 * docs/faq/developing.xml:
15311 * docs/faq/faq.xml:
15312 * docs/faq/general.xml:
15313 * docs/faq/getting.xml:
15314 * docs/faq/legal.xml:
15315 * docs/faq/troubleshooting.xml:
15316 * docs/faq/using.xml:
15317 Faq review and update.
15319 2006-03-16 Jan Schmidt <thaytan@mad.scientist.com>
15321 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_alloc_buffer_full),
15323 Don't pound the cpu to pieces by checking get_caps when accept_caps
15324 is called with the same caps as the pad already has.
15325 Use GST_DEBUG_OBJECT when outputting caps change information.
15327 2006-03-15 Wim Taymans <wim@fluendo.com>
15329 * gst/gstclock.c: (gst_clock_class_init):
15332 2006-03-15 Jan Schmidt <thaytan@mad.scientist.com>
15337 * gst/gstpad.c: (gst_pad_init), (gst_pad_acceptcaps_default),
15338 (gst_pad_accept_caps), (gst_pad_configure_sink),
15339 (gst_pad_configure_src), (gst_pad_chain), (gst_pad_push):
15340 Make the default acceptcaps behaviour be to check the requested
15341 caps against the gst_pad_get_caps output.
15343 Ensure that gst_pad_accept_caps is used to check caps when a pad
15344 doesn't have a setcaps function, so that pads automatically refuse
15345 caps that they don't allow in their pad template. (Fixes #332986)
15347 When a buffer with attached caps is pushed, ensure that the source
15348 pad receives those caps even if the element didn't call
15349 gst_pad_set_caps first.
15351 2006-03-15 Wim Taymans <wim@fluendo.com>
15353 * libs/gst/base/gstadapter.c:
15356 2006-03-15 Tim-Philipp Müller <tim at centricular dot net>
15358 * win32/common/libgstbase.def:
15359 * win32/common/libgstcontroller.def:
15360 * win32/common/libgstreamer.def:
15361 Add a whole bunch of missing functions (#334434).
15363 2006-03-14 Wim Taymans <wim@fluendo.com>
15365 * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
15366 (gst_base_sink_get_sync_times), (gst_base_sink_wait_clock),
15367 (gst_base_sink_do_sync), (gst_base_sink_do_qos):
15368 Better debug info when we receive a segment event.
15369 Reorganize a bit so we can pass the get_times() results around.
15370 Use the segment format when calculating the running time.
15371 Don't do QoS is sync is disabled or we have no clock or the
15372 element does not want us to sync to the clock.
15373 Don't drop buffers if QoS is disabled for now.
15375 2006-03-14 Wim Taymans <wim@fluendo.com>
15377 * gst/gstclock.c: (gst_clock_class_init), (do_linear_regression):
15378 Marked the stats property as unimplemented so people don't get
15380 Add debug message when regression goes wrong.
15381 Added some more docs.
15383 2006-03-14 Wim Taymans <wim@fluendo.com>
15385 * gst/gstsegment.c: (gst_segment_to_stream_time):
15386 Return correct return type in case of errors.
15388 2006-03-14 Wim Taymans <wim@fluendo.com>
15390 * gst/gstformat.c: (gst_format_get_name), (gst_format_to_quark):
15391 Don't segfault on invalid formats.
15393 2006-03-14 Tim-Philipp Müller <tim at centricular dot net>
15395 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
15396 Can't use gst_segment_to_running_time() when the segment
15397 is not in GST_TIME_FORMAT (like with filesink, for example).
15398 Stops flac encoding pipelines from spewing critical warnings
15401 2006-03-14 Tim-Philipp Müller <tim at centricular dot net>
15403 * gst/gstpipeline.c: (gst_pipeline_class_init):
15404 Add 'Since: 0.10.5' to gtk-doc blurb for added property.
15406 * plugins/elements/gsttypefindelement.c:
15407 (gst_type_find_element_handle_event):
15408 Don't try to typefind empty streams.
15410 2006-03-14 Wim Taymans <wim@fluendo.com>
15412 * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync),
15413 (gst_base_sink_do_qos):
15414 Separate QoS calculation.
15415 Only drop buffers when lateness is bigger than the
15416 duration of the buffer.
15418 2006-03-13 Wim Taymans <wim@fluendo.com>
15420 * gst/gstpipeline.c: (gst_pipeline_set_property),
15421 (gst_pipeline_get_property), (do_pipeline_seek),
15422 (gst_pipeline_change_state), (gst_pipeline_set_delay),
15423 (gst_pipeline_get_delay):
15424 Don't deadlock when reading properties.
15426 2006-03-13 Wim Taymans <wim@fluendo.com>
15428 * libs/gst/base/gstbasetransform.c:
15429 (gst_base_transform_class_init), (gst_base_transform_init),
15430 (gst_base_transform_sink_event),
15431 (gst_base_transform_sink_eventfunc),
15432 (gst_base_transform_src_event), (gst_base_transform_src_eventfunc),
15433 (gst_base_transform_handle_buffer), (gst_base_transform_chain),
15434 (gst_base_transform_set_property),
15435 (gst_base_transform_get_property),
15436 (gst_base_transform_change_state), (gst_base_transform_update_qos),
15437 (gst_base_transform_set_qos_enabled),
15438 (gst_base_transform_is_qos_enabled):
15439 * libs/gst/base/gstbasetransform.h:
15440 Make basetransform virtual method for src events too.
15441 Handle QOS in basetransform.
15442 API: gst_base_transform_update_qos()
15443 API: gst_base_transform_set_qos_enabled()
15444 API: gst_base_transform_is_qos_enabled()
15446 2006-03-13 Wim Taymans <wim@fluendo.com>
15448 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
15449 (gst_base_sink_do_sync):
15451 Use QOS debug category.
15453 2006-03-13 Wim Taymans <wim@fluendo.com>
15455 * plugins/elements/gstqueue.c:
15456 Very small doc update.
15458 2006-03-13 Wim Taymans <wim@fluendo.com>
15460 * gst/gst_private.h:
15461 * gst/gstinfo.c: (_gst_debug_init):
15462 Added QOS debug category
15464 2006-03-13 Wim Taymans <wim@fluendo.com>
15466 * docs/gst/gstreamer-sections.txt:
15467 * gst/gstbin.c: (bin_bus_handler), (gst_bin_handle_message_func):
15469 * gst/gstbus.c: (gst_bus_class_init):
15472 * gst/gstelement.c: (gst_element_set_locked_state):
15473 * gst/gstsegment.c:
15474 Documentation updates.
15476 * gst/gstpipeline.c: (gst_pipeline_get_type),
15477 (gst_pipeline_class_init), (gst_pipeline_init),
15478 (gst_pipeline_dispose), (gst_pipeline_set_property),
15479 (gst_pipeline_get_property), (do_pipeline_seek),
15480 (gst_pipeline_send_event), (gst_pipeline_change_state),
15481 (gst_pipeline_provide_clock_func), (gst_pipeline_set_delay),
15482 (gst_pipeline_get_delay):
15483 * gst/gstpipeline.h:
15484 Added methods for setting the delay.
15485 API: gst_pipeline_set_delay()
15486 API: gst_pipeline_get_delay()
15487 Add pipeline debug category
15490 Don't reset stream time when seek failed.
15492 2006-03-13 Wim Taymans <wim@fluendo.com>
15494 * docs/design/draft-klass.txt:
15495 * docs/design/part-clocks.txt:
15496 * docs/design/part-events.txt:
15497 * docs/design/part-gstbin.txt:
15498 * docs/design/part-gstpipeline.txt:
15499 * docs/design/part-messages.txt:
15500 * docs/design/part-negotiation.txt:
15501 * docs/design/part-overview.txt:
15502 * docs/design/part-preroll.txt:
15503 * docs/design/part-seeking.txt:
15504 * docs/design/part-states.txt:
15505 * docs/design/part-streams.txt:
15506 Documentation updates.
15508 2006-03-12 Julien MOUTTE <julien@moutte.net>
15510 * gst/gsttaglist.c: Fix rubbish docs that are encouraging
15511 us to leak strings...
15513 2006-03-12 Thomas Vander Stichele <thomas at apestaart dot org>
15515 * libs/gst/net/gstnettimeprovider.c:
15517 * win32/common/config.h:
15520 2006-03-12 Tim-Philipp Müller <tim at centricular dot net>
15522 Patch by: Julio M. Merino Vidal <jmmv at netbsd org>
15525 Don't check for libgnomeui (leftover from old examples
15526 that aren't built or disted any longer) (#334303).
15528 2006-03-11 Tim-Philipp Müller <tim at centricular dot net>
15530 * plugins/elements/gstfdsink.c: (gst_fd_sink_render):
15531 * plugins/elements/gstfilesink.c: (gst_file_sink_render):
15532 Emit RESOURCE_NO_SPACE_LEFT error here as well when
15533 there's no space left on the device.
15535 2006-03-10 Tim-Philipp Müller <tim at centricular dot net>
15538 Fix GST_CLOCK_TIME_IS_VALID signedness issues - we need
15539 to cast the input to GstClockTime before comparing with
15540 another GstClockTime value.
15542 2006-03-10 Thomas Vander Stichele <thomas at apestaart dot org>
15547 === release 0.10.4 ===
15549 2006-03-10 Thomas Vander Stichele <thomas at apestaart dot org>
15552 releasing 0.10.4, "Light"
15554 2006-03-10 Michael Smith <msmith@fluendo.com>
15556 * libs/gst/dataprotocol/dataprotocol.c:
15557 Fix docs for dataprocotol to not get the return types completely
15558 wrong for a few functions.
15560 2006-03-09 Tim-Philipp Müller <tim at centricular dot net>
15562 * docs/gst/gstreamer-sections.txt:
15563 * gst/gstpipeline.c: (gst_pipeline_class_init),
15564 (gst_pipeline_init), (gst_pipeline_set_property),
15565 (gst_pipeline_get_property), (gst_pipeline_change_state),
15566 (gst_pipeline_set_auto_flush_bus),
15567 (gst_pipeline_get_auto_flush_bus):
15568 * gst/gstpipeline.h:
15569 Add new API: gst_pipeline_set_auto_flush_bus() and
15570 gst_pipeline_get_auto_flush_bus() to disable automatic
15571 flushing of the pipeline's GstBus when going from READY
15572 to NULL state (#332045).
15574 2006-03-09 Tim-Philipp Müller <tim at centricular dot net>
15576 * docs/gst/gstreamer-sections.txt:
15577 * gst/gsturi.c: (gst_uri_has_protocol):
15579 Add new API: gst_uri_has_protocol() (#333779).
15581 2006-03-09 Wim Taymans <wim@fluendo.com>
15583 * gst/gstclock.c: (gst_clock_entry_new),
15584 (gst_clock_id_compare_func), (gst_clock_id_wait),
15585 (gst_clock_id_wait_async), (gst_clock_id_unschedule),
15586 (gst_clock_init), (gst_clock_get_internal_time),
15587 (gst_clock_set_master), (do_linear_regression),
15588 (gst_clock_add_observation), (gst_clock_set_property):
15592 Fix a possible segfault when the window-size is made smaller.
15593 Calculate jitter before performing the clock wait. Ideally
15594 the clock implementation should calculate jitter but we need
15595 API breakage for that.
15597 * gst/gstsystemclock.c: (gst_system_clock_init):
15600 * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync):
15601 Remove leftover else
15603 * tests/check/gst/gstsystemclock.c: (GST_START_TEST),
15604 (gst_systemclock_suite):
15605 Added check to test GST_CLOCK_DIFF.
15607 2006-03-09 Tim-Philipp Müller <tim at centricular dot net>
15609 * libs/gst/base/gsttypefindhelper.c: (helper_find_get_length),
15610 (gst_type_find_helper_get_range):
15611 If we are provided with the size, we should implement
15612 GstTypeFind::get_length, so that typefind functions who
15613 want to can actually peek at the middle of a file.
15615 2006-03-08 Tim-Philipp Müller <tim at centricular dot net>
15617 * docs/manual/advanced-dataaccess.xml:
15618 Add some very very basic error checking.
15620 * docs/pwg/appendix-checklist.xml:
15621 Some updates to the list of things to check when writing an element.
15623 2006-03-08 Wim Taymans <wim@fluendo.com>
15625 * docs/design/part-element-transform.txt:
15626 Added some docs about the design of tranform elements.
15628 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
15629 (gst_base_src_loop), (gst_base_src_change_state):
15630 Mark buffers with the DISCONT flag.
15632 2006-03-08 Michael Smith <msmith@fluendo.com>
15634 * gst/gstregistry.h:
15635 * gst/gstregistryxml.c: (gst_registry_save),
15636 (gst_registry_save_escaped), (gst_registry_xml_save_caps),
15637 (gst_registry_xml_save_pad_template),
15638 (gst_registry_xml_save_feature), (gst_registry_xml_save_plugin),
15639 (gst_registry_xml_write_cache):
15640 Rewrite registry-saving to avoid race conditions and check for
15643 2006-03-08 Wim Taymans <wim@fluendo.com>
15645 * libs/gst/base/gstbasetransform.c:
15646 (gst_base_transform_transform_caps),
15647 (gst_base_transform_transform_size),
15648 (gst_base_transform_prepare_output_buffer),
15649 (gst_base_transform_get_unit_size),
15650 (gst_base_transform_buffer_alloc),
15651 (gst_base_transform_handle_buffer),
15652 (gst_base_transform_change_state):
15653 Cleanups, separate normal flow from errors, add sensible
15655 Don't try to renegotiate when allocating an output buffer.
15656 Also copy DISCONT buffer flag when copying a buffer.
15657 Reset the transform after we finish streaming, not during.
15659 2006-03-08 Wim Taymans <wim@fluendo.com>
15661 * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync):
15662 Use last buffer timestamp in qos message.
15664 2006-03-07 Wim Taymans <wim@fluendo.com>
15666 Patch by: Christophe Fergeau
15668 * docs/pwg/advanced-tagging.xml:
15669 * docs/pwg/building-pads.xml:
15672 2006-03-07 Wim Taymans <wim@fluendo.com>
15674 * docs/libs/gstreamer-libs-sections.txt:
15675 Added basesink new methods.
15679 Docs updates. Flesh out the QoS docs.
15681 * libs/gst/base/gstadapter.c:
15682 Small doc clarification about ownership and flushing.
15684 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_sync),
15685 (gst_base_sink_get_sync), (gst_base_sink_set_max_lateness),
15686 (gst_base_sink_get_max_lateness), (gst_base_sink_set_property),
15687 (gst_base_sink_get_property), (gst_base_sink_do_sync):
15688 * libs/gst/base/gstbasesink.h:
15690 Added new methods to allow subclass to control max-lateness
15692 Generate very basic QoS events based on last sync observation.
15693 Updated docs, fix typo, added some QoS blurb.
15695 * libs/gst/base/gstbasesrc.c:
15696 Remove obsolete _get_state() calls from docs.
15698 2006-03-07 Wim Taymans <wim@fluendo.com>
15700 * docs/libs/gstreamer-libs-sections.txt:
15701 * libs/gst/base/gstbasetransform.h:
15702 API addition: Fix #333669, Add pad accessor defines for GstBaseTransform
15703 Fix docs for GstBaseSrc.
15705 2006-03-07 Wim Taymans <wim@fluendo.com>
15707 * docs/gst/gstreamer-sections.txt:
15710 * libs/gst/base/gstbasetransform.h:
15711 Small documentation fixes.
15713 2006-03-07 Tim-Philipp Müller <tim at centricular dot net>
15716 Document thread-unsafety of gst_value_register_foo_func()
15717 when used at the same time as gst_value_foo() (#322628).
15719 2006-03-07 Tim-Philipp Müller <tim at centricular dot net>
15721 * libs/gst/base/gstpushsrc.c: (gst_push_src_class_init),
15722 (gst_push_src_check_get_range):
15723 Push sources don't support pull mode by default.
15725 2006-03-06 Tim-Philipp Müller <tim at centricular dot net>
15727 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
15728 (gst_base_src_init), (gst_base_src_pad_check_get_range),
15729 (gst_base_src_default_check_get_range):
15730 * libs/gst/base/gstbasesrc.h:
15731 API addition: Add ::check_get_range() vfunc to GstBaseSrc (#332611),
15732 provide default implementation, and rename
15733 gst_base_src_check_get_range() to
15734 gst_base_src_pad_check_get_range() for clarity.
15736 2006-03-06 Wim Taymans <wim@fluendo.com>
15738 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
15739 Make property overridable.
15741 2006-03-06 Wim Taymans <wim@fluendo.com>
15743 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
15744 (gst_base_sink_init), (gst_base_sink_set_property),
15745 (gst_base_sink_get_property), (gst_base_sink_do_sync):
15746 * libs/gst/base/gstbasesink.h:
15747 API addition: Make max-lateness a property.
15749 2006-03-06 Wim Taymans <wim@fluendo.com>
15751 * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_clock),
15752 (gst_base_sink_do_sync), (gst_base_sink_render_object):
15753 Don't ever draw a frame that is >10ms late.
15755 2006-03-06 Michael Smith <msmith@fluendo.com>
15757 * gst/gstmessage.c: (_gst_message_copy):
15758 When copying a message, set the parent_refcount of the enclosed
15759 structure to point at the copy, not the original message.
15761 2006-03-06 Tim-Philipp Müller <tim at centricular dot net>
15763 Patch by: Christophe Fergeau
15766 Do proper cast here to make GST_BOILERPLATE_WITH_INTERFACE
15767 usable in c++ code (#333417)
15769 2006-03-06 Thomas Vander Stichele <thomas at apestaart dot org>
15772 Show GST_CLOCK_TIME_NONE as 99:99:99.999999999
15774 2006-03-05 Tim-Philipp Müller <tim at centricular dot net>
15776 * libs/gst/base/gstbasetransform.c:
15777 (gst_base_transform_transform_caps):
15778 Make sure caps are writable before passing them to
15781 2006-03-04 Tim-Philipp Müller <tim at centricular dot net>
15784 Fix some minor docs errors.
15786 2006-03-04 Tim-Philipp Müller <tim at centricular dot net>
15788 Patch by: Ross Burton <ross at burtonini dot com>
15790 * gst/gsterror.c: (_gst_resource_errors_init):
15792 Add GST_RESOURCE_ERROR_NO_SPACE_LEFT (for #333352;
15794 2006-03-03 Jan Schmidt <thaytan@mad.scientist.com>
15797 Add a check and output a g_warning when GStreamer is built
15798 against GLib 2.6 but running against 2.8 or higher, and vice
15799 versa. (Closes: #323542)
15801 2006-03-03 Jan Schmidt <thaytan@mad.scientist.com>
15803 * gst/parse/parse.l:
15804 Commit patch for parse_launch syntax from #331255. Removes
15805 support for quoted strings and mimetypes when writing filtered
15806 caps. See the bug report for more details - I'm pretty sure this
15807 obscure feature is not in use by _anyone_ anywhere.
15809 With this simple change, the size of the gstreamer.so here
15810 drops from 2193KB to 1565KB.
15812 2006-03-03 Tim-Philipp Müller <tim at centricular dot net>
15814 * plugins/elements/gsttypefindelement.h:
15815 * plugins/elements/gsttypefindelement.c:
15816 (gst_type_find_element_src_event), (start_typefinding),
15817 (stop_typefinding), (gst_type_find_element_handle_event),
15818 (gst_type_find_element_chain),
15819 (gst_type_find_element_chain_do_typefinding):
15820 Use gst_type_find_helper_for_buffer() for chain-based
15823 2006-03-03 Tim-Philipp Müller <tim at centricular dot net>
15825 * plugins/elements/gsttypefindelement.c:
15826 (gst_type_find_element_class_init),
15827 (gst_type_find_element_set_property),
15828 (gst_type_find_element_get_property):
15829 Deprecate "maximum" property (not only was it only taken into
15830 account for typefinding in push-mode anyway, it also was never
15831 actually possible to set it in the first place because the
15832 property was registered with the numeric property ID for the
15833 "minimum" property). Register "maximum" property correctly,
15834 for the sake of future copy'n'pasters. Remove some cruft
15835 from property get/set functions.
15837 2006-03-03 Tim-Philipp Müller <tim at centricular dot net>
15839 * plugins/elements/gsttypefindelement.c:
15840 (gst_type_find_element_activate):
15841 Use gst_type_find_helper_get_range() here, so we
15842 can honour the "minimum" property and also emit
15843 the signal with the correct probability of the found caps.
15845 2006-03-02 Tim-Philipp Müller <tim at centricular dot net>
15847 * docs/libs/gstreamer-libs-sections.txt:
15848 * libs/gst/base/gsttypefindhelper.c: (helper_find_peek),
15849 (helper_find_suggest), (gst_type_find_helper_get_range),
15850 (gst_type_find_helper):
15851 * libs/gst/base/gsttypefindhelper.h:
15852 New API: gst_type_find_helper_get_range() (#333042).
15854 2006-03-02 Michael Smith <msmith@fluendo.com>
15856 * gst/gstregistryxml.c: (load_feature):
15857 Asserting on a failure to read part of the registry is Not Cool.
15858 Just log a warning and return NULL (which is already handled)
15860 2006-02-28 Sebastien Moutte <sebastien@moutte.net>
15862 * win32/common/libgstbase.def:
15863 added export of gst_type_find_helper_for_buffer
15864 * win32/common/libgstbase.def:
15865 added some exports : gst_bin_iterate_elements, gst_iterator_resync,
15866 gst_ghost_pad_get_target
15868 2006-02-28 Wim Taymans <wim@fluendo.com>
15870 * docs/design/draft-klass.txt:
15872 Added Connector to mark elements that are only used to
15873 allow pipeline connections.
15874 Moved Debug to extra feature since most of them are
15875 functionally something else.
15877 2006-02-28 Wim Taymans <wim@fluendo.com>
15879 * docs/design/draft-klass.txt:
15880 Some updates and clarifications.
15882 2006-02-28 Wim Taymans <wim@fluendo.com>
15884 * docs/design/draft-klass.txt:
15885 Proposal for klass field values.
15887 * docs/design/part-streams.txt:
15888 Start of a doc describing stream anatomy.
15890 2006-02-28 Wim Taymans <wim@fluendo.com>
15892 * gst/gstbin.c: (gst_bin_get_type), (gst_bin_handle_message_func):
15893 Help the compiler a bit with type registration.
15894 Use existing forward cod path instead of duplicating it when
15895 handling a message.
15897 * gst/gstbus.c: (gst_bus_get_type):
15898 * gst/gstcaps.c: (gst_caps_get_type), (gst_static_caps_get_type):
15899 * gst/gstchildproxy.c: (gst_child_proxy_get_type):
15900 * gst/gstclock.c: (gst_clock_get_type):
15901 * gst/gstelement.c: (gst_element_get_type),
15902 * gst/gstelementfactory.c: (gst_element_factory_get_type):
15903 * gst/gstindexfactory.c: (gst_index_factory_get_type):
15904 * gst/gstminiobject.c: (gst_mini_object_get_type):
15905 * gst/gstpad.c: (gst_pad_get_type):
15906 * gst/gstsegment.c: (gst_segment_get_type):
15907 * gst/gststructure.c: (gst_structure_get_type):
15908 * gst/gstsystemclock.c: (gst_system_clock_get_type):
15909 * gst/gsttask.c: (gst_task_get_type), (gst_task_join):
15911 Help compiler with type registration.
15913 * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event):
15916 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
15918 * plugins/elements/gsttypefindelement.c:
15919 (gst_type_find_element_handle_event):
15920 When we get an EOS event and have not found a type yet
15921 (most likely because we had not yet accumulated
15922 TYPE_FIND_MIN_SIZE of data yet), try to determine the
15923 type given the data we have so far. Fixes typefinding
15924 for very short streams again, most notably quicktime
15925 redirections as used on Apple's trailer site (#331701).
15927 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
15929 * libs/gst/base/gsttypefindhelper.c: (type_find_factory_rank_cmp),
15930 (gst_type_find_helper):
15931 Try typefinding factories with the highest rank first.
15933 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
15935 * docs/libs/gstreamer-libs-docs.sgml:
15936 * docs/libs/gstreamer-libs-sections.txt:
15937 * libs/gst/base/gsttypefindhelper.c:
15938 Add section for typefind helper and add documentation
15939 for the old and the new function.
15941 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
15943 * libs/gst/base/gsttypefindhelper.c: (buf_helper_find_peek),
15944 (buf_helper_find_suggest), (type_find_factory_rank_cmp),
15945 (gst_type_find_helper_for_buffer):
15946 * libs/gst/base/gsttypefindhelper.h:
15947 New API: gst_type_find_helper_for_buffer() (#332723).
15949 2006-02-27 Michael Smith <msmith@fluendo.com>
15951 Patch by: Loïc Minier
15954 * docs/Makefile.am:
15955 * docs/slides/Makefile.am:
15956 prevent CVS directories getting disted.
15958 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
15960 * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref):
15961 Use the REFCOUNTING category for caps refcounting.
15963 2006-02-26 Tim-Philipp Müller <tim at centricular dot net>
15965 * plugins/elements/gsttypefindelement.c: (stop_typefinding):
15966 This should be 0 not GST_CLOCK_TIME_NONE (see #331701).
15968 2006-02-26 Tim-Philipp Müller <tim at centricular dot net>
15970 * plugins/elements/gsttypefindelement.c:
15971 (gst_type_find_element_activate):
15972 Use gst_pad_check_pull_range() before _activate_pull()
15973 to avoid unnecessary open/close (see #331690).
15975 2006-02-24 Tim-Philipp Müller <tim at centricular dot net>
15978 Docs enhancement: make it crystal clear what the
15979 gst_pad_add_*_probe() callbacks should look like.
15981 2006-02-24 Tim-Philipp Müller <tim at centricular dot net>
15983 * libs/gst/base/gstbasesrc.c:
15984 Document how applications can stop recording from
15985 live sources (see #330996).
15987 2006-02-23 Tim-Philipp Müller <tim at centricular dot net>
15989 * tests/check/Makefile.am:
15990 * tests/check/libs/basesrc.c: (eos_event_counter),
15991 (basesrc_eos_events_pull), (basesrc_eos_events_push),
15992 (basesrc_eos_events_push_live_op), (basesrc_eos_events_pull_live_op),
15993 (gst_basesrc_suite), (main):
15994 ... and add some tests for the base source EOS stuff.
15996 2006-02-23 Tim-Philipp Müller <tim at centricular dot net>
15998 * tests/check/gst/gstutils.c: (test_buffer_probe_n_times):
15999 Test case originally showed the problem fixed below,
16000 but was then amended. Add checks back at the place
16001 where they used to be.
16003 2006-02-23 Tim-Philipp Müller <tim at centricular dot net>
16005 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
16006 (gst_base_src_init), (gst_base_src_loop),
16007 (gst_base_src_activate_push), (gst_base_src_activate_pull),
16008 (gst_base_src_change_state):
16009 * libs/gst/base/gstbasesrc.h:
16010 Don't unconditionally send EOS when going from PAUSED to
16011 READY state, esp. make sure we don't send two EOS events
16012 in some cases (e.g. one when reaching EOS and one when
16013 going from PAUSED to READY). Also, we don't want to send
16014 EOS events when operating in pull mode. However, we do
16015 want to send an EOS event when shutting down a live
16016 source explicitly, for example (fixes #330996).
16018 2006-02-23 Tim-Philipp Müller <tim at centricular dot net>
16020 * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
16021 Update src->read_position after a seek when not using mmap.
16022 Fixes #332277, patch by: Renchi Raju <renchi gmail com>
16024 2006-02-21 Jan Schmidt <thaytan@mad.scientist.com>
16030 Make things work with --disable-parse as they do with
16031 --disable-load-save - the symbols involved disappear, but the
16032 header is still installed and GST_DISABLE_PARSE is included via
16035 2006-02-20 Julien MOUTTE <julien@moutte.net>
16037 * libs/gst/base/gstbasetransform.c:
16038 (gst_base_transform_change_state): Fix a stupid bug. I was
16039 sure I compiled that.
16041 2006-02-20 Julien MOUTTE <julien@moutte.net>
16043 * gst/gstpad.c: (gst_pad_set_blocked_async):
16044 * gst/gstutils.c: (gst_pad_add_data_probe),
16045 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
16046 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
16047 (gst_pad_remove_buffer_probe): Make those function act on the
16048 ghostpad target when it's a ghostpad. (Closes #331727)
16050 2006-02-20 Julien MOUTTE <julien@moutte.net>
16052 * libs/gst/base/gstbasetransform.c:
16053 (gst_base_transform_change_state): Make basetransform reusable.
16056 2006-02-20 Jan Schmidt <thaytan@mad.scientist.com>
16058 * docs/random/release:
16059 Move the current documentation of how to do a release to the top
16062 * gst/gstbin.c: (gst_bin_class_init),
16063 (gst_bin_handle_message_func):
16064 Allow multiple state-recalculation threads. (Closes #328873)
16066 2006-02-19 Julien MOUTTE <julien@moutte.net>
16068 * gst/gstinfo.h: Add GST_STR_NULL to the second string.
16069 * gst/gstpad.c: (gst_pad_set_event_function),
16070 (gst_pad_set_query_function), (gst_pad_set_query_type_function),
16071 (gst_pad_set_getcaps_function): GST_DEBUG_PAD_NAME evaluates to
16072 2 strings. You can't use the STR_NULL macro on that.
16074 2006-02-19 Sebastien Moutte <sebastien@moutte.net>
16076 * gst/gstpad.c: (gst_pad_set_event_function),
16077 (gst_pad_set_query_function), (gst_pad_set_query_type_function),
16078 (gst_pad_set_getcaps_function)
16079 * gst/parse/grammar.y: (gst_parse_found_pad), (gst_parse_perform_delayed_link)
16080 Fixed NULL pointer used in GST_CAT_DEBUG using GST_STR_NULL macro
16081 So now, we can use --gst-debug-level=5 on Windows
16082 * win32/common/libgstcontroller.def:
16083 Added export of gst_controller_init
16084 * win32/vs6/libgstcontroller.dsp:
16085 Fixed Release post build configuration
16087 2006-02-17 Wim Taymans <wim@fluendo.com>
16089 * tests/check/gst/gstquery.c: (GST_START_TEST):
16090 Added another check.
16092 2006-02-15 Tim-Philipp Müller <tim at centricular dot net>
16094 * plugins/elements/gsttypefindelement.c: (find_peek):
16095 We can do peeks at non-zero offsets, as long as they
16096 fall within the buffer we have.
16098 2006-02-15 Jan Schmidt <thaytan@mad.scientist.com>
16100 * tests/check/Makefile.am:
16101 * tests/check/pipelines/parse-launch.c: (setup_pipeline),
16102 (expected_fail_pipe), (check_pipeline_runs), (GST_START_TEST),
16103 (parse_suite), (main):
16104 Add testsuite for parse launch syntax
16106 2006-02-14 Tim-Philipp Müller <tim at centricular dot net>
16108 * plugins/elements/gsttypefindelement.c:
16109 (gst_type_find_element_chain):
16110 When typefinding is unsuccessful in the chain function, don't
16111 error out immediately. Only error out with NO_CAPS_FOUND if
16112 the amount of data is at least MAX_TYPEFIND_SIZE bytes,
16113 otherwise simply wait for more data so we can try typefinding
16114 again with more data later. Also, don't attempt to typefind
16115 if we have less than MIN_TYPEFIND_SIZE data available. Overall,
16116 this should improve typefinding from network sources where the
16117 size of the first buffer can be somewhat random.
16119 2006-02-14 Wim Taymans <wim@fluendo.com>
16121 * docs/gst/gstreamer-sections.txt:
16122 * gst/gstpadtemplate.c:
16123 * gst/gstpadtemplate.h:
16124 Fix padtemplate docs, fixes #328805.
16126 2006-02-14 Wim Taymans <wim@fluendo.com>
16128 * tools/gst-launch.c: (main):
16129 NO_PREROLL is not an ERROR so don't send confusing messages
16132 2006-02-14 Wim Taymans <wim@fluendo.com>
16134 Patch by: Torsten Schoenfeld
16136 * gst/gstregistry.c: (gst_registry_get_default),
16137 (_gst_registry_cleanup):
16138 Protect default registry with lock and ref/sink it.
16141 2006-02-14 Wim Taymans <wim@fluendo.com>
16144 * gst/gstquery.c: (gst_query_list_add_format),
16145 (gst_query_set_formatsv), (gst_query_parse_formats_length),
16146 (gst_query_parse_formats_nth):
16147 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
16150 2006-02-14 Wim Taymans <wim@fluendo.com>
16152 * docs/gst/gstreamer-sections.txt:
16153 Reworked query docs.
16155 * gst/gstquery.c: (gst_query_new_formats),
16156 (gst_query_list_add_format), (gst_query_set_formats),
16157 (gst_query_set_formatsv), (gst_query_parse_formats_length),
16158 (gst_query_parse_formats_nth):
16160 Flesh out formats query, added some new methods.
16161 Fix part of #324398.
16163 * tests/check/gst/gstquery.c: (GST_START_TEST), (gstquery_suite):
16164 Added query creation tests.
16166 2006-02-14 Jan Schmidt <thaytan@mad.scientist.com>
16168 * gst/gstpad.c: (fixate_value):
16169 Add a default fixation for fraction lists.
16171 2006-02-13 Wim Taymans <wim@fluendo.com>
16173 * gst/gsttask.c: (gst_task_init), (gst_task_func),
16174 (gst_task_set_lock), (gst_task_start), (gst_task_pause),
16177 Detect and warn for obvious deadlocks. fixes #320340
16178 Fix error case where lock was not released.
16180 * tests/check/Makefile.am:
16181 * tests/check/gst/gsttask.c: (task_func2), (GST_START_TEST),
16182 (task_func), (gst_element_suite), (main):
16185 2006-02-13 Wim Taymans <wim@fluendo.com>
16187 * docs/gst/gstreamer-sections.txt:
16189 Add new functions to docs.
16191 2006-02-13 Wim Taymans <wim@fluendo.com>
16193 * docs/design/part-TODO.txt:
16194 Updated TODO list, basesrc supports seeking to non-bytes
16197 * docs/design/part-element-sink.txt:
16200 * gst/gstbin.c: (bin_replace_message),
16201 (gst_bin_handle_message_func):
16202 * gst/gstbus.c: (gst_bus_post), (gst_bus_pop):
16203 * gst/gstevent.c: (gst_event_finalize):
16204 * gst/gstpad.c: (gst_pad_event_default_dispatch),
16205 (gst_pad_send_event):
16206 Use shiny new _TYPE_NAME macros.
16208 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
16209 Move debug statement up.
16211 * gst/gstelement.c: (gst_element_set_locked_state):
16212 Add some debugging.
16214 2006-02-13 Tim-Philipp Müller <tim at centricular dot net>
16216 * docs/gst/gstreamer-sections.txt:
16217 * gst/gstmessage.h:
16219 New API: add GST_MESSAGE_TYPE_NAME and GST_QUERY_TYPE_NAME
16220 macros (#330906). Also, document the already existing
16221 GST_QUERY_TYPE macro.
16223 2006-02-13 Wim Taymans <wim@fluendo.com>
16225 * tests/check/gst/gstutils.c: (data_probe), (buffer_probe),
16226 (event_probe), (GST_START_TEST):
16227 Only events up to the pipeline EOS are counted, there are
16228 some more when going to NULL currently which we don't care
16231 2006-02-13 Wim Taymans <wim@fluendo.com>
16233 * gst/gstpad.c: (gst_pad_send_event):
16234 Correctly check flushing and emit probes. fixes #330125
16236 2006-02-10 Andy Wingo <wingo@pobox.com>
16238 * gst/gstbus.c (gst_bus_class_init): Declare our private data
16240 (gst_bus_init): Cache the location of the private data in the
16241 instance structure.
16242 (gst_bus_enable_sync_message_emission)
16243 (gst_bus_disable_sync_message_emission): Implement new public
16245 (gst_bus_post): Emit the sync-message signal if the user asked for
16248 * gst/gstbus.h (GstBus): Use a padding pointer to cache the
16249 location of the bus-private structure.
16250 (gst_bus_enable_sync_message_emission)
16251 (gst_bus_disable_sync_message_emission): API addition
16253 2006-02-10 Jan Schmidt <thaytan@mad.scientist.com>
16255 Patch by: Vincent Torri
16257 * docs/pwg/building-boiler.xml:
16258 PWG patch from #326800
16260 2006-02-09 Tim-Philipp Müller <tim at centricular dot net>
16263 * docs/Makefile.am:
16264 * docs/design/Makefile.am:
16267 2006-02-08 Jan Schmidt <thaytan@mad.scientist.com>
16272 === release 0.10.3 ===
16274 2006-02-08 Jan Schmidt <thaytan@mad.scientist.com>
16277 releasing 0.10.3, "Like a virgin"
16279 2006-02-08 Jan Schmidt <thaytan@mad.scientist.com>
16282 2nd prerelease of 0.10.3
16283 Bump libtool versioning.
16285 2006-02-07 Andy Wingo <wingo@pobox.com>
16287 * libs/gst/base/gstcollectpads.c (gst_collect_pads_chain): Only
16288 update last_stop if we're in TIME format and the timestamp is
16291 * libs/gst/base/gstcollectpads.c (gst_collect_pads_event)
16292 * libs/gst/base/gstbasetransform.c (gst_base_transform_eventfunc):
16293 * libs/gst/base/gstbasesink.c (gst_base_sink_configure_segment):
16294 If we get a new newsegment with a different format, adapt
16297 * gst/gstclock.c (gst_clock_set_calibration): Accept a numerator
16298 of 0. Not a problem, really.
16300 * libs/gst/base/gstbasesink.c (gst_base_sink_chain_unlocked): Only
16303 2006-02-06 Jan Schmidt <thaytan@mad.scientist.com>
16308 2006-02-06 Sebastien Moutte <sebastien@moutte.net>
16311 project files updated to the default vs7 configuration
16312 * win32/common/libgstbase.def:
16313 * win32/common/libgstreamer.def:
16315 removed empty lines,
16316 sorted all exported symbols alphabetically
16317 * win32/common/dirent.c:
16318 * win32/common/dirent.h:
16319 * win32/common/gchar.h:
16320 use windows line end.
16322 2006-02-06 Tim-Philipp Müller <tim at centricular dot net>
16324 * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
16325 Send EOS event when stopping.
16327 2006-02-06 Tim-Philipp Müller <tim at centricular dot net>
16330 Tell folks what to do if the plugin-foobar.xml file
16331 hasn't been generated for a newly-added plugin.
16333 2006-02-05 Julien MOUTTE <julien@moutte.net>
16335 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
16336 (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
16337 (gst_collect_pads_start), (gst_collect_pads_stop),
16338 (gst_collect_pads_event): Collectpads now holds a reference
16339 to the GstPad that was added. Indeed we don't want to look
16340 at pads that might just go away with no warning...
16342 2006-02-05 Julien MOUTTE <julien@moutte.net>
16344 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
16345 (gst_collect_pads_start), (gst_collect_pads_stop),
16346 (gst_collect_pads_event), (gst_collect_pads_chain):
16347 * libs/gst/base/gstcollectpads.h: Handle flush. Adapted from
16348 Mark Nauwelaerts's patch on bug #328491.
16350 2006-02-04 Tim-Philipp Müller <tim at centricular dot net>
16352 * tests/check/gst/gstutils.c: (test_parse_bin_from_description),
16354 Add some simple tests for gst_parse_bin_from_description() and
16355 gst_bin_find_unconnected_pad() (#329069).
16357 2006-02-04 Tim-Philipp Müller <tim at centricular dot net>
16359 * tools/gst-launch.c: (event_loop), (main):
16360 Catch errors during preroll (#320084).
16362 2006-02-03 Tim-Philipp Müller <tim at centricular dot net>
16364 * plugins/elements/gsttypefindelement.c:
16365 (gst_type_find_element_activate):
16366 Post TYPE_NOT_FOUND error message when typefinding
16367 is unsuccessful in the activate function as well.
16369 2006-02-02 Wim Taymans <wim@fluendo.com>
16371 * docs/design/part-element-sink.txt:
16374 2006-02-02 Wim Taymans <wim@fluendo.com>
16376 * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync),
16377 (gst_base_sink_render_object),
16378 (gst_base_sink_queue_object_unlocked):
16379 Only keep track of prerollable items when we are
16381 Before rendering after preroll, always check if we
16383 Added some more debugging.
16385 2006-02-02 Wim Taymans <wim@fluendo.com>
16387 * gst/gstelement.c: (gst_element_continue_state),
16388 (gst_element_set_state_func), (gst_element_change_state):
16389 Fixed #326576, been running this for quite some time with
16390 no regressions at all.
16392 2006-02-02 Wim Taymans <wim@fluendo.com>
16395 Added more suppressions
16397 2006-02-02 Wim Taymans <wim@fluendo.com>
16399 * docs/design/part-element-sink.txt:
16402 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
16403 (gst_base_sink_finalize), (gst_base_sink_preroll_queue_flush),
16404 (gst_base_sink_configure_segment), (gst_base_sink_commit_state),
16405 (gst_base_sink_get_sync_times), (gst_base_sink_wait_clock),
16406 (gst_base_sink_do_sync), (gst_base_sink_render_object),
16407 (gst_base_sink_preroll_object),
16408 (gst_base_sink_queue_object_unlocked),
16409 (gst_base_sink_queue_object), (gst_base_sink_event),
16410 (gst_base_sink_chain_unlocked), (gst_base_sink_chain),
16411 (gst_base_sink_loop), (gst_base_sink_activate_pull),
16412 (gst_base_sink_get_position), (gst_base_sink_change_state):
16413 * libs/gst/base/gstbasesink.h:
16414 Totally refactored matching the design doc.
16415 Use two segments, one to clip incomming buffers and another to
16417 Handle queueing correctly, bypass the queue when playing.
16418 Make EOS cancelable.
16419 Handle errors correctly when operating in pull based mode.
16421 * tests/check/elements/fakesink.c: (GST_START_TEST),
16423 Added new check for sinks.
16425 2006-02-02 Wim Taymans <wim@fluendo.com>
16427 * gst/gstsegment.c: (gst_segment_clip):
16428 No reason to refuse to clip when start == -1
16430 2006-02-02 Stefan Kost <ensonic@users.sf.net>
16433 * docs/manual/intro-basics.xml:
16434 * docs/manual/intro-preface.xml:
16435 * docs/manual/manual.xml:
16436 * docs/pwg/advanced-dparams.xml:
16437 * docs/pwg/intro-basics.xml:
16438 * docs/pwg/intro-preface.xml:
16439 * docs/pwg/pwg.xml:
16440 describe dparams (controller) for plugins
16441 unify docs a little more
16443 2006-02-02 Tim-Philipp Müller <tim at centricular dot net>
16445 * docs/gst/gstreamer-sections.txt:
16446 * gst/gstutils.c: (element_find_unconnected_pad),
16447 (gst_bin_find_unconnected_pad), (gst_parse_bin_from_description):
16449 Add new API: gst_parse_bin_from_description() and
16450 gst_bin_find_unconnected_pad() (#329069).
16452 2006-02-01 Stefan Kost <ensonic@users.sf.net>
16454 * docs/manual/README:
16455 uncover a nasty detail of the docs build
16457 2006-01-31 Wim Taymans <wim@fluendo.com>
16459 * gst/gstbin.c: (bin_remove_messages), (bin_query_duration_done):
16460 Don't cache duration messages if we're not going to use or
16463 2006-01-31 Stefan Kost <ensonic@users.sf.net>
16465 * docs/manual/advanced-dparams.xml:
16466 * docs/pwg/advanced-dparams.xml:
16470 * libs/gst/controller/lib.c: (gst_controller_init):
16473 2006-01-31 Thomas Vander Stichele <thomas at apestaart dot org>
16475 * gst/gstelement.c: (gst_element_message_full):
16476 also show file/line/func if no additional debug was given
16478 2006-01-31 Sebastien Moutte <sebastien@moutte.net>
16480 * win32/vs7/grammar.vcproj:
16481 activate copy of autogenerated files for Release mode
16483 2006-01-30 Sebastien Moutte <sebastien@moutte.net>
16485 * win32/common/libgstreamer.def:
16486 export gst_value_compare
16488 2006-01-30 Jan Schmidt <thaytan@mad.scientist.com>
16490 * plugins/elements/Makefile.am:
16491 * plugins/elements/gstelements.c:
16492 * plugins/elements/gstfdsink.c: (_do_init),
16493 (gst_fd_sink_base_init), (gst_fd_sink_class_init),
16494 (gst_fd_sink_init), (gst_fd_sink_dispose), (gst_fd_sink_query),
16495 (gst_fd_sink_render), (gst_fd_sink_check_fd), (gst_fd_sink_start),
16496 (gst_fd_sink_stop), (gst_fd_sink_unlock), (gst_fd_sink_update_fd),
16497 (gst_fd_sink_set_property), (gst_fd_sink_uri_get_type),
16498 (gst_fd_sink_uri_get_protocols), (gst_fd_sink_uri_get_uri),
16499 (gst_fd_sink_uri_set_uri), (gst_fd_sink_uri_handler_init):
16500 * plugins/elements/gstfdsink.h:
16501 Port fdsink to 0.10 (patch by Philippe Rouquier) (Fixes #325490)
16503 2006-01-30 Stefan Kost <ensonic@users.sf.net>
16505 * docs/manual/advanced-dparams.xml:
16506 describe controller
16507 * docs/manual/advanced-position.xml:
16508 * docs/manual/basics-init.xml:
16509 * docs/manual/manual.xml:
16510 * docs/manual/titlepage.xml:
16511 * docs/pwg/pwg.xml:
16512 * docs/pwg/titlepage.xml:
16513 cleanup xml (more to come)
16514 * libs/gst/controller/gstcontroller.c:
16517 2006-01-30 Sebastien Moutte <sebastien@moutte.net>
16519 * win32/vs6/grammar.dsp:
16520 add autogen of gstmarshal.c,h for Release mode
16522 2006-01-30 Wim Taymans <wim@fluendo.com>
16524 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
16525 (gst_base_sink_preroll_queue_empty), (gst_base_sink_commit_state),
16526 (gst_base_sink_handle_object), (gst_base_sink_event),
16527 (gst_base_sink_is_prerolled), (gst_base_sink_wait),
16528 (gst_base_sink_do_sync), (gst_base_sink_handle_event),
16529 (gst_base_sink_handle_buffer), (gst_base_sink_set_flushing),
16530 (gst_base_sink_deactivate), (gst_base_sink_activate),
16531 (gst_base_sink_activate_pull), (gst_base_sink_get_position),
16532 (gst_base_sink_query), (gst_base_sink_change_state):
16533 Basesink cleanups, remove some old code.
16534 Handle the case where a subclass can preroll in the render
16535 method (mostly audiosinks).
16536 Handle more events.
16537 Remove some locks around variables that are now protected
16538 with the PREROLL_LOCK (clock_id, flushing, ..).
16539 Optimize position query some more, do correct locking.
16540 Remove old code to push queue in state change, this is not
16541 needed anymore since preroll blocks on all prerollable items
16543 Almost implemented as described in design doc.
16545 2006-01-30 Wim Taymans <wim@fluendo.com>
16547 * tests/check/gst/gstbin.c: (GST_START_TEST):
16548 Wait for refcount to settle down before checking.
16550 2006-01-30 Wim Taymans <wim@fluendo.com>
16552 * docs/design/part-element-sink.txt:
16553 Pseudo code overview of desired sink behaviour regarding
16556 2006-01-29 Sebastien Moutte <sebastien@moutte.net>
16557 * win32/vs6/grammar.dsp:
16558 fix some bugs in Release mode for autogenerated files
16560 2006-01-29 Sebastien Moutte <sebastien@moutte.net>
16561 * win32/common/libgstbase.def:
16562 * win32/common/libgstreamer.def:
16563 export some new symbols: gst_base_src_set_format,
16564 gst_iterator_next, gst_structure_set_valist
16566 2006-01-29 Julien MOUTTE <julien@moutte.net>
16568 * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked):
16569 Set pad functions unconditionally. Fixes #329105.
16571 2006-01-29 Sebastien Moutte <sebastien@moutte.net>
16573 add vs8 project files created by Sergey Scobich
16575 2006-01-28 Jan Schmidt <thaytan@mad.scientist.com>
16577 * gst/gstutils.c: (gst_element_unlink_pads):
16578 Don't leak pad references.
16580 * tests/check/elements/fakesink.c: (GST_START_TEST):
16581 * tests/check/generic/sinks.c: (GST_START_TEST):
16582 * tests/check/generic/states.c: (GST_START_TEST):
16583 * tests/check/gst/gstbin.c: (GST_START_TEST):
16584 * tests/check/gst/gstcaps.c: (GST_START_TEST):
16585 * tests/check/gst/gstelement.c: (GST_START_TEST):
16586 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
16587 * tests/check/gst/gstiterator.c: (GST_START_TEST):
16588 * tests/check/gst/gstvalue.c: (GST_START_TEST):
16589 Fix a bunch of leaks. Make generic/sinks.c
16590 use a bit less cpu by slowing the buffer rate
16591 between fakesrc and fakesink.
16593 2006-01-27 Stefan Kost <ensonic@users.sf.net>
16595 * gst/gstelement.c: (gst_element_send_event):
16598 * gst/gstiterator.c:
16599 * gst/gstiterator.h:
16600 * gst/gstpad.c: (gst_pad_send_event):
16601 * gst/gststructure.c:
16605 * libs/gst/base/gstadapter.c:
16606 doc fixes, to link to function, just write gst_cool_function(), don't
16609 2006-01-27 Jan Schmidt <thaytan@mad.scientist.com>
16611 * plugins/elements/gsttee.c: (gst_tee_do_push),
16612 (gst_tee_handle_buffer):
16613 Always prefer an actual return value from a src
16614 pad in place of NOT_LINKED. This means we return
16615 WRONG_STATE when all src pads are WRONG_STATE
16616 instead of NOT_LINKED.
16618 Lock when replacing the last message to prevent
16619 racing with the get_property method.
16623 2006-01-27 Jan Schmidt <thaytan@mad.scientist.com>
16625 * tests/check/Makefile.am:
16626 * tests/check/gst/gstquery.c: (GST_START_TEST), (gstquery_suite),
16628 Add a very simple check that should have caught the memleak I fixed
16629 last night (if not for the slice allocator hiding it)
16631 2006-01-27 Jan Schmidt <thaytan@mad.scientist.com>
16633 * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
16634 (gst_bin_remove_func), (gst_bin_handle_message_func),
16635 (bin_query_duration_fold), (bin_query_generic_fold):
16636 Clean up references to the clock provider when disposed or when
16637 handling a clock-lost message from it.
16639 Unref sinks when performing a query via gst_iterator_fold, as the
16640 gst_bin_iterate_sinks iterator refs each item. (Fixes #323874)
16642 * gst/gstclock.c: (gst_clock_class_init), (gst_clock_dispose),
16643 (gst_clock_set_master):
16644 Drop our reference to the master clock, if any, when we are disposed.
16646 * gst/gsttypefindfactory.c: (gst_type_find_factory_dispose):
16647 Chain up in dispose.
16649 2006-01-26 Wim Taymans <wim@fluendo.com>
16651 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
16652 Add some debugging.
16654 2006-01-26 Julien MOUTTE <julien@moutte.net>
16656 * plugins/elements/gsttee.c: (gst_tee_do_push),
16657 (gst_tee_handle_buffer): Apply patch from #328715. Tee now
16658 handles pad being NOT_LINKED or in WRONG_STATE.
16660 2006-01-26 Stefan Kost <ensonic@users.sf.net>
16665 2006-01-26 Stefan Kost <ensonic@users.sf.net>
16668 remove obsolete entry
16670 2006-01-26 Stefan Kost <ensonic@users.sf.net>
16672 * docs/gst/gstreamer-sections.txt:
16673 * gst/gstbin.c: (bin_element_is_src), (src_iterator_filter),
16674 (gst_bin_iterate_sources), (gst_bin_send_event):
16676 * gst/gstelement.c: (gst_element_send_event):
16678 * gst/gstpad.c: (gst_pad_send_event):
16679 added code for downstream events, reviewed docs in gstevent.c
16681 2006-01-25 Julien MOUTTE <julien@moutte.net>
16683 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
16684 We only query position using the clock in the playing state.
16685 Query peer in the other cases.
16686 * win32/common/config.h: Updates.
16688 2006-01-24 Wim Taymans <wim@fluendo.com>
16690 * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
16691 A clock entry that is scheduled for the exact time of the
16692 clock is still in time.
16694 * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
16695 (gst_base_sink_do_sync):
16696 Add some more debug info.
16698 2006-01-23 Sebastien Moutte <sebastien@moutte.net>
16701 Add new vs7 project files and solution.
16703 2006-01-23 Sebastien Moutte <sebastien@moutte.net>
16706 all files removed as they were out-dated.
16708 2006-01-20 Thomas Vander Stichele <thomas at apestaart dot org>
16710 * docs/random/release:
16712 * gst/gstbin.c: (gst_bin_init):
16713 * gst/gstbus.c: (gst_bus_new):
16715 * gst/gstpipeline.c: (gst_pipeline_init):
16716 use gst_bus_new(), improve logging, fix docs
16717 * win32/common/config.h:
16718 update for cvs build
16720 2006-01-20 Thomas Vander Stichele <thomas at apestaart dot org>
16723 up required version of automake to 1.7
16725 2006-01-20 Sebastien Moutte <sebastien@moutte.net>
16727 * win32/common/libgstreamer.def:
16728 export gst_buffer_is_metadata_writable
16730 2006-01-20 Tim-Philipp Müller <tim at centricular dot net>
16732 * docs/gst/gstreamer-sections.txt:
16734 Add gst_event_replace() (#327001)
16736 2006-01-20 Wim Taymans <wim@fluendo.com>
16738 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
16739 Make it actually compile too..
16741 2006-01-20 Wim Taymans <wim@fluendo.com>
16744 Clarify behaviour of _is_equal() when passing NULL parameters.
16746 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
16747 (gst_pad_set_caps):
16748 Cleanups. Don't unref NULL caps.
16749 When setting the same caps, protect caps of the pad with
16751 Use full functionality of _is_equal() when comparing caps.
16753 2006-01-20 Jan Schmidt <thaytan@mad.scientist.com>
16755 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_is_collected):
16756 Don't loop infinitely if there are no buffers to present. Partially
16757 fixes #327197, but collectpads is just broken for reusing elements
16758 to do multiple encodes atm.
16760 2006-01-20 Jan Schmidt <thaytan@mad.scientist.com>
16762 * tools/gst-inspect.c: (print_element_features):
16763 * tools/gst-xmlinspect.c: (main):
16764 URL_HANDLER is not a plugin feature we can search for in
16767 2006-01-19 Edward Hervey <edward@fluendo.com>
16769 * gst/gstelement.c: (gst_element_pads_activate):
16770 When activating, do src pads first, then sink pads.
16771 When de-activating, do sink pads first, then src pads.
16773 2006-01-19 Jan Schmidt <thaytan@mad.scientist.com>
16775 * docs/gst/gstreamer-sections.txt:
16776 Add gst_index_add_associationv to the docs
16778 2006-01-19 Jan Schmidt <thaytan@mad.scientist.com>
16783 * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event),
16784 (gst_queue_chain), (gst_queue_push_one), (gst_queue_loop):
16785 Do some refactoring. Doesn't actually change functionality,
16786 but makes landing the DRAIN event easier later.
16788 2006-01-19 Tim-Philipp Müller <tim at centricular dot net>
16790 * docs/pwg/advanced-scheduling.xml:
16791 Update from 0.9.x to 0.10 API and make example a bit
16794 2006-01-19 Jan Schmidt <thaytan@mad.scientist.com>
16796 * docs/gst/gstreamer-sections.txt:
16797 Add gst_buffer_(is|make)_metadata_writable methods.
16799 2006-01-19 Jan Schmidt <thaytan@mad.scientist.com>
16801 * docs/design/part-sparsestreams.txt:
16802 Update sparse streams doc, hopefully for greater clarity
16804 2006-01-18 Jan Schmidt <thaytan@mad.scientist.com>
16806 * docs/design/part-events.txt:
16807 Remove mention of FILLER events.
16810 * docs/design/part-sparsestreams.txt:
16811 Write some things about using NEWSEGMENT to keep sparse streams
16814 2006-01-18 Tim-Philipp Müller <tim at centricular dot net>
16816 * gst/gstbin.c: (gst_bin_dispose):
16817 Guard gst_object_unref call against a NULL object (dispose
16818 can theoretically be called multiple times).
16820 2006-01-18 Wim Taymans <wim@fluendo.com>
16822 * gst/gstbin.c: (gst_bin_element_set_state):
16823 * gst/gstclock.c: (gst_clock_id_wait):
16824 Added some more debug info.
16826 * libs/gst/base/gstadapter.c:
16829 * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
16830 (gst_base_sink_do_sync), (gst_base_sink_chain):
16831 Added some comments.
16833 2006-01-18 Wim Taymans <wim@fluendo.com>
16835 * tests/check/Makefile.am:
16836 * tests/check/elements/fakesink.c: (chain_async_buffer),
16837 (chain_async), (chain_async_return), (GST_START_TEST),
16838 (fakesink_suite), (main):
16839 Added fakesink test that checks prerolling and clipping
16842 * tests/check/gst/gstutils.c: (GST_START_TEST):
16843 Make check run faster so that buildbots don't timeout.
16845 2006-01-18 Wim Taymans <wim@fluendo.com>
16847 * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
16848 (gst_base_sink_do_sync):
16850 When the sink finishes blocking on the preroll buffer, it can
16851 immediatly render it instead of rendering when the next buffer
16854 2006-01-18 Wim Taymans <wim@fluendo.com>
16856 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_property),
16857 (gst_base_sink_get_property), (gst_base_sink_do_sync),
16858 (gst_base_sink_chain):
16860 GST_ELEMENT_CLOCK and sync are protected with LOCK.
16861 Don't store _last_stop if the buffer is dropped.
16863 2006-01-18 Tim-Philipp Müller <tim at centricular dot net>
16865 * plugins/elements/gsttypefindelement.c:
16866 (gst_type_find_element_class_init):
16867 'have-type' signal needs to be G_SIGNAL_RUN_FIRST, as it is the
16868 object method handler that sets the caps on the pad and we want
16869 that to happen before we emit the signal (fixes e.g. feeding a
16870 plain text file to decodebin).
16872 2006-01-18 Christian Schaller <Christian@fluendo.com>
16874 * gst/gstplugin.c: Add MPL and Proprietary as license options
16876 2006-01-18 Andy Wingo <wingo@pobox.com>
16878 * gst/gstindex.h (gst_index_add_associationv): Add to header. The
16879 symbol was exported before, it appears this was just an oversight.
16881 Patch by: Torsten Schoenfeld <kaffeetisch at gmx.de>
16883 * gst/gstindex.c (gst_index_add_associationv): Changed int in
16884 prototype to gint. OK since this prototype was not in the header.
16886 2006-01-17 Andy Wingo <wingo@pobox.com>
16888 * gst/gstregistry.c (_gst_registry_remove_cache_plugins): Lock the
16889 registry while we remove plugins.
16891 * tools/gst-inspect.c (print_element_info): Don't unref the
16892 factory arg, that should be the responsibility of whatever code
16893 received the ref. Fixes a double-free when called from
16894 print_element_list via gst-inspect-0.10 -a. Fixes #327324.
16895 (main): Unref the factory if we have one.
16896 (print_element_list): No change -- relies on the
16897 plugin_feature_list_free to free the list of features.
16899 2006-01-17 Jan Schmidt <thaytan@mad.scientist.com>
16901 * gst/gstbuffer.c: (gst_buffer_is_metadata_writable),
16902 (gst_buffer_make_metadata_writable):
16904 * libs/gst/base/gstbasetransform.c:
16905 (gst_base_transform_prepare_output_buf):
16906 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
16907 * tests/check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
16908 Replace gst_buffer_(make|is)_metadata_writable patch now
16909 that the release is out.
16911 2006-01-17 Andy Wingo <wingo@pobox.com>
16913 * gst/gstregistry.c: Reflow design comment. Update so as to speak
16914 in the present tense without reference to versions.
16916 * gst/gstregistry.c (gst_registry_add_plugin)
16917 (gst_registry_remove_plugin, gst_registry_remove_feature)
16918 (gst_registry_find_feature, gst_registry_get_feature_list)
16919 (gst_registry_get_plugin_list, gst_registry_lookup_feature)
16920 (gst_registry_lookup, gst_registry_scan_path)
16921 (_gst_registry_remove_cache_plugins)
16922 (gst_registry_get_feature_list_by_plugin): Add argument
16925 === release 0.10.2 ===
16927 2006-01-16 Thomas Vander Stichele <thomas at apestaart dot org>
16930 releasing 0.10.2, "If man is five"
16932 2006-01-16 Jan Schmidt <thaytan@mad.scientist.com>
16936 * libs/gst/base/gstbasetransform.c:
16937 (gst_base_transform_prepare_output_buf):
16938 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
16939 * tests/check/gst/gstbuffer.c: (gst_test_suite):
16940 Back out patch until after the release.
16942 2006-01-16 Jan Schmidt <thaytan@mad.scientist.com>
16944 * gst/gstminiobject.c:
16945 Spelling fix in docs.
16946 * ChangeLog - remove conflict indicator
16948 2006-01-16 Jan Schmidt <thaytan@mad.scientist.com>
16950 Reviewed By: Andy Wingo
16952 * gst/gstbuffer.c: (gst_buffer_is_metadata_writable),
16953 (gst_buffer_make_metadata_writable):
16955 Add gst_buffer_(is|make)_metadata_writable as analogues of
16956 gst_buffer_(is|make)_writable.
16958 * libs/gst/base/gstbasetransform.c:
16959 (gst_base_transform_prepare_output_buf):
16960 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
16961 Use name gst_buffer_(is|make)_metadata_writable functions.
16963 * tests/check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
16964 Test gst_buffer_(is|make)_metadata_writable
16968 2006-01-14 Thomas Vander Stichele <thomas at apestaart dot org>
16970 * docs/manual/Makefile.am:
16971 don't do parallel make
16974 * win32/common/config.h.in:
16975 add generations for HOST_CPU and GST_MAJORMINOR
16976 * win32/common/config.h:
16977 commit generated result
16979 2006-01-13 Tim-Philipp Müller <tim at centricular dot net>
16981 * docs/manual/appendix-integration.xml:
16982 Update GNOME integration section to use gst_init_get_option_group()
16983 instead of the old popt stuff (#322911). Also, GNOME applications
16984 should now use gconf*sink and gconf*src instead of the old gconf
16987 2006-01-13 Stefan Kost <ensonic@users.sf.net>
16990 * docs/gst/gstreamer-docs.sgml:
16991 * docs/gst/gstreamer-sections.txt:
16992 * docs/libs/gstreamer-libs-sections.txt:
16993 add new API entries to the docs
16994 * libs/gst/controller/Makefile.am:
16995 * libs/gst/controller/gstcontroller.c:
16996 * libs/gst/controller/gstcontroller.h:
16997 * libs/gst/controller/gstcontrollerprivate.h:
16998 * libs/gst/controller/gsthelper.c:
16999 * libs/gst/controller/gstinterpolation.c:
17000 move private structs to private header
17002 gstreamer-0.7 -> gstreamer-0.10
17003 * tests/check/libs/struct_i386.h:
17004 remove private structs
17006 2006-01-13 Thomas Vander Stichele <thomas at apestaart dot org>
17008 * plugins/indexers/Makefile.am:
17009 Fixes as part of #317048
17011 2006-01-13 Thomas Vander Stichele <thomas at apestaart dot org>
17013 * plugins/indexers/Makefile.am:
17014 fix #316086 - compilation when mmap is missing
17016 2006-01-12 Sebastien Moutte <sebastien@moutte.net>
17018 * libs/gst/base/gstbasesink.c:
17019 *cur = (now - base) * basesink->segment.abs_rate + time; replaced by
17020 *cur = gst_guint64_to_gdouble(now - base) * basesink->segment.abs_rate + time; for vs6
17021 * win32/common/config.h:
17022 added some defines GST_MAJORMINOR and HOST_CPU
17023 * win32/common/libgstbase.def:
17024 * win32/common/libgstreamer.def:
17025 added some exported functions.
17027 2006-01-12 Stefan Kost <ensonic@users.sf.net>
17029 * libs/gst/controller/gstcontroller.c:
17030 (gst_controlled_property_set_interpolation_mode),
17031 (gst_controlled_property_new):
17032 * libs/gst/controller/gstcontroller.h:
17033 * libs/gst/controller/gstinterpolation.c:
17034 (interpolate_none_get_string_value_array):
17035 make G_TYPE_STRING controlable
17037 2006-01-12 Stefan Kost <ensonic@users.sf.net>
17040 * tools/gst-feedback.1.in:
17041 * tools/gst-inspect.1.in:
17042 * tools/gst-launch.1.in:
17043 * tools/gst-md5sum.1.in:
17044 * tools/gst-typefind.1.in:
17045 * tools/gst-xmlinspect.1.in:
17046 * tools/gst-xmllaunch.1.in:
17047 cleanup man-pages, remove reference to gst-register, document env-vars
17049 2006-01-12 Jan Schmidt <thaytan@mad.scientist.com>
17051 * gst/gstbuffer.c: (gst_buffer_span):
17052 gst_buffer_span should copy the timestamp of the first buffer
17053 if they were both originally overlapping subbuffers of the
17054 same parent, using the same logic as the 'slow copy' case.
17056 2006-01-11 Jan Schmidt <thaytan@mad.scientist.com>
17058 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_pop):
17059 Need to awaken ALL the pads when we pop a buffer, otherwise
17060 collectpads only works when there is 2 input streams.
17062 2006-01-11 Stefan Kost <ensonic@users.sf.net>
17064 * docs/random/ensonic/media-device-daemon.txt:
17067 fix doc example, add clarification
17068 * tools/gst-launch.1.in:
17069 add initial info about GST_PLUGIN_PATH, needs more work
17071 2006-01-11 Tim-Philipp Müller <tim at centricular dot net>
17073 * docs/manual/basics-bins.xml:
17074 * docs/manual/basics-elements.xml:
17075 * docs/manual/intro-basics.xml:
17076 Some more minor docs additions and updates.
17078 2006-01-11 Wim Taymans <wim@fluendo.com>
17080 * docs/manual/basics-bins.xml:
17081 * docs/manual/basics-elements.xml:
17082 Some small fixes as pointed out by Ser-ver on IRC.
17084 2006-01-10 Edward Hervey <edward@fluendo.com>
17086 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
17087 Set the buffer offset/offset_end to GST_CLOCK_TIME_NONE when using
17088 the single-segment mode.
17090 2006-01-10 Brian Cameron <brian dot cameron at sun dot com>
17092 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
17094 * libs/gst/base/gstbasesrc.c: (gst_base_src_init),
17095 (gst_base_src_perform_seek), (gst_base_src_send_event),
17096 (gst_base_src_set_property), (gst_base_src_get_property),
17097 (gst_base_src_loop), (gst_base_src_start),
17098 (gst_base_src_activate_push):
17099 * libs/gst/base/gstbasesrc.h:
17100 Name (private) union; makes Sun's Forte compiler happy (#324900).
17102 2006-01-09 Tim-Philipp Müller <tim at centricular dot net>
17105 gst-register is gone.
17107 2006-01-07 Thomas Vander Stichele <thomas at apestaart dot org>
17109 * gst/gstvalue.c: (_gst_value_initialize):
17110 make the G_TYPE_DATE instantiation work if debug is disabled
17112 2006-01-06 Tim-Philipp Müller <tim at centricular dot net>
17114 * gst/gstmessage.c: (gst_message_parse_tag),
17115 (gst_message_parse_error), (gst_message_parse_warning):
17116 Don't crash when return location for error/warning debug
17117 string is NULL; add fact that return locations can be
17118 NULL to docs where appropriate.
17120 2006-01-05 Wim Taymans <wim@fluendo.com>
17122 * gst/gstplugin.c: (gst_plugin_load_file):
17123 Replace strdup by g_strdup.
17125 2006-01-05 Thomas Vander Stichele <thomas at apestaart dot org>
17127 * docs/pwg/advanced-types.xml:
17130 2006-01-05 Thomas Vander Stichele <thomas at apestaart dot org>
17132 submitted by: Abel Cheung
17136 Added Chinese (traditional) translation
17138 2006-01-04 Wim Taymans <wim@fluendo.com>
17140 * docs/manual/basics-pads.xml:
17141 * docs/plugins/Makefile.am:
17142 * docs/plugins/gstreamer-plugins-docs.sgml:
17143 * docs/plugins/gstreamer-plugins-sections.txt:
17144 * docs/pwg/advanced-clock.xml:
17145 * docs/pwg/advanced-scheduling.xml:
17146 * docs/pwg/advanced-types.xml:
17147 * plugins/elements/gstfdsink.c:
17148 * plugins/elements/gstfdsrc.c:
17149 * plugins/elements/gstfdsrc.h:
17150 * plugins/elements/gstidentity.c: (gst_identity_class_init):
17151 * plugins/elements/gstidentity.h:
17152 * plugins/elements/gstqueue.h:
17153 * plugins/elements/gsttee.c:
17154 * plugins/elements/gsttee.h:
17155 * plugins/elements/gsttypefindelement.c:
17156 (gst_type_find_element_class_init):
17157 * plugins/elements/gsttypefindelement.h:
17158 Small updates to various docs.
17159 Added core plugins to docs.
17161 2006-01-03 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
17164 add a suppression for liboil's uninitialized variable
17166 2006-01-02 James Livingston <jrl at ids dot org dot au>
17168 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
17171 Add prototype for _get_type() function to GST_BOILERPLATE_FULL
17172 macro, so that gcc doesn't complain if the -Wmissing-prototypes
17173 compiler switch is being used (#325429).
17175 2005-12-29 Tim-Philipp Müller <tim at centricular dot net>
17177 * gst/gstbin.c: (gst_bin_query):
17178 Disable duration query caching in bins until it gets
17179 fixed (see #324807).
17181 2005-12-27 Tim-Philipp Müller <tim at centricular dot net>
17183 * tools/gst-inspect.c: (print_element_properties_info):
17184 Handle properties of POINTER and BOXED type.
17186 2005-12-27 Tim-Philipp Müller <tim at centricular dot net>
17188 * gst/gst.c: (init_post):
17189 Init tags stuff and some other things before loading
17190 any static plugins (there may be other static plugins
17191 than just the GStreamer ones, and they may want to
17192 register their own tags or formats or whatever, and
17193 preferably without segfaulting).
17195 * plugins/elements/gstqueue.c: (gst_queue_handle_src_query):
17196 Print at least a warning in the debug logs if we drop a
17197 query just because we don't know how to adjust the value
17198 in the particular format.
17200 2005-12-24 David Schleef <ds@schleef.org>
17202 * tools/gstreamer-completion:
17203 Replacement for gst-complete written in sh and sed. Only
17204 completes names of features, but that's 90% of what I want
17205 it for. Properties are not available in registry.xml. (Maybe
17208 === release 0.10.1 ===
17210 2005-12-23 Thomas Vander Stichele <thomas at apestaart dot org>
17213 releasing 0.10.1, "Nollaig chridheil"
17215 2005-12-22 Tim-Philipp Müller <tim at centricular dot net>
17217 * docs/faq/cvs.xml:
17218 Add missing quote, should be make ERROR_CFLAGS="".
17220 2005-12-20 Wim Taymans <wim@fluendo.com>
17222 * docs/design/part-trickmodes.txt:
17223 More documentation on trickmodes.
17225 2005-12-20 Edward Hervey <edward@fluendo.com>
17227 * gst/gstcaps.c: (gst_static_caps_get_type):
17229 API addition: GST_TYPE_STATIC_CAPS
17230 Added gpointer GType for GstStaticCaps so we can wrap them in bindings.
17231 * gst/gstpadtemplate.c: (gst_static_pad_template_get_type):
17232 * gst/gstpadtemplate.h:
17233 API addition: GST_TYPE_STATIC_PAD_TEMPLATE
17234 Added gpointer GType for GstStaticPadTemplate so we can wrap them in
17237 2005-12-18 Wim Taymans <wim@fluendo.com>
17239 * libs/gst/base/gstadapter.c:
17240 * libs/gst/base/gstadapter.h:
17241 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
17242 (gst_base_sink_get_position):
17243 * libs/gst/base/gstbasesink.h:
17244 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
17245 (gst_base_src_default_query), (gst_base_src_default_do_seek),
17246 (gst_base_src_do_seek), (gst_base_src_perform_seek),
17247 (gst_base_src_send_event), (gst_base_src_update_length),
17248 (gst_base_src_get_range), (gst_base_src_loop),
17249 (gst_base_src_start):
17250 * libs/gst/base/gstbasesrc.h:
17251 * libs/gst/base/gstbasetransform.h:
17252 * libs/gst/base/gstcollectpads.h:
17253 * libs/gst/base/gstpushsrc.c:
17254 * libs/gst/base/gstpushsrc.h:
17255 * libs/gst/dataprotocol/dataprotocol.c:
17256 * libs/gst/dataprotocol/dataprotocol.h:
17257 * libs/gst/net/gstnetclientclock.h:
17258 * libs/gst/net/gstnettimeprovider.h:
17259 Documentation updates.
17261 2005-12-18 Tim-Philipp Müller <tim at centricular dot net>
17263 * docs/manual/basics-helloworld.xml:
17264 Remove superfluous closing bracket in helloworld example.
17266 2005-12-17 Tim-Philipp Müller <tim at centricular dot net>
17268 * tools/gst-launch.1.in:
17269 Update gst-launch man page; add a section with useful
17270 environment variables. Fixes #323882.
17272 2005-12-16 Stefan Kost <ensonic@users.sf.net>
17275 * gst/gst_private.h:
17276 change some char* into char[]
17278 2005-12-16 Wim Taymans <wim@fluendo.com>
17280 * gst/gstregistryxml.c: (load_feature):
17282 Don't use g_object_unref on GstObjects so that we avoid
17283 leaks on unsafe glibs.
17285 2005-12-16 Wim Taymans <wim@fluendo.com>
17287 * gst/gstbin.c: (gst_bin_recalc_state):
17290 2005-12-16 Wim Taymans <wim@fluendo.com>
17292 * common/check.mak:
17293 Added make forever target for check.
17295 2005-12-16 Thomas Vander Stichele <thomas at apestaart dot org>
17297 * gst/gst.c: (init_post):
17298 make the registry cache file HOST_CPU-dependent
17300 2005-12-16 Andy Wingo <wingo@pobox.com>
17302 * plugins/elements/gstbufferstore.c
17303 (gst_buffer_store_cleared_func): Pay attention to g_list_append
17306 * tests/check/gst/gstobject.c
17307 (test_fake_object_name_threaded_unique): Pay attention to
17308 g_list_sort return value.
17310 2005-12-16 Tim-Philipp Müller <tim at centricular dot net>
17312 * tools/gst-feedback-m.m:
17313 Update for 0.9/0.10 (fixes #323870).
17315 2005-12-15 Tim-Philipp Müller <tim at centricular dot net>
17317 * gst/gstminiobject.c: (gst_value_mini_object_lcopy):
17318 Fix lcopy for mini objects, the mini object needs to be ref'ed.
17320 * tests/check/gst/gstminiobject.c: (my_foo_init),
17321 (my_foo_get_property), (my_foo_set_property), (my_foo_class_init),
17322 (test_value_collection), (gst_mini_object_suite):
17323 Add test to ensure refcounts end up as expected when passing
17324 GstMiniObjects through g_object_get() and g_object_set().
17326 2005-12-14 Julien MOUTTE <julien@moutte.net>
17328 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
17329 (gst_collect_pads_remove_pad), (gst_collect_pads_is_collected),
17330 (gst_collect_pads_event), (gst_collect_pads_chain): Refactoring
17331 of collectpads. This version removes a lot of races without
17332 touching API/ABI. Yay !
17334 2005-12-14 Jan Schmidt <thaytan@mad.scientist.com>
17336 * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_link_prepare):
17337 Don't allow activation of a srcpad in pull_range if it has no
17339 Change some debug statements to be a little clearer
17341 * plugins/elements/gsttypefindelement.c:
17342 (gst_type_find_handle_src_query):
17343 Check that we have a peer before executing queries thereupon.
17345 * tests/examples/metadata/read-metadata.c: (message_loop):
17346 Use gst_bus_pop instead of gst_bus_poll when we just want it to
17347 immediately return us any available message with 0 timeout.
17349 2005-12-12 Michael Smith <msmith@fluendo.com>
17351 * gst/gsttypefindfactory.c: (gst_type_find_factory_call_function):
17352 Don't unref factories after calling them.
17353 * libs/gst/base/gsttypefindhelper.c: (gst_type_find_helper):
17354 * plugins/elements/gsttypefindelement.c:
17355 (gst_type_find_element_chain):
17356 Free lists of factories after using them. Fixing typefinding memory
17359 2005-12-12 Stefan Kost <ensonic@users.sf.net>
17361 * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
17362 (gst_plugin_feature_load):
17363 more meaningful debug output
17365 * tests/Makefile.am:
17366 * tests/old/examples/Makefile.am:
17367 make make distcheck happy again
17369 2005-12-12 Tim-Philipp Müller <tim at centricular dot net>
17371 * plugins/elements/gsttypefindelement.c: (stop_typefinding):
17372 Catch the special case where we are operating chain-based,
17373 but the downstream peer pad has no chain function. Emit a
17374 custom error message in this case instead of letting the
17375 core generate one implying that this is some sort of core
17376 bug. It's not, it just means that whatever got plugged
17377 into the pipeline downstream when we announced the type
17378 can only operate pull-based, while our source can only
17379 operate push-based (e.g. http://foo/bar.mov ! qtdemux ! ...)
17380 Error string has not been marked for translation yet, as
17381 it probably needs some more work first.
17383 (gst_type_find_element_get_best_possibility):
17384 Add helper function to find the best of all available
17385 found possibilities that qualify given the min. threshold.
17387 (gst_type_find_element_handle_event):
17388 Fix the case where we get an EOS while still in TYPEFIND
17389 mode (we want to chose the best of all possible types,
17390 not just the first type that happens to be in our unsorted
17391 list of possible types).
17393 (gst_type_find_element_chain):
17394 Make sure we return GST_FLOW_ERROR when we errored out
17395 in stop_typefinding(); also, don't just find the best of
17396 all found type entries and then use the last examined
17397 type entry, but actually use the best entry.
17399 2005-12-12 Tim-Philipp Müller <tim at centricular dot net>
17401 * tests/examples/typefind/typefind.c: (type_found):
17402 * tests/examples/xml/runxml.c: (xml_loaded):
17403 More gcc4 fixes and a mem leak fix.
17405 2005-12-12 Stefan Kost <ensonic@users.sf.net>
17407 * tests/examples/xml/createxml.c: (object_saved):
17410 2005-12-12 Stefan Kost <ensonic@users.sf.net>
17412 * tests/Makefile.am:
17413 enable the examples even more
17415 2005-12-12 Andy Wingo <wingo@pobox.com>
17417 * libs/gst/net/gstnettimeprovider.c
17418 (gst_net_time_provider_class_init, gst_net_time_provider_init)
17419 (gst_net_time_provider_set_property)
17420 (gst_net_time_provider_get_property):
17421 API addition: Export "active" as a GObject property.
17422 (gst_net_time_provider_thread): Only respond to time queries if
17423 the time provider is active.
17425 * libs/gst/net/gstnettimeprovider.h: Add an "active" boolean to
17426 NetTimeProvider, preserving binary compat.
17428 2005-12-12 Stefan Kost <ensonic@users.sf.net>
17430 * tests/examples/controller/audio-example.c: (main):
17431 * tests/examples/launch/Makefile.am:
17432 convert comments again
17434 2005-12-12 Wim Taymans <wim@fluendo.com>
17436 * libs/gst/base/gstpushsrc.c:
17439 2005-12-12 Wim Taymans <wim@fluendo.com>
17441 * docs/libs/gstreamer-libs-sections.txt:
17442 Added new symbol to docs.
17444 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
17445 (gst_base_src_init), (gst_base_src_set_format),
17446 (gst_base_src_default_query), (gst_base_src_query),
17447 (gst_base_src_default_do_seek), (gst_base_src_do_seek),
17448 (gst_base_src_perform_seek), (gst_base_src_send_event),
17449 (gst_base_src_default_event), (gst_base_src_event_handler),
17450 (gst_base_src_set_property), (gst_base_src_get_property),
17451 (gst_base_src_wait), (gst_base_src_do_sync),
17452 (gst_base_src_update_length), (gst_base_src_get_range),
17453 (gst_base_src_check_get_range), (gst_base_src_loop),
17454 (gst_base_src_default_negotiate), (gst_base_src_start),
17455 (gst_base_src_activate_push), (gst_base_src_activate_pull),
17456 (gst_base_src_change_state):
17457 * libs/gst/base/gstbasesrc.h:
17458 Implement seeking to other formats than _BYTES.
17459 Implement more seeking methods correctly.
17461 Added query vmethod.
17462 Added do_seek vmethod to make life easier for subclasses
17464 API addition: gst_base_src_set_format()
17466 2005-12-12 Stefan Kost <ensonic@users.sf.net>
17468 * tests/examples/Makefile.am:
17471 2005-12-12 Stefan Kost <ensonic@users.sf.net>
17474 * docs/random/ensonic/media-device-daemon.txt:
17475 * tests/examples/controller/.cvsignore:
17476 * tests/examples/controller/Makefile.am:
17477 * tests/examples/controller/audio-example.c: (main):
17478 * tests/examples/helloworld/.cvsignore:
17479 * tests/examples/helloworld/Makefile.am:
17480 * tests/examples/helloworld/helloworld.c: (event_loop), (main):
17481 * tests/examples/launch/.cvsignore:
17482 * tests/examples/launch/Makefile.am:
17483 * tests/examples/launch/mp3parselaunch.c: (event_loop), (main):
17484 * tests/examples/metadata/.cvsignore:
17485 * tests/examples/metadata/Makefile.am:
17486 * tests/examples/metadata/read-metadata.c: (message_loop),
17487 (make_pipeline), (print_tag), (main):
17488 * tests/examples/queue/.cvsignore:
17489 * tests/examples/queue/Makefile.am:
17490 * tests/examples/queue/queue.c: (event_loop), (main):
17491 * tests/examples/typefind/.cvsignore:
17492 * tests/examples/typefind/Makefile.am:
17493 * tests/examples/typefind/typefind.c: (type_found), (event_loop),
17495 * tests/examples/xml/.cvsignore:
17496 * tests/examples/xml/Makefile.am:
17497 * tests/examples/xml/createxml.c: (object_saved), (main):
17498 * tests/examples/xml/runxml.c: (xml_loaded), (event_loop), (main):
17499 * tests/old/examples/Makefile.am:
17500 * tests/old/examples/TODO:
17501 * tests/old/examples/controller/.cvsignore:
17502 * tests/old/examples/controller/Makefile.am:
17503 * tests/old/examples/controller/audio-example.c:
17504 * tests/old/examples/helloworld/.cvsignore:
17505 * tests/old/examples/helloworld/Makefile.am:
17506 * tests/old/examples/helloworld/helloworld.c:
17507 * tests/old/examples/launch/.cvsignore:
17508 * tests/old/examples/launch/Makefile.am:
17509 * tests/old/examples/launch/mp3parselaunch.c:
17510 * tests/old/examples/launch/mp3play:
17511 * tests/old/examples/manual/Makefile.am:
17512 * tests/old/examples/metadata/Makefile.am:
17513 * tests/old/examples/metadata/read-metadata.c:
17514 * tests/old/examples/queue/.cvsignore:
17515 * tests/old/examples/queue/Makefile.am:
17516 * tests/old/examples/queue/queue.c:
17517 * tests/old/examples/typefind/.cvsignore:
17518 * tests/old/examples/typefind/Makefile.am:
17519 * tests/old/examples/typefind/typefind.c:
17520 * tests/old/examples/xml/.cvsignore:
17521 * tests/old/examples/xml/Makefile.am:
17522 * tests/old/examples/xml/createxml.c:
17523 * tests/old/examples/xml/runxml.c:
17524 applied some simple fixing to some examples
17525 re-enabled the working examples
17527 2005-12-12 Wim Taymans <wim@fluendo.com>
17529 * gst/gstsegment.c: (gst_segment_init),
17530 (gst_segment_set_last_stop), (gst_segment_set_seek),
17531 (gst_segment_set_newsegment), (gst_segment_to_stream_time),
17532 (gst_segment_to_running_time):
17533 Added more documentation.
17534 Make sure the last_pos value is updated properly.
17535 Make sure to_stream_time and to_running_time don't
17536 operate on wrong values.
17538 * tests/check/gst/gstsegment.c: (GST_START_TEST):
17541 2005-12-12 Michael Smith <msmith@fluendo.com>
17543 * plugins/elements/gsttypefindelement.c: (free_entry),
17544 (gst_type_find_element_chain):
17545 Now that we're not leaking factories, make sure we keep references
17546 to them while we need them.
17548 2005-12-12 Thomas Vander Stichele <thomas at apestaart dot org>
17550 * tests/check/gst/struct_i386.h:
17551 ifdef out the XML structs
17553 2005-12-12 Thomas Vander Stichele <thomas at apestaart dot org>
17555 * gst/gstvalue.c: (gst_value_transform_double_fraction):
17556 floor is not needed, F is always positive; this obviates the
17557 need for adding -lm when building without libxml
17559 2005-12-12 Wim Taymans <wim@fluendo.com>
17561 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
17562 Take current playback rate into account when reporting
17565 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
17567 * docs/manual/mime-world.fig:
17568 Let's try this again, this time with a file that is
17569 actually in XFig format.
17571 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
17573 * docs/manual/mime-world.fig:
17574 Add audioconvert element to diagram so that it
17575 matches the text and the code (fixes #319526).
17577 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
17579 * docs/pwg/building-chainfn.xml:
17580 * docs/pwg/building-pads.xml:
17581 * docs/pwg/building-state.xml:
17582 * docs/pwg/other-source.xml:
17583 Update state change stuff for 0.10 (fixes #322969).
17585 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
17587 * docs/manual/advanced-dataaccess.xml:
17588 * docs/manual/appendix-checklist.xml:
17589 * docs/manual/appendix-programs.xml:
17590 * docs/manual/basics-pads.xml:
17591 * docs/manual/highlevel-components.xml:
17592 * docs/manual/manual.xml:
17593 Update for 0.10: s/0.9/0.10/; s/audioscale/audiorsample/;
17594 add converters in front of pipelines; remove curly
17595 brackets for threads stuff, they no longer exist; use
17596 GST_TYPE_FRACTION for framerates; update some pieces of
17597 code to 0.10, but there's plenty more to do.
17599 * docs/manual/appendix-porting.xml:
17600 Expand on asynchroneous state changes; s/0.9/0.10/;
17601 mention disappearance of gst_init_get_popt_table()
17604 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
17606 * docs/faq/using.xml:
17607 Spider no longer exists, and neither does gst-launch-ext.
17608 Update examples to use decodebin and playbin and put
17609 converters in front of sinks (fixes #323726).
17611 2005-12-09 Michael Smith <msmith@fluendo.com>
17613 * plugins/elements/gsttypefindelement.c: (find_peek),
17614 (gst_type_find_element_chain):
17615 Fix leaking element factories in typefinding.
17616 Fix problem where we forgot about a probable type on non-seekable
17617 files, and thus later mis-typefound it.
17619 2005-12-09 Michael Smith <msmith@fluendo.com>
17621 * common/m4/gst-makecontext.m4:
17622 * common/m4/gst-mcsc.m4:
17624 * win32/common/config.h:
17625 * win32/common/config.h.in:
17626 Remove makecontext stuff; not used in 0.10 and causes problems on
17627 HPUX according to bug #322441
17629 2005-12-07 Wim Taymans <wim@fluendo.com>
17631 * tests/check/Makefile.am:
17632 * tests/check/libs/libsabi.c: (GST_START_TEST), (gstabi_suite),
17634 * tests/check/libs/struct_i386.h:
17635 Added ABI check for libs
17637 2005-12-07 Wim Taymans <wim@fluendo.com>
17639 * tests/check/Makefile.am:
17640 And add the struct_i386.h to dist.
17642 2005-12-07 Wim Taymans <wim@fluendo.com>
17644 * tests/check/Makefile.am:
17645 * tests/check/gst/.cvsignore:
17646 * tests/check/gst/gstabi.c: (GST_START_TEST), (gstabi_suite),
17648 * tests/check/gst/struct_i386.h:
17649 Added check for ABI compatibility.
17651 2005-12-07 Wim Taymans <wim@fluendo.com>
17653 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
17654 (gst_fake_src_get_times), (gst_fake_src_create):
17655 Fix broken sync option, fixes #323259
17657 2005-12-07 Wim Taymans <wim@fluendo.com>
17662 * gst/gstcaps.c: (gst_caps_is_equal):
17663 Don't assert on NULL <--> X. Fixes #323260
17665 * gst/gstminiobject.c: (gst_mini_object_replace):
17666 If we're doing atomic operations, we might just as well use
17667 the proper way to get an atomic pointer.
17669 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
17670 Clean up debugging.
17672 2005-12-07 Michael Smith <msmith@fluendo.com>
17674 * gst/parse/grammar.y:
17675 Remove handling of { } for threads.
17677 2005-12-06 David Schleef <ds@schleef.org>
17679 * libs/gst/base/gstbasetransform.c: speling fix.
17681 2005-12-06 Thomas Vander Stichele <thomas at apestaart dot org>
17683 * docs/libs/tmpl/gstdataprotocol.sgml:
17684 * docs/random/omega/testing/gstobject.c:
17687 * gst/gstelement.c:
17688 * gst/gstelementfactory.c:
17691 * gst/gstghostpad.c:
17693 * gst/gstpadtemplate.c:
17694 * gst/gstregistryxml.c:
17695 * gst/gsttaglist.c:
17696 * gst/gsttagsetter.c:
17697 * gst/gsttypefind.c:
17699 * libs/gst/base/gstbasesrc.c:
17700 * libs/gst/net/gstnetclientclock.c:
17701 * libs/gst/net/gstnettimeprovider.c:
17702 * plugins/elements/gstfakesrc.c:
17703 * plugins/elements/gstfdsrc.c:
17704 * plugins/elements/gstfilesrc.c:
17705 * plugins/elements/gstidentity.c:
17706 * plugins/elements/gstqueue.c:
17707 * plugins/elements/gsttypefindelement.c:
17708 * plugins/indexers/gstfileindex.c:
17709 * plugins/indexers/gstmemindex.c:
17710 * tests/check/gst/gsttag.c:
17711 * tests/old/examples/cutter/cutter.c:
17712 * tests/old/examples/mixer/mixer.c:
17713 * tests/old/examples/xml/runxml.c: (main):
17714 * tests/old/testsuite/caps/normalisation.c:
17715 * tests/old/testsuite/debug/global.c:
17716 * tests/old/testsuite/parse/parse1.c:
17717 * tools/gst-xmlinspect.c:
17718 * win32/common/dirent.c:
17721 === release 0.10.0 ===
17723 2005-12-05 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
17726 releasing 0.10.0, "Maroilles"
17728 2005-12-05 Thomas Vander Stichele <thomas at apestaart dot org>
17730 submitted by: Funda Wang <fundawang@linux.net.cn>
17734 added Chinese (Traditional) translation
17736 2005-12-05 Thomas Vander Stichele <thomas at apestaart dot org>
17738 * docs/gst/gstreamer-sections.txt:
17739 * docs/libs/tmpl/gstdataprotocol.sgml:
17740 * docs/random/thomasvs/TODO:
17745 2005-12-05 Andy Wingo <wingo@pobox.com>
17747 patch by: Wim Taymans <wim@fluendo.com>
17749 * libs/gst/base/gstbasetransform.c
17750 (gst_base_transform_prepare_output_buf)
17751 (gst_base_transform_buffer_alloc):
17752 * plugins/elements/gstqueue.c (gst_queue_bufferalloc): Call
17753 alloc_buffer_and_set_caps.
17755 * gst/gstpad.c (gst_pad_alloc_buffer): Changed to not call
17756 set_caps on the source pad.
17757 (gst_pad_alloc_buffer_and_set_caps): New function, does what
17758 alloc_buffer used to do. Fixes #322874.
17760 * docs/gst/gstreamer-sections.txt:
17761 * docs/design/part-negotiation.txt:
17762 * docs/pwg/advanced-negotiation.xml: Update for the alloc_buffer
17765 2005-12-05 Thomas Vander Stichele <thomas at apestaart dot org>
17767 patch by: Sebastien Moutte
17770 * win32/common/config.h.in:
17771 * win32/vs6/libgstcontroller.dsp:
17774 2005-12-05 Wim Taymans <wim@fluendo.com>
17776 * gst/gstcaps.c: (gst_caps_is_equal):
17777 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
17778 (gst_fake_src_create):
17779 Back out previous code changes, leave doc updates, file bugs
17782 2005-12-05 Wim Taymans <wim@fluendo.com>
17784 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
17785 (gst_fake_src_get_times), (gst_fake_src_create):
17786 * plugins/elements/gstfakesrc.h:
17787 Fix broken sync code.
17789 2005-12-05 Wim Taymans <wim@fluendo.com>
17791 * gst/gstcaps.c: (gst_caps_is_equal):
17792 Comparing NULL against !NULL yields different caps, not a
17795 2005-12-05 Wim Taymans <wim@fluendo.com>
17797 * gst/gstpipeline.c:
17798 Fix small typo in docs.
17800 2005-12-05 Andy Wingo <wingo@pobox.com>
17802 patch by: Thomas Vander Stichele <thomas at apestaart dot org>
17804 * gst/gst.c (init_post): remove hard-coded 0.9 location for
17805 registries/plugins with a MAJORMINOR one.
17806 (plugin_desc): Rename library from gstcoreleements to
17807 staticelements. Fixes #323222.
17809 2005-12-05 Tim-Philipp Müller <tim at centricular dot net>
17811 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init):
17812 Change debug category to 'collectpads' from 'collect_pads'
17815 2005-12-04 Thomas Vander Stichele <thomas at apestaart dot org>
17817 patch by: Sebastien Moutte
17819 * libs/gst/controller/gstinterpolation.c:
17820 use convert function for uint64/double
17821 * win32/vs6/libgstcontroller.dsp:
17824 2005-12-04 Thomas Vander Stichele <thomas at apestaart dot org>
17826 * gst/gstutils.c: (gst_util_guint64_to_gdouble),
17827 (gst_util_gdouble_to_guint64), (gst_util_uint64_scale_int64):
17829 * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
17830 add tests that seem to show that the guint64/gdouble conversions
17833 2005-12-02 Wim Taymans <wim@fluendo.com>
17835 * gst/gstregistry.c: (gst_registry_add_path):
17836 * gst/gstregistry.h:
17837 * gst/gstregistryxml.c:
17840 2005-12-02 Wim Taymans <wim@fluendo.com>
17842 * gst/gstutils.c: (gst_util_uint64_scale_int64),
17843 (gst_util_uint64_scale_int):
17846 * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object):
17847 Add debug log line.
17849 * libs/gst/base/gstbasetransform.c: (gst_base_transform_event):
17852 2005-12-02 Thomas Vander Stichele <thomas at apestaart dot org>
17855 * win32/common/config.h:
17856 * win32/vs6/gstreamer.dsw:
17857 * win32/vs6/libgstcoreelements.dsp:
17858 * win32/vs6/libgstelements.dsp:
17859 renamed core elements plugin
17861 2005-12-02 Thomas Vander Stichele <thomas at apestaart dot org>
17863 * tools/gst-run.c: (compare_major_minor), (find_highest_version),
17865 do piece-wise major/minor comparison so 0.9 < 0.10
17866 also allow .exe extensions for tools
17868 2005-12-02 Michael Smith <msmith@fluendo.com>
17871 Escape a % to make gtkdoc happier; bug 322958.
17873 === release 0.9.7 ===
17875 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
17878 releasing 0.9.7, "My Dog Has No Nose"
17880 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
17882 * common/gst-xmlinspect.py:
17884 * docs/libs/tmpl/gstdataprotocol.sgml:
17885 * docs/random/release:
17904 * win32/common/config.h:
17905 * win32/common/config.h.in:
17906 * win32/vs6/gst_inspect.dsp:
17907 * win32/vs6/gst_launch.dsp:
17908 * win32/vs6/libgstbase.dsp:
17909 * win32/vs6/libgstelements.dsp:
17910 * win32/vs6/libgstreamer.dsp:
17911 * win32/vs7/GStreamer.vcproj:
17912 * win32/vs7/gst-inspect.vcproj:
17913 * win32/vs7/gst-launch.vcproj:
17914 * win32/vs7/libgstbase.vcproj:
17915 bump GST_MAJORMINOR to 0.10
17916 reset libtool version
17918 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
17922 Added Bulgarian translation by (Alexander Shopov)
17924 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
17926 * tests/check/gst/gstplugin.c:
17929 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
17931 * common/gst-xmlinspect.py:
17932 * common/gtk-doc-plugins.mak:
17934 * docs/Makefile.am:
17935 * docs/gst/Makefile.am:
17936 * docs/gst/gstreamer-docs.sgml:
17937 * docs/gst/gstreamer-sections.txt:
17938 * docs/gst/gstreamer.types:
17939 * docs/gst/gstreamer.types.in:
17940 * docs/plugins/Makefile.am:
17941 * docs/plugins/gstreamer-plugins-docs.sgml:
17942 * docs/plugins/gstreamer-plugins-sections.txt:
17943 * docs/plugins/gstreamer-plugins.types:
17944 * docs/plugins/inspect.stamp:
17945 * docs/plugins/inspect/plugin-coreelements.xml:
17946 * docs/plugins/inspect/plugin-coreindexers.xml:
17947 * docs/plugins/scanobj-build.stamp:
17948 * gstreamer.spec.in:
17949 * plugins/elements/Makefile.am:
17950 * plugins/elements/gstelements.c:
17951 * plugins/elements/gstfakesink.c:
17952 * plugins/elements/gstfakesrc.c:
17953 * plugins/elements/gstfilesink.c:
17954 * plugins/elements/gstfilesrc.c:
17955 * plugins/elements/gstqueue.c:
17956 * plugins/indexers/Makefile.am:
17957 * plugins/indexers/gstindexers.c:
17958 document core plugins in a separate document just like all the
17960 rename these plugins to something starting with core
17962 2005-12-01 Andy Wingo <wingo@pobox.com>
17964 * gst/gstevent.h (struct _GstEvent): Meant to remove the extra
17965 padding here before, but it missed the commit.
17967 2005-12-01 Thomas Vander Stichele <thomas at apestaart dot org>
17969 * libs/gst/controller/gstinterpolation.c:
17970 whitespace prices have crashed, we should feel free to use some now
17971 use gst_guint64_to_gdouble
17973 2005-12-01 Thomas Vander Stichele <thomas at apestaart dot org>
17975 * libs/gst/controller/gstcontroller.c:
17976 * libs/gst/controller/gsthelper.c:
17977 * libs/gst/controller/gstinterpolation.c:
17978 * libs/gst/controller/lib.c:
17979 wrap config.h include
17981 2005-12-01 Thomas Vander Stichele <thomas at apestaart dot org>
17983 * docs/gst/gstreamer-sections.txt:
17986 2005-12-01 Thomas Vander Stichele <thomas at apestaart dot org>
17988 * plugins/elements/gstelements.c:
17989 * plugins/elements/gstfdsink.c: (gst_fd_sink__base_init),
17990 (gst_fd_sink__class_init), (gst_fd_sink__init),
17991 (gst_fd_sink__chain), (gst_fd_sink__set_property),
17992 (gst_fd_sink__get_property):
17993 * plugins/elements/gstfdsink.h:
17994 * plugins/elements/gstfdsrc.c: (_do_init), (gst_fd_src_base_init),
17995 (gst_fd_src_class_init), (gst_fd_src_init), (gst_fd_src_dispose),
17996 (gst_fd_src_update_fd), (gst_fd_src_start), (gst_fd_src_stop),
17997 (gst_fd_src_unlock), (gst_fd_src_set_property),
17998 (gst_fd_src_get_property), (gst_fd_src_create),
17999 (gst_fd_src_is_seekable), (gst_fd_src_get_size),
18000 (gst_fd_src_uri_get_type), (gst_fd_src_uri_get_protocols),
18001 (gst_fd_src_uri_get_uri), (gst_fd_src_uri_set_uri),
18002 (gst_fd_src_uri_handler_init):
18003 * plugins/elements/gstfdsrc.h:
18004 * plugins/elements/gstqueue.c: (gst_queue_get_type):
18007 2005-11-30 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
18009 * docs/gst/Makefile.am:
18010 * docs/gst/gstreamer.types.in:
18014 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
18020 * gst/gstregistry.h:
18021 * tests/benchmarks/complexity.c:
18022 * tests/benchmarks/mass-elements.c:
18023 * tests/check/Makefile.am:
18024 * tools/Makefile.am:
18025 * tools/gst-inspect.c:
18026 * tools/gst-xmlinspect.c:
18027 various fixes to make
18028 --disable-nls --disable-registry --disable-loadsave
18029 --disable-parse --disable-gst-debug
18030 work and get the core .so down to 360444 bytes after stripping
18032 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
18037 * docs/random/thomasvs/TODO:
18038 * tests/Makefile.am:
18042 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
18044 * win32/GStreamer.vcproj:
18047 * win32/Makefile.inspect:
18048 * win32/Makefile.launch:
18049 * win32/Makefile.register:
18050 * win32/README.txt:
18051 * win32/gst-inspect.vcproj:
18052 * win32/gst-launch.vcproj:
18053 * win32/gst-register.vcproj:
18054 * win32/gstelements.vcproj:
18055 * win32/gstgetbits.def:
18056 * win32/gstgetbits.vcproj:
18057 * win32/gstreamer-dbg.def:
18058 * win32/gstreamer.def:
18059 * win32/libgstbase.def:
18060 * win32/libgstbase.vcproj:
18061 * win32/link_oldruntime.c:
18065 * win32/msvc71.sln:
18066 move even more stuff, win32/ is nice and clean now
18068 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
18070 * libs/gst/control/.cvsignore:
18075 * win32/gstbytestream.def:
18076 * win32/gstbytestream.vcproj:
18077 * win32/gstconfig.h:
18078 * win32/gstenumtypes.c:
18079 * win32/gstenumtypes.h:
18080 * win32/gstoptimalscheduler.vcproj:
18081 * win32/gstversion.h:
18083 * win32/testsuite/bins.vcproj:
18084 * win32/testsuite/bytestream.vcproj:
18085 * win32/testsuite/caps.vcproj:
18086 * win32/testsuite/cleanup.vcproj:
18087 * win32/testsuite/clock.vcproj:
18088 * win32/testsuite/debug.vcproj:
18089 * win32/testsuite/dlopen.vcproj:
18090 * win32/testsuite/dynparams.vcproj:
18091 * win32/testsuite/elements.vcproj:
18092 * win32/testsuite/ghostpads.vcproj:
18093 * win32/testsuite/indexers.vcproj:
18094 * win32/testsuite/negotiation.vcproj:
18095 * win32/testsuite/parse.vcproj:
18096 * win32/testsuite/plugin.vcproj:
18097 * win32/testsuite/refcounting.vcproj:
18098 * win32/testsuite/schedulers.vcproj:
18099 * win32/testsuite/states.vcproj:
18100 * win32/testsuite/tags.vcproj:
18101 * win32/testsuite/threads.vcproj:
18102 remove old win32 stuff that isn't maintained and should be
18105 2005-11-30 Andy Wingo <wingo@pobox.com>
18107 * configure.ac (GST_PKG_DEPS): Revert previous patch, makes
18108 loading the gst.interfaces python module bork.
18110 * configure.ac (GST_PKG_DEPS): Use gmodule-no-export-2.0.pc,
18111 available since GLib 2.2. Fixes #318031.
18113 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
18116 * check/.cvsignore:
18117 * check/Makefile.am:
18118 * check/elements/.cvsignore:
18119 * check/elements/fakesrc.c:
18120 * check/elements/fdsrc.c:
18121 * check/elements/identity.c:
18122 * check/generic/.cvsignore:
18123 * check/generic/states.c:
18124 * check/gst-libs/.cvsignore:
18125 * check/gst-libs/controller.c:
18126 * check/gst-libs/gdp.c:
18127 * check/gst/.cvsignore:
18128 * check/gst/capslist.h:
18130 * check/gst/gstbin.c:
18131 * check/gst/gstbuffer.c:
18132 * check/gst/gstbus.c:
18133 * check/gst/gstcaps.c:
18134 * check/gst/gstelement.c:
18135 * check/gst/gstevent.c:
18136 * check/gst/gstghostpad.c:
18137 * check/gst/gstiterator.c:
18138 * check/gst/gstmessage.c:
18139 * check/gst/gstminiobject.c:
18140 * check/gst/gstobject.c:
18141 * check/gst/gstpad.c:
18142 * check/gst/gstpipeline.c:
18143 * check/gst/gstplugin.c:
18144 * check/gst/gstsegment.c:
18145 * check/gst/gststructure.c:
18146 * check/gst/gstsystemclock.c:
18147 * check/gst/gsttag.c:
18148 * check/gst/gstutils.c:
18149 * check/gst/gstvalue.c:
18150 * check/net/.cvsignore:
18151 * check/net/gstnetclientclock.c:
18152 * check/net/gstnettimeprovider.c:
18153 * check/pipelines/.cvsignore:
18154 * check/pipelines/cleanup.c:
18155 * check/pipelines/simple_launch_lines.c:
18156 * check/pipelines/stress.c:
18157 * check/states/.cvsignore:
18158 * check/states/sinks.c:
18160 * examples/Makefile.am:
18161 * examples/appreader/.cvsignore:
18162 * examples/appreader/Makefile.am:
18163 * examples/appreader/appreader.c:
18164 * examples/controller/.cvsignore:
18165 * examples/controller/Makefile.am:
18166 * examples/controller/audio-example.c:
18167 * examples/cutter/.cvsignore:
18168 * examples/cutter/Makefile.am:
18169 * examples/cutter/cutter.c:
18170 * examples/cutter/cutter.h:
18171 * examples/events/Makefile.am:
18172 * examples/events/seek.c:
18173 * examples/helloworld/.cvsignore:
18174 * examples/helloworld/Makefile.am:
18175 * examples/helloworld/helloworld.c:
18176 * examples/helloworld2/.cvsignore:
18177 * examples/helloworld2/Makefile.am:
18178 * examples/helloworld2/helloworld2.c:
18179 * examples/launch/.cvsignore:
18180 * examples/launch/Makefile.am:
18181 * examples/launch/mp3parselaunch.c:
18182 * examples/launch/mp3play:
18183 * examples/manual/.cvsignore:
18184 * examples/manual/Makefile.am:
18185 * examples/manual/extract.pl:
18186 * examples/metadata/Makefile.am:
18187 * examples/metadata/read-metadata.c:
18188 * examples/mixer/.cvsignore:
18189 * examples/mixer/Makefile.am:
18190 * examples/mixer/mixer.c:
18191 * examples/mixer/mixer.h:
18192 * examples/pingpong/.cvsignore:
18193 * examples/pingpong/Makefile.am:
18194 * examples/pingpong/pingpong.c:
18195 * examples/plugins/.cvsignore:
18196 * examples/plugins/Makefile.am:
18197 * examples/plugins/example.c:
18198 * examples/plugins/example.h:
18199 * examples/pwg/.cvsignore:
18200 * examples/pwg/Makefile.am:
18201 * examples/pwg/extract.pl:
18202 * examples/queue/.cvsignore:
18203 * examples/queue/Makefile.am:
18204 * examples/queue/queue.c:
18205 * examples/queue2/.cvsignore:
18206 * examples/queue2/Makefile.am:
18207 * examples/queue2/queue2.c:
18208 * examples/queue3/.cvsignore:
18209 * examples/queue3/Makefile.am:
18210 * examples/queue3/queue3.c:
18211 * examples/queue4/.cvsignore:
18212 * examples/queue4/Makefile.am:
18213 * examples/queue4/queue4.c:
18214 * examples/retag/.cvsignore:
18215 * examples/retag/Makefile.am:
18216 * examples/retag/retag.c:
18217 * examples/retag/transcode.c:
18218 * examples/thread/.cvsignore:
18219 * examples/thread/Makefile.am:
18220 * examples/thread/thread.c:
18221 * examples/typefind/.cvsignore:
18222 * examples/typefind/Makefile.am:
18223 * examples/typefind/typefind.c:
18224 * examples/xml/.cvsignore:
18225 * examples/xml/Makefile.am:
18226 * examples/xml/createxml.c:
18227 * examples/xml/runxml.c:
18228 * tests/Makefile.am:
18229 * tests/check/Makefile.am:
18230 * testsuite/.cvsignore:
18231 * testsuite/Makefile.am:
18233 * testsuite/caps/.cvsignore:
18234 * testsuite/caps/Makefile.am:
18235 * testsuite/caps/app_fixate.c:
18236 * testsuite/caps/audioscale.c:
18237 * testsuite/caps/caps.c:
18238 * testsuite/caps/caps.h:
18239 * testsuite/caps/caps_strings:
18240 * testsuite/caps/compatibility.c:
18241 * testsuite/caps/deserialize.c:
18242 * testsuite/caps/enumcaps.c:
18243 * testsuite/caps/eratosthenes.c:
18244 * testsuite/caps/filtercaps.c:
18245 * testsuite/caps/fixed.c:
18246 * testsuite/caps/fraction-convert.c:
18247 * testsuite/caps/fraction-multiply-and-zero.c:
18248 * testsuite/caps/intersect2.c:
18249 * testsuite/caps/intersection.c:
18250 * testsuite/caps/normalisation.c:
18251 * testsuite/caps/random.c:
18252 * testsuite/caps/renegotiate.c:
18253 * testsuite/caps/sets.c:
18254 * testsuite/caps/simplify.c:
18255 * testsuite/caps/string-conversions.c:
18256 * testsuite/caps/structure.c:
18257 * testsuite/caps/subtract.c:
18258 * testsuite/caps/union.c:
18259 * testsuite/debug/.cvsignore:
18260 * testsuite/debug/Makefile.am:
18261 * testsuite/debug/category.c:
18262 * testsuite/debug/commandline.c:
18263 * testsuite/debug/global.c:
18264 * testsuite/debug/output.c:
18265 * testsuite/debug/printf_extension.c:
18266 * testsuite/dlopen/.cvsignore:
18267 * testsuite/dlopen/Makefile.am:
18268 * testsuite/dlopen/dlopen_gst.c:
18269 * testsuite/dlopen/loadgst.c:
18270 * testsuite/elements/.cvsignore:
18271 * testsuite/elements/Makefile.am:
18272 * testsuite/elements/gst-inspect-check.in:
18273 * testsuite/elements/struct_i386.h:
18274 * testsuite/elements/struct_size.c:
18275 * testsuite/indexers/.cvsignore:
18276 * testsuite/indexers/Makefile.am:
18277 * testsuite/indexers/cache1.c:
18278 * testsuite/indexers/indexdump.c:
18279 * testsuite/parse/.cvsignore:
18280 * testsuite/parse/Makefile.am:
18281 * testsuite/parse/parse1.c:
18282 * testsuite/parse/parse2.c:
18283 * testsuite/plugin/.cvsignore:
18284 * testsuite/plugin/Makefile.am:
18285 * testsuite/plugin/README:
18286 * testsuite/plugin/dynamic.c:
18287 * testsuite/plugin/linked.c:
18288 * testsuite/plugin/loading.c:
18289 * testsuite/plugin/registry.c:
18290 * testsuite/plugin/static.c:
18291 * testsuite/plugin/static2.c:
18292 * testsuite/plugin/testplugin.c:
18293 * testsuite/plugin/testplugin2.c:
18294 * testsuite/plugin/testplugin2_s.c:
18295 * testsuite/plugin/testplugin_s.c:
18296 * testsuite/refcounting/.cvsignore:
18297 * testsuite/refcounting/Makefile.am:
18298 * testsuite/refcounting/bin.c:
18299 * testsuite/refcounting/element.c:
18300 * testsuite/refcounting/element_pad.c:
18301 * testsuite/refcounting/mainloop.c:
18302 * testsuite/refcounting/mem.c:
18303 * testsuite/refcounting/mem.h:
18304 * testsuite/refcounting/object.c:
18305 * testsuite/refcounting/pad.c:
18306 * testsuite/refcounting/sched.c:
18307 * testsuite/refcounting/thread.c:
18308 * testsuite/states/.cvsignore:
18309 * testsuite/states/Makefile.am:
18310 * testsuite/states/bin.c:
18311 * testsuite/states/locked.c:
18312 * testsuite/states/parent.c:
18313 * testsuite/threads/.cvsignore:
18314 * testsuite/threads/159566.c:
18315 * testsuite/threads/159852.c:
18316 * testsuite/threads/Makefile.am:
18317 * testsuite/threads/queue.c:
18318 * testsuite/threads/signals.c:
18319 * testsuite/threads/staticrec.c:
18320 * testsuite/threads/thread.c:
18321 * testsuite/threads/threadb.c:
18322 * testsuite/threads/threadc.c:
18323 * testsuite/threads/threadd.c:
18324 * testsuite/threads/threade.c:
18325 * testsuite/threads/threadf.c:
18326 * testsuite/threads/threadg.c:
18327 * testsuite/threads/threadh.c:
18328 * testsuite/threads/threadi.c:
18329 move all of these under tests
18331 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
18334 * tests/Makefile.am:
18337 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
18339 * docs/gst/gstreamer-sections.txt:
18340 * tests/sched/.cvsignore:
18341 * tests/sched/Makefile.am:
18342 * tests/sched/cases/(fs-fs).xml:
18343 * tests/sched/cases/(fs-i-fs).xml:
18344 * tests/sched/cases/(fs-i-i-fs).xml:
18345 * tests/sched/cases/(fs-i-q[i-fs]).xml:
18346 * tests/sched/dynamic-pipeline.c:
18347 * tests/sched/interrupt1.c:
18348 * tests/sched/interrupt2.c:
18349 * tests/sched/interrupt3.c:
18350 * tests/sched/runtestcases:
18351 * tests/sched/runxml.c:
18352 * tests/sched/sched-stress.c:
18353 * tests/sched/sort.c:
18354 * tests/sched/testcases:
18355 * tests/sched/testcases1.tc:
18356 * tests/seeking/.cvsignore:
18357 * tests/seeking/Makefile.am:
18358 * tests/seeking/seeking1.c:
18359 * tests/threadstate/.cvsignore:
18360 * tests/threadstate/Makefile.am:
18361 * tests/threadstate/test1.c:
18362 * tests/threadstate/test2.c:
18363 * tests/threadstate/threadstate1.c:
18364 * tests/threadstate/threadstate2.c:
18365 * tests/threadstate/threadstate3.c:
18366 * tests/threadstate/threadstate4.c:
18367 * tests/threadstate/threadstate5.c:
18368 remove obsolete tests
18370 * tests/bench-complexity.scm:
18371 * tests/bench-mass_elements.scm:
18372 * tests/complexity.c:
18373 * tests/complexity.gnuplot:
18374 * tests/instantiate/.cvsignore:
18375 * tests/instantiate/Makefile.am:
18376 * tests/instantiate/caps.c:
18377 * tests/mass_elements.c:
18378 * tests/network-clock-utils.scm:
18379 * tests/network-clock.scm:
18381 First pass at cleaning up tests/ dir before moving the rest
18382 Combined with CVS surgery
18384 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
18387 queue has moved, update
18389 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
18391 * docs/gst/gstreamer-sections.txt:
18392 remove double entries from the docs
18393 * gst/gst_private.h:
18394 * gst/gstinfo.c: (_gst_debug_init):
18395 remove the THREAD debug category
18399 * docs/gst/gstreamer.types:
18400 * plugins/elements/gstqueue.c: (gst_queue_get_type),
18401 (gst_queue_init), (gst_queue_finalize), (gst_queue_change_state):
18402 completely move queue and fix up debugging categories
18404 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
18406 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
18407 make initialization portable, using LL is not
18409 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
18411 * win32/common/gstconfig.h:
18414 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
18416 * win32/common/libgstreamer.def:
18417 rename symbols; sort base section
18419 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
18421 * gst/gstclock.c: (do_linear_regression):
18422 remove crack non-portable handrolled DEBUG macro
18424 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
18426 * docs/random/release:
18428 * win32/common/gstenumtypes.c: (register_gst_object_flags),
18429 (gst_object_flags_get_type), (register_gst_bin_flags),
18430 (gst_bin_flags_get_type), (register_gst_buffer_flag),
18431 (gst_buffer_flag_get_type), (register_gst_bus_flags),
18432 (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
18433 (gst_bus_sync_reply_get_type), (register_gst_caps_flags),
18434 (gst_caps_flags_get_type), (register_gst_clock_return),
18435 (gst_clock_return_get_type), (register_gst_clock_entry_type),
18436 (gst_clock_entry_type_get_type), (register_gst_clock_flags),
18437 (gst_clock_flags_get_type), (register_gst_state),
18438 (gst_state_get_type), (register_gst_state_change_return),
18439 (gst_state_change_return_get_type), (register_gst_state_change),
18440 (gst_state_change_get_type), (register_gst_element_flags),
18441 (gst_element_flags_get_type), (register_gst_core_error),
18442 (gst_core_error_get_type), (register_gst_library_error),
18443 (gst_library_error_get_type), (register_gst_resource_error),
18444 (gst_resource_error_get_type), (register_gst_stream_error),
18445 (gst_stream_error_get_type), (register_gst_event_type_flags),
18446 (gst_event_type_flags_get_type), (register_gst_event_type),
18447 (gst_event_type_get_type), (register_gst_seek_type),
18448 (gst_seek_type_get_type), (register_gst_seek_flags),
18449 (gst_seek_flags_get_type), (register_gst_format),
18450 (gst_format_get_type), (register_gst_index_certainty),
18451 (gst_index_certainty_get_type), (register_gst_index_entry_type),
18452 (gst_index_entry_type_get_type),
18453 (register_gst_index_lookup_method),
18454 (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
18455 (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
18456 (gst_index_resolver_method_get_type), (register_gst_index_flags),
18457 (gst_index_flags_get_type), (register_gst_debug_level),
18458 (gst_debug_level_get_type), (register_gst_debug_color_flags),
18459 (gst_debug_color_flags_get_type), (register_gst_iterator_result),
18460 (gst_iterator_result_get_type), (register_gst_iterator_item),
18461 (gst_iterator_item_get_type), (register_gst_message_type),
18462 (gst_message_type_get_type), (register_gst_mini_object_flags),
18463 (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
18464 (gst_pad_link_return_get_type), (register_gst_flow_return),
18465 (gst_flow_return_get_type), (register_gst_activate_mode),
18466 (gst_activate_mode_get_type), (register_gst_pad_direction),
18467 (gst_pad_direction_get_type), (register_gst_pad_flags),
18468 (gst_pad_flags_get_type), (register_gst_pad_presence),
18469 (gst_pad_presence_get_type), (register_gst_pad_template_flags),
18470 (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
18471 (gst_pipeline_flags_get_type), (register_gst_plugin_error),
18472 (gst_plugin_error_get_type), (register_gst_plugin_flags),
18473 (gst_plugin_flags_get_type), (register_gst_rank),
18474 (gst_rank_get_type), (register_gst_query_type),
18475 (gst_query_type_get_type), (register_gst_tag_merge_mode),
18476 (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
18477 (gst_tag_flag_get_type), (register_gst_task_state),
18478 (gst_task_state_get_type), (register_gst_alloc_trace_flags),
18479 (gst_alloc_trace_flags_get_type),
18480 (register_gst_type_find_probability),
18481 (gst_type_find_probability_get_type), (register_gst_uri_type),
18482 (gst_uri_type_get_type), (register_gst_parse_error),
18483 (gst_parse_error_get_type):
18484 * win32/common/gstenumtypes.h:
18485 * win32/common/gstversion.h:
18486 update visual studio generated files
18488 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
18490 * win32/vs6/libgstbase.dsp:
18491 * win32/vs6/libgstelements.dsp:
18492 update project files for new locations
18494 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
18499 reinstate and update
18504 * docs/random/LICENSE:
18507 2005-11-30 Edward Hervey <edward@fluendo.com>
18509 * gst/gsttypefind.c: (gst_type_find_register):
18510 * gst/gsttypefind.h:
18511 * gst/gsttypefindfactory.c: (gst_type_find_factory_init),
18512 (gst_type_find_factory_dispose):
18513 * gst/gsttypefindfactory.h:
18514 Fix memory leak in GstTypeFindFactory.
18516 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
18519 * plugins/elements/Makefile.am:
18520 * plugins/elements/gstelements.c:
18521 * plugins/elements/gstqueue.c:
18522 move queue from core to the elements plugin
18524 2005-11-29 Andy Wingo <wingo@pobox.com>
18526 * libs/gst/base/gstbasetransform.h:
18527 * libs/gst/base/gstbasesrc.h:
18528 * libs/gst/base/gstbasesink.h: en-LARGE the padding.
18530 * gst/gstconfig.h.in (GST_PADDING_LARGE): New define, the number
18531 of pointers by which to pad very extensible base classes (like the
18532 ones in libs/gst/base).
18534 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
18536 * docs/gst/gstreamer-docs.sgml:
18537 * docs/gst/gstreamer-sections.txt:
18538 * docs/libs/gstreamer-libs-docs.sgml:
18539 * docs/libs/gstreamer-libs-sections.txt:
18540 moving documentation from core to lib
18542 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
18544 * check/Makefile.am:
18546 * docs/gst/Makefile.am:
18548 * gst/base/.cvsignore:
18549 * gst/base/Makefile.am:
18551 * gst/base/gstadapter.c:
18552 * gst/base/gstadapter.h:
18553 * gst/base/gstbasesink.c:
18554 * gst/base/gstbasesink.h:
18555 * gst/base/gstbasesrc.c:
18556 * gst/base/gstbasesrc.h:
18557 * gst/base/gstbasetransform.c:
18558 * gst/base/gstbasetransform.h:
18559 * gst/base/gstcollectpads.c:
18560 * gst/base/gstcollectpads.h:
18561 * gst/base/gstpushsrc.c:
18562 * gst/base/gstpushsrc.h:
18563 * gst/base/gsttypefindhelper.c:
18564 * gst/base/gsttypefindhelper.h:
18565 * gst/check/Makefile.am:
18566 * gst/check/gstcheck.c:
18567 * gst/check/gstcheck.h:
18568 * gst/net/Makefile.am:
18569 * gst/net/gstnet.h:
18570 * gst/net/gstnetclientclock.c:
18571 * gst/net/gstnetclientclock.h:
18572 * gst/net/gstnettimepacket.c:
18573 * gst/net/gstnettimepacket.h:
18574 * gst/net/gstnettimeprovider.c:
18575 * gst/net/gstnettimeprovider.h:
18576 * libs/gst/Makefile.am:
18577 * libs/gst/base/Makefile.am:
18578 * libs/gst/base/gstbasetransform.c:
18579 * libs/gst/check/Makefile.am:
18580 * plugins/elements/Makefile.am:
18582 CVS surgery + support to move base, check, and net out of gst
18585 2005-11-29 Andy Wingo <wingo@pobox.com>
18587 * gst/gstevent.h (struct _GstEvent): Only one pointer of padding.
18589 * gst/gststructure.h (struct _GstStructure): Only one pointer of
18592 * gst/gstquery.h (struct _GstQuery): Only one pointer of padding.
18594 * gst/gstpluginfeature.h: Remove a comment in PluginFeature.
18596 * gst/gstplugin.h (struct _GstPluginClass): Add some padding.
18598 * gst/gstobject.h: (struct _GstObject): Only one pointer of
18599 padding; reduces object size by about 30%. We don't expect
18600 anything else to go into gstobject.
18602 * gst/gstminiobject.h (struct _GstMiniObject)
18603 (struct _GstMiniObjectClass): Only one pointer of padding; the
18604 payload is only a pointer and two ints anyway. For the class there
18605 are only two methods as well.
18607 * gst/gstelement.h (struct _GstElementClass): Removed
18608 the state_changed signal callback, it is not used.
18610 2005-11-29 Thomas Vander Stichele <thomas at apestaart dot org>
18612 * docs/gst/gstreamer.types:
18613 fix includes, though they are a little dinky
18615 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
18617 * check/Makefile.am:
18618 look in the right place for elements, a lot more chance of
18621 remove indexers and elements subdirs
18622 * plugins/Makefile.am:
18623 make indexers conditional
18625 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
18629 * plugins/elements/Makefile.am:
18630 * plugins/elements/gstcapsfilter.c:
18631 * plugins/elements/gstfilesink.c:
18632 * plugins/elements/gstfilesrc.c:
18633 * plugins/elements/gstidentity.c:
18634 * plugins/indexers/Makefile.am:
18635 do CVS surgery and related build fixery to move elements
18636 and indexers in a new gstreamer/plugins directory, out of the
18639 2005-11-29 Andy Wingo <wingo@pobox.com>
18641 * check/Makefile.am:
18642 * pkgconfig/gstreamer-net-uninstalled.pc.in:
18643 * pkgconfig/gstreamer-net.pc.in:
18644 * gst/net/Makefile.am: Rename gstnet-tempname to gstnet. Fixes
18647 2005-11-29 Thomas Vander Stichele <thomas at apestaart dot org>
18649 * tools/Makefile.am:
18650 * tools/gst-complete.1.in:
18651 * tools/gst-complete.c:
18652 * tools/gst-compprep.1.in:
18653 * tools/gst-compprep.c:
18654 removing -compprep and -complete
18656 2005-11-29 Thomas Vander Stichele <thomas at apestaart dot org>
18658 * gst/gstevent.c: (gst_event_new_new_segment),
18659 (gst_event_parse_new_segment):
18661 fix #320529 - clean up new_segment API and structure.
18662 Let's hope everyone was using the methods, and not the structure.
18664 2005-11-29 Edward Hervey <edward@fluendo.com>
18666 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
18667 (gst_base_sink_event), (gst_base_sink_do_sync),
18668 (gst_base_sink_activate_pull), (gst_base_sink_change_state):
18669 Properly handle non GST_FORMAT_TIME segment
18670 * gst/elements/gstidentity.c: (gst_identity_transform_ip):
18671 Properly handle non GST_FORMAT_TIME segment
18672 * gst/gstsegment.c:
18673 This function is valid if the accumulator is 0 and the format
18674 is different from the requested format.
18676 2005-11-29 Jan Schmidt <thaytan@mad.scientist.com>
18678 * docs/gst/gstreamer-sections.txt:
18679 Add gst_query_new_seeking and gst_query_parse_seeking to the
18682 2005-11-29 Jan Schmidt <thaytan@mad.scientist.com>
18684 * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
18685 Treat a pad alloc with new caps the same as if we were not
18686 negotiated, in order to allow a changing upstream output
18687 to produce a new format of data.
18689 2005-11-29 Edward Hervey <edward@fluendo.com>
18691 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
18692 (gst_base_transform_event), (gst_base_transform_eventfunc):
18693 The event virtual method is now properly implemented, with a default
18695 Sub classes should call the parent_class event method. They should
18696 return FALSE if they had a problem handling the given event, or don't
18697 want GstBaseTransform to send that even downstream
18698 * gst/elements/gstidentity.c: (gst_identity_class_init),
18699 (gst_identity_init), (gst_identity_event),
18700 (gst_identity_transform_ip), (gst_identity_set_property),
18701 (gst_identity_get_property):
18702 * gst/elements/gstidentity.h:
18703 Added the single-segment boolean property.
18704 If set to TRUE, it will output a single segment of data, starting from
18705 0, will eat up all incoming newsegment, and modify the timestamp of the
18706 buffers accordingly
18708 2005-11-29 Tim-Philipp Müller <tim at centricular dot net>
18710 * gst/gstghostpad.c: (gst_proxy_pad_get_target):
18711 Don't ref NULL target pad (#322751). Improve docs.
18713 2005-11-29 Michael Smith <msmith@fluendo.com>
18715 * gst/gstregistryxml.c: (load_plugin):
18716 Don't crash if we failed to load a feature from a plugin.
18718 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
18720 * check/pipelines/simple_launch_lines.c: (setup_pipeline),
18722 use more check API and less GLib API
18724 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
18727 don't run checks if we don't have check
18728 * common/check.mak:
18729 remove the registry when running make torture
18730 * docs/gst/gstreamer-sections.txt:
18731 remove second multiply
18732 * gst/gstqueue.c: (gst_queue_loop):
18733 fix a compile warning when disabling debug
18735 2005-11-28 Jan Schmidt <thaytan@mad.scientist.com>
18738 Hey! Let's print the pad name if the pointer != NULL instead
18739 of when it == NULL :-)
18741 2005-11-28 Wim Taymans <wim@fluendo.com>
18743 * check/gst/gstutils.c: (GST_START_TEST):
18744 Updated check, add some scaling accuracy checking code.
18746 * gst/gstutils.c: (gst_util_div128_64),
18747 (gst_util_uint64_scale_int64), (gst_util_uint64_scale),
18748 (gst_util_uint64_scale_int):
18749 Fix 6 times faster division code. Optimize for common
18750 1/1 and less common X/1 cases.
18752 2005-11-28 Wim Taymans <wim@fluendo.com>
18754 * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
18757 * gst/gstclock.c: (gst_clock_finalize), (gst_clock_set_master),
18758 (do_linear_regression), (gst_clock_add_observation):
18760 Release lock when the clock cannot be slaved.
18761 Catch the case where the regression returned an invalid denominator.
18763 * gst/gstutils.c: (gst_util_div128_64_iterate),
18764 (gst_util_div128_64), (gst_util_uint64_scale_int64),
18765 (gst_util_uint64_scale), (gst_util_uint64_scale_int):
18766 Add protentially more performant non-iterative 128/64 divide function
18767 that unfortunatly does not work yet.
18768 Shortcut the trivial 0/X = 0 case.
18769 Remove the warnings on overflow.
18771 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
18773 * gst/gstplugin.c: (gst_plugin_register_func):
18774 everything causing a plugin not to load should be at least a WARNING
18776 2005-11-28 Stefan Kost <ensonic@users.sf.net>
18778 * docs/random/ensonic/dparams.txt:
18779 some TODOs for the next dev cycle
18780 * libs/gst/controller/gstcontroller.c:
18781 (gst_controlled_property_set_interpolation_mode),
18782 (gst_controlled_property_new):
18783 * libs/gst/controller/gstcontroller.h:
18784 use base type to assign acccessor functions
18786 2005-11-28 Jan Schmidt <thaytan@mad.scientist.com>
18788 * check/Makefile.am:
18789 Oops, that should have been top_srcdir
18791 2005-11-28 Jan Schmidt <thaytan@mad.scientist.com>
18793 * check/Makefile.am:
18794 * check/elements/fdsrc.c: (GST_START_TEST):
18795 Use a cmdline define to specify the location of a file to use for
18796 testing, to avoid breaking distcheck.
18798 2005-11-28 Andy Wingo <wingo@pobox.com>
18800 * gst/gstpad.c (fixate_value): Use array functions for arrays.
18802 2005-11-28 Edward Hervey <edward@fluendo.com>
18804 * tools/gst-launch.c: (main):
18805 Clarify the output strings, makes it easier to translate.
18808 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
18811 don't try and build net if we don't even have <sys/socket.h>
18813 2005-11-27 Jan Schmidt <thaytan@mad.scientist.com>
18815 * check/Makefile.am:
18816 * check/elements/fdsrc.c: (event_func), (setup_fdsrc),
18817 (cleanup_fdsrc), (GST_START_TEST), (fdsrc_suite), (main):
18818 Add tests for fdsrc seekability
18820 * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
18821 (gst_fdsrc_init), (gst_fdsrc_update_fd), (gst_fdsrc_start),
18822 (gst_fdsrc_set_property), (gst_fdsrc_is_seekable),
18823 (gst_fdsrc_get_size), (gst_fdsrc_uri_set_uri):
18824 * gst/elements/gstfdsrc.h:
18825 fdsrc should not be a 'live' source.
18826 Implement seeking on seekable fd's.
18828 * gst/gstquery.c: (gst_query_new_seeking),
18829 (gst_query_parse_seeking):
18831 Implement SEEKING query functions:
18832 *_new_seeking and *_parse_seeking
18834 2005-11-27 Stefan Kost <ensonic@users.sf.net>
18836 * gst/gstelement.c: (gst_element_dispose):
18839 * gst/gstiterator.c:
18840 * gst/gststructure.c:
18843 * libs/gst/controller/gstcontroller.c:
18844 (gst_controlled_property_set_interpolation_mode):
18845 * libs/gst/controller/gstcontroller.h:
18846 * libs/gst/controller/gstinterpolation.c:
18847 (interpolate_none_get_enum_value_array):
18848 support controlling enums
18850 2005-11-27 Tim-Philipp Müller <tim at centricular dot net>
18853 Improve documentation for gst_value_union().
18856 Change return value for union, intersect and subtract functions
18857 from gint to gboolean.
18859 2005-11-27 Tim-Philipp Müller <tim at centricular dot net>
18861 * gst/gstvalue.c: (gst_value_serialize_any_list),
18862 (gst_value_transform_any_list_string),
18863 (gst_value_deserialize_list), (gst_value_deserialize_array),
18864 (gst_value_set_int_range), (gst_value_deserialize_int_range),
18865 (gst_value_set_double_range), (gst_value_deserialize_double_range),
18866 (gst_value_set_fraction_range_full),
18867 (gst_value_deserialize_fraction_range),
18868 (gst_value_deserialize_caps), (gst_value_deserialize_buffer),
18869 (gst_value_deserialize_boolean),
18870 (gst_value_deserialize_int_helper), (gst_value_deserialize_double),
18871 (gst_value_serialize_float), (gst_value_deserialize_float),
18872 (gst_string_wrap), (gst_value_deserialize_string),
18873 (gst_value_deserialize_enum), (gst_value_deserialize_flags),
18874 (gst_value_union_int_range_int_range),
18875 (gst_value_intersect_int_range_int_range),
18876 (gst_value_intersect_double_range_double_range),
18877 (gst_value_create_new_range), (gst_value_subtract_int_range_int),
18878 (gst_value_subtract_int_range_int_range),
18879 (gst_value_subtract_double_double_range),
18880 (gst_value_subtract_double_range_double_range),
18881 (gst_value_deserialize_fraction):
18883 Use gint, gdouble and gchar in our API instead of int, double and
18884 char (and make usage in gstvalue.c more consistent).
18886 2005-11-27 Thomas Vander Stichele <thomas at apestaart dot org>
18888 * check/Makefile.am:
18889 * libs/gst/controller/Makefile.am:
18890 * libs/gst/dataprotocol/Makefile.am:
18891 fix up Makefile.am and remove GST_ENABLE_NEW
18893 2005-11-27 Thomas Vander Stichele <thomas at apestaart dot org>
18897 * gst/base/Makefile.am:
18898 * gst/check/Makefile.am:
18899 * gst/elements/Makefile.am:
18900 * gst/net/Makefile.am:
18901 update LDFLAGS use some more
18903 2005-11-27 Thomas Vander Stichele <thomas at apestaart dot org>
18905 * common/m4/gst-doc.m4:
18908 2005-11-26 Edward Hervey <edward@fluendo.com>
18910 * gst/gstpluginfeature.c: (gst_plugin_feature_load):
18911 This shouldn't issue a g_warning since it returns NULL if it
18912 couldn't find the plugin, and all functions using this behave
18913 properly on a NULL return. Switching to a GST_WARNING.
18915 2005-11-25 Jan Schmidt <thaytan@mad.scientist.com>
18917 * gst/gstbin.c: (gst_bin_handle_message_func):
18918 Don't leak clock messages.
18920 2005-11-25 Wim Taymans <wim@fluendo.com>
18922 * gst/gstutils.c: (gst_util_uint64_scale_int64),
18923 (gst_util_uint64_scale_int):
18924 Optimisations, remove unneeded vars.
18926 2005-11-25 Wim Taymans <wim@fluendo.com>
18928 * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
18929 Added more checks for the high precision uint64 cases.
18931 * gst/gstutils.c: (gst_util_uint64_scale_int64),
18932 (gst_util_uint64_scale), (gst_util_uint64_scale_int):
18933 Implement high precision (guint64 * guint64) / guint64.
18935 2005-11-24 Wim Taymans <wim@fluendo.com>
18937 * gst/base/gstbasesrc.c: (gst_base_src_query):
18938 Fix wrong percentage query.
18940 * gst/gstutils.c: (gst_util_uint64_scale),
18941 (gst_util_uint64_scale_int):
18942 Add some more common cases that can be handled
18943 efficiently to _scale.
18945 2005-11-24 Thomas Vander Stichele <thomas at apestaart dot org>
18947 * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST),
18948 (gst_mini_object_suite):
18949 don't use check calls from threads; check probably isn't
18950 threadsafe and using a lock to make it threadsafe would
18951 defeat the purpose of this check
18952 * gst/check/gstcheck.c:
18953 * gst/check/gstcheck.h:
18954 use GST_DEBUG some more
18956 2005-11-24 Wim Taymans <wim@fluendo.com>
18958 * gst/gstutils.c: (gst_util_uint64_scale),
18959 (gst_util_uint64_scale_int):
18960 Chain trivial case to _scale_int.
18962 2005-11-24 Wim Taymans <wim@fluendo.com>
18964 * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
18965 Added test for scaling.
18970 * gst/gstutils.c: (gst_util_uint64_scale_int):
18971 Implemented high precision scaling code.
18973 2005-11-24 Stefan Kost <ensonic@users.sf.net>
18976 do not crash on pad==NULL
18978 2005-11-24 Thomas Vander Stichele <thomas at apestaart dot org>
18980 Patch by: Stefan Kost
18982 * common/gtk-doc.mak:
18983 * docs/gst/Makefile.am:
18984 * docs/libs/Makefile.am:
18985 Fix distcheck issues for the libraries docs build
18988 2005-11-24 Michael Smith <msmith@fluendo.com>
18990 * docs/manual/basics-helloworld.xml:
18991 Fix bug #315027: memory leak in example code in docs.
18993 2005-11-24 Michael Smith <msmith@fluendo.com>
18995 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
18996 Unlock the PREROLL_LOCK in a failure case.
18998 2005-11-24 Wim Taymans <wim@fluendo.com>
19000 * docs/gst/gstreamer-sections.txt:
19001 * gst/base/gstadapter.h:
19002 * gst/base/gstbasesink.h:
19003 * gst/base/gstbasesrc.h:
19004 * gst/base/gstbasetransform.h:
19005 * gst/base/gstpushsrc.h:
19006 * gst/elements/gstfakesink.h:
19007 * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type):
19008 * gst/elements/gstfakesrc.h:
19009 * gst/elements/gstfilesink.h:
19010 * gst/elements/gstfilesrc.h:
19013 * gst/gstbuffer.c: (_gst_buffer_copy):
19016 * gst/gstchildproxy.c:
19018 * gst/gstelement.c:
19019 * gst/gstelementfactory.c:
19020 * gst/gstelementfactory.h:
19022 * gst/gstghostpad.h:
19024 * gst/gstinterface.h:
19025 * gst/gstminiobject.c:
19026 * gst/gstminiobject.h:
19029 * gst/gstpadtemplate.h:
19030 * gst/gstpipeline.h:
19031 * gst/gstpluginfeature.h:
19034 * gst/gsttaglist.c:
19035 * gst/gsttaglist.h:
19036 * gst/gsttagsetter.c:
19037 * gst/gsttagsetter.h:
19040 * gst/gsttypefind.h:
19043 * gst/net/gstnetclientclock.c:
19044 * gst/net/gstnetclientclock.h:
19045 * gst/net/gstnettimepacket.c:
19046 * gst/net/gstnettimeprovider.c:
19047 * gst/net/gstnettimeprovider.h:
19050 2005-11-23 Thomas Vander Stichele <thomas at apestaart dot org>
19052 * configure.ac: back to HEAD
19054 === release 0.9.6 ===
19056 2005-11-23 Thomas Vander Stichele <thomas at apestaart dot org>
19059 releasing 0.9.6, "Always On Time"
19061 2005-11-23 Wim Taymans <wim@fluendo.com>
19063 * docs/gst/gstreamer-sections.txt:
19064 * gst/glib-compat.c:
19065 * gst/gsttagsetter.c:
19067 * gst/net/gstnetclientclock.c:
19068 * gst/net/gstnettimepacket.h:
19071 2005-11-23 Thomas Vander Stichele <thomas at apestaart dot org>
19073 * docs/faq/using.xml:
19074 * docs/libs/tmpl/gstcontrol.sgml:
19075 * docs/manual/advanced-dparams.xml:
19076 * docs/manual/appendix-checklist.xml:
19077 * docs/manual/basics-elements.xml:
19078 * docs/pwg/other-source.xml:
19079 * docs/random/moving-plugins:
19081 * tools/gst-launch.1.in:
19082 remove mentions of sinesrc
19084 2005-11-23 Michael Smith <msmith@fluendo.com>
19086 * docs/gst/gstreamer-sections.txt:
19087 Update for new API and API changes.
19089 Documentation fix: GST_TRYLOCK -> GST_OBJECT_TRYLOCK
19091 Documentation typo fix.
19092 * gst/net/gstnettimepacket.c:
19093 Documentation fixes for arguments.
19095 2005-11-23 Jan Schmidt <thaytan@mad.scientist.com>
19097 * gst/gststructure.c: (gst_structure_get_fraction),
19098 (gst_structure_parse_value),
19099 (gst_structure_fixate_field_nearest_fraction):
19100 * gst/gststructure.h:
19101 * gst/gstutils.c: (gst_util_uint64_scale_int):
19103 * scripts/update-funcnames:
19105 Rename gst_util_clock_time_scale to gst_util_uint64_scale_int
19106 Make gst_structure_fixate_field_nearest_fraction take a numerator
19107 and denominator argument instead of a GValue
19108 add gst_structure_get_fraction helper function.
19110 2005-11-23 Wim Taymans <wim@fluendo.com>
19112 * docs/design/part-TODO.txt:
19115 * gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
19116 * gst/net/gstnetclientclock.h:
19117 Use parent fields for timeout and window_size.
19119 2005-11-23 Andy Wingo <wingo@pobox.com>
19121 * check/net/gstnetclientclock.c (test_functioning): Adjust to
19122 rate_num/rate_denom change.
19124 * gst/net/gstnetclientclock.c
19125 (gst_net_client_clock_observe_times): Take the SLAVE_LOCK not the
19126 OBJECT_LOCK. Don't call add_observation with the lock.
19128 * gst/gstclock.c (gst_clock_init): Initialize the rate as a
19130 (gst_clock_adjust_unlocked): Adjust using uint64_scale and the
19132 (gst_clock_set_calibration, gst_clock_get_calibration): Change to
19133 deal with rate as a fraction whose numerator and denominator are
19134 GstClockTime values.
19135 (gst_clock_set_master): Only use the OBJECT_LOCK to set the
19136 master; the other fields are protected by the SLAVE_LOCK.
19137 (do_linear_regression): Note that this must be called with the
19139 (gst_clock_add_observation): Take the SLAVE_LOCK, not the
19140 OBJECT_LOCK. Call set_calibration instead of touching the
19141 variables directly.
19142 (gst_clock_set_property, gst_clock_get_property): Protect
19143 master/slave parameters with the SLAVE_LOCK.
19145 * gst/gstclock.h (GstClock): Remove rate, add rate_numerator and
19146 rate_denominator. PR3C1S3. Add a new lock, the SLAVE_LOCK, and
19147 note that all of the instance variables that add_observation and
19148 the set_master functions use are protected by that lock and not
19150 (GST_CLOCK_SLAVE_LOCK, GST_CLOCK_SLAVE_UNLOCK): New macros.
19152 * gst/gstclock.c (gst_clock_add_observation): No longer requires
19153 the caller to take the object lock.
19155 2005-11-23 Wim Taymans <wim@fluendo.com>
19157 * gst/gsterror.c: (_gst_core_errors_init):
19159 Add error for clock stuff.
19161 * gst/gstpipeline.c: (gst_pipeline_change_state),
19162 (gst_pipeline_set_clock):
19163 Post clock error when clock cannot be used in a pipeline.
19165 2005-11-23 Stefan Kost <ensonic@users.sf.net>
19167 * docs/gst/gstreamer-sections.txt:
19168 make two symbols from gstinfo private for the docs
19169 * gst/base/gstcollectpads.h:
19171 fix doc typos, update docs
19173 2005-11-22 Wim Taymans <wim@fluendo.com>
19175 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
19176 (gst_base_sink_wait), (gst_base_sink_do_sync),
19177 (gst_base_sink_handle_event):
19178 * gst/base/gstbasesink.h:
19179 No need to store the clock, the parent element class already
19182 * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_add_func):
19183 Updates for clock_set returning a gboolean
19185 * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_wait),
19186 (gst_clock_id_wait_async), (gst_clock_class_init),
19187 (gst_clock_init), (gst_clock_finalize),
19188 (gst_clock_get_internal_time), (gst_clock_get_time),
19189 (gst_clock_slave_callback), (gst_clock_set_master),
19190 (gst_clock_get_master), (do_linear_regression),
19191 (gst_clock_add_observation), (gst_clock_set_property),
19192 (gst_clock_get_property):
19194 Implement master/slave. When setting a clock as a slave, a
19195 periodic timeout is scheduled to sample master and slave times.
19196 Then the slave clock is recalibrated to match offset and rate
19197 of the master clock.
19198 Update logging a bit.
19199 Add flag so that a clock can state that is cannot be slaved to
19202 * gst/gstelement.c: (gst_element_set_clock):
19203 * gst/gstelement.h:
19204 The set clock returns a gboolean for when an element cannot
19205 deal with the selected clock in the pipeline.
19207 * gst/gstpipeline.c: (gst_pipeline_change_state),
19208 (gst_pipeline_set_clock):
19209 * gst/gstpipeline.h:
19210 Handle the case where the selected clock cannot be set on
19213 * gst/net/gstnetclientclock.c: (gst_net_client_clock_class_init),
19214 (gst_net_client_clock_init), (gst_net_client_clock_finalize),
19215 (gst_net_client_clock_set_property),
19216 (gst_net_client_clock_get_property),
19217 (gst_net_client_clock_observe_times):
19218 * gst/net/gstnetclientclock.h:
19219 Use regression code in GstClock parent, remove duplicated
19222 2005-11-22 Michael Smith <msmith@fluendo.com>
19224 * gst/gstutils.c: (gst_util_clock_time_scale):
19226 * docs/gst/gstreamer-sections.txt:
19227 Rename method to have extra underscore.
19229 2005-11-22 Thomas Vander Stichele <thomas at apestaart dot org>
19231 * gst/elements/Makefile.am:
19232 * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type):
19233 * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
19234 (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
19235 (gst_fake_src_init), (gst_fake_src_prepare_buffer),
19236 (gst_fake_src_alloc_buffer), (gst_fake_src_get_size):
19237 * gst/elements/gstfakesrc.h:
19238 * gst/gstqueue.c: (queue_leaky_get_type):
19239 correctly fix GEnumValues so that nick is the short lowercase
19241 * tools/gst-inspect.c: (print_element_properties_info):
19242 also show the nick, since it's useful to use from parse_launch
19246 2005-11-22 Michael Smith <msmith@fluendo.com>
19248 * gst/gstutils.c: (gst_util_clocktime_scale):
19250 * docs/gst/gstreamer-sections.txt:
19251 Add util method for scaling a clocktime by a fraction. Useful
19252 implementation is left as an exercise for the reader.
19254 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
19256 * gst/gstvalue.c: (gst_value_collect_fraction_range):
19257 If needed, allocate storage in the destination value during
19260 2005-11-22 Edward Hervey <edward@fluendo.com>
19262 * docs/gst/gstreamer-sections.txt:
19265 * gst/gsturitype.c:
19266 * gst/gsturitype.h:
19267 * gst/gstutils.c: (gst_util_set_object_arg):
19268 * tools/gst-compprep.c: (main):
19269 * tools/gst-inspect.c: (print_element_properties_info):
19270 Removed GstURI, closes bug #321061
19272 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
19274 * check/gst/gststructure.c: (GST_START_TEST):
19275 * gst/gststructure.c: (gst_structure_parse_value):
19276 Oops, broke automatic string type parsing.
19277 Add a test to catch it in future.
19279 2005-11-22 Andy Wingo <wingo@pobox.com>
19281 * gst/gsttagsetter.c (gst_tag_setter_get_tag_merge_mode)
19282 (gst_tag_setter_set_tag_merge_mode, gst_tag_setter_get_tag_list):
19283 Actually rename the function implementations. Grr.
19285 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
19287 * check/gst/capslist.h:
19289 * check/gst/gststructure.c: (GST_START_TEST),
19290 (gst_structure_suite):
19291 Test automatic value type detection in gst_structure_from_string.
19292 * gst/gststructure.c: (gst_structure_parse_value):
19293 Add fraction as a type we try and guess automatically in
19294 caps/structure strings.
19296 2005-11-22 Andy Wingo <wingo@pobox.com>
19298 patch by: Torsten Schoenfeld <kaffeetisch gmx de>
19300 * gst/gsttagsetter.h:
19301 * gst/gsttagsetter.c: (gst_tag_setter_merge_tags)
19302 (gst_tag_setter_add_tags, gst_tag_setter_add_tag_values)
19303 (gst_tag_setter_add_tag_valist)
19304 (gst_tag_setter_add_tag_valist_values): Renamed from _merge, _add,
19305 _add_values, _add_valist, and _add_valist_values. Since this is an
19306 interface the function suffixes should be more explicit so
19307 language binding don't end up with element.add_valist ->
19308 gst_tag_setter_add_valist, for example. Fixes #322069.
19310 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
19312 * check/gst/gstcaps.c: (GST_START_TEST):
19313 Extend caps string tests to check that a caps to string
19314 conversion is reversible and produces the same caps.
19316 * gst/gststructure.c: (gst_structure_value_get_generic_type):
19317 Output "fraction" as the generic type fraction range, so caps
19318 serialisation and deserialisation works.
19319 * check/gst/capslist.h:
19320 * gst/gstvalue.c: (gst_value_deserialize_fraction):
19321 Support 'MIN' and 'MAX' for deserialising fractions.
19323 2005-11-22 Andy Wingo <wingo@pobox.com>
19325 * gst/gstevent.h (gst_event_new_new_segment)
19326 (gst_event_parse_new_segment, gst_event_new_buffer_size)
19327 (gst_event_parse_buffer_size, gst_ghost_pad_new_no_target):
19328 Renamed from *_newsegment, *_buffersize, *_notarget.
19330 * scripts/update-funcnames: New script, performs the changes
19333 2005-11-22 Wim Taymans <wim@fluendo.com>
19335 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
19336 Make sure the GstFlowReturn is returned.
19338 * gst/gstbus.c: (gst_bus_add_signal_watch_full),
19339 (gst_bus_add_signal_watch):
19341 add gst_bus_add_signal_watch_full.
19343 * gst/gstplugin.c: (gst_plugin_load_file):
19344 Small style cleanup.
19346 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
19348 * check/gst/gstevent.c: (test_event), (GST_START_TEST):
19349 Block the fakesrc srcpad when we send an event, to avoid
19350 contention on the stream_lock causing random test failures.
19352 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
19354 * check/gst/gstvalue.c: (GST_START_TEST):
19355 * gst/gstvalue.c: (gst_value_fraction_subtract):
19358 2005-11-22 Stefan Kost <ensonic@users.sf.net>
19361 include "gstchildproxy.h"
19362 * gst/gstchildproxy.h:
19363 * libs/gst/controller/gstcontroller.h:
19364 use G_GNUC_NULL_TERMINATED
19366 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
19368 * check/gst/capslist.h:
19369 * check/gst/gstcaps.c: (GST_START_TEST):
19370 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
19371 * gst/gststructure.c: (gst_structure_parse_range),
19372 (gst_structure_fixate_field_nearest_fraction):
19373 * gst/gststructure.h:
19374 * gst/gstvalue.c: (gst_value_init_fraction_range),
19375 (gst_value_free_fraction_range), (gst_value_copy_fraction_range),
19376 (gst_value_collect_fraction_range),
19377 (gst_value_lcopy_fraction_range), (gst_value_set_fraction_range),
19378 (gst_value_set_fraction_range_full),
19379 (gst_value_get_fraction_range_min),
19380 (gst_value_get_fraction_range_max),
19381 (gst_value_serialize_fraction_range),
19382 (gst_value_transform_fraction_range_string),
19383 (gst_value_compare_fraction_range),
19384 (gst_value_deserialize_fraction_range),
19385 (gst_value_intersect_fraction_fraction_range),
19386 (gst_value_intersect_fraction_range_fraction_range),
19387 (gst_value_subtract_fraction_fraction_range),
19388 (gst_value_subtract_fraction_range_fraction),
19389 (gst_value_subtract_fraction_range_fraction_range),
19390 (gst_value_collect_fraction), (gst_value_fraction_multiply),
19391 (gst_value_fraction_subtract), (gst_value_deserialize_fraction),
19392 (gst_value_transform_string_fraction), (_gst_value_initialize):
19394 Implement fraction ranges and extend GstFraction to support
19395 arithmetic subtraction, as well as deserialization from integer
19396 strings such as "100"
19397 Add a testsuite as for int and double range set operations
19399 2005-11-21 Andy Wingo <wingo@pobox.com>
19401 * gst/gsttaglist.h:
19403 * gst/gststructure.h: Add glib-compat.h.
19405 2005-11-21 Wim Taymans <wim@fluendo.com>
19407 * gst/gstbin.c: (gst_bin_change_state_func):
19410 2005-11-21 Wim Taymans <wim@fluendo.com>
19412 * gst/gstsegment.h:
19413 And add a nice define too.
19415 2005-11-21 Wim Taymans <wim@fluendo.com>
19417 * gst/gstsegment.c: (gst_segment_copy), (gst_segment_get_type),
19418 (gst_segment_new), (gst_segment_free), (gst_segment_init),
19419 (gst_segment_set_duration), (gst_segment_set_last_stop),
19420 (gst_segment_set_seek), (gst_segment_set_newsegment),
19421 (gst_segment_to_stream_time), (gst_segment_to_running_time),
19422 (gst_segment_clip):
19423 * gst/gstsegment.h:
19424 Make binding friendly.
19426 2005-11-21 Andy Wingo <wingo@pobox.com>
19428 * gst/gsttagsetter.h:
19429 * gst/gsttaglist.h:
19430 * gst/gststructure.h:
19432 * gst/gstutils.h: Sprinkle NULL_TERMINATED to taste. Fixes
19435 * gst/gsterror.c (_gst_core_errors_init):
19436 * gst/gsterror.h (GST_CORE_ERROR_MISSING_PLUGIN): New error
19439 * gst/Makefile.am (gst_headers): Add glib-compat.h.
19440 (noinst_HEADERS): noinst the -private.
19442 2005-11-21 Michael Smith <msmith@fluendo.com>
19445 * gst/gstregistry.h:
19446 Remove unimplemented declarations for which we can see no sensible
19449 2005-11-21 Andy Wingo <wingo@pobox.com>
19451 * gst/gst.h: Include glib-compat.h.
19453 * gst/glib-compat.h: Add G_GNUC_NULL_TERMINATED.
19455 * gst/glib-compat.c: Include the public and the private header.
19457 * gst/glib-compat-private.h: Copied here from glib-compat.h.
19461 * gst/gstregistryxml.c: s/glib-compat/glib-compat-private/.
19463 * check/gst/gstevent.c (create_custom_events): Check that
19464 FLUSH_STOP is serialized.
19466 * check/elements/identity.c (event_func):
19467 * check/elements/fakesrc.c (event_func): No stream lock, the core
19470 * gst/base/gstbasetransform.c (gst_base_transform_event): No more
19471 stream lock taking, yay.
19473 * gst/gstevent.h (GST_EVENT_FLUSH_STOP): Marked as serialized to
19474 ensure that core takes the stream lock.
19476 * gst/base/gstbasesrc.c (gst_base_src_do_seek): Update for stream
19479 * gst/base/gstbasesink.c (gst_base_sink_event): No need to take
19480 the stream lock for EOS, NEWSEGMENT, or FLUSH_STOP, the core does
19481 it already. For the flush start we do take it though so we get the
19482 right preroll state change messages.
19484 * gst/gstqueue.c (gst_queue_sink_activate_push): No need to take
19485 the stream lock here, the core does it for us.
19487 * gst/gstpad.h (GST_PAD_GET_STREAM_LOCK): Renamed from
19488 GST_STREAM_GET_LOCK.
19489 (GST_PAD_STREAM_LOCK, GST_PAD_STREAM_TRYLOCK)
19490 (GST_PAD_STREAM_UNLOCK, GST_PAD_STREAM_UNLOCK_FULL)
19491 (GST_PAD_STREAM_LOCK_FULL): Renamed from GST_STREAM_*.
19492 (GST_PAD_GET_PREROLL_LOCK): Renamed from GST_PREROLL_GET_LOCK.
19493 (GST_PAD_PREROLL_LOCK, GST_PAD_PREROLL_TRYLOCK)
19494 (GST_PAD_PREROLL_UNLOCK): Renamed from GST_PREROLL_*.
19496 * gst/gstpad.c: Update for stream lock name change.
19498 * gst/base/gstbasesink.c: Update for preroll lock name change.
19500 2005-11-21 Wim Taymans <wim@fluendo.com>
19502 * gst/gstclock.c: (gst_clock_init), (gst_clock_set_master),
19503 (gst_clock_get_master):
19505 * gst/gstsystemclock.c: (gst_system_clock_init):
19506 Convert Clock flags to object flags.
19507 Added methods to manage master/slave clocks.
19509 2005-11-21 Wim Taymans <wim@fluendo.com>
19511 * check/gst/gstsegment.c: (GST_START_TEST):
19512 * docs/design/part-TODO.txt:
19513 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
19514 (gst_base_sink_event), (gst_base_sink_do_sync),
19515 (gst_base_sink_activate_pull), (gst_base_sink_get_position),
19516 (gst_base_sink_query), (gst_base_sink_change_state):
19517 * gst/base/gstbasesink.h:
19518 * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
19519 (gst_base_src_default_newsegment),
19520 (gst_base_src_configure_segment), (gst_base_src_do_seek),
19521 (gst_base_src_get_range), (gst_base_src_loop),
19522 (gst_base_src_change_state):
19523 * gst/base/gstbasesrc.h:
19524 * gst/base/gstbasetransform.c:
19525 (gst_base_transform_prepare_output_buf),
19526 (gst_base_transform_event), (gst_base_transform_change_state):
19527 * gst/base/gstbasetransform.h:
19528 * gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
19529 (gst_collect_pads_event):
19530 * gst/base/gstcollectpads.h:
19531 * gst/elements/gstfakesrc.c: (gst_fake_src_init),
19532 (gst_fake_src_create):
19533 * gst/elements/gstfakesrc.h:
19534 * gst/elements/gstidentity.c: (gst_identity_transform_ip):
19535 * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
19536 (gst_segment_set_last_stop), (gst_segment_set_seek),
19537 (gst_segment_set_newsegment), (gst_segment_to_stream_time),
19538 (gst_segment_to_running_time), (gst_segment_clip):
19539 * gst/gstsegment.h:
19540 More segment updates, replace code in plugins with segment
19543 2005-11-21 Jan Schmidt <thaytan@mad.scientist.com>
19545 * gst/elements/gstfdsrc.c: (gst_fdsrc_uri_set_uri):
19546 Don't ignore sscanf results
19548 2005-11-21 Andy Wingo <wingo@pobox.com>
19550 * gst/gstpad.h (GST_IS_PAD_FAST): Removed.
19553 * *.c: Ran scripts/update-macros. Oh yes.
19555 * gst/gstobject.h (GST_OBJECT_GET_LOCK, GST_OBJECT_LOCK)
19556 (GST_OBJECT_TRYLOCK, GST_OBJECT_UNLOCK): Renamed from
19559 * scripts/update-macros: New script. Run it on your files to
19560 change GST_LOCK to GST_OBJECT_LOCK, and the same for UNLOCK as
19563 2005-11-21 Stefan Kost <ensonic@users.sf.net>
19565 * docs/gst/Makefile.am:
19566 * docs/gst/gstreamer-docs.sgml:
19567 * docs/gst/gstreamer-sections.txt:
19568 * docs/gst/gstreamer.types:
19570 more docs fixes, add new api to the docs
19572 2005-11-21 Andy Wingo <wingo@pobox.com>
19574 * gst/gstbin.c (gst_bin_remove_func): Wim claims I can remove this
19575 state_broadcast call.
19577 * gst/gstsegment.c (gst_segment_init): Initialize abs_rate.
19579 2005-11-21 Julien MOUTTE <julien@moutte.net>
19581 * gst/gstvalue.c: (gst_value_intersect_array): Fix wrong
19582 function calls for arrays.
19584 2005-11-21 Stefan Kost <ensonic@users.sf.net>
19586 * docs/random/ensonic/media-device-daemon.txt:
19587 wild idea, can this be done?
19588 * docs/gst/gstreamer-sections.txt:
19593 * gst/gstpluginfeature.c:
19597 doc fixes and additions
19599 2005-11-21 Andy Wingo <wingo@pobox.com>
19601 * gst/base/gstbasesrc.c (GST_LIVE_BROADCAST, GST_LIVE_SIGNAL)
19602 (GST_LIVE_TIMED_WAIT, GST_LIVE_WAIT, GST_LIVE_GET_COND)
19603 (GST_LIVE_UNLOCK, GST_LIVE_TRYLOCK, GST_LIVE_LOCK)
19604 (GST_LIVE_GET_LOCK): Moved here from gstbasesrc.h. They are
19605 private to the basesrc implementation.
19607 * gst/gstpad.c (gst_pad_send_event): Doc more. Take stream lock on
19608 behalf of event function if necessary. It should no longer be
19609 necessary to take the stream lock in pad's event functions. Fixes
19612 2005-11-21 Jan Schmidt <thaytan@mad.scientist.com>
19613 * docs/gst/gstreamer-sections.txt:
19614 * gst/gststructure.c: (gst_structure_fixate_field_nearest_int),
19615 (gst_structure_fixate_field_nearest_double),
19616 (gst_structure_fixate_field_boolean):
19617 * gst/gststructure.h:
19618 * win32/common/libgstreamer.def:
19619 * win32/gstreamer.def:
19621 Rename gst_caps_structure_fixate_* to gst_structure_fixate_*
19624 2005-11-21 Jan Schmidt <thaytan@mad.scientist.com>
19626 * gst/elements/gstfdsrc.c: (_do_init), (gst_fdsrc_class_init),
19627 (gst_fdsrc_init), (gst_fdsrc_dispose), (gst_fdsrc_set_property),
19628 (gst_fdsrc_uri_get_type), (gst_fdsrc_uri_get_protocols),
19629 (gst_fdsrc_uri_get_uri), (gst_fdsrc_uri_set_uri),
19630 (gst_fdsrc_uri_handler_init):
19631 * gst/elements/gstfdsrc.h:
19632 Port fd:// URI handler from 0.8 to fdsrc
19634 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
19636 * gst/gstvalue.c: (gst_value_transform_fourcc_string),
19637 (gst_value_serialize_fourcc):
19639 Drop leading '%' from GST_FOURCC_FORMAT, thus making it
19640 consistent with our other format defines (#320324).
19642 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
19644 * gst/gstvalue.c: (gst_value_is_fixed):
19645 Revert previous commit. Value lists are by definition
19646 not fixed, as they are a list of possible values.
19648 2005-11-21 Andy Wingo <wingo@pobox.com>
19650 * gst/gstevent.h (GST_EVENT_FILLER): Removed. Can be added back
19651 during the stable series if we need it. Fixes #319178.
19653 * gst/gstevent.c (gst_event_new_filler): Removed.
19655 * check/gst/gstevent.c: Update comment about filler events.
19657 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
19659 * gst/gstvalue.c: (gst_value_is_fixed):
19660 Should handle both value arrays and value lists.
19662 2005-11-21 Andy Wingo <wingo@pobox.com>
19664 patch by: Alessandro Dessina <alessandro nnva org>
19666 * gst/gstvalue.c (gst_value_is_fixed): Use gst_value_array
19667 functions to access arrays. Fixes #321962.
19669 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
19671 * docs/gst/gstreamer.types:
19672 gst_collectpads_get_type => gst_collect_pads_get_type.
19674 * gst/base/gstbasetransform.c:
19675 Remove unused SIGNAL_HANDOFF enum.
19677 2005-11-21 Andy Wingo <wingo@pobox.com>
19679 * gst/gstevent.h (GstEventTypeFlags): New data type, the flags of
19680 the event type (upstream, downstream, serialized). Renamed
19681 GST_EVDIR_* and GST_EVSER to GST_EVENT_TYPE_*.
19682 (GstEventType): Use GstEventTypeFlags. Rename CUSTOM_UP to
19683 CUSTOM_UPSTREAM, CUSTOM_DS to CUSTOM_DOWNSTREAM, etc.
19685 * gst/gstevent.c: Update for new CUSTOM event names.
19687 * check/gst/gstevent.c: Update check for new CUSTOM event names.
19690 * gst/gstevent.c (gst_event_type_get_flags): New function. Fixes
19693 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
19695 * docs/gst/gstreamer-sections.txt:
19696 * win32/common/libgstbase.def:
19697 * win32/libgstbase.def:
19698 * gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
19699 (gst_collect_pads_class_init), (gst_collect_pads_init),
19700 (gst_collect_pads_finalize), (gst_collect_pads_new),
19701 (gst_collect_pads_set_function), (gst_collect_pads_add_pad),
19702 (gst_collect_pads_remove_pad), (gst_collect_pads_is_active),
19703 (gst_collect_pads_collect), (gst_collect_pads_collect_range),
19704 (gst_collect_pads_start), (gst_collect_pads_stop),
19705 (gst_collect_pads_peek), (gst_collect_pads_pop),
19706 (gst_collect_pads_available), (gst_collect_pads_read),
19707 (gst_collect_pads_flush), (gst_collect_pads_event),
19708 (gst_collect_pads_chain):
19709 * gst/base/gstcollectpads.h:
19710 Rename gst_collecpads_foo() => gst_collect_pads_foo(). Document
19711 unimplemented functions as unimplemented. Add padding to
19712 GstCollectData. (#320766, #320423)
19714 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
19716 * gst/gstmessage.c:
19717 Improve docs for DURATION message (usage of duration parameter)
19720 2005-11-20 Wim Taymans <wim@fluendo.com>
19722 * check/Makefile.am:
19723 * check/gst/gstsegment.c: (GST_START_TEST), (gstevents_suite),
19727 * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
19728 (gst_segment_set_seek), (gst_segment_set_newsegment),
19729 (gst_segment_to_stream_time), (gst_segment_to_running_time),
19730 (gst_segment_clip):
19731 * gst/gstsegment.h:
19732 Added segment helper structure and methods. Not fully implemented
19734 Added segment check.
19736 2005-11-20 Jan Schmidt <thaytan@mad.scientist.com>
19738 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
19739 Add a deserialisation test for fractions
19740 * examples/metadata/read-metadata.c: (message_loop),
19741 (make_pipeline), (main):
19742 Fix up metadata reading sample.
19743 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
19745 * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
19746 Don't try and fixate empty caps
19747 * gst/gst_private.h:
19748 Wrap in G_BEGIN_DECLS/G_END_DECLS
19749 * gst/gstvalue.c: (gst_value_collect_fraction),
19750 (gst_value_set_fraction), (gst_value_get_fraction_denominator),
19751 (gst_value_transform_string_fraction),
19752 (gst_value_compare_fraction):
19753 Add some extra guards to ensure that we don't end up
19754 with an invalid denominator of 0 in a gstfraction and
19755 that fractions always get reduced.
19757 2005-11-20 Wim Taymans <wim@fluendo.com>
19759 * docs/gst/gstreamer-sections.txt:
19761 * gst/gstelement.c:
19770 2005-11-20 Wim Taymans <wim@fluendo.com>
19772 * docs/design/part-TODO.txt:
19774 Make a proper enum of the flag.
19776 2005-11-19 Wim Taymans <wim@fluendo.com>
19778 * docs/design/part-TODO.txt:
19779 * gst/gstformat.c: (_gst_format_initialize), (gst_format_get_name),
19780 (gst_format_to_quark), (gst_format_register):
19782 * gst/gstquery.c: (_gst_query_initialize),
19783 (gst_query_type_get_name), (gst_query_type_to_quark),
19784 (gst_query_type_register):
19786 Add type to quark and type to string conversions.
19788 2005-11-19 Andy Wingo <wingo@pobox.com>
19790 * gst/gstbuffer.h (GST_BUFFER_FLAG_ORIGINAL): Removed. Fixes
19793 2005-11-19 Wim Taymans <wim@fluendo.com>
19795 * docs/design/part-TODO.txt:
19796 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
19797 (gst_bin_add_func), (gst_bin_remove_func), (bin_bus_handler),
19798 (gst_bin_handle_message_func):
19800 Make message handling overridable.
19802 2005-11-19 Andy Wingo <wingo@pobox.com>
19804 * gst/gstpad.h (GST_PAD_IS_USABLE): Removed. Fixes #321235.
19807 * gst/gstclock.c (GstClock, GstClockClass): Change resolution to
19809 (gst_clock_set_resolution, gst_clock_get_resolution): Resolution
19810 is a GstClockTime. Fixes #321710.
19812 * gst/gstclock.h (GstClock): Remove offset property. Add
19813 internal_calibration and external_calibration. Fix padding. Pad
19814 also by GstClockTime so we don't run into problems.
19816 * gst/gstclock.c (gst_clock_set_rate_offset): Remove.
19817 (gst_clock_get_rate_offset): Remove.
19818 (gst_clock_set_time_adjust): Remove. Fixes #321712.
19821 * gst/gstutils.c (g_static_rec_cond_wait)
19822 (g_static_rec_cond_timed_wait): Removed, no longer needed.
19824 * gst/gstbin.c: Remove terrible continue_state prototype.
19826 * gst/gstelement.h (gst_element_continue_state): Make public.
19828 * gst/gstelement.h:
19829 * gst/gstelement.c (gst_element_commit_state): Removed, replaced
19830 by continue_state. Fixes #319389.
19832 * gst/gstindex.h (GstIndexFilter): Actually pass on the user_data.
19833 Really fixes #168438. However I don't see anywhere where the
19834 filter function is called... stupid GStreamer...
19836 * gst/gstindex.h (GstIndex): Add field for user_data_destroy. We
19837 don't have a dispose function, so it won't get called when the
19838 object is unreffed, but oh well!
19840 * gst/gstindex.c (gst_index_set_filter_full): New API function,
19841 allows a destroy function to be set so user_data can be freed.
19843 (gst_index_set_filter): Call gst_index_set_filter_full.
19845 * check/gst/gstvalue.c (test_string): Add test for bug #165650.
19847 * gst/gstvalue.c (gst_string_wrap): Trying to serialize a NULL
19848 string should produce an error, given the lack of a way to
19849 represent NULL strings. Fixes #165650.
19852 * gst/gstvalue.c (gst_value_array_append_value)
19853 (gst_value_array_prepend_value, gst_value_array_get_size)
19854 (gst_value_array_get_value): New API, copied from
19855 gst_value_list_*, only operates on arrays.
19856 (gst_value_list_append_value, gst_value_list_prepend_value)
19857 (gst_value_list_concat, gst_value_list_get_size)
19858 (gst_value_list_get_value): Only operate on lists. Fixes #156633.
19860 * gst/gstvalue.c (gst_value_init_list_or_array): Renamed from
19861 init_list, because it works on both.
19862 (copy_garray_of_gstvalue): Renamed from gst_value_list_copy_array.
19863 (gst_value_copy_list_or_array): Renamed from copy_list.
19864 (gst_value_free_list_or_array): Renamed from free_list.
19865 (gst_value_collect_list_or_array): Renamed from collect_list.
19866 (gst_value_lcopy_list_or_array): Renamed from lcopy_list.
19867 (gst_value_list_or_array_peek_pointer): Renamed from
19869 (_gst_value_array_value_table, _gst_value_list_value_table):
19870 Update value table functions.
19871 (gst_value_compare_list_or_array): Renamed from compare_list.
19873 * gsttaglist.h: Whoops, foreach function returns void. Also fix
19876 * gst/gsttaglist.c:
19877 * gst/gsttaglist.h (gst_tag_list_foreach): Operates on a const
19878 GstTagList*. Fixes #143472.
19880 * gst/gststructure.h: Clarify what the foreach/map functions can
19881 or can't do to their arguments.
19883 2005-11-18 Wim Taymans <wim@fluendo.com>
19885 * gst/gstclock.c: (gst_clock_set_calibration),
19886 (gst_clock_get_calibration):
19888 Calibration can be set with internal time equal to current
19891 2005-11-18 Thomas Vander Stichele <thomas at apestaart dot org>
19897 2005-11-18 Andy Wingo <wingo@pobox.com>
19900 * pkgconfig/gstreamer-net.pc.in:
19901 * pkgconfig/gstreamer-net-uninstalled.pc.in:
19902 * pkgconfig/Makefile.am: Add net pkgconfig files.
19904 2005-11-18 Stefan Kost <ensonic@users.sf.net>
19907 * gst/gstghostpad.c:
19913 2005-11-18 Andy Wingo <wingo@pobox.com>
19915 * gst/net/gstnetclientclock.c: Turn off debugging.
19917 * check/net/gstnetclientclock.c (test_functioning): Assert that the
19918 times connverge somewhat. Can't make a real test.
19920 * gst/net/gstnetclientclock.c (do_linear_regression): Use all
19921 integer arithmetic. Return the minimum of the domain, which can be
19922 set as "internal" for gst_clock_set_calibration.
19923 (gst_net_client_clock_observe_times): Call _set_calibration.
19924 (gst_net_client_clock_new): Call _set_calibration instead of
19927 * check/net/gstnetclientclock.c (test_functioning): Use the right
19931 * gst/gstclock.c (gst_clock_get_calibration)
19932 (gst_clock_set_calibration): New functions, obsolete the ones I
19933 added yesterday. Doh. Precision issues mean we have to extrapolate
19934 from a point in the more recent past than 1970.
19935 (gst_clock_get_rate_offset, gst_clock_set_rate_offset): Mark as
19937 (gst_clock_adjust_unlocked): Use the right calibration data.
19939 2005-11-18 Edward Hervey <edward@fluendo.com>
19941 * gst/base/gstbasesink.c: (gst_base_sink_change_state):
19942 Also reset the ->current_* values in READY->PAUSED
19944 2005-11-18 Andy Wingo <wingo@pobox.com>
19946 * gst/net/gstnetclientclock.c (gst_net_client_clock_thread):
19947 Whoops, check the right fd. Also add some debugging.
19948 (gst_net_client_clock_observe_times): Adjust for int64 offset.
19949 (do_linear_regression): Add a crapload of debugging. Subtract off
19950 the minimum values from the input series to discard unneeded bits.
19951 Use only int arithmetic. There is still double arithmetic when
19952 calculating the intercept that needs fixing. Return boolean to
19953 indicate success; FALSE would mean the domain or range is too
19954 great. Still needs fixes.
19956 2005-11-18 Wim Taymans <wim@fluendo.com>
19958 * gst/base/gstbasesink.c: (gst_base_sink_get_position):
19959 For the current position in stream time, we need to subtract
19962 * gst/gstsystemclock.c: (gst_system_clock_async_thread):
19963 Release lock before calling the callback function of async
19966 2005-11-18 Andy Wingo <wingo@pobox.com>
19968 * gst/net/gstnetclientclock.c (gst_net_client_clock_class_init):
19969 Port goes all the way to MAXUINT16.
19971 * gst/net/gstnettimeprovider.c: Make the port range the same as
19972 for the kernel: 0 assigns, otherwise ports are less than
19975 * check/net/gstnettimeprovider.c: Adapt for 0 == kernel assigns
19978 * check/net/gstnetclientclock.c (test_functioning): Add the start
19981 2005-11-18 Wim Taymans <wim@fluendo.com>
19983 * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
19984 (gst_bin_remove_func), (bin_bus_handler):
19986 Removing a clock provider from a bin, triggers a clock lost message
19987 so that a new clock will be selected.
19988 Adding a clock to a bin triggers a clock provider message.
19989 Make sure we reselect a clock when we received a clock lost message.
19990 Keep a reference to the element that provided the clock.
19992 2005-11-18 Andy Wingo <wingo@pobox.com>
19994 * gst/net/gstnetclientclock.c (gst_net_client_clock_new): Adjust
19995 the clock initially so it produces values around the base time.
19996 (gst_net_client_clock_class_init): Typo fix.
19997 (gst_net_client_clock_thread): Add note on when the socket gets
20000 2005-11-17 Wim Taymans <wim@fluendo.com>
20002 * gst/net/gstnetclientclock.c: (gst_net_client_clock_finalize):
20003 Free remote and local time arrays.
20005 2005-11-17 Wim Taymans <wim@fluendo.com>
20007 * gst/net/gstnetclientclock.c: (do_linear_regression),
20008 (gst_net_client_clock_do_select), (gst_net_client_clock_thread):
20009 Fix compilation, uninitialized vars and a forgotten continue.
20011 2005-11-17 Andy Wingo <wingo@pobox.com>
20013 * check/Makefile.am (check_PROGRAMS):
20014 * check/net/gstnetclientclock.c: Add a most minimal test for the
20015 net client clock. More to come later.
20017 * gst/net/gstnet.h:
20018 * gst/net/Makefile.am: Add netclientclock.
20020 * gst/net/gstnetclientclock.h:
20021 * gst/net/gstnetclientclock.c: New files, implement an untested
20022 GstClock that takes its time from a network time provider.
20023 Implements the algorithm in network-clock.scm.
20025 * tests/network-clock.scm (*window-size*): Rename from
20027 * tests/network-clock.scm (network-time):
20028 * tests/network-clock-utils.scm (q-push): Update callers.
20030 2005-11-17 Wim Taymans <wim@fluendo.com>
20032 * gst/gstbin.c: (gst_bin_provide_clock_func),
20033 (gst_bin_sort_iterator_new):
20034 And unref the child too..
20036 2005-11-17 Wim Taymans <wim@fluendo.com>
20038 * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
20039 (gst_bin_sort_iterator_new), (gst_bin_iterate_sorted):
20040 Refactor the sort iterator so it can be used while holding the
20042 Make clock selection select a clock closest to the source.
20044 2005-11-17 Michael Smith <msmith@fluendo.com>
20046 * gst/gstclock.c: (gst_clock_init), (gst_clock_adjust_unlocked),
20047 (gst_clock_set_rate_offset), (gst_clock_get_rate_offset):
20049 Anonymous structs are a gcc (and some other compilers) extension, so
20050 don't use them. Since this is only for ABI-compatibility, and our
20051 API/ABI freeze is over in a few days, this whole thing will only
20052 last a few days, so don't bother trying to think up a meaningful
20053 name for the struct.
20055 2005-11-17 Andy Wingo <wingo@pobox.com>
20057 * gst/gstclock.h (GstClock): Add rate and offset properties,
20058 preserving ABI stability. Add rate/offset accessors. Will file bug
20059 for the freeze break.
20061 * gst/gstclock.c (gst_clock_adjust_unlocked): Implement using rate
20062 and offset, trying to keep precision and avoiding
20063 underflow/overflow.
20064 (gst_clock_set_rate_offset, gst_clock_get_rate_offset): New
20065 functions. Make gst_clock_set_time_adjust obsolete.
20066 (gst_clock_set_time_adjust): Note that this function is obsolete.
20067 Will file bug soon.
20069 * gst/base/gstbasetransform.h: Make the ABI-stability hack
20070 greppable by using GST_PADDING-1+1.
20072 2005-11-17 Torsten Schoenfeld <kaffeetisch at gmx dot net>
20074 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
20076 * gst/gstmessage.c: (gst_message_parse_clock_lost):
20077 Assertion should check for CLOCK_LOST, not NEW_CLOCK (#321648).
20079 * gst/gstpadtemplate.h:
20080 * gst/gstpluginfeature.h:
20081 Don't use c++ style comments in headers (#321638).
20083 2005-11-16 Andy Wingo <wingo@pobox.com>
20085 * gst/net/gstnettimepacket.c (gst_net_time_packet_send): Free
20088 * check/net/gstnettimeprovider.c: Check to see that the time
20089 provider actually provides times. Works, yo!
20091 2005-11-16 Wim Taymans <wim@fluendo.com>
20093 * check/Makefile.am:
20096 * check/elements/fakesrc.c: (GST_START_TEST):
20097 Set element to NULL before disposing it.
20099 2005-11-16 Andy Wingo <wingo@pobox.com>
20101 * gst/net/Makefile.am:
20102 * gst/net/gstnet.h:
20103 * gst/net/gstnettimeprovider.c:
20104 * gst/net/gstnettimeprovider.h: Use the timepacket stuff in the
20105 provider, include it from gstnet.h, and add it to the build.
20107 * gst/net/gstnettimepacket.h:
20108 * gst/net/gstnettimepacket.c: New files, abstracts out the packet
20109 sending and receiving.
20111 2005-11-16 Wim Taymans <wim@fluendo.com>
20113 * check/Makefile.am:
20114 Enable valgrind check.
20116 * gst/elements/gstfakesrc.c: (gst_fake_src_alloc_parent),
20117 (gst_fake_src_alloc_buffer):
20120 2005-11-16 Wim Taymans <wim@fluendo.com>
20122 * gst/net/gstnettimeprovider.c: (gst_net_time_provider_finalize):
20123 Call parent finalize too.
20125 2005-11-16 Wim Taymans <wim@fluendo.com>
20127 * check/Makefile.am:
20128 Enable valgrind check that should work fine now.
20130 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
20131 * gst/gstqueue.c: (gst_queue_init):
20132 Fix memleaks in pad allocation.
20134 2005-11-16 Andy Wingo <wingo@pobox.com>
20136 * gst/net/Makefile.am:
20137 * gst/net/gstnet.h: New part of core to hold network elements and
20138 objects. Put in core because it exposes API that applications want
20139 to use. The library is named libgstnet-tempname right now because
20140 of the existing libgstnet in gst-plugins-base. Solution is
20141 probably to rename the one in plugins-base; will file a bug for
20144 * gst/net/gstnettimeprovider.c:
20145 * gst/net/gstnettimeprovider.h: New object to export a GstClock's
20146 get_time call over the network.
20149 * gst/Makefile.am (lib_LTLIBRARIES): Add gstnet to the build.
20151 * check/Makefile.am:
20152 * check/net/gstnettimeprovider.c: A most minimal test suite. Will
20153 get additions shortly.
20155 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
20157 * gst/gstpad.c: (gst_pad_new_from_static_template):
20159 add gst_pad_new_from_static_template functions
20160 * gst/check/gstcheck.c: (gst_check_setup_src_pad),
20161 (gst_check_setup_sink_pad):
20162 * gst/elements/gsttee.c: (gst_tee_init):
20165 2005-11-16 Wim Taymans <wim@fluendo.com>
20167 * gst/gstpad.c: (gst_pad_pause_task):
20168 Removed warning, it's not really an error either.
20170 2005-11-16 Wim Taymans <wim@fluendo.com>
20172 * gst/base/gstbasetransform.c:
20173 (gst_base_transform_prepare_output_buf),
20174 (gst_base_transform_event):
20175 Check if the caps are NULL, this can happen if the element
20176 is shutting down and the pad caps are set to NULL.
20178 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
20180 * gst/elements/gsttee.c: (gst_tee_init):
20181 fix pad template leak in tee
20183 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
20185 * gst/glib-compat.c: (g_value_dup_gst_object):
20186 * gst/glib-compat.h:
20187 * gst/gstpad.c: (gst_pad_set_property):
20188 use gst_object_ref when setting the pad template; this will
20189 trigger the pad template leaks on GLib 2.6 and the slaves
20191 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
20193 * gst/glib-compat.c: (gst_flags_get_first_value):
20194 * gst/glib-compat.h:
20195 * gst/gstregistryxml.c:
20196 remove functions copied from GLib 2.6
20198 2005-11-16 Michael Smith <msmith@fluendo.com>
20201 Don't link against VALGRIND_LIBS. That was always the wrong thing to
20202 do, but only breaks with newer valgrind versions. We're not a
20203 valgrind tool, we have no link-time dependencies on libcoregrind.
20205 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
20207 * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
20209 * gst/gstmessage.h:
20212 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
20214 * gst/base/gstbasesrc.c: (gst_base_src_init):
20215 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
20216 * gst/gstqueue.c: (gst_queue_init):
20217 * gst/gstregistryxml.c: (load_feature):
20218 Revert all these unrefs, they don't even pass make check !
20220 2005-11-15 Johan Dahlin <johan@gnome.org>
20222 * gst/base/gstbasesrc.c: (gst_base_src_init):
20223 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
20224 * gst/gstqueue.c: (gst_queue_init):
20225 Free pad templates, fixes a couple of leaks.
20227 2005-11-15 Daniel Fischer <dan at f3c dot com>
20229 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
20231 * gst/gstpad.c: (gst_pad_get_property):
20232 GST_PAD_PAD_TEMPLATE(pad) gets the pad template, while
20233 GST_PAD_TEMPLATE(pad) does a cast. We want the former here.
20236 2005-11-15 Wim Taymans <wim@fluendo.com>
20241 2005-11-15 Andy Wingo <wingo@pobox.com>
20243 * gst/gstelement.c (gst_element_set_base_time): Add debugging.
20245 * gst/gstpipeline.c (gst_pipeline_set_new_stream_time): Document
20246 using GST_CLOCK_TIME_NONE to disable base time management.
20247 (do_pipeline_seek, gst_pipeline_change_state): Don't reset stream
20248 time if it was NONE before.
20249 (gst_pipeline_change_state): Only munge the base time if
20250 stream_time != GST_CLOCK_TIME_NONE.
20252 * check/gst/gstpipeline.c (test_base_time): Punt around the
20253 problem of the probe not being called, because that's not the
20254 issue I'm looking at. Add a check that setting stream_time to NONE
20255 disables base time management.
20257 2005-11-15 Wim Taymans <wim@fluendo.com>
20259 * gst/base/gstbasesink.c: (gst_base_sink_change_state):
20260 segment_stop == -1 at startup.
20262 * gst/base/gstbasetransform.c: (gst_base_transform_event),
20263 (gst_base_transform_change_state):
20264 Init segment values at start.
20266 2005-11-15 Wim Taymans <wim@fluendo.com>
20268 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
20269 0 segment values are 0 in any format.
20271 * gst/base/gstbasetransform.c: (gst_base_transform_event):
20272 * gst/base/gstbasetransform.h:
20273 Parse newsegment correctly in basetransform
20275 * gst/elements/gstidentity.c: (gst_identity_transform_ip):
20276 Sync to clock using updated segment values.
20278 2005-11-15 Andy Wingo <wingo@pobox.com>
20280 * check/gst/gstpipeline.c (test_base_time): Add check that the
20281 base time and stream time are reset correctly.
20283 2005-11-15 Wim Taymans <wim@fluendo.com>
20285 * docs/design/part-TODO.txt:
20286 Some more TODO items.
20288 2005-11-15 Andy Wingo <wingo@pobox.com>
20290 * gst/elements/gstfakesrc.c (gst_fake_src_create): It's not an
20291 error if the user selected "no clock" as the clocking method.
20293 * check/gst/gstpipeline.c (test_base_time): New test for buffer
20294 timestamps with live capture.
20296 * gst/elements/gstfakesrc.c (gst_fake_src_create): If the datarate
20297 is 0 but we are a live source, timestamp the buffers using the
20300 2005-11-14 Stefan Kost <ensonic@users.sf.net>
20302 * docs/gst/gstreamer-sections.txt:
20304 * gst/gstghostpad.c:
20309 2005-11-14 Wim Taymans <wim@fluendo.com>
20312 add suppressions from Wim's Debian machine
20314 2005-11-14 Thomas Vander Stichele <thomas at apestaart dot org>
20317 add suppressions from Andy's AMD64 Ubuntu machine
20319 2005-11-14 Andy Wingo <wingo@pobox.com>
20321 * gst/gstpad.c (gst_pad_set_active): Change docs; parent's
20322 STATE_LOCK not necessary. Fixes #311489.
20324 * gst/gsterror.c (FILE_A_BUG): Be polite *and* helpful. Fixes
20327 * gst/gstindex.c (gst_index_add_object): Note in the docs that
20328 this function is not implemented.
20330 2005-11-14 Julien MOUTTE <julien@moutte.net>
20332 * gst/base/gstbasetransform.c:
20333 (gst_base_transform_prepare_output_buf):
20334 Ref the source pad caps while we need them.
20337 2005-11-11 Wim Taymans <wim@fluendo.com>
20339 * docs/gst/gstreamer-sections.txt:
20340 Added some docs for GstCollectData.
20342 * gst/base/gstadapter.c:
20343 Some small code example fix.
20345 * gst/base/gstcollectpads.c:
20346 * gst/base/gstcollectpads.h:
20347 Document some more.
20349 2005-11-11 Thomas Vander Stichele <thomas at apestaart dot org>
20351 * configure.ac: back to HEAD
20353 === release 0.9.5 ===
20355 2005-11-11 Thomas Vander Stichele <thomas at apestaart dot org>
20358 releasing 0.9.5, "Bike Lunch Day"
20360 2005-11-11 Wim Taymans <wim@fluendo.com>
20362 * gst/gstbuffer.c: (_gst_buffer_copy):
20365 * gst/gstcaps.c: (gst_caps_is_equal):
20367 Make _is_equal fast in the trivial cases.
20369 * gst/gstminiobject.c:
20370 * gst/gstminiobject.h:
20371 More docs. Spifify .h file.
20376 2005-11-11 Wim Taymans <wim@fluendo.com>
20378 * gst/base/gstbasetransform.c:
20379 (gst_base_transform_prepare_output_buf),
20380 (gst_base_transform_handle_buffer):
20382 If we're processing a buffer and need to allocate an output
20383 buffer, we cannot accept a format change. If we did get a
20384 format change, we have to alloc a buffer ourselves of the
20387 2005-11-11 Wim Taymans <wim@fluendo.com>
20389 * gst/gstpad.c: (gst_pad_get_caps), (gst_pad_peer_get_caps):
20390 While checking the flag for reentrancy in the gstcaps function
20391 is nice to detect recursive invocations, it also makes it
20392 impossible to call getcaps from multiple threads, which must be
20393 possible. So, checking for recursive calls has to go.
20395 2005-11-11 Michael Smith <msmith@fluendo.com>
20397 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
20398 Don't sync on buffers that fall partially outside our current
20399 segment. Prevents an assertion failure/abort playing some files.
20401 2005-11-10 Andy Wingo <wingo@pobox.com>
20403 * check/gst/gstbin.c (test_message_state_changed_children): Style
20406 * gst/gstbus.c (poll_destroy, poll_func, gst_bus_poll): Implement
20407 gst_bus_poll with the signal watch. Ensures that poll and a signal
20408 watch see the same messages.
20410 * check/gst/gstbus.c (test_watch_with_poll): New test, checks that
20411 a poll and a watch at the same time get the same messages.
20413 2005-11-10 Thomas Vander Stichele <thomas at apestaart dot org>
20415 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps):
20416 * gst/gstcaps.c: (gst_caps_intersect):
20417 Don't call gst_caps_do_simplify - it doesn't respect order of caps
20418 and it's not needed.
20420 2005-11-10 Wim Taymans <wim@fluendo.com>
20422 * docs/design/part-TODO.txt:
20425 2005-11-10 Wim Taymans <wim@fluendo.com>
20427 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
20428 * gst/base/gstbasesrc.c: (gst_base_src_wait),
20429 (gst_base_src_do_sync), (gst_base_src_get_range):
20430 Implement clock sync in base class.
20432 2005-11-10 Thomas Vander Stichele <thomas at apestaart dot org>
20434 patch by: Tim-Philipp Müller <tim at centricular dot net>
20436 * gst/gststructure.c: (gst_structure_parse_field),
20437 (gst_structure_from_string):
20438 Forward-port a 0.8 patch to handle escaped spaces in structure string,
20439 so that gst_parse_launch() can deal with spaces in filtered link
20440 caps (fixes #164479)
20441 * check/gst/capslist.h:
20442 * check/gst/gststructure.c: (GST_START_TEST):
20443 add unit tests for this change
20445 2005-11-10 Wim Taymans <wim@fluendo.com>
20447 * docs/gst/gstreamer-sections.txt:
20448 * gst/gstelement.c:
20449 * gst/gstelement.h:
20450 Fix docs, move some STATE macros to private.
20452 2005-11-10 Wim Taymans <wim@fluendo.com>
20454 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
20455 Added check for bug #317341
20459 Some more spiffifying.
20461 * gst/gstghostpad.c: (gst_ghost_pad_do_link):
20462 Call peer linkfunction if we are a source pad. Totally fixes
20466 Update docs, source pads should call the peer linkfunction
20467 so they can atomically perform the pad link.
20469 2005-11-09 Wim Taymans <wim@fluendo.com>
20473 Uber-spiffy-spiffify some more.
20475 2005-11-09 Tim-Philipp Müller <tim at centricular dot net>
20477 * gst/base/gstcollectpads.c: (gst_collectpads_add_pad):
20478 * gst/elements/gstfilesink.c: (gst_file_sink_init):
20479 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
20480 * gst/gstghostpad.c: (gst_ghost_pad_set_internal),
20481 (gst_ghost_pad_init), (gst_ghost_pad_new_notarget):
20482 * gst/gstpad.c: (gst_pad_init):
20483 Use GST_DEBUG_FUNCPTR() more extensively.
20485 2005-11-09 Wim Taymans <wim@fluendo.com>
20487 * gst/gstobject.c: (gst_object_class_init):
20489 Documentation fixes.
20491 2005-11-09 Edward Hervey <edward@fluendo.com>
20493 * gst/gsttypefindfactory.c:
20496 2005-11-09 Edward Hervey <edward@fluendo.com>
20498 * gst/base/gsttypefindhelper.c:
20499 * gst/gsttypefind.c:
20500 * gst/gsttypefind.h:
20503 2005-11-09 Wim Taymans <wim@fluendo.com>
20505 * gst/gstiterator.c:
20512 2005-11-09 Wim Taymans <wim@fluendo.com>
20518 2005-11-09 Wim Taymans <wim@fluendo.com>
20520 * docs/gst/gstreamer-sections.txt:
20521 Moved the message async delivery private lock and cond
20522 to the private section.
20524 * gst/gstmessage.c:
20525 * gst/gstmessage.h:
20528 2005-11-09 Edward Hervey <edward@fluendo.com>
20530 * docs/gst/gstreamer-sections.txt:
20533 Document GstURIHandler
20535 2005-11-09 Wim Taymans <wim@fluendo.com>
20537 * gst/gstiterator.c: (gst_iterator_fold), (gst_iterator_foreach),
20538 (gst_iterator_find_custom):
20539 * gst/gstiterator.h:
20542 2005-11-09 Wim Taymans <wim@fluendo.com>
20545 Document another field.
20547 * gst/gststructure.c:
20548 * gst/gststructure.h:
20551 2005-11-09 Wim Taymans <wim@fluendo.com>
20554 Documented structs.
20556 2005-11-09 Wim Taymans <wim@fluendo.com>
20558 * docs/gst/gstreamer-sections.txt:
20559 Added some new macros.
20566 2005-11-09 Wim Taymans <wim@fluendo.com>
20568 * docs/design/part-TODO.txt:
20569 Some more items for the TODO
20575 2005-11-09 Andy Wingo <wingo@pobox.com>
20577 * gst/base/gstbasesink.c: Add the beginning of docs here -- have
20578 to work on something else now tho...
20580 * gst/base/gstadapter.c: More adapter docs.
20582 * gst/elements/gstfilesink.c (gst_file_sink_start)
20583 (gst_file_sink_stop): New functions, replace the state change
20585 (gst_file_sink_class_init): Hook up the start and stop functions.
20586 (gst_file_sink_base_init): Don't set the state change handler any
20587 more. It was a bit ugly too, being set from here...
20588 (gst_file_sink_get_property, gst_file_sink_set_property):
20590 (gst_file_sink_set_location): More robust check that doesn't call
20591 GST_STATE. Ugggggg.
20593 2005-11-08 Tim-Philipp Müller <tim at centricular dot net>
20595 * gst/base/gstbasetransform.c: (gst_base_transform_event):
20596 Hold STREAM_LOCK while pushing newsegment or tag events as well.
20598 2005-11-08 Wim Taymans <wim@fluendo.com>
20600 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
20601 (gst_base_sink_do_sync), (gst_base_sink_handle_event),
20602 (gst_base_sink_chain), (gst_base_sink_change_state):
20603 * gst/base/gstbasesink.h:
20604 * gst/base/gstbasesrc.h:
20605 * gst/gstelement.h:
20607 Avoid excessive typechecking in macros.
20609 * gst/gstminiobject.c: (gst_mini_object_get_type),
20610 (gst_mini_object_init), (gst_mini_object_new),
20611 (gst_mini_object_free):
20612 * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
20613 (gst_object_finalize):
20614 Remove cruft code, optimize alloc_trace.
20616 2005-11-07 Thomas Vander Stichele <thomas at apestaart dot org>
20618 * docs/faq/gst-uninstalled:
20619 fix up PS1 for systems that try to reset it
20621 2005-11-07 Wim Taymans <wim@fluendo.com>
20623 * gst/base/gstbasesrc.c: (gst_base_src_init),
20624 (gst_base_src_get_range):
20625 Set the segment_end to -1 initially. Fixed typefind.
20627 2005-11-07 Tim-Philipp Müller <tim at centricular dot net>
20629 * gst/base/gstadapter.c:
20630 Debug category should be 'adapter', not 'GstAdapter'.
20632 * gst/base/gstcollectpads.c: (gst_collectpads_base_init),
20633 (gst_collectpads_class_init), (gst_collectpads_init),
20634 (gst_collectpads_peek), (gst_collectpads_pop),
20635 (gst_collectpads_event), (gst_collectpads_chain):
20636 Add debug category and some debugging output. Use boilerplate
20637 macros. Remove some extraneous words from docs.
20639 2005-11-05 Andy Wingo <wingo@pobox.com>
20641 * gst/base/gstpushsrc.c: Shorten by 30% via use of boilerplate
20644 2005-11-04 Stefan Kost <ensonic@users.sf.net>
20646 * docs/gst/gstreamer-sections.txt:
20649 * gst/gstminiobject.h:
20654 2005-11-04 Wim Taymans <wim@fluendo.com>
20656 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
20657 Small update to stop at the configured segment_end
20660 2005-11-04 Stefan Kost <ensonic@users.sf.net>
20662 * gst/gstregistry.c:
20663 * gst/gstregistry.h:
20666 2005-11-04 Edward Hervey <edward@fluendo.com>
20668 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
20669 Check if we are doing a segment seek and have arrived at the
20670 end of that segment.
20672 2005-11-04 Wim Taymans <wim@fluendo.com>
20674 * gst/gstbus.c: (gst_bus_post), (gst_bus_set_sync_handler):
20675 Don't leak a mutex unlock in case of an error.
20680 2005-11-04 Wim Taymans <wim@fluendo.com>
20682 * gst/gstbus.c: (gst_bus_class_init), (gst_bus_init),
20684 Get the context to wake up only once.
20686 2005-11-03 Wim Taymans <wim@fluendo.com>
20688 * check/states/sinks.c: (GST_START_TEST):
20689 Uncomment fixed check.
20691 * docs/design/part-TODO.txt:
20694 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
20695 (gst_base_sink_handle_object), (gst_base_sink_do_sync),
20696 (gst_base_sink_get_position):
20697 If we are going to PLAYING, post the right pending state
20698 when we post the intermediate paused message.
20700 * gst/gstelement.c: (gst_element_continue_state),
20701 (gst_element_set_state_func), (gst_element_change_state):
20702 Don't post state changes that were between the same state
20703 and were not ASYNC.
20705 2005-11-03 Stefan Kost <ensonic@users.sf.net>
20707 * docs/gst/gstreamer-sections.txt:
20710 * gst/gstminiobject.h:
20713 more docs and doc style fixes
20715 2005-11-03 Stefan Kost <ensonic@users.sf.net>
20717 * docs/gst/gstreamer-sections.txt:
20718 * gst/gstelement.c:
20719 * gst/gstminiobject.c:
20722 2005-11-03 Andy Wingo <wingo@pobox.com>
20724 * check/states/sinks.c (test_livesrc_sink): Add checks that the
20725 state-changed messages actually have the right order and the right
20728 2005-11-03 Wim Taymans <wim@fluendo.com>
20730 * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
20731 Added some more checks. Specifically the case where NO_PREROLL
20732 elements are in the pipeline.
20734 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
20735 (gst_base_sink_handle_object), (gst_base_sink_do_sync),
20736 (gst_base_sink_get_position):
20737 Post READY->PAUSED state change messages too.
20738 Fix bug where VOID was posted as pending state...
20740 * gst/gstbin.c: (gst_bin_recalc_state):
20741 use _element_continue_state() to continue the state change.
20743 * gst/gstelement.c: (gst_element_continue_state),
20744 (gst_element_commit_state), (gst_element_set_state_func),
20745 (gst_element_change_state), (gst_element_change_state_func):
20746 Lots of state change cleanups, assign the STATE_RETURN in
20747 a new continue_state() function that also propagates the
20748 last return value from a state change to the app.
20749 Update some debug statements with proper category.
20751 2005-11-03 Wim Taymans <wim@fluendo.com>
20753 * docs/design/part-events.txt:
20754 * docs/design/part-gstpipeline.txt:
20755 * docs/design/part-messages.txt:
20756 * docs/design/part-overview.txt:
20757 * docs/design/part-seeking.txt:
20758 * docs/design/part-states.txt:
20759 * docs/design/part-trickmodes.txt:
20760 * docs/manual/advanced-position.xml:
20761 Small docs updates.
20764 People think !! is ugly, this looks better.
20766 * gst/gstpad.c: (gst_pad_set_blocked_async):
20767 Remove !! since it's fixed elsewhere now.
20769 2005-11-03 Tim-Philipp Müller <tim at centricular dot net>
20771 * gst/gstminiobject.h:
20773 Add !! to _FLAG_IS_SET macros to make the result boolean.
20775 2005-11-03 Edward Hervey <edward@fluendo.com>
20777 * gst/gstpad.c: (gst_pad_set_blocked_async):
20778 comparing a flag and a gboolean rarely returns coherent results...
20779 Added two characters (!!) to make that work correctly.
20781 2005-11-03 Tim-Philipp Müller <tim at centricular dot net>
20783 * gst/gstbus.c: (gst_bus_class_init):
20786 * gst/gstqueue.c: (gst_queue_loop):
20787 Don't assume a miniobject that isn't a buffer is an
20788 event (it could be that there is a refcounting
20789 problem somewhere and the pointer is stale and
20790 refers to an already destroyed miniobject).
20792 2005-11-03 Julien MOUTTE <julien@moutte.net>
20794 * gst/gstpad.c: (gst_pad_alloc_buffer): Fix some typos.
20796 2005-11-03 Tim-Philipp Müller <tim at centricular dot net>
20798 * docs/manual/advanced-position.xml:
20799 Update seek example and explanations to current 0.9 API.
20801 * gst/elements/gsttypefindelement.c:
20802 (gst_type_find_element_activate):
20803 Remove FIXME comment now that the found caps
20806 2005-11-03 Thomas Vander Stichele <thomas at apestaart dot org>
20808 * gst/gstregistryxml.c: (load_feature):
20809 Add another GST_STR_NULL instance
20811 2005-11-02 Edward Hervey <edward@fluendo.com>
20813 * gst/gstpad.c: (handle_pad_block):
20814 Follow-up to Wim's patch, solves deadlock for blocked and flushing pads
20816 2005-11-02 Wim Taymans <wim@fluendo.com>
20821 * gst/gstelement.c: (gst_element_commit_state):
20822 Remove unused value.
20824 * gst/gstiterator.c:
20825 Mention that the returned element is reffed in the docs.
20827 2005-11-02 Wim Taymans <wim@fluendo.com>
20829 * gst/gstpad.c: (gst_pad_alloc_buffer), (handle_pad_block),
20830 (gst_pad_push), (gst_pad_push_event):
20831 Unlock blocked pads when they are flushed.
20833 2005-11-02 Thomas Vander Stichele <thomas at apestaart dot org>
20836 * docs/gst/gstreamer-sections.txt:
20839 * gst/gstregistry.c: (gst_registry_scan_path_level):
20840 fix for a nasty little missed situation where an installed plug-in
20841 which was in the cache did not get overridden by an uninstalled one
20842 which was earlier in the plugin path because the newly created plugin
20843 for the uninstalled one (not in the registry) didn't get its
20844 ->registered set to TRUE
20846 2005-11-02 Tim-Philipp Müller <tim at centricular dot net>
20848 * gst/base/gstcollectpads.c: (gst_collectpads_set_function),
20849 (gst_collectpads_add_pad), (gst_collectpads_remove_pad),
20850 (gst_collectpads_is_active), (gst_collectpads_collect),
20851 (gst_collectpads_collect_range), (gst_collectpads_start),
20852 (gst_collectpads_stop), (gst_collectpads_peek),
20853 (gst_collectpads_pop), (gst_collectpads_available),
20854 (gst_collectpads_read), (gst_collectpads_flush):
20855 Guard public API with assertions.
20858 Fix docs for gst_pad_set_link_function().
20860 2005-11-02 Johan Dahlin <johan@gnome.org>
20862 * gst/elements/gsttypefindelement.c (gst_type_find_element_activate):
20863 Unref found_caps after we used it.
20865 2005-11-02 Tim-Philipp Müller <tim at centricular dot net>
20867 * gst/base/gstcollectpads.c: (gst_collectpads_peek):
20868 Don't try to ref NULL.
20870 2005-11-02 Thomas Vander Stichele <thomas at apestaart dot org>
20872 * win32/common/config.h.in:
20873 provide a GST_FUNCTION that just gives a string for now
20875 2005-11-02 Thomas Vander Stichele <thomas at apestaart dot org>
20877 * win32/common/gstenumtypes.c: (register_gst_object_flags),
20878 (gst_object_flags_get_type), (register_gst_bin_flags),
20879 (gst_bin_flags_get_type), (register_gst_buffer_flag),
20880 (gst_buffer_flag_get_type), (register_gst_bus_flags),
20881 (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
20882 (gst_bus_sync_reply_get_type), (register_gst_clock_return),
20883 (gst_clock_return_get_type), (register_gst_clock_entry_type),
20884 (gst_clock_entry_type_get_type), (register_gst_clock_flags),
20885 (gst_clock_flags_get_type), (register_gst_state),
20886 (gst_state_get_type), (register_gst_state_change_return),
20887 (gst_state_change_return_get_type), (register_gst_state_change),
20888 (gst_state_change_get_type), (register_gst_element_flags),
20889 (gst_element_flags_get_type), (register_gst_core_error),
20890 (gst_core_error_get_type), (register_gst_library_error),
20891 (gst_library_error_get_type), (register_gst_resource_error),
20892 (gst_resource_error_get_type), (register_gst_stream_error),
20893 (gst_stream_error_get_type), (register_gst_event_type),
20894 (gst_event_type_get_type), (register_gst_seek_type),
20895 (gst_seek_type_get_type), (register_gst_seek_flags),
20896 (gst_seek_flags_get_type), (register_gst_format),
20897 (gst_format_get_type), (register_gst_index_certainty),
20898 (gst_index_certainty_get_type), (register_gst_index_entry_type),
20899 (gst_index_entry_type_get_type),
20900 (register_gst_index_lookup_method),
20901 (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
20902 (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
20903 (gst_index_resolver_method_get_type), (register_gst_index_flags),
20904 (gst_index_flags_get_type), (register_gst_debug_level),
20905 (gst_debug_level_get_type), (register_gst_debug_color_flags),
20906 (gst_debug_color_flags_get_type), (register_gst_iterator_result),
20907 (gst_iterator_result_get_type), (register_gst_iterator_item),
20908 (gst_iterator_item_get_type), (register_gst_message_type),
20909 (gst_message_type_get_type), (register_gst_mini_object_flags),
20910 (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
20911 (gst_pad_link_return_get_type), (register_gst_flow_return),
20912 (gst_flow_return_get_type), (register_gst_activate_mode),
20913 (gst_activate_mode_get_type), (register_gst_pad_direction),
20914 (gst_pad_direction_get_type), (register_gst_pad_flags),
20915 (gst_pad_flags_get_type), (register_gst_pad_presence),
20916 (gst_pad_presence_get_type), (register_gst_pad_template_flags),
20917 (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
20918 (gst_pipeline_flags_get_type), (register_gst_plugin_error),
20919 (gst_plugin_error_get_type), (register_gst_plugin_flags),
20920 (gst_plugin_flags_get_type), (register_gst_rank),
20921 (gst_rank_get_type), (register_gst_query_type),
20922 (gst_query_type_get_type), (register_gst_tag_merge_mode),
20923 (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
20924 (gst_tag_flag_get_type), (register_gst_task_state),
20925 (gst_task_state_get_type), (register_gst_alloc_trace_flags),
20926 (gst_alloc_trace_flags_get_type),
20927 (register_gst_type_find_probability),
20928 (gst_type_find_probability_get_type), (register_gst_uri_type),
20929 (gst_uri_type_get_type), (register_gst_parse_error),
20930 (gst_parse_error_get_type):
20931 * win32/common/gstversion.h:
20932 update win32 copies
20934 2005-11-01 Luca Ognibene <luogni@tin.it>
20937 fix docs. popt is dead, long live GOption.
20939 2005-10-31 Wim Taymans <wim@fluendo.com>
20944 2005-10-31 Andy Wingo <wingo@pobox.com>
20948 * gst/gstqueue.c (gst_queue_chain): Fix downstream leaky mode.
20950 * gst/gstobject.c (gst_object_dispatch_properties_changed): No
20951 need to serialize property notifications on GLib 2.8. GLib 2.6 has
20952 the possibility of deadlocks here if code calling notify() or
20953 set() has a lock that can be taken in another notify handler (ABBA
20954 with class lock and e.g. python GIL state lock).
20956 2005-10-28 Julien MOUTTE <julien@moutte.net>
20958 * gst/gstbus.c: Doc updates.
20960 2005-10-28 Wim Taymans <wim@fluendo.com>
20962 * docs/design/part-TODO.txt:
20963 * gst/gstiterator.c:
20964 * gst/gstsystemclock.c:
20965 * gst/gstsystemclock.h:
20968 2005-10-28 Edward Hervey <edward@fluendo.com>
20970 * docs/gst/gstreamer-docs.sgml:
20971 * docs/gst/gstreamer-sections.txt:
20972 the GstURIType documentation page is private, it only defines GstURIType
20973 which should be defined in the GstURIHandler page
20975 2005-10-28 Thomas Vander Stichele <thomas at apestaart dot org>
20977 * gst/gstbin.c: (gst_bin_class_init):
20980 Documentation updates.
20982 2005-10-28 Wim Taymans <wim@fluendo.com>
20984 * docs/gst/gstreamer-sections.txt:
20987 Documented the clocks.
20989 2005-10-28 Stefan Kost <ensonic@users.sf.net>
20991 * docs/gst/gstreamer-sections.txt:
20992 move some macros to private sections
20993 * gst/gstminiobject.c:
20994 * gst/gstminiobject.h:
20995 add descriptions provided by ds and some more
20997 mark macro as to be removed
20999 2005-10-28 Wim Taymans <wim@fluendo.com>
21001 * docs/design/part-TODO.txt:
21002 Add an item to TODO.
21004 * gst/gstiterator.c: (gst_iterator_fold),
21005 (gst_iterator_find_custom):
21006 * gst/gstiterator.h:
21009 2005-10-28 Wim Taymans <wim@fluendo.com>
21011 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
21012 (gst_base_transform_init):
21015 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_loop):
21016 An EOS event marks the queue as completely filled.
21018 2005-10-27 Wim Taymans <wim@fluendo.com>
21020 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
21021 (gst_base_sink_do_sync), (gst_base_sink_get_position):
21022 Some more debugging.
21024 * gst/base/gstbasetransform.c: (gst_base_transform_finalize),
21025 (gst_base_transform_init), (gst_base_transform_buffer_alloc),
21026 (gst_base_transform_event), (gst_base_transform_getrange),
21027 (gst_base_transform_chain):
21028 * gst/base/gstbasetransform.h:
21030 Protect transform and concurrent buffer alloc with a new lock.
21031 Try not to break ABI/API.
21033 2005-10-27 Wim Taymans <wim@fluendo.com>
21035 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
21036 (gst_base_src_init), (gst_base_src_query),
21037 (gst_base_src_default_newsegment),
21038 (gst_base_src_configure_segment), (gst_base_src_do_seek),
21039 (gst_base_src_send_event), (gst_base_src_event_handler),
21040 (gst_base_src_pad_get_range), (gst_base_src_loop),
21041 (gst_base_src_unlock), (gst_base_src_default_negotiate),
21042 (gst_base_src_start), (gst_base_src_deactivate),
21043 (gst_base_src_activate_push), (gst_base_src_change_state):
21044 Move some stuff around and cleanup things.
21046 2005-10-27 Tim-Philipp Müller <tim at centricular dot net>
21048 * gst/base/gstbasesrc.c: (gst_base_src_query):
21049 Add missing break statements.
21051 2005-10-27 Wim Taymans <wim@fluendo.com>
21053 * check/gst/gstbin.c: (GST_START_TEST):
21054 An extra refcount is taken in basesrc.
21056 * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
21057 (gst_base_src_get_range), (gst_base_src_pad_get_range),
21058 (gst_base_src_loop):
21059 Small cleanups, check for flushing after being unlocked from the
21060 LIVE_LOCK. take refcounts correctly (not yet everywhere).
21061 Don't send out EOS when going to READY.
21063 2005-10-27 Wim Taymans <wim@fluendo.com>
21065 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
21066 (gst_base_sink_get_position):
21069 * gst/gstbin.c: (message_check), (bin_replace_message),
21070 (bin_remove_messages), (is_eos), (gst_bin_add_func),
21071 (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
21072 (bin_query_duration_init), (bin_query_duration_fold),
21073 (bin_query_duration_done), (bin_query_generic_fold),
21075 * tools/gst-launch.c: (main):
21078 2005-10-26 Stefan Kost <ensonic@users.sf.net>
21080 * examples/controller/audio-example.c: (main):
21081 * examples/queue/queue.c: (event_loop):
21082 * gst/base/gstbasetransform.h:
21083 * gst/gstelement.c: (gst_element_send_event):
21085 * gst/gstpad.c: (gst_pad_send_event):
21088 changing log priority in error situations
21090 2005-10-25 Wim Taymans <wim@fluendo.com>
21092 * gst/gstbin.c: (message_check), (bin_replace_message),
21093 (bin_remove_messages), (is_eos), (gst_bin_add_func),
21094 (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
21095 (bin_query_duration_init), (bin_query_duration_fold),
21096 (bin_query_duration_done), (bin_query_generic_fold),
21098 Some doc and debug updates.
21099 Cache previously requested query DURATION for speed. invalidate
21100 cached duration if element posts a DURATION message.
21102 2005-10-25 Wim Taymans <wim@fluendo.com>
21104 * docs/design/part-TODO.txt:
21107 * gst/gstbin.c: (message_check), (bin_replace_message),
21108 (bin_remove_messages), (is_eos), (gst_bin_add_func),
21109 (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
21110 (bin_query_duration_init), (bin_query_duration_fold),
21111 (bin_query_duration_done), (bin_query_generic_fold),
21113 Handle SEGMENT_START/DONE messages correctly.
21114 More evolved query algorithm that handles duration queries
21117 * gst/gstelement.c: (gst_element_send_event), (gst_element_query),
21118 (gst_element_get_state_func), (gst_element_abort_state),
21119 (gst_element_commit_state), (gst_element_lost_state):
21120 Some more debugging.
21122 * gst/gstmessage.h:
21125 2005-10-25 Wim Taymans <wim@fluendo.com>
21127 * gst/base/gstbasesink.c: (gst_base_sink_get_position):
21128 Don't use invalid stream_time.
21130 * gst/gstevent.c: (gst_event_new_newsegment):
21131 stream_time in newsegment cannot be undefined.
21133 2005-10-24 Wim Taymans <wim@fluendo.com>
21138 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
21140 Fix potential deadlock when QUEUE_LOCK is taken before STREAM_LOCK.
21142 2005-10-24 Stefan Kost <ensonic@users.sf.net>
21144 * docs/libs/tmpl/gstdparam.sgml:
21145 * docs/libs/tmpl/gstdplinint.sgml:
21146 * docs/libs/tmpl/gstdpman.sgml:
21147 * docs/libs/tmpl/gstdpsmooth.sgml:
21148 * docs/libs/tmpl/gstunitconvert.sgml:
21151 2005-10-24 Thomas Vander Stichele <thomas at apestaart dot org>
21156 === release 0.9.4 ===
21158 2005-10-23 Thomas Vander Stichele <thomas at apestaart dot org>
21161 releasing 0.9.4, "Tyrannosaurus Rex"
21163 2005-10-23 Tim-Philipp Müller <tim at centricular dot net>
21165 * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
21166 (gst_file_sink_get_current_offset):
21167 Use fseeko() and ftello() if available. When falling back on
21168 lseek() to get the current offset, fflush() first to make sure
21169 everything is up-to-date and we get the right offset.
21171 2005-10-23 Thomas Vander Stichele <thomas at apestaart dot org>
21173 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
21174 * gst/base/gstbasesrc.c: (gst_base_src_loop):
21175 * gst/gsterror.c: (_gst_stream_errors_init):
21177 * gst/gstqueue.c: (gst_queue_loop):
21179 remove prematurely added error category and clean up the instances
21181 2005-10-21 Wim Taymans <wim@fluendo.com>
21183 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
21184 (gst_base_sink_get_position), (gst_base_sink_query),
21185 (gst_base_sink_change_state):
21186 Simply set the right flag when going to playing, that's all
21187 we need to do instead of calling a function inside the object
21188 lock (that could take the lock as well and deadlock)
21190 2005-10-21 Wim Taymans <wim@fluendo.com>
21192 * gst/base/gstbasesrc.c: (gst_base_src_do_seek),
21193 (gst_base_src_loop):
21194 Don't warn, the peer element knows what to do best when
21195 the seek failed, it might try something else.
21197 2005-10-21 Wim Taymans <wim@fluendo.com>
21199 * gst/base/gstbasesrc.c: (gst_base_src_init),
21200 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
21203 2005-10-21 Wim Taymans <wim@fluendo.com>
21205 * docs/design/part-segments.txt:
21208 * gst/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
21209 Correctly set caps, even on the subbufer.
21211 2005-10-21 Wim Taymans <wim@fluendo.com>
21213 * docs/gst/gstreamer-docs.sgml:
21214 * docs/gst/gstreamer-sections.txt:
21215 * gst/gstelement.h:
21218 * gst/gstmessage.h:
21221 * gst/gsttask.c: (gst_task_finalize), (gst_task_func):
21225 And 2% more doc coverage.
21227 2005-10-21 Andy Wingo <wingo@pobox.com>
21229 * gst/base/gstbasesrc.c (gst_base_src_query): Clean up percent
21230 position reporting.
21232 2005-10-20 Wim Taymans <wim@fluendo.com>
21234 * gst/gsterror.c: (gst_error_get_message):
21237 * gst/gststructure.c:
21242 2005-10-20 Wim Taymans <wim@fluendo.com>
21247 Another 1% more coverage.
21249 2005-10-20 Wim Taymans <wim@fluendo.com>
21251 * docs/gst/gstreamer-sections.txt:
21252 * gst/gstelement.c: (gst_element_get_state_func),
21253 (gst_element_abort_state), (gst_element_commit_state),
21254 (gst_element_lost_state):
21256 * gst/gstquery.c: (gst_query_set_position),
21257 (gst_query_parse_position), (gst_query_set_duration),
21258 (gst_query_parse_duration), (gst_query_new_convert):
21260 Yay! 1% more docs coverage.
21262 2005-10-20 Wim Taymans <wim@fluendo.com>
21265 * gst/gstquery.c: (gst_query_set_position),
21266 (gst_query_parse_position), (gst_query_set_duration),
21267 (gst_query_parse_duration), (gst_query_new_convert):
21269 * gst/gstutils.c: (gst_element_query_convert):
21271 Docs and consistency fixes.
21273 2005-10-20 Wim Taymans <wim@fluendo.com>
21279 2005-10-20 Wim Taymans <wim@fluendo.com>
21281 * gst/gstbin.c: (message_check), (bin_replace_message),
21282 (bin_remove_messages), (is_eos), (gst_bin_add_func),
21283 (update_degree), (gst_bin_sort_iterator_next),
21284 (gst_bin_change_state_func), (gst_bin_dispose), (bin_bus_handler):
21285 Reworked the message handling a bit, cache the messages instead of
21286 only the senders. alows us to do more in the future.
21288 2005-10-20 Wim Taymans <wim@fluendo.com>
21290 * docs/design/part-TODO.txt:
21293 * gst/base/gstbasesink.c: (gst_base_sink_get_position),
21294 (gst_base_sink_query):
21295 Don't use clock time to report position when in EOS.
21297 2005-10-20 Tim-Philipp Müller <tim at centricular dot net>
21299 * tools/gst-inspect.c: (print_interfaces),
21300 (print_element_properties_info), (print_element_info):
21301 Fix interface output with gst-inspect -a; don't print
21302 newlines after double/float properties.
21304 2005-10-20 Wim Taymans <wim@fluendo.com>
21306 * gst/base/gstbasesink.c: (gst_base_sink_get_position),
21307 (gst_base_sink_query):
21308 Speed up current position calculation.
21310 * gst/base/gstbasesrc.c: (gst_base_src_query),
21311 (gst_base_src_default_newsegment):
21312 Correctly set stream position in newsegment.
21314 * gst/gstbin.c: (gst_bin_add_func), (add_to_queue),
21315 (update_degree), (gst_bin_sort_iterator_next),
21316 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free):
21317 * gst/gstmessage.c: (gst_message_new_custom):
21318 Clean up debugging info
21320 * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
21321 (gst_queue_loop), (gst_queue_handle_src_query):
21324 2005-10-19 Wim Taymans <wim@fluendo.com>
21326 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
21327 (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
21328 Fix query handling again.
21330 2005-10-19 Wim Taymans <wim@fluendo.com>
21332 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
21333 (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
21334 * gst/base/gstbasesrc.c: (gst_base_src_query):
21335 * gst/elements/gstfilesink.c: (gst_file_sink_query):
21336 * gst/elements/gsttypefindelement.c:
21337 (gst_type_find_handle_src_query), (find_element_get_length),
21338 (gst_type_find_element_activate):
21341 * gst/gstquery.c: (gst_query_new_position),
21342 (gst_query_set_position), (gst_query_parse_position),
21343 (gst_query_new_duration), (gst_query_set_duration),
21344 (gst_query_parse_duration), (gst_query_set_segment),
21345 (gst_query_parse_segment):
21347 Bundling query position/duration is not a good idea since duration
21348 does not change much and we don't want to recalculate it for every
21349 position query, so they are separated again..
21350 Base value in segment query is not needed.
21352 * gst/gstqueue.c: (gst_queue_handle_src_query):
21353 * gst/gstutils.c: (gst_element_query_position),
21354 (gst_element_query_duration), (gst_pad_query_position),
21355 (gst_pad_query_duration):
21357 Updates for query API change.
21358 Added some docs here and there.
21360 2005-10-19 Thomas Vander Stichele <thomas at apestaart dot org>
21362 * check/gst/gstbin.c: (GST_START_TEST):
21363 * check/gst/gstghostpad.c: (GST_START_TEST):
21364 * check/pipelines/cleanup.c: (GST_START_TEST):
21365 wait on thread to die so we can check refcount correctly
21367 2005-10-18 Wim Taymans <wim@fluendo.com>
21369 * check/pipelines/stress.c: (GST_START_TEST):
21370 Make check a little more time consuming.
21372 2005-10-18 Wim Taymans <wim@fluendo.com>
21374 * check/Makefile.am:
21375 * check/pipelines/stress.c: (GST_START_TEST),
21376 (simple_launch_lines_suite), (main):
21377 Small state change torture test.
21379 * docs/design/part-states.txt:
21380 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
21381 (gst_base_sink_handle_object), (gst_base_sink_event), (do_playing),
21382 (gst_base_sink_change_state):
21383 Never take state lock from streaming thread, clean up ugly
21384 hacks. Unfortunatly core does not yet support nice ways to
21385 async commit state.
21387 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_recalc_state),
21389 Start state recalc if a STATE_DIRTY message is posted, but only
21390 on the toplevel bin.
21392 * gst/gstelement.c: (gst_element_sync_state_with_parent),
21393 (gst_element_get_state_func), (gst_element_abort_state),
21394 (gst_element_commit_state), (gst_element_lost_state),
21395 (gst_element_set_state_func), (gst_element_change_state):
21396 * gst/gstelement.h:
21397 State variables are now protected with the LOCK, the state
21398 lock is only used to serialize _set_state().
21400 2005-10-18 Wim Taymans <wim@fluendo.com>
21402 * check/gst/gstbin.c: (GST_START_TEST):
21403 * check/gst/gstmessage.c: (GST_START_TEST):
21404 * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
21405 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_recalc_func),
21407 * gst/gstelement.c: (gst_element_abort_state),
21408 (gst_element_commit_state), (gst_element_lost_state):
21409 * gst/gstmessage.c: (gst_message_new_state_changed),
21410 (gst_message_new_state_dirty), (gst_message_new_segment_start),
21411 (gst_message_new_segment_done), (gst_message_new_duration),
21412 (gst_message_parse_state_changed),
21413 (gst_message_parse_segment_start),
21414 (gst_message_parse_segment_done), (gst_message_parse_duration):
21415 * gst/gstmessage.h:
21416 * tools/gst-launch.c: (event_loop):
21417 Seriously, this is better than a previous commit as we only need
21418 to notify the fact that an element changed state in a streaming
21419 thread, marking the state of the parents dirty, hence the
21420 STATE_DIRTY message instead of abusing a boolean in a STATE_CHANGE
21423 2005-10-18 Wim Taymans <wim@fluendo.com>
21425 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_get_state_func),
21426 (gst_bin_recalc_func):
21427 * gst/gstelement.c: (gst_element_set_clock),
21428 (gst_element_abort_state), (gst_element_lost_state):
21429 Cleanups, prepare for state change fixes.
21431 2005-10-18 Wim Taymans <wim@fluendo.com>
21434 * gst/gstelement.c: (gst_element_class_init),
21435 (gst_element_set_state), (gst_element_set_state_func):
21436 * gst/gstelement.h:
21437 Pending ABI changes.
21438 GThreadPool in GstBinClass to monitor async state changes.
21439 state_cookie in GstElement to detect concurrent gst/set state.
21440 set_state is now virtual too in case a very complicated element
21441 has to be constructed.
21443 2005-10-18 Wim Taymans <wim@fluendo.com>
21445 * check/gst/gstbin.c: (GST_START_TEST):
21446 * check/gst/gstmessage.c: (GST_START_TEST):
21447 * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
21448 * gst/gstbin.c: (bin_bus_handler):
21449 * gst/gstelement.c: (gst_element_commit_state),
21450 (gst_element_lost_state):
21451 * gst/gstmessage.c: (gst_message_new_state_changed),
21452 (gst_message_new_segment_start), (gst_message_new_segment_done),
21453 (gst_message_new_duration), (gst_message_parse_state_changed),
21454 (gst_message_parse_segment_start),
21455 (gst_message_parse_segment_done), (gst_message_parse_duration):
21456 * gst/gstmessage.h:
21457 * tools/gst-launch.c: (event_loop):
21458 Make messages future proof.
21459 state-change gets a flag if it was a message comming from the
21461 segment-start/stop can also be specified in other formats.
21462 A message to notify an app that a pipeline changed playback
21464 Also fix a GstMessage leak in -launch
21466 2005-10-18 Andy Wingo <wingo@pobox.com>
21468 * gst/gstelement.c (gst_element_dispose): More helpful message.
21470 2005-10-18 Thomas Vander Stichele <thomas at apestaart dot org>
21472 reviewed by: <delete if not using a buddy>
21474 * common/gtk-doc.mak:
21476 2005-10-18 Thomas Vander Stichele <thomas at apestaart dot org>
21478 * gst/gstregistry.c: (gst_registry_scan_path_level):
21479 unref a plug-in we get that was already initialized
21481 2005-10-18 Stefan Kost <ensonic@users.sf.net>
21483 * docs/gst/gstreamer-sections.txt:
21484 * docs/libs/gstreamer-libs-sections.txt:
21485 * gst/gstelement.h:
21486 add new api entries
21487 hide internal macro
21489 2005-10-17 Andy Wingo <wingo@pobox.com>
21491 * gst/base/gstcollectpads.c (gst_collectpads_chain): Slight
21494 * gst/Makefile.am (gstenumtypes.c): Threadsafe now.
21496 * gst/gstevent.c (gst_event_new, gst_event_finalize): LOG.
21498 * gst/gstelement.c (gst_element_get_state_func): s/INFO/DEBUG/.
21499 (gst_element_get_state_func): Better debug message.
21500 (gst_element_commit_state): s/INFO/DEBUG/.
21501 (gst_element_lost_state, gst_element_change_state):
21503 * gst/gstmessage.c (gst_message_init): s/INFO/LOG/.
21504 (gst_message_new_custom): s/INFO/LOG/.
21506 2005-10-17 Michael Smith <msmith@fluendo.com>
21508 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
21509 Check if end time is valid using end time, not start time.
21511 2005-10-17 Stefan Kost <ensonic@users.sf.net>
21513 * check/gst-libs/controller.c: (GST_START_TEST),
21514 (gst_controller_suite):
21515 * libs/gst/controller/gstcontroller.c:
21516 (gst_controlled_property_set_interpolation_mode):
21517 * libs/gst/controller/gstcontroller.h:
21518 * libs/gst/controller/gstinterpolation.c:
21519 * testsuite/controller/.cvsignore:
21520 * testsuite/controller/Makefile.am:
21521 * testsuite/controller/interpolator.c:
21522 merge controller testsuites
21524 remove mem-chunk from docs
21526 2005-10-17 Thomas Vander Stichele <thomas at apestaart dot org>
21528 * gst/gstmemchunk.c:
21529 * gst/gstmemchunk.h:
21530 * gst/gsttrashstack.c:
21531 * gst/gsttrashstack.h:
21532 out. get out. you're fired. to the Attic !
21534 2005-10-17 Thomas Vander Stichele <thomas at apestaart dot org>
21536 * gst/gstcaps.c: (gst_caps_intersect):
21537 fix signedness issues in a (hopefully) correct way
21538 * gst/gstelement.c: (gst_element_pads_activate):
21540 * gst/gstobject.c: (gst_object_set_parent):
21543 2005-10-17 Julien MOUTTE <julien@moutte.net>
21545 * gst/gstvalue.h: Fix prototypes.
21547 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
21549 * docs/gst/gstreamer-sections.txt:
21550 * gst/gst.c: (gst_version_string):
21552 * gst/gstversion.h.in:
21553 * win32/common/libgstreamer.def:
21554 add gst_version_string ()
21556 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
21560 * gst/gst.c: (init_post):
21561 * win32/common/config.h.in:
21563 * gst/gstcaps.c: (gst_caps_intersect):
21564 use gint64, the range could be bigger than a guint
21566 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
21569 document potential problem in 2038
21571 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
21573 * gst/gstcaps.c: (gst_caps_intersect):
21574 Fix guint j diving under 0
21576 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
21579 * win32/common/config.h:
21580 * win32/common/config.h.in:
21581 check for process.h, declares getpid() on Windows
21583 include process.h if we have it
21584 * gst/gstmemchunk.c: (populate), (gst_mem_chunk_new):
21585 * gst/gstmemchunk.h:
21586 fix signedness issues
21587 * win32/common/libgstreamer.def:
21590 2005-10-16 Julien MOUTTE <julien@moutte.net>
21592 * gst/gstcaps.c: (gst_caps_intersect): Fix a bad bug with a simple
21593 fix. Because of unsigned ints, caps intersection was going nuts and
21594 trying to access structures with G_MAXUINT index. That fixes
21595 videotestsrc ! ffmpegcolorspace ! fakesink
21596 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked): logs
21599 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
21602 use the gettext macro
21603 * gst/elements/gstelements.c:
21605 * gst/indexers/gstindexers.c:
21606 update for GST_PACKAGE_NAME, GST_PACKAGE_ORIGIN
21607 * win32/common/config.h:
21609 * win32/common/config.h.in:
21610 add the template to generate config.h
21611 * win32/common/gstenumtypes.c:
21612 * win32/common/gstversion.h:
21615 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
21617 * gst/gst.c: (gst_version):
21618 * gst/gstversion.h.in:
21621 2005-10-15 Tim-Philipp Müller <tim at centricular dot net>
21624 Oops, add missing closing bracket.
21626 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
21629 use common m4's for argument checking
21631 2005-10-15 Tim-Philipp Müller <tim at centricular dot net>
21633 * docs/gst/gstreamer-sections.txt:
21635 Add GST_EVENT_TYPE_NAME() macro.
21637 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
21640 * gst/gstpluginfeature.c:
21642 privatize more symbols
21644 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
21647 add srcdir, builddir includes to GST_ALL_CFLAGS, since
21648 everything that uses GStreamer API should have the includes
21650 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
21652 * docs/gst/gstreamer-sections.txt:
21653 * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
21655 give each value a _get_type, removes the DATA exports
21657 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
21661 remove _gst_registry_auto_load, not used anymore
21662 * gst/gstbin.c: (gst_bin_get_type):
21664 * gst/gstelement.c: (gst_element_get_type):
21665 * gst/gstelement.h:
21666 * gst/gstobject.c: (gst_object_get_type):
21668 * gst/gstpad.c: (gst_pad_get_type):
21670 make _get_type functions similar, fixes data export from library
21672 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
21675 correctly make conditionals
21676 * gst/elements/Makefile.am:
21677 * gst/elements/gstelements.c:
21678 fix typo causing fdsrc not to build
21680 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
21682 * testsuite/Makefile.am:
21683 * testsuite/bytestream/.cvsignore:
21684 * testsuite/bytestream/Makefile.am:
21685 * testsuite/bytestream/filepadsink.c:
21686 * testsuite/bytestream/gstbstest.c:
21687 * testsuite/bytestream/test1.c:
21688 * testsuite/bytestream/testfile1:
21689 * testsuite/caps/normalisation.c:
21690 * testsuite/caps/random.c: (main):
21691 * testsuite/cleanup/.cvsignore:
21692 * testsuite/cleanup/Makefile.am:
21693 * testsuite/cleanup/cleanup1.c:
21694 * testsuite/cleanup/cleanup2.c:
21695 * testsuite/cleanup/cleanup3.c:
21696 * testsuite/cleanup/cleanup4.c:
21697 * testsuite/cleanup/cleanup5.c:
21698 * testsuite/controller/interpolator.c:
21699 * testsuite/debug/printf_extension.c: (main):
21700 * testsuite/elements/tee.c:
21701 * testsuite/negotiation/.cvsignore:
21702 * testsuite/negotiation/Makefile.am:
21703 * testsuite/negotiation/pad_link.c:
21704 * testsuite/pad/Makefile.am:
21705 * testsuite/pad/chainnopull.c:
21706 * testsuite/pad/getnopush.c:
21707 * testsuite/pad/link.c:
21708 * testsuite/refcounting/sched.c: (create_pipeline):
21709 * testsuite/registry/Makefile.am:
21710 * testsuite/registry/gst-print-formats.c:
21711 * testsuite/schedulers/.cvsignore:
21712 * testsuite/schedulers/142183-2.c:
21713 * testsuite/schedulers/142183.c:
21714 * testsuite/schedulers/143777-2.c:
21715 * testsuite/schedulers/143777.c:
21716 * testsuite/schedulers/147713.c:
21717 * testsuite/schedulers/147819.c:
21718 * testsuite/schedulers/147894-2.c:
21719 * testsuite/schedulers/147894.c:
21720 * testsuite/schedulers/Makefile.am:
21721 * testsuite/schedulers/group_link.c:
21722 * testsuite/schedulers/queue_link.c:
21723 * testsuite/schedulers/relink.c:
21724 * testsuite/schedulers/unlink.c:
21725 * testsuite/schedulers/unref.c:
21726 * testsuite/schedulers/useless_iteration.c:
21727 * testsuite/states/bin.c:
21728 clean out/remove some stuff from the testsuite directories
21730 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
21733 check for some headers
21734 * gst/elements/Makefile.am:
21735 * gst/elements/gstelements.c:
21736 don't compile fdsrc without sys/socket.h
21737 * gst/indexers/Makefile.am:
21738 * gst/indexers/gstindexers.c: (plugin_init):
21739 don't compile fileindex without mmap
21741 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
21748 * check/Makefile.am:
21749 * docs/gst/Makefile.am:
21750 * examples/helloworld/Makefile.am:
21752 * gst/base/Makefile.am:
21753 * gst/check/Makefile.am:
21754 * gst/elements/Makefile.am:
21755 * gst/indexers/Makefile.am:
21756 * gst/parse/Makefile.am:
21757 * libs/gst/controller/Makefile.am:
21758 * libs/gst/dataprotocol/Makefile.am:
21759 * examples/helloworld/helloworld.c: (event_loop):
21760 compile fixes, though it's not being compiled currently
21762 2005-10-14 Tim-Philipp Müller <tim at centricular dot net>
21764 * check/gst/gsttag.c: (test_date_tags), (gst_tag_suite):
21765 Add some simple tests for the new taglist date API.
21767 2005-10-14 Tim-Philipp Müller <tim at centricular dot net>
21769 * gst/elements/gstfakesink.c: (gst_fake_sink_render):
21770 * gst/elements/gstfakesrc.c: (gst_fake_src_create):
21771 Beautify 'last-message' output: print 'none' for buffer timestamps
21772 and durations if none is set; improve alignment with next messages.
21774 2005-10-14 Tim-Philipp Müller <tim at centricular dot net>
21776 * gst/gstpluginfeature.c: (gst_plugin_feature_check_version):
21777 * gst/gstpluginfeature.h:
21778 * gst/gstregistry.c: (gst_default_registry_check_feature_version):
21779 * gst/gstregistry.h:
21780 * docs/gst/gstreamer-sections.txt:
21781 Add new API to check plugin feature version requirements.
21783 * check/gst/gstplugin.c: (test_version_checks), (gst_plugin_suite):
21784 Some basic tests for the above.
21786 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
21788 * gst/gststructure.c: (gst_structure_to_string):
21789 guard against NULL printf - happens when for example
21790 a message structure with GstClock gets serialized
21792 2005-10-13 Tim-Philipp Müller <tim at centricular dot net>
21794 * gst/base/gstcollectpads.c: (gst_collectpads_event):
21795 Fix presumable copy'n'pasto.
21797 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
21799 * gst/elements/gstfakesrc.h:
21800 * gst/elements/gstfilesrc.c: (gst_file_src_create_read):
21801 * gst/elements/gsttypefindelement.c:
21802 fix some signedness
21803 * gst/elements/gstfilesink.c: (gst_file_sink_render):
21804 I wonder if this could actually write +2GB files before
21806 2005-10-13 Andy Wingo <wingo@pobox.com>
21808 * libs/gst/dataprotocol/dataprotocol.c (gst_dp_packet_from_caps):
21809 Fix Timmeke Waymans bug.
21810 (gst_dp_caps_from_packet): Make sure we pass a NUL-terminated
21811 string of the proper length to gst_caps_from_string. There's a
21812 potential for, before this fix, that this could cause someone
21813 connecting over the network to cause a segfault if the payload is
21814 not NUL-terminated.
21816 2005-10-13 Stefan Kost <ensonic@users.sf.net>
21818 * docs/design/draft-push-pull.txt:
21819 * docs/design/part-overview.txt:
21820 * docs/random/TODO-pre-0.9:
21821 * docs/random/old/ChangeLog.gstreamer:
21822 * gst/base/gstpushsrc.c:
21826 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
21828 * gst/glib-compat.c: (gst_flags_get_first_value):
21829 * gst/glib-compat.h:
21830 * gst/gstvalue.c: (gst_value_deserialize_int_helper),
21831 (gst_value_compare_double), (gst_value_serialize_flags):
21832 GLib 2.6 g_flags_get_first_value has a bug that triggers an
21835 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
21837 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
21838 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
21840 * tools/gst-launch.c: (event_loop):
21841 print out clock nicely
21843 2005-10-13 Tim-Philipp Müller <tim at centricular dot net>
21845 * docs/gst/gstreamer-sections.txt:
21846 * gst/gsttaglist.h:
21847 * gst/gsttaglist.c: (_gst_tag_initialize), (gst_tag_list_get_date),
21848 (gst_tag_list_get_date_index):
21849 Added gst_tag_list_get_date() and gst_tag_list_get_date_index().
21850 GST_TAG_DATE now has a tag type of GST_TYPE_DATE (#170777).
21852 2005-10-13 Julien MOUTTE <julien@moutte.net>
21854 * gst/base/gstcollectpads.c: (gst_collectpads_event),
21855 (gst_collectpads_chain):
21856 * gst/base/gstcollectpads.h: Handle newsegment and store informations
21859 2005-10-13 Stefan Kost <ensonic@users.sf.net>
21861 * docs/gst/gstreamer-sections.txt:
21864 * tools/gst-inspect.c: (main):
21865 * tools/gst-launch.c: (main):
21866 * tools/gst-run.c: (main):
21867 * tools/gst-xmlinspect.c: (main):
21868 fix GOption context leaks
21871 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
21875 * win32/common/config.h:
21877 * win32/vs6/grammar.dsp:
21878 * win32/vs6/libgstelements.dsp:
21879 * win32/vs6/libgstreamer.dsp:
21882 2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
21884 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
21885 * gst/base/gstbasesrc.c: (gst_base_src_query):
21886 fix more guint64<->gdouble conversions
21888 2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
21891 add win32-update target
21892 * win32/common/gstconfig.h:
21893 * win32/common/gstenumtypes.c:
21894 * win32/common/gstenumtypes.h:
21895 * win32/common/gstversion.h:
21896 add files that visual studio can't generate
21898 2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
21901 add a win32-update target
21904 2005-10-12 Wim Taymans <wim@fluendo.com>
21906 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
21907 (reset_degree), (gst_bin_dispose), (bin_bus_handler):
21908 * gst/gstelement.c: (gst_element_commit_state),
21909 (gst_element_set_state):
21910 Protect flags with proper lock.
21911 unref provided cached clock in dispose.
21913 2005-10-12 Stefan Kost <ensonic@users.sf.net>
21916 * gst/gstminiobject.h:
21918 * win32/gstenumtypes.c: (gst_mini_object_flags_get_type):
21919 removed unused flags from miniobject
21922 2005-10-12 Wim Taymans <wim@fluendo.com>
21924 * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
21925 (gst_file_sink_event), (gst_file_sink_render):
21926 Flush before seeking.
21928 2005-10-12 Andy Wingo <wingo@pobox.com>
21930 * gst/gst.c (gst_init_check): Ignore unknown options, as has
21931 always been the case.
21933 2005-10-12 Stefan Kost <ensonic@users.sf.net>
21935 * check/gst/gstbin.c: (GST_START_TEST):
21936 * docs/gst/gstreamer-sections.txt:
21937 * gst/base/gstbasesink.c: (gst_base_sink_init):
21938 * gst/base/gstbasesrc.c: (gst_base_src_init),
21939 (gst_base_src_get_range), (gst_base_src_check_get_range),
21940 (gst_base_src_start), (gst_base_src_stop):
21941 * gst/base/gstbasesrc.h:
21942 * gst/elements/gstfakesrc.c: (gst_fake_src_set_property):
21943 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
21944 (bin_element_is_sink), (reset_degree), (gst_bin_element_set_state),
21948 * gst/gstbus.c: (gst_bus_post), (gst_bus_set_flushing):
21950 * gst/gstelement.c: (gst_element_is_locked_state),
21951 (gst_element_set_locked_state), (gst_element_commit_state),
21952 (gst_element_set_state):
21953 * gst/gstelement.h:
21954 * gst/gstindex.c: (gst_index_init):
21956 * gst/gstminiobject.h:
21957 * gst/gstobject.c: (gst_object_init), (gst_object_sink),
21958 (gst_object_set_parent):
21960 * gst/gstpad.c: (gst_pad_set_blocked_async), (gst_pad_is_blocked),
21961 (gst_pad_get_caps_unlocked), (gst_pad_set_caps):
21963 * gst/gstpadtemplate.h:
21964 * gst/gstpipeline.c: (gst_pipeline_provide_clock_func),
21965 (gst_pipeline_use_clock), (gst_pipeline_auto_clock):
21966 * gst/gstpipeline.h:
21967 * gst/indexers/gstfileindex.c: (gst_file_index_load),
21968 (gst_file_index_commit):
21969 * testsuite/bytestream/filepadsink.c: (gst_fp_sink_init):
21970 * testsuite/pad/link.c: (gst_test_src_init),
21971 (gst_test_filter_init), (gst_test_sink_init):
21972 * testsuite/states/locked.c: (main):
21973 renamed GST_FLAGS macros to GST_OBJECT_FLAGS
21974 moved bitshift from macro to enum definition
21976 2005-10-12 Wim Taymans <wim@fluendo.com>
21978 * gst/base/gstbasesink.c: (gst_base_sink_handle_buffer):
21979 * gst/elements/gstfilesink.c: (gst_file_sink_event),
21980 (gst_file_sink_render):
21981 Some more debugging info.
21983 2005-10-12 Wim Taymans <wim@fluendo.com>
21985 * docs/design/part-states.txt:
21986 * tools/gst-launch.c: (main):
21988 Revert non-intentional change.
21990 2005-10-12 Wim Taymans <wim@fluendo.com>
21992 * check/gst/gstbin.c: (GST_START_TEST):
21993 * check/gst/gstelement.c: (GST_START_TEST):
21994 * check/gst/gstevent.c: (GST_START_TEST), (test_event):
21995 * check/gst/gstghostpad.c: (GST_START_TEST):
21996 * check/gst/gstpipeline.c: (GST_START_TEST):
21997 * check/pipelines/simple_launch_lines.c: (run_pipeline):
21998 * check/states/sinks.c: (GST_START_TEST):
21999 * gst/elements/gsttypefindelement.c: (stop_typefinding):
22000 * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
22001 (gst_bin_remove_func), (gst_bin_get_state_func),
22002 (gst_bin_recalc_state), (gst_bin_change_state_func),
22004 * gst/gstelement.c: (gst_element_get_state_func),
22005 (gst_element_get_state), (gst_element_abort_state),
22006 (gst_element_commit_state), (gst_element_set_state),
22007 (gst_element_change_state), (gst_element_change_state_func):
22008 * gst/gstelement.h:
22009 * gst/gstpipeline.c: (gst_pipeline_class_init), (do_pipeline_seek),
22010 (gst_pipeline_provide_clock_func):
22011 * gst/gstutils.c: (gst_element_link_pads_filtered):
22012 * tools/gst-launch.c: (main):
22013 * tools/gst-typefind.c: (main):
22014 Use GstClockTime in _get_state() instead of GTimeVal.
22015 Remove old code in gstutils.c
22017 2005-10-12 Andy Wingo <wingo@pobox.com>
22019 * gst/gstregistry.h (gst_registry_scan_paths): Not implemented, so
22022 * gst/gstpad.c (gst_pad_pause_task): Actually return FALSE if
22023 there is no task. Shouldn't affect any code, as nothing in our
22024 plugins checks this return value.
22025 (gst_pad_stop_task): Also take the stream lock if the pad has no
22026 task. Docs updated.
22028 2005-10-12 Wim Taymans <wim@fluendo.com>
22030 * gst/gstpad.c: (pre_activate), (post_activate),
22031 (gst_pad_activate_pull), (gst_pad_activate_push):
22032 Cleanup activation code. Reset old state if
22035 2005-10-12 Wim Taymans <wim@fluendo.com>
22037 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
22038 (gst_base_sink_change_state):
22039 No need to prerol after receiving EOS.
22041 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
22042 * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler):
22043 * gst/elements/gstidentity.c: (gst_identity_event):
22044 Print events more verbosely.
22046 2005-10-12 Wim Taymans <wim@fluendo.com>
22048 * check/Makefile.am:
22049 * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
22050 * check/states/sinks2.c:
22051 Moved sinks2 testcode in sinks check.
22053 * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
22054 (gst_bin_remove_func), (gst_bin_recalc_state),
22055 (gst_bin_change_state_func), (bin_bus_handler):
22056 Fix potential race condition when _get_state() iterated over an
22057 ASYNC element right before it posted a state completion.
22060 Do proper cast here.
22062 * gst/gstevent.c: (gst_event_new_newsegment),
22063 (gst_event_parse_newsegment):
22064 A playback rate of 0.0 is not allowed.
22066 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
22068 * win32/common/config.h:
22069 * win32/common/dirent.c: (_topendir), (_treaddir), (_tclosedir),
22070 (_trewinddir), (_ttelldir), (_tseekdir):
22071 * win32/common/dirent.h:
22072 * win32/common/gtchar.h:
22073 * win32/common/libgstbase.def:
22074 * win32/common/libgstreamer.def:
22075 * win32/vs6/grammar.dsp:
22076 * win32/vs6/gst_inspect.dsp:
22077 * win32/vs6/gst_launch.dsp:
22078 * win32/vs6/gstreamer.dsw:
22079 * win32/vs6/libgstbase.dsp:
22080 * win32/vs6/libgstelements.dsp:
22081 * win32/vs6/libgstreamer.dsp:
22082 Visual Studio 6 project files, and a new common directory.
22085 2005-10-11 Wim Taymans <wim@fluendo.com>
22087 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
22088 (gst_base_sink_do_sync), (gst_base_sink_query),
22089 (gst_base_sink_change_state):
22090 * gst/base/gstbasesink.h:
22091 Correctly parse newsegment info.
22093 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
22095 * gst/gst.c: (init_post):
22096 split plugin paths correctly
22098 2005-10-11 Wim Taymans <wim@fluendo.com>
22100 * check/gst/gstevent.c: (GST_START_TEST):
22101 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
22102 (gst_base_sink_change_state):
22103 * gst/base/gstbasesrc.c: (gst_base_src_default_newsegment):
22104 * gst/base/gstbasetransform.c: (gst_base_transform_event):
22105 * gst/elements/gstfilesink.c: (gst_file_sink_event):
22106 * gst/gstevent.c: (gst_event_new_newsegment),
22107 (gst_event_parse_newsegment):
22109 Added extra flag to newsegment for future API freeze.
22110 Updated check and base elements.
22112 2005-10-11 Julien MOUTTE <julien@moutte.net>
22114 * gst/base/gstcollectpads.c: (gst_collectpads_init),
22115 (gst_collectpads_add_pad), (gst_collectpads_pop),
22116 (gst_collectpads_event), (gst_collectpads_chain):
22117 * gst/base/gstcollectpads.h: Handle EOS correctly.
22119 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
22121 * tools/gst-launch.c: (main):
22122 more null protecting
22124 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
22126 * gst/gst-i18n-lib.h:
22127 check for ENABLE_NLS, not GETTEXT_PACKAGE
22128 * gst/gstregistry.c: (gst_registry_add_plugin),
22129 (gst_registry_scan_path_level),
22130 (_gst_registry_remove_cache_plugins):
22131 protect possibly NULL strings
22132 * gst/parse/types.h:
22133 config.h already included before
22134 * tools/gst-inspect.c: (main):
22135 sys/wait.h also doesn�t exist on mingw, so change the ifdef check
22136 check for ENABLE_NLS, not GETTEXT_PACKAGE
22137 * tools/gst-launch.c: (main):
22138 check for ENABLE_NLS, not GETTEXT_PACKAGE
22140 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
22143 if we don't have glib, fail before testing 2.8
22144 * gst/base/gstbasetransform.c: (gst_base_transform_change_state):
22145 fix a leak, should fix plugins-base testsuite
22147 2005-10-11 Andy Wingo <wingo@pobox.com>
22149 * gst/gstpad.c (pre_activate): Renamed from pre_activate_switch,
22150 take the mode we're going to as an arg. Go head and set the mode
22151 and flushing flags now, so that if the activate function starts a
22152 thread all the flags will be in the right state.
22153 (post_activate): Renamed also. Just handle making sure streaming
22154 finishes for the deactivation case, and setting the deactivated
22156 (gst_pad_set_active): Complain loudly if deactivation fails.
22157 (gst_pad_activate_pull): Adapt to pre/post_activate changes.
22158 (gst_pad_activate_push): Adapt to pre/post_activate changes,
22159 remove the terrible hack.
22161 2005-10-11 Wim Taymans <wim@fluendo.com>
22163 * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
22164 (is_eos), (gst_bin_add_func), (gst_bin_remove_func),
22165 (gst_bin_recalc_state), (gst_bin_change_state_func),
22166 (gst_bin_dispose), (bin_bus_handler):
22168 Prepare to make current EOS message queue more generic.
22171 * gst/gstevent.c: (gst_event_new_newsegment),
22172 (gst_event_parse_newsegment):
22174 Rename base to stream_time.
22176 * gst/gstmessage.h:
22179 2005-10-11 Wim Taymans <wim@fluendo.com>
22181 * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
22182 (gst_bin_add_func), (gst_bin_remove_func), (gst_bin_recalc_state),
22183 (gst_bin_change_state_func), (bin_bus_handler):
22185 Work on proper clock selection.
22187 2005-10-11 Edward Hervey <edward@fluendo.com>
22189 * libs/gst/controller/gstcontroller.c: (gst_controller_remove_properties_list):
22190 * libs/gst/controller/gstcontroller.h:
22191 Added GList* version of _remove_properties() in order to be able to wrap
22194 2005-10-11 Wim Taymans <wim@fluendo.com>
22196 * docs/design/part-states.txt:
22199 * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_recalc_state),
22200 (gst_bin_change_state_func), (bin_bus_handler):
22201 Doc updates. Don't distribute the same clock over and over again.
22207 * gst/gstpad.c: (gst_flow_get_name), (gst_flow_to_quark),
22208 (gst_pad_get_type), (gst_pad_push), (gst_pad_push_event),
22209 (gst_pad_send_event):
22211 Make probe emission threadsafe again.
22212 Register quarks and move _get_name() from utils.
22215 * gst/gstpipeline.c: (gst_pipeline_class_init),
22216 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
22217 Only redistribute the clock of it changed.
22219 * gst/gstsystemclock.h:
22224 Moved the _flow_get_name() to GstPad.
22226 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
22228 * check/gst-libs/gdp.c: (GST_START_TEST):
22229 * check/gst/gstcaps.c: (GST_START_TEST):
22230 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc),
22231 (gst_dp_dump_byte_array), (gst_dp_header_from_buffer),
22232 (gst_dp_packet_from_caps):
22233 fix more valgrind warnings before turning up the heat
22235 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
22237 * gst/parse/grammar.y:
22238 some cleanup before the hacking
22240 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
22242 * gst/base/gstbasesrc.c: (gst_base_src_query):
22244 * gst/gstutils.c: (gst_guint64_to_gdouble),
22245 (gst_gdouble_to_guint64), (gst_util_uint64_scale):
22247 externalize, basesrc uses it
22248 obviously the implementation needs testing
22250 2005-10-10 Wim Taymans <wim@fluendo.com>
22252 * tests/sched/Makefile.am:
22253 * tests/sched/sort.c: (make_pipeline1), (make_pipeline2),
22254 (make_pipeline3), (make_pipeline4), (print_elem), (main):
22256 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
22258 * gst/gstutils.c: (guint64_to_gdouble), (gst_util_uint64_scale):
22259 apparently converting from guint64 to double is not implemented
22262 2005-10-10 Wim Taymans <wim@fluendo.com>
22264 * check/Makefile.am:
22265 * check/generic/states.c: (GST_START_TEST):
22266 * check/gst/gstbin.c: (GST_START_TEST):
22267 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
22268 * check/states/sinks.c: (GST_START_TEST):
22269 * check/states/sinks2.c: (GST_START_TEST), (gst_object_suite),
22271 Check fixes, use API as stated in design docs, remove hacks.
22273 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
22274 (gst_base_sink_change_state):
22275 Catch stopping our task while we're shutting down.
22277 * gst/gstbin.c: (gst_bin_init), (gst_bin_add_func),
22278 (gst_bin_remove_func), (gst_bin_get_state_func),
22279 (gst_bin_recalc_state), (gst_bin_change_state_func),
22282 * gst/gstelement.c: (gst_element_init),
22283 (gst_element_get_state_func), (gst_element_abort_state),
22284 (gst_element_commit_state), (gst_element_lost_state),
22285 (gst_element_set_state), (gst_element_change_state),
22286 (gst_element_change_state_func):
22287 * gst/gstelement.h:
22288 New state change algorithm (see #318116)
22290 * gst/gstpipeline.c: (gst_pipeline_class_init),
22291 (gst_pipeline_init), (gst_pipeline_set_property),
22292 (gst_pipeline_get_property), (do_pipeline_seek),
22293 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
22294 * gst/gstpipeline.h:
22295 Remove crude state change hacks.
22298 Remove crude hacks.
22300 * tools/gst-launch.c: (main):
22301 Fixes for state change. Needs some more work to fully use the
22304 2005-10-10 Andy Wingo <wingo@pobox.com>
22306 * tests/Makefile.am (noinst_PROGRAMS): No more init.c.
22308 * gst/gst.c (G_OPTION_FLAG_NO_ARG): Apparently GLib 2.8 requires
22309 this flag, but it's not even in GLib 2.6. Odd. Hack around the
22312 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
22314 * gst/gstiterator.c: (gst_iterator_new):
22315 Fix my previous commit: GTypes passed to gst_iterator_new()
22316 can be fundamental types.
22318 2005-10-10 Wim Taymans <wim@fluendo.com>
22320 * gst/gstelement.c: (gst_element_iterate_pad_list),
22321 (gst_element_iterate_pads), (gst_element_iterate_src_pads),
22322 (gst_element_iterate_sink_pads):
22323 Use src/sink pads lists for the respective iterators instead
22326 2005-10-10 Andy Wingo <wingo@pobox.com>
22328 Merged in popt removal + GOption addition patch from Ronald, bug
22331 * docs/gst/gstreamer-sections.txt: Add STATE_(UN)LOCK_FULL, move
22332 GstElement macros around, remove popt-related symbols, add goption
22335 * configure.ac: Remove popt checks, require GLib 2.6 for GOption.
22337 * docs/gst/Makefile.am:
22338 * docs/libs/Makefile.am: No POPT_CFLAGS.
22340 * examples/manual/Makefile.am:
22341 * docs/manual/basics-init.xml: Doc updates with an example.
22343 * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
22344 (gst_init), (parse_one_option), (parse_goption_arg):
22345 * gst/gst.h: Removed gst_init_with_popt_table and friends. Took a
22346 bit of hand merging and debugging to get the GOption stuff working
22349 * tests/Makefile.am:
22350 * tools/Makefile.am:
22351 * tools/gst-inspect.c: (main):
22352 * tools/gst-launch.c: (main):
22353 * tools/gst-run.c: (main):
22354 * tools/gst-xmlinspect.c: (main): Thanks Ronald!
22356 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
22358 * gst/gstiterator.c: (gst_iterator_new):
22359 Add assertions to make sure passed GType is likely to really
22360 be a GType (as the compiler won't catch it if the size and
22361 GType arguments get mixed up, see #318447).
22363 2005-10-10 Josef Zlomek <josef dot zlomek at xeris dot cz>
22365 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
22367 * gst/gstbin.c: (gst_bin_iterate_sorted):
22368 Pass GType and size arguments to gst_iterator_new() in the right
22369 order (maybe we should make _new() take the GType as first argument
22370 just like _new_list()?) (#318447).
22373 2005-10-10 Wim Taymans <wim@fluendo.com>
22375 * gst/gstelement.c: (gst_element_finalize):
22376 And free the GStaticRecMutex too
22378 2005-10-10 Andy Wingo <wingo@pobox.com>
22380 * gst/gstelement.c (gst_element_init, gst_element_finalize):
22381 Allocate and free the mutex properly.
22383 * gst/gstelement.h (GST_STATE_UNLOCK_FULL, GST_STATE_LOCK_FULL):
22385 (GstElement): The state_lock is now recursive. Rebuild your
22386 plugins, suckers. Old macros adapted.
22388 * docs/gst/gstreamer-sections.txt: Doc updates.
22391 * gst/gstutils.c (g_static_rec_cond_timed_wait)
22392 (g_static_rec_cond_wait): Ported from state changes patch, while
22393 we wait on bug #317802 to be solved in a well-distributed GLib.
22395 * gst/gstelement.c (gst_element_change_state_func): Renamed from
22396 gst_element_change_state, variable name changes.
22397 (gst_element_change_state): Split out of gst_element_set_state in
22398 preparation for the state change merge. Doesn't pay attention to
22399 the 'transition' argument.
22400 (gst_element_set_state): Updates, hopefully purely cosmetic.
22401 (gst_element_sync_state_with_parent): MT-safety. Ported from the
22402 state change patch.
22403 (gst_element_get_state_func): Renamed from get_state, cosmetic
22406 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
22408 * gst/elements/gstelements.c:
22409 * win32/GStreamer.vcproj:
22411 * win32/dirent.c: (_tseekdir):
22412 * win32/gst-inspect.vcproj:
22413 * win32/gst-launch.vcproj:
22414 * win32/gstconfig.h:
22415 * win32/gstelements.vcproj:
22416 * win32/gstenumtypes.c: (gst_object_flags_get_type):
22417 * win32/gstreamer.def:
22418 * win32/msvc71.sln:
22419 updates for the win32 build (patch from Sebastien Moutte)
22421 2005-10-10 Andy Wingo <wingo@pobox.com>
22423 * gst/gstbin.c (gst_bin_get_state_func): Renamed from
22424 gst_bin_get_state, cleaned up (but no logic changes).
22425 (bin_element_is_sink): Comment updates.
22426 (sink_iterator_filter): Remove needless cast.
22427 (gst_bin_iterate_sinks): Doc update.
22428 (gst_bin_change_state_func): Renamed from gst_bin_change_state,
22429 cleaned up (but no logic changes).
22431 * check/states/sinks.c (test_src_sink): Cleanups from the state
22433 (test_livesrc_sink): Sync on the state.
22435 * check/pipelines/simple_launch_lines.c (run_pipeline): Merge from
22436 the state change patch.
22438 * check/gst/gstghostpad.c (test_ghost_pads): Merge from the state
22441 * check/gst/gstbin.c: Merge in some style fixes and additional
22442 checks from Wim's state change patch.
22444 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
22446 * gst/base/gsttypefindhelper.c: (helper_find_peek),
22447 (gst_type_find_helper):
22448 Check whether we have the requested data already in our list of
22449 cached buffers before pulling a new buffer; also make the buffer
22450 list a GSList. Speeds up typefinding by ca. 5-10% altogether.
22452 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
22457 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
22458 don't use long long, it's not portable. Replacing with
22459 gint64 seems to work; let's hope no skeletons fall out of the closet.
22461 2005-10-10 Andy Wingo <wingo@pobox.com>
22463 * autogen.sh (CONFIGURE_DEF_OPT): No more --plugin-buiddir, yay
22465 2005-10-09 Stefan Kost <ensonic@users.sf.net>
22467 * docs/gst/gstreamer-sections.txt:
22472 * gst/gstmessage.c: (gst_message_parse_state_changed):
22475 more docs, fix compilation
22477 2005-10-09 Philippe Khalaf <burger@speedy.org>
22478 * gst/gstmessage.c:
22479 Fixed a few forgotten variables on previous commit
22481 2005-10-09 Tim-Philipp Müller <tim at centricular dot net>
22483 * gst/base/gsttypefindhelper.c: (helper_find_peek):
22484 Fix evil typefind crasher: getrange() might return a short
22485 buffer at the end of a file, but gst_type_find_peek() must
22486 either return the full data as requested or NULL, but
22487 never a short buffer.
22489 2005-10-09 Thomas Vander Stichele <thomas at apestaart dot org>
22491 * gst/gstmessage.c: (gst_message_new_state_changed),
22492 (gst_message_parse_state_changed):
22493 * gst/gstmessage.h:
22494 don't use "new", it's a C++ keyword
22496 2005-10-08 Wim Taymans <wim@fluendo.com>
22498 * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_query):
22499 * gst/gstelement.c: (gst_element_post_message):
22500 * gst/gstpipeline.c: (gst_pipeline_change_state):
22501 Small docs and debug updates.
22503 2005-10-08 Stefan Kost <ensonic@users.sf.net>
22505 * docs/gst/gstreamer-sections.txt:
22506 * gst/gstelementfactory.c:
22508 * gst/gsttaglist.c:
22511 2005-10-08 Wim Taymans <wim@fluendo.com>
22513 * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_change_state),
22514 (gst_bin_dispose), (bin_bus_handler):
22515 Fix typos, add comments.
22516 Clear EOS list when going to PAUSED from any direction and do it
22517 in a threadsafe way.
22518 Get base time in a threadsafe way too.
22519 Fix confusing debug in the change_state function.
22520 Various other small cleanups.
22522 * gst/gstelement.c: (gst_element_post_message):
22523 Fix very verbose bus posting code.
22525 * gst/gstpipeline.c: (gst_pipeline_class_init),
22526 (gst_pipeline_set_property), (gst_pipeline_get_property),
22527 (gst_pipeline_change_state):
22528 Small ARG_ -> PROP_ cleanup
22530 2005-10-08 Wim Taymans <wim@fluendo.com>
22532 * gst/gstbin.c: (is_eos), (bin_bus_handler):
22533 Do a less CPU demanding EOS check because we can.
22535 2005-10-08 Wim Taymans <wim@fluendo.com>
22537 * libs/gst/dataprotocol/dataprotocol.c:
22538 (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
22539 (gst_dp_packet_from_event):
22540 * libs/gst/dataprotocol/dataprotocol.h:
22541 * libs/gst/dataprotocol/dp-private.h:
22542 It's about time we bump the version number.
22543 Since event types don't fit in the guint8 anymore describing
22544 the payload type, make payload type 16 bits wide.
22546 2005-10-08 Wim Taymans <wim@fluendo.com>
22548 * docs/design/part-TODO.txt:
22549 * docs/design/part-clocks.txt:
22550 * docs/design/part-events.txt:
22551 * docs/design/part-gstbin.txt:
22552 * docs/design/part-gstelement.txt:
22553 * docs/design/part-gstpipeline.txt:
22554 * docs/design/part-live-source.txt:
22555 * docs/design/part-messages.txt:
22556 * docs/design/part-overview.txt:
22557 * docs/design/part-states.txt:
22560 2005-10-08 Wim Taymans <wim@fluendo.com>
22564 Fix event quark registration.
22565 Add some space between events so we can insert them in the
22568 2005-10-08 Wim Taymans <wim@fluendo.com>
22570 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
22571 (gst_base_sink_handle_buffer):
22572 Better log message.
22575 * gst/gstelement.h:
22578 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
22579 (gst_queue_set_property), (gst_queue_get_property):
22581 Remove old unused properties.
22583 2005-10-08 Stefan Kost <ensonic@users.sf.net>
22584 * docs/gst/gstreamer-sections.txt:
22585 * gst/gstmessage.c:
22586 * gst/gstmessage.h:
22587 * gst/gstminiobject.c:
22588 * gst/gstminiobject.h:
22592 lots of new docs and doc fixes
22594 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
22596 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_load_file):
22598 * gst/gstregistry.c: (gst_registry_lookup_locked),
22599 (gst_registry_scan_path_level):
22600 * gst/gstregistryxml.c: (load_plugin):
22601 Only ever load one plugin for a given plugin basename.
22602 This ensures correct overriding of GST_PLUGIN_PATH over
22603 GST_PLUGIN_SYSTEM_PATH and of home dir plugins over
22604 system installed plugins.
22606 2005-10-08 Wim Taymans <wim@fluendo.com>
22608 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
22609 (gst_base_sink_do_sync), (gst_base_sink_handle_buffer):
22610 Prepare for doing QOS.
22612 2005-10-08 Wim Taymans <wim@fluendo.com>
22614 * check/gst/gstbin.c: (GST_START_TEST):
22615 * check/pipelines/cleanup.c: (GST_START_TEST):
22616 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
22617 Allow new clock message too.
22619 2005-10-08 Wim Taymans <wim@fluendo.com>
22621 * gst/gstmessage.c: (gst_message_new_error),
22622 (gst_message_new_warning), (gst_message_new_tag),
22623 (gst_message_new_state_changed), (gst_message_new_clock_provide),
22624 (gst_message_new_clock_lost), (gst_message_new_new_clock),
22625 (gst_message_new_segment_start), (gst_message_new_segment_done),
22626 (gst_message_parse_state_changed),
22627 (gst_message_parse_clock_provide), (gst_message_parse_clock_lost),
22628 (gst_message_parse_new_clock):
22629 * gst/gstmessage.h:
22630 Also carry the clock in question.
22632 2005-10-08 Wim Taymans <wim@fluendo.com>
22634 * gst/gstmessage.c: (gst_message_new_custom),
22635 (gst_message_new_eos), (gst_message_new_error),
22636 (gst_message_new_warning), (gst_message_new_tag),
22637 (gst_message_new_state_changed), (gst_message_new_clock_provide),
22638 (gst_message_new_new_clock), (gst_message_new_segment_start),
22639 (gst_message_new_segment_done), (gst_message_parse_state_changed),
22640 (gst_message_parse_clock_provide), (gst_message_parse_new_clock):
22641 * gst/gstmessage.h:
22643 Added clock related messages.
22645 * gst/gstpipeline.c: (gst_pipeline_change_state):
22646 Post message when the clock changed.
22648 * tools/gst-launch.c: (event_loop):
22651 2005-10-08 Tim-Philipp Müller <tim at centricular dot net>
22653 * tools/gst-inspect.c: (print_element_properties_info):
22654 Can't pass NULL strings to g_print() on windows.
22656 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
22658 * docs/Makefile.am:
22659 * docs/gst/Makefile.am:
22660 * docs/gst/gstreamer-docs.sgml:
22661 * docs/gst/running.xml:
22662 * docs/version.entities.in:
22663 add a chapter on running GStreamer.
22664 document GST_DEBUG and GST_PLUGIN* env vars
22666 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
22671 remove PLUGINS_BUILDDIR stuff
22672 * gst/gst.c: (init_post):
22673 reorder parsing of GST_PLUGIN_PATH and GST_PLUGIN_SYSTEM_PATH
22675 remove, it was condescending and not needed
22677 2005-10-08 Wim Taymans <wim@fluendo.com>
22679 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
22680 (gst_base_sink_handle_object), (gst_base_sink_event),
22681 (gst_base_sink_wait), (gst_base_sink_handle_event),
22682 (gst_base_sink_change_state):
22683 * gst/base/gstbasesink.h:
22684 Repost EOS message while going to PLAYING if still EOS.
22685 Make sure that when receiving a FLUSH_START we don't attempt
22686 to sync on the clock anymore.
22688 2005-10-08 Wim Taymans <wim@fluendo.com>
22690 * tools/gst-launch.c: (event_loop):
22691 Better message printout.
22693 2005-10-08 Wim Taymans <wim@fluendo.com>
22695 * gst/gstbin.c: (gst_bin_child_proxy_get_child_by_index),
22696 (gst_bin_child_proxy_get_children_count):
22697 * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
22698 (gst_child_proxy_lookup), (gst_child_proxy_get_property),
22699 (gst_child_proxy_get_valist), (gst_child_proxy_set_property),
22700 (gst_child_proxy_set_valist):
22701 * gst/parse/grammar.y:
22702 Make ChildProxy threadsafe and fix mem leaks.
22704 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
22706 * gst/gst.c: (init_post):
22707 debug the GST_PLUGIN_ env vars
22709 2005-10-08 Wim Taymans <wim@fluendo.com>
22711 * check/gst/gstbin.c: (GST_START_TEST):
22712 * check/gst/gstmessage.c: (GST_START_TEST):
22713 * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
22714 * gst/gstelement.c: (gst_element_commit_state),
22715 (gst_element_lost_state):
22716 * gst/gstmessage.c: (gst_message_new_state_changed),
22717 (gst_message_parse_state_changed):
22718 * gst/gstmessage.h:
22719 * tools/gst-launch.c: (event_loop):
22720 Added extra field to STATE_CHANGE message with the pending
22721 state, which will be different from the new state soon.
22723 2005-10-08 Wim Taymans <wim@fluendo.com>
22725 * gst/gstbus.c: (gst_bus_pop):
22727 * gst/gstsystemclock.c: (gst_system_clock_async_thread):
22728 Small cleanups and doc updates.
22730 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
22732 * gst/gst.c: (init_pre):
22733 * gst/gstbin.c: (gst_bin_add_func):
22734 log distributing clocks and base time
22735 * gst/gstregistry.c: (gst_registry_add_plugin),
22736 (gst_registry_scan_path_level), (gst_registry_scan_path):
22737 clean up the debugging output a little
22738 * gst/gstutils.c: (gst_element_state_get_name):
22739 warn about a memleak (I've actually seen this be used, though
22740 it was probably a bug)
22742 2005-10-07 Wim Taymans <wim@fluendo.com>
22744 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
22745 (gst_base_src_init), (gst_base_src_default_newsegment),
22746 (gst_base_src_newsegment), (gst_base_src_do_seek),
22747 (gst_base_src_loop), (gst_base_src_start):
22748 * gst/base/gstbasesrc.h:
22749 Make the newsegment event customizable by subclasses.
22751 2005-10-07 Wim Taymans <wim@fluendo.com>
22753 * gst/gstevent.c: (gst_event_new_buffersize),
22754 (gst_event_parse_buffersize):
22756 New event for future idea.
22758 2005-10-07 Andy Wingo <wingo@pobox.com>
22760 * gst/gstelement.c (gst_element_post_message): Doc update.
22762 * docs/gst/gstreamer-sections.txt: Update.
22764 * gst/gstmessage.c (gst_message_new_application): Made into a
22765 function like honest API calls.
22766 (gst_message_new_element): New message type.
22768 * gst/gstmessage.h (enum): Add GST_MESSAGE_ELEMENT type.
22770 * check/elements/fakesrc.c (test_no_preroll): New check, checks
22771 that setting a live fakesrc to PAUSED returns NO_PREROLL both
22774 * gst/base/gstbasesrc.c (gst_base_src_change_state): Allow a
22775 NO_PREROLL from gst_element_change_state to fall through.
22777 2005-10-07 Wim Taymans <wim@fluendo.com>
22779 * gst/gstghostpad.c: (gst_ghost_pad_get_internal),
22780 (gst_ghost_pad_do_activate_push):
22781 Activating a ghostpad with no internal pad in push mode
22784 2005-10-07 Thomas Vander Stichele <thomas at apestaart dot org>
22787 there's no point in wrapping FLAG_SET/_UNSET in STMT macros.
22788 Fixes compilation on Windows.
22790 2005-10-07 Michael Smith <msmith@fluendo.com>
22792 * tools/gst-inspect.c:
22793 Print out feature and plugin count at the end when printing out
22796 2005-10-04 Michael Smith <msmith@fluendo.com>
22798 * gst/gsterror.c: (_gst_stream_errors_init):
22799 Add another error string used in a few existing plugins.
22802 * gst/gstpluginfeature.c: (gst_plugin_feature_load):
22803 * tools/gst-inspect.c: (print_element_info):
22804 When a feature disappears from a plugin (and the feature exists in
22805 the cached registry file), things went horribly wrong. This isn't a
22806 complete fix, we should actually be removing the 'missing' features
22807 from the features list when we load the actual plugin. That's not
22810 2005-10-04 Johan Dahlin <johan@gnome.org>
22812 * check/gst/gstiterator.c: (GST_START_TEST):
22813 * gst/gstbin.c: (gst_bin_iterate_elements),
22814 (gst_bin_iterate_recurse), (gst_bin_iterate_sorted):
22815 * gst/gstelement.c: (gst_element_iterate_pads):
22816 * gst/gstformat.c: (gst_format_iterate_definitions):
22817 * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
22818 (gst_iterator_new_list), (gst_iterator_filter):
22819 * gst/gstiterator.h:
22820 * gst/gstquery.c: (gst_query_type_iterate_definitions):
22821 Add a GType to GstIterator, update callsites and tests.
22823 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
22825 * gst/gstpad.c: (gst_pad_event_default_dispatch):
22826 give events a chance to be handled by event probes when the pad
22829 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
22831 * gst/gstevent.c: (gst_event_type_get_name),
22832 (gst_event_type_to_quark), (gst_event_finalize), (gst_event_new):
22834 add string representations for event types
22836 2005-10-06 Wim Taymans <wim@fluendo.com>
22838 * gst/elements/gstfilesink.c: (gst_file_sink_close_file):
22839 Don't use NULL pointers.
22841 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
22843 * gst/gst_private.h:
22845 * gst/gstelement.c:
22847 * gst/gstpluginfeature.c:
22848 widen the debug category in output to fit the biggest one we have
22849 add a bus category and use it
22850 play with the colors
22851 fix up some categories
22853 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
22855 * gst/gstghostpad.c: (gst_ghost_pad_internal_do_activate_push):
22856 add push activation of sink ghost pads.
22857 Andye, please verify
22859 2005-10-05 Thomas Vander Stichele <thomas at apestaart dot org>
22861 * gst/gstutils.c: (gst_element_link_pads):
22862 fix a bug in the case where neither element has a pad
22863 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
22864 add a test for that case
22866 2005-10-05 Thomas Vander Stichele <thomas at apestaart dot org>
22868 * gst/gstpad.c: (gst_pad_push), (gst_pad_push_event):
22869 emit have-data before checking for peers. This allows
22870 for probe handlers to connect elements. This helps autopluggers.
22871 * check/gst/gstpad.c: (GST_START_TEST), (_probe_handler),
22873 add six checks, linked/unlinked with no/true/false probe
22875 2005-10-04 Wim Taymans <wim@fluendo.com>
22877 * gst/elements/gstfakesink.c: (gst_fake_sink_get_property),
22878 (gst_fake_sink_event), (gst_fake_sink_preroll),
22879 (gst_fake_sink_render), (gst_fake_sink_change_state):
22880 * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler),
22881 (gst_fake_src_get_property), (gst_fake_src_create),
22882 (gst_fake_src_stop):
22883 * gst/elements/gstidentity.c: (gst_identity_stop):
22884 Protect last_message with lock.
22886 2005-10-04 Edward Hervey <edward@fluendo.com>
22889 Added precision in the comments for GST_FORMAT_DEFAULT
22891 2005-10-04 Tim-Philipp Müller <tim at centricular dot net>
22893 * tools/gst-launch.c: (main):
22894 Don't try to run erroneous pipelines.
22896 2005-10-04 Julien MOUTTE <julien@moutte.net>
22898 * gst/gstbus.c: We don't need this header.
22900 2005-10-03 Thomas Vander Stichele <thomas at apestaart dot org>
22903 back to development
22905 === release 0.9.3 ===
22907 2005-10-03 Thomas Vander Stichele <thomas at apestaart dot org>
22911 Releasing 0.9.3, "Unregistered"
22913 2005-10-03 Andy Wingo <wingo@pobox.com>
22915 * gst/gstpad.c (gst_pad_activate_push): There is a race condition
22916 whereby calling a pad's activatepush() function can start a thread
22917 that starts to push or pull before the pad gets the FLUSHING flag
22918 unset. Hack around it by holding the stream lock until the flag is
22919 set. Need to replace this with a proper solution. Together with
22920 the ghost pad fixes, this fixes mp3 playing/tagreading.
22922 * docs/design/part-gstghostpad.txt: Add a note about activation of
22923 proxy pads outside of ghost pads.
22925 * gst/gstghostpad.c: Implement the ghost pad activation design.
22927 2005-10-02 Andy Wingo <wingo@pobox.com>
22929 * gst/gstobject.h (GST_OBJECT_REFCOUNT_VALUE): Just use the int.
22930 It is volatile, after all.
22932 * docs/design/part-gstghostpad.txt: Flesh out activation with
22935 * gst/base/gstbasesrc.c (gst_base_src_init): Use
22938 2005-10-02 Tim-Philipp Müller <tim at centricular dot net>
22941 Fix (unused) AM_CONDITIONAL tests.
22943 2005-10-01 Alessandro Decina <alessandro at nnva dot org>
22945 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
22947 * gst/gstutils.c: (gst_pad_query_convert):
22948 Add assertion that makes sure src_val is >=0, just like
22949 gst_query_new_convert() has. (#315895)
22951 2005-09-30 Edward Hervey <edward@fluendo.com>
22953 * gst/elements/gsttee.c: (gst_tee_do_push), (gst_tee_handle_buffer):
22954 Let's not iterate pads we're not interested in, it avoids getting
22955 sky-high refcounts on sinkpad.
22957 2005-09-30 Wim Taymans <wim@fluendo.com>
22959 * gst/gstelement.c: (gst_element_set_state),
22960 (gst_element_change_state):
22961 Small tweak, element in ASYNC remains ASYNC.
22963 2005-09-30 Wim Taymans <wim@fluendo.com>
22965 * gst/base/gstbasesink.c: (gst_base_sink_change_state):
22966 Only error is an error.
22968 * gst/gstbin.c: (gst_bin_change_state):
22971 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_chain):
22972 Also call pad_block in pad alloc.
22974 * gst/gstutils.c: (gst_flow_get_name):
22977 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
22979 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
22980 (gst_base_src_get_range):
22981 Fix documentation typos. Add some more debug info.
22983 2005-09-29 David Schleef <ds@schleef.org>
22985 * gst/gstplugin.c: (gst_plugin_load_file): Make some error messages
22986 more end-user friendly.
22987 * tools/gst-inspect.c: (main): Check if command-line argument is
22988 a file and attempt to load that file as a plugin.
22990 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
22992 * check/gst/gstbin.c:
22993 * check/states/sinks.c:
22994 fix tests for the new warning
22995 * check/gst/gstpipeline.c:
22996 add a test for pipeline and bus interaction
22997 * gst/gstelement.c:
22998 elements should be NULL if they get disposed; add a warning if not
23000 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
23003 for 2.6 refcounting, make debug log more correct by printing
23004 the actual refcounts at the time of swap (Wim)
23006 2005-09-29 Andy Wingo <wingo@pobox.com>
23008 * gst/gstbus.c (gst_bus_remove_signal_watch): New function,
23009 removes signal watches previously added via
23010 gst_bus_add_signal_watch.
23011 (gst_bus_add_signal_watch): Don't return the source id, just store
23012 it on the bus if there wasn't an id already.
23014 * gst/gstbus.h (GstBus): Add a couple new fields. API changes for
23015 add_signal_watch and remove_signal_watch.
23017 2005-09-29 Edward Hervey <edward@fluendo.com>
23019 * libs/gst/controller/gstcontroller.c: (gst_controller_new_list):
23020 Better if we actually iterate the list :)
23022 2005-09-29 Wim Taymans <wim@fluendo.com>
23024 * check/gst/gstbin.c: (GST_START_TEST):
23025 Change for new bus API.
23027 * check/gst/gstbus.c: (message_func_eos), (message_func_app),
23028 (send_messages), (GST_START_TEST), (gstbus_suite):
23029 Change for new bus signal API.
23031 * gst/gstbus.c: (gst_bus_class_init), (gst_bus_have_pending),
23032 (gst_bus_source_prepare), (gst_bus_source_check),
23033 (gst_bus_create_watch), (gst_bus_add_watch_full),
23034 (gst_bus_add_watch), (gst_bus_poll), (gst_bus_async_signal_func),
23035 (gst_bus_sync_signal_handler), (gst_bus_add_signal_watch):
23037 Remove support for multiple GSources operating on different
23038 message types as it is too complex and unneeded when using
23040 Added support for receiving signals from the bus.
23042 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
23044 * docs/libs/tmpl/gstdataprotocol.sgml:
23045 * docs/manual/advanced-dataaccess.xml:
23046 * gst/elements/gstcapsfilter.c:
23048 rename filter-caps to caps property
23050 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
23052 * gst/gstvalue.c: (gst_value_deserialize_fraction):
23053 More robust fraction string parsing.
23055 * docs/pwg/appendix-porting.xml:
23056 Mention gst_pad_use_explicit_caps() => gst_pad_use_fixed_caps()
23058 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
23060 * gst/gstcaps.c: (gst_caps_do_simplify):
23061 Thou shalt not free a structure and then continue using it
23062 in the next loop iteration.
23064 * check/gst/gstcaps.c: (check_fourcc_list), (test_simplify),
23066 Add test case for caps simplification.
23068 2005-09-29 Wim Taymans <wim@fluendo.com>
23070 * check/gst/gstbin.c: (GST_START_TEST):
23073 2005-09-29 Wim Taymans <wim@fluendo.com>
23075 * check/gst/gstbin.c: (GST_START_TEST):
23078 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
23079 (add_to_queue), (clear_queue), (reset_degree), (update_degree),
23080 (find_element), (gst_bin_sort_iterator_next),
23081 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
23082 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
23083 (gst_bin_change_state), (gst_bin_dispose):
23084 A bin does not have a bus, it gets the bus from the parent.
23086 * gst/gstelement.c: (gst_element_requires_clock),
23087 (gst_element_provides_clock), (gst_element_is_indexable),
23088 (gst_element_is_locked_state), (gst_element_change_state),
23089 (gst_element_set_bus_func):
23092 * gst/gstpipeline.c: (gst_pipeline_class_init),
23093 (gst_pipeline_init), (gst_pipeline_provide_clock_func):
23094 The pipeline provides a bus.
23096 2005-09-28 Johan Dahlin <johan@gnome.org>
23098 * gst/gstmessage.c (gst_message_parse_state_changed): Use
23099 gst_structure_get_enum instead of gst_structure_get_int
23101 * gst/gststructure.c (gst_structure_get_enum): Impl.
23103 * gst/gststructure.h (gst_structure_get_enum): Add
23105 * docs/gst/gstreamer-sections.txt: Ditto
23107 * gst/gstmessage.c (gst_message_new_state_changed): Use
23108 GST_TYPE_STATE instead of G_TYPE_INT, mainly for language bindings
23109 which does introspection.
23110 Reviewed by Christian Schaller
23112 2005-09-28 Stefan Kost <ensonic@users.sf.net>
23114 * gst/gstinfo.c: (gst_debug_log_default):
23115 don't do dummy g_strdup()s
23116 * libs/gst/controller/gstcontroller.c:
23117 (on_object_controlled_property_changed),
23118 (gst_controlled_property_new), (gst_controller_new_valist),
23119 (gst_controller_new_list),
23120 (gst_controller_remove_properties_valist), (gst_controller_set),
23121 (gst_controller_get), (gst_controller_sync_values),
23122 (gst_controller_get_value_array), (_gst_controller_class_init),
23123 (gst_controller_get_type):
23124 * libs/gst/controller/gstcontroller.h:
23125 * libs/gst/controller/gstinterpolation.c:
23126 (gst_controlled_property_find_timed_value_node):
23127 convert // to /**/ comments
23129 2005-09-28 Wim Taymans <wim@fluendo.com>
23131 * gst/gstbus.c: (marshal_VOID__MINIOBJECT), (gst_bus_class_init),
23132 (gst_bus_post), (poll_func), (gst_bus_async_signal_func),
23133 (gst_bus_sync_signal_handler):
23135 Added async-message and sync-message signals to the bus.
23136 Added helper BusFunc to emit signals for all posted messages.
23138 * gst/gstmessage.c: (gst_message_type_get_name),
23139 (gst_message_type_to_quark), (gst_message_get_type):
23140 * gst/gstmessage.h:
23141 Register quarks for message names.
23143 2005-09-28 Stefan Kost <ensonic@users.sf.net>
23145 * docs/libs/gstreamer-libs-sections.txt:
23146 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
23147 (gst_controller_new_list):
23148 * libs/gst/controller/gstcontroller.h:
23149 added another constructor for language bindings
23151 2005-09-28 Thomas Vander Stichele <thomas at apestaart dot org>
23153 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
23157 * gst/gstinfo.c: (_gst_debug_init):
23158 slightly more readable color for refcount debugging
23160 2005-09-28 Wim Taymans <wim@fluendo.com>
23162 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
23163 (add_to_queue), (clear_queue), (reset_degree), (update_degree),
23164 (find_element), (gst_bin_sort_iterator_next),
23165 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
23166 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
23167 (gst_bin_change_state), (gst_bin_dispose):
23168 Small doc fixes. get_clock -> provide_clock.
23170 * gst/gstelement.c: (gst_element_class_init),
23171 (gst_element_provides_clock), (gst_element_provide_clock),
23172 (gst_element_get_clock), (gst_element_commit_state),
23173 (gst_element_lost_state):
23174 * gst/gstelement.h:
23175 Make get/set_clock() symetric. Add provide_clock vmethod since
23176 that is actually what this function does.
23178 * gst/gstpipeline.c: (gst_pipeline_class_init),
23179 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func),
23180 (gst_pipeline_get_clock):
23181 get_clock -> provide_clock.
23183 2005-09-28 Andy Wingo <wingo@pobox.com>
23185 * gst/base/gstbasesrc.c (gst_base_src_unlock): Comment a bit in
23186 lieu of real docs...
23188 * gst/elements/gstfdsrc.c: Cleaned up a bit.
23190 2005-09-28 Tim-Philipp Müller <tim at centricular dot net>
23192 * gst/elements/gstcapsfilter.c:
23193 * gst/elements/gstfakesink.c:
23194 * gst/elements/gstfakesrc.c:
23195 * gst/elements/gstfdsink.c:
23196 * gst/elements/gstfdsrc.c:
23197 * gst/elements/gstfilesink.c:
23198 * gst/elements/gstfilesrc.c:
23199 * gst/elements/gstidentity.c:
23200 * gst/elements/gsttee.c:
23201 * gst/elements/gsttypefindelement.c:
23202 Make element details static.
23204 2005-09-28 Wim Taymans <wim@fluendo.com>
23206 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
23207 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
23208 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
23209 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
23210 (gst_bin_change_state), (gst_bin_dispose):
23211 Some documentation updates.
23212 Clean up dispose handlers.
23214 * gst/gstobject.c: (gst_object_ref), (gst_object_unref):
23215 * gst/gstpad.c: (gst_pad_dispose):
23216 Clean up dispose handler.
23218 * gst/gstpipeline.c: (gst_pipeline_change_state):
23219 Removed spurious UNLOCK.
23221 2005-09-27 Stefan Kost <ensonic@users.sf.net>
23223 * docs/gst/gstreamer-sections.txt:
23224 * gst/base/gstbasesrc.h:
23225 * gst/gstelement.h:
23229 * gst/gstpipeline.c:
23230 * gst/gstpipeline.h:
23233 added two new functions to the docs
23234 documents all undocumented GstXXXFlags
23235 completed some incomplete docs
23237 2005-09-27 Thomas Vander Stichele <thomas at apestaart dot org>
23239 * gst/gstbin.c: (gst_bin_dispose):
23240 * gst/gstelement.c: (gst_element_dispose):
23241 remove now useless and leaky resurrection code in dispose
23242 * gst/base/gstbasesrc.c: (gst_base_src_init):
23243 * gst/gstelementfactory.c: (gst_element_factory_create):
23244 * gst/gstobject.c: (gst_object_set_parent):
23247 2005-09-27 Wim Taymans <wim@fluendo.com>
23249 * docs/design/part-TODO.txt:
23252 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
23253 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
23254 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
23255 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
23256 (gst_bin_change_state):
23257 * gst/gstelement.h:
23258 Remove element variable, we keep element info in the iterator now.
23260 2005-09-27 Andy Wingo <wingo@pobox.com>
23262 * libs/gst/dataprotocol/dataprotocol.c: Fix error-checking return
23265 2005-09-27 Wim Taymans <wim@fluendo.com>
23267 * check/gst/gstbin.c: (GST_START_TEST):
23268 Enable check that works now.
23270 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
23271 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
23272 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
23273 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
23274 (gst_bin_change_state):
23276 Redid the state change algorithm using a topological sort algo.
23277 Handles all cases correctly.
23278 Exposed iterator for state change order.
23280 * gst/gstelement.h:
23281 Temp storage for state changes. Need to get rid of this soon.
23283 2005-09-27 Wim Taymans <wim@fluendo.com>
23285 * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_do_push):
23286 * gst/gstutils.c: (intersect_caps_func), (gst_pad_proxy_getcaps),
23287 (link_fold_func), (gst_pad_proxy_setcaps):
23288 Leak fixes, the fold functions need to unref the passed object and
23289 _get_parent_*() returns ref to parent.
23291 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
23293 * check/gst/gstbuffer.c: (test_make_writable):
23294 Plug leak in test case and fix 'make check-valgrind'
23296 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
23298 * gst/gstbuffer.c: (gst_subbuffer_init):
23299 Set READONLY flag on subbuffers, so that gst_buffer_make_writable()
23300 works correctly in all circumstances (we could have just copied
23301 the parent buffer's readonly flag, but conceptually it seems
23302 cleaner to mark all subbuffers as read-only). (based on patch
23303 by Alessandro Decina, #314710).
23305 * check/gst/gstbuffer.c: (create_read_only_buffer),
23306 (test_make_writable), (test_subbuffer_make_writable),
23308 Add some tests for gst_buffer_make_writable().
23310 2005-09-27 Wim Taymans <wim@fluendo.com>
23312 * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_change_state):
23313 use gst_object_has_ancestor().
23315 * gst/gstobject.c: (gst_object_has_ancestor):
23317 gst_object_has_ancestor() copied from gstbin.c as it is a
23320 * tests/instantiate/create.c: (create_all_elements):
23321 * tests/lat.c: (handoff_src), (handoff_sink):
23322 * tests/sched/runxml.c: (main):
23323 * tests/seeking/seeking1.c: (main):
23324 * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
23326 Fix compilation of some tests.
23328 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
23331 Remove comment. GST_TYPE_G_ERROR is here to stay,
23332 G_TYPE_ERROR has been WONTFIX'ed by the GLib folks
23333 (#316961, #300610).
23335 2005-09-26 Wim Taymans <wim@fluendo.com>
23337 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
23338 Added check that shows error in state change order.
23340 2005-09-26 Wim Taymans <wim@fluendo.com>
23342 * gst/gstbin.c: (gst_bin_change_state):
23343 Make state change function use 3 queues again, we were
23344 adding elements in the wrong order.
23346 * gst/gstghostpad.c: (gst_ghost_pad_do_unlink):
23349 * gst/gstpad.c: (gst_pad_dispose):
23350 Added some debug info first.
23352 2005-09-26 Tim-Philipp Müller <tim at centricular dot net>
23354 * docs/design/draft-push-pull.txt:
23355 * docs/design/part-events.txt:
23356 * docs/design/part-overview.txt:
23357 * docs/design/part-scheduling.txt:
23358 Replace all _pull_region() with _pull_range()
23360 2005-09-26 Andy Wingo <wingo@pobox.com>
23362 * gst/gstvalue.c (_gst_value_initialize): Better fakeout.
23364 * check/gst-libs/controller.c: Update for controller api change.
23367 * tests/Makefile.am:
23368 * tests/memchunk: Remove memchunk benchmark stuff, this is taken
23369 over by GLib bug 118439.
23371 * gst/base/gstbasesink.c (gst_base_sink_wait): Factor out the wait
23372 routines to a function.
23374 * docs/libs/gstreamer-libs-sections.txt: I am a good person today.
23376 * libs/gst/controller/gsthelper.c:
23377 * libs/gst/controller/gstcontroller.h (gst_controller_sync_values)
23378 (gst_object_sync_values): Renamed from sink_values. Ugh.
23380 * libs/gst/controller/gsthelper.c: Update for __gst_controller_key.
23382 * libs/gst/controller/gstcontroller.c (__gst_controller_key):
23383 Renamed from controller_key, as it is exported.
23385 * gst/gstvalue.c (_gst_value_initialize): Fake out the compiler.
23387 2005-09-26 Thomas Vander Stichele <thomas at apestaart dot org>
23392 * gst/gstpadtemplate.h:
23395 * gst/gstqueryutils.c:
23396 * gst/gstqueryutils.h:
23397 remove queryutils headers after moving the two used functions
23398 to gstquery. also fixes build problem for gstsiddec
23400 2005-09-26 Michael Smith <msmith@fluendo.com>
23402 * tools/gst-launch.1.in:
23403 Correct documentation in manpage of debug syntax
23405 2005-09-26 Wim Taymans <wim@fluendo.com>
23407 * gst/base/gstbasesrc.c: (gst_base_src_get_range),
23408 (gst_base_src_is_seekable), (gst_base_src_change_state):
23409 Some more debugging info.
23411 2005-09-25 Stefan Kost <ensonic@users.sf.net>
23413 * docs/gst/gstreamer-sections.txt:
23414 * gst/base/gstbasetransform.h:
23418 2005-09-25 Stefan Kost <ensonic@users.sf.net>
23420 * docs/gst/.cvsignore:
23421 * docs/gst/tmpl/.cvsignore:
23422 * docs/gst/tmpl/gstpipeline.sgml:
23423 * docs/gst/tmpl/gstplugin.sgml:
23424 * gst/gstpipeline.c:
23427 inlined the last two docs files
23428 removed the tmpl directory from cvs (no more conflicts here!)
23430 2005-09-25 Stefan Kost <ensonic@users.sf.net>
23432 * docs/gst/gstreamer-sections.txt:
23433 * docs/gst/tmpl/.cvsignore:
23434 * docs/gst/tmpl/gstpad.sgml:
23435 * docs/gst/tmpl/gstpadtemplate.sgml:
23437 * gst/gstpad.c: (gst_pad_class_init), (gst_pad_dispose),
23438 (gst_pad_finalize), (gst_pad_set_pad_template):
23440 * gst/gstpadtemplate.c: (gst_pad_template_get_type),
23441 (gst_pad_template_class_init), (gst_pad_template_init),
23442 (gst_pad_template_dispose), (name_is_valid),
23443 (gst_static_pad_template_get), (gst_pad_template_new),
23444 (gst_static_pad_template_get_caps), (gst_pad_template_get_caps),
23445 (gst_pad_template_pad_created):
23446 * gst/gstpadtemplate.h:
23447 inlined two more docs
23448 factored gstpadtemplate out of gstpad
23450 2005-09-24 Tim-Philipp Müller <tim at centricular dot net>
23452 * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
23453 (test_children_state_change_order_semi_sink):
23454 Fix test case: we can't rely on a fixed state change order when
23455 going from READY => PAUSED because the sink might commit its
23456 new state first when the first buffer created by the source
23457 reaches the sink before the source has finished its change state.
23458 (Test case still fails at times, see #316856, comment 5 onwards)
23460 2005-09-24 Wim Taymans <wim@fluendo.com>
23462 * docs/design/part-events.txt:
23463 * docs/design/part-gstbus.txt:
23464 * docs/design/part-gstpipeline.txt:
23465 * docs/design/part-messages.txt:
23466 * docs/design/part-overview.txt:
23467 * docs/design/part-segments.txt:
23471 * gst/gstelement.c:
23474 * gst/gstiterator.c:
23475 Various documentation updates.
23477 2005-09-24 Thomas Vander Stichele <thomas at apestaart dot org>
23480 Well, that's embarassing. Luckily we weren't using
23481 GST_CLOCK_DIFF anywhere.
23483 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
23485 * common/gtk-doc.mak:
23486 don't fail on building XML, FC4 slave shows a bunch of doc
23487 missing bits that I don't get
23489 * gst/gstpipeline.c:
23490 * gst/gststructure.c:
23493 2005-09-23 Tim-Philipp Müller <tim at centricular dot net>
23495 * docs/design/part-gstbin.txt:
23496 * docs/design/part-gstbus.txt:
23498 Add blurb about how the bus goes into flushing mode and
23499 drops all messages when its bin goes from READY into NULL
23502 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
23504 * docs/gst/gstreamer-sections.txt:
23505 * gst/gststructure.c: (gst_structure_get_clock_time):
23506 * gst/gststructure.h:
23507 add a method to get a GstClockTime out of a structure
23509 2005-09-23 Tim-Philipp Müller <tim at centricular dot net>
23511 * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
23512 (test_children_state_change_order_semi_sink), (gst_bin_suite):
23513 Added test to check state change order in bins (can still be made
23514 to fail here under heavy disk load; bails out with 'Push on pad
23515 fakesink:sink0, but it was not activated in push mode').
23517 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_change_state):
23518 Fix state change order when there is only a semi sink (#316856)
23520 * gst/gstbus.c: (gst_bus_class_init):
23521 Use _class_peek_parent(), not _class_ref(); fix docs to say
23522 'default main context' instead of 'mainloop' where that is
23525 * gst/gstelement.c: (gst_element_commit_state),
23526 (gst_element_set_state):
23527 Fix typos in debug messages
23529 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
23532 * gst/gstpad.c: (gst_pad_class_init), (gst_pad_chain):
23533 * gst/gstpluginfeature.c:
23535 various doc updates
23536 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
23537 change an assert into an error until it gets fixed properly
23539 2005-09-23 Stefan Kost <ensonic@users.sf.net>
23541 * docs/gst/gstreamer-sections.txt:
23542 * docs/gst/tmpl/.cvsignore:
23543 * docs/gst/tmpl/gstelement.sgml:
23544 * docs/gst/tmpl/gstinfo.sgml:
23545 * docs/gst/tmpl/gstobject.sgml:
23546 * gst/gstelement.c:
23547 * gst/gstelement.h:
23550 * gst/gstobject.c: (gst_object_class_init):
23552 inlined 3 more biiiig doc files and added some missing docs on the fly
23554 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
23556 * check/gst/.cvsignore:
23557 * check/gst/gstplugin.c: (GST_START_TEST), (gst_plugin_suite):
23558 * gst/gstregistryxml.c: (load_plugin),
23559 (gst_registry_xml_save_plugin):
23560 put back source in registry. add checks for find_plugin.
23561 * testsuite/states/bin.c: (assert_state), (empty_bin),
23562 (test_adding_one_element), (main):
23563 * testsuite/states/locked.c: (main):
23564 some compile/run fixes
23566 2005-09-22 Thomas Vander Stichele <thomas at apestaart dot org>
23568 * check/gst/gstvalue.c: (GST_START_TEST):
23569 fix leaks in the test itself
23571 2005-09-22 Wim Taymans <wim@fluendo.com>
23573 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
23574 (gst_base_sink_send_event), (gst_base_sink_peer_query),
23575 (gst_base_sink_query):
23576 Prepare for more accurate position reporting and query
23579 * gst/gstelement.c: (gst_element_send_event),
23580 (gst_element_set_state):
23583 2005-09-22 Wim Taymans <wim@fluendo.com>
23585 * gst/gstquery.c: (gst_query_new_segment), (gst_query_set_segment),
23586 (gst_query_parse_segment):
23588 More documentation.
23589 Add segment query for future use.
23591 2005-09-22 Wim Taymans <wim@fluendo.com>
23593 * gst/gstbin.c: (gst_bin_add_func):
23594 Some more debug info.
23596 * gst/gstelement.c: (gst_element_send_event):
23597 Simplify send_event
23599 * gst/gstelement.h:
23600 Don't know how flags got broken.
23605 2005-09-22 Tim-Philipp Müller <tim at centricular dot net>
23607 * check/gst/gstvalue.c: (test_date), (gst_value_suite):
23608 Add simplistic test suite for GST_TYPE_DATE serialisation and
23611 2005-09-22 Tim-Philipp Müller <tim at centricular dot net>
23613 * docs/gst/gstreamer-sections.txt:
23614 * gst/gststructure.c: (gst_structure_set_valist),
23615 (gst_structure_get_date):
23616 * gst/gststructure.h:
23617 * gst/gstvalue.c: (gst_value_set_date), (gst_value_get_date),
23618 (gst_date_copy), (gst_value_compare_date),
23619 (gst_value_serialize_date), (gst_value_deserialize_date),
23620 (gst_value_transform_date_string),
23621 (gst_value_transform_string_date), (_gst_value_initialize):
23623 Add GST_TYPE_DATE, a boxed type that wraps GDate, and the usual
23624 bunch of utility functions along with a hack that checks that
23625 developers don't accidentally use G_TYPE_DATE where GST_TYPE_DATE
23626 is required. Part of the grand scheme in #170777.
23628 2005-09-22 Andy Wingo <wingo@pobox.com>
23630 * gst/gstconfig.h.in: Psych out gtk-doc.
23632 * docs/gst/gstreamer-sections.txt: Add GST_HAVE_GLIB_2_8.
23634 * check/Makefile.am (check_PROGRAMS): Add gstplugin to the tests.
23636 * tools/gst-inspect.c (print_element_list): Plug some
23637 inconsequential leaks.
23639 * gst/gstregistry.c (gst_registry_get_default): Doc.
23641 * check/gst/gstplugin.c:
23642 * gst/gsttypefindfactory.c (gst_type_find_factory_call_function):
23643 * gst/gstelementfactory.c (gst_element_factory_create):
23644 * gst/gstindexfactory.c (gst_index_factory_create): Update for
23647 * gst/gstpluginfeature.c (gst_plugin_feature_list_free): Doc.
23648 (gst_plugin_feature_load): Doc, don't eat refs.
23650 * gst/gstplugin.c (gst_plugin_load): Doc, don't eat refs.
23651 (gst_plugin_list_free): Doc.
23652 (gst_plugin_load_file): Doc updates.
23654 * gst/gstbuffer.c (gst_buffer_get_caps): Like all our _get
23655 accessors returning refcounted objects, return a ref.
23657 * check/gst/gstbuffer.c (GST_START_TEST): Use refcount-idempotent
23658 accessor for caps. IDEMPOTENCE. Oh yes.
23660 2005-09-21 Francis Labonte <francis_labonte at hotmail dot com>
23662 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
23664 * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
23665 (_gst_debug_register_funcptr):
23666 Add mutex to serialise access to the hash table with
23667 the function pointer => function name string mapping;
23668 make that hash table static scope (#316809).
23670 * gst/registries/.cvsignore:
23671 Remove left-over file.
23673 2005-09-21 Tim-Philipp Müller <tim at centricular dot net>
23675 * docs/pwg/appendix-porting.xml:
23676 And something about newsegment events and caps-on-buffers to
23677 the porting guide (feel free to improve).
23679 2005-09-21 Andy Wingo <wingo@pobox.com>
23681 * check/gst/gstutils.c (test_buffer_probe_n_times): Add tests for
23682 data and event probes on the same pad.
23683 (test_buffer_probe_once): Test that removing probes from within
23684 the probe functions works.
23686 2005-09-21 Andy Wingo <wingo@pobox.com>
23688 * check/gst/gstutils.c: New file.
23689 (test_buffer_probe_n_times): A simple buffer probe test. More to
23692 * gst/gstutils.c (gst_pad_add_buffer_probe): Connect to
23693 have-data::buffer, not have-data.
23694 (gst_pad_add_event_probe): Likewise for have-data::event.
23695 (gst_pad_add_data_probe): More docs. The part about 'resolving the
23696 peer' isn't quite right yet though.
23697 (gst_pad_remove_buffer_probe, gst_pad_remove_event_probe)
23698 (gst_pad_remove_data_probe): Change to take the guint handler_id
23699 as their arg, not the function+data, which is more glib-like.
23701 * gst/gstpad.c (gst_pad_emit_have_data_signal): Add a detail to
23702 the signal emission to indicate if the data is a buffer or an
23704 (gst_pad_get_type): Initialize buffer and event quarks.
23705 (gst_pad_class_init): have-data is now a detailed signal, yes it
23708 2005-09-21 Tim-Philipp Müller <tim at centricular dot net>
23710 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
23711 * gst/gstutils.c: (gst_util_set_value_from_string),
23712 (gst_util_set_object_arg):
23713 Don't put functional code in g_return_if_fail() or
23714 g_return_val_if_fail() statements, otherwise things will
23715 break when G_DISABLE_CHECKS is defined during compilation.
23717 2005-09-21 Stefan Kost <ensonic@users.sf.net>
23719 * docs/gst/tmpl/.cvsignore:
23720 * docs/gst/tmpl/gstvalue.sgml:
23723 inlied another one and added some obvious docs
23725 2005-09-21 Wim Taymans <wim@fluendo.com>
23727 * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
23728 (gst_fdsrc_init), (gst_fdsrc_start), (gst_fdsrc_stop),
23729 (gst_fdsrc_unlock), (gst_fdsrc_set_property),
23730 (gst_fdsrc_get_property), (gst_fdsrc_create):
23731 * gst/elements/gstfdsrc.h:
23732 Properly implement fdsrc. Removed signal and timeout,
23733 better implemented somewhere else.
23735 2005-09-21 Stefan Kost <ensonic@users.sf.net>
23737 * docs/gst/tmpl/.cvsignore:
23738 * docs/gst/tmpl/gstimplementsinterface.sgml:
23739 * gst/gstinterface.c:
23742 2005-09-21 Stefan Kost <ensonic@users.sf.net>
23744 * docs/gst/gstreamer-sections.txt:
23745 * docs/gst/tmpl/.cvsignore:
23746 * docs/gst/tmpl/gstenumtypes.sgml:
23747 remove obsolete doc file
23749 2005-09-21 David Schleef <ds@schleef.org>
23751 * gst/gstelementfactory.c: (gst_element_factory_make): Drink a
23752 little beer, fix a little leak.
23754 2005-09-21 Stefan Kost <ensonic@users.sf.net>
23756 * docs/gst/gstreamer-docs.sgml:
23757 * docs/gst/gstreamer-sections.txt:
23758 * docs/gst/tmpl/.cvsignore:
23762 * gst/gstelement.h:
23763 * gst/gstindex.c: (gst_index_class_init):
23765 * gst/gstindexfactory.c: (gst_index_factory_get_type),
23766 (gst_index_factory_class_init), (gst_index_factory_init),
23767 (gst_index_factory_finalize), (gst_index_factory_new),
23768 (gst_index_factory_destroy), (gst_index_factory_find),
23769 (gst_index_factory_create), (gst_index_factory_make):
23770 * gst/gstindexfactory.h:
23771 * gst/gstpluginfeature.c:
23772 * gst/gstpluginfeature.h:
23773 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
23774 more docs inlined, splitted gstindex.{c,h}
23776 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
23778 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
23781 2005-09-20 Tim-Philipp Müller <tim at centricular dot net>
23783 * gst/elements/gstfilesink.c: (gst_file_sink_init):
23784 Set sync to FALSE by default.
23786 2005-09-20 Wim Taymans <wim@fluendo.com>
23788 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
23789 (gst_base_sink_init):
23790 Make sync property settable from subclass.
23792 * gst/elements/gstfakesink.c: (gst_fake_sink_init),
23793 (gst_fake_sink_change_state):
23794 Set sync to FALSE by default.
23796 2005-09-20 Wim Taymans <wim@fluendo.com>
23798 * gst/gstbus.c: (poll_func), (poll_timeout), (gst_bus_poll):
23799 * tools/gst-launch.c: (main):
23800 The timeout handler should have lower priority than the source
23801 so we don't timeout before popping a message with 0 timeout.
23802 Dump error messages after failed state change.
23804 2005-09-20 Tim-Philipp Müller <tim at centricular dot net>
23806 * tools/gst-inspect.c: (print_element_properties_info):
23809 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
23811 * check/gst/gstevent.c:
23812 * gst/elements/gstfakesink.c:
23813 * gst/elements/gstfakesink.h:
23814 remove the sync property from fakesink.
23815 has the side effect of setting sync TRUE
23816 for fakesink, which is a change. Anyone who knows how
23817 to fix this nicely in a GObject-y way, feel free.
23819 2005-09-20 Stefan Kost <ensonic@users.sf.net>
23821 * docs/gst/gstreamer-docs.sgml:
23822 remove probe refsection
23824 2005-09-20 Stefan Kost <ensonic@users.sf.net>
23826 * check/Makefile.am:
23827 disable valgrinding the controller test again
23828 * docs/gst/gstreamer-sections.txt:
23829 update for api-changes
23831 2005-09-20 Wim Taymans <wim@fluendo.com>
23833 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
23834 (gst_base_sink_set_property), (gst_base_sink_get_property),
23835 (gst_base_sink_do_sync):
23836 * gst/base/gstbasesink.h:
23837 Added sync property to basesink to disable clock sync.
23839 2005-09-20 Andy Wingo <wingo@pobox.com>
23841 * gst/gstelementfactory.c (gst_element_factory_create): Avoid
23842 eating the caller's refcount.
23844 * gst/gstobject.h (GST_OBJECT_REFCOUNT)
23845 (GST_OBJECT_REFCOUNT_VALUE): Conditionally fondle the right
23848 * gst/gstconfig.h.in (GST_HAVE_GLIB_2_8):
23849 * configure.ac (GST_HAVE_GLIB_2_8_DEFINE): Make the availability
23850 of GLib 2.8 public, so we can know which refcount to check in
23853 * gst/gstobject.c: Use the GST_HAVE_GLIB_2_8 define.
23854 (gst_object_init): Only set the gst refcount if we're going ahead
23855 with the refcount hack.
23857 2005-09-20 Stefan Kost <ensonic@users.sf.net>
23859 * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
23860 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
23861 more leaks plumbed, added more debug-logging
23865 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
23867 * gst/gstmessage.c:
23868 remove include of gstmemchunk.h
23870 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
23872 * gst/gstclock.c: (_gst_clock_id_free):
23873 Commit from the Political Party For More Atomic CVS Commits,
23874 so that people don't waste too much of their day fishing
23875 out obvious leaks out of massive commits.
23876 Oh, and fix a pretty damn obvious leak in the memchunk
23879 2005-09-20 Stefan Kost <ensonic@users.sf.net>
23881 * check/Makefile.am:
23882 * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
23883 plug mem-leak, re-add to valgrindable tests
23885 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
23888 unbreak the build for those who have chronic arthritis
23889 and typing "make check" is just too taxing on the hands
23891 2005-09-20 Andy Wingo <wingo@pobox.com>
23893 * gst/gst.h: Re-add marshal to gst.h's include list -- if we
23894 really want it out, you should fix plugins at the same time.
23896 2005-09-19 Stefan Kost <ensonic@users.sf.net>
23899 * docs/gst/gstreamer-sections.txt:
23901 added missing symbols to api docs
23902 disable ref-count hack if we have glib >= 2.8
23904 2005-09-19 David Schleef <ds@schleef.org>
23906 * docs/gst/Makefile.am: Ignore a few more internal headers
23907 * docs/gst/gstreamer-docs.sgml: Remove old sections
23908 * docs/gst/gstreamer-sections.txt: Remove old sections
23909 * docs/gst/tmpl/gstobject.sgml: update
23910 * docs/gst/tmpl/gstplugin.sgml: update
23911 * docs/gst/tmpl/gstpluginfeature.sgml: update
23912 * docs/random/ds/0.9-suggested-changes: update.
23913 * gst/Makefile.am: remove memchunk and trashstack, since they're
23915 * gst/gst.c: (gst_deinit): rename gst_registry_deinit to _cleanup
23916 * gst/gst.h: don't include some headers
23917 * gst/gstchildproxy.c: add gstmarshal.h
23918 * gst/gstclock.c: Don't use memchunks
23919 * gst/gstminiobject.c: Add some docs
23920 * gst/gstobject.c: remove DESTROYED flag, since it's redundant
23921 * gst/gstobject.h: same
23922 * gst/gstplugin.c: include gstmacros.h
23923 * gst/gstplugin.h: don't include gstmacros.h, since it's private
23924 * gst/gstquery.c: don't use memchunks
23925 * gst/gstregistry.c: rename gst_registry_deinit()
23926 * gst/gstregistry.h: same
23928 2005-09-19 David Schleef <ds@schleef.org>
23930 * docs/libs/gstreamer-libs-docs.sgml: Remove docs for getbits
23931 * docs/libs/gstreamer-libs-sections.txt:
23932 * docs/libs/tmpl/gstgetbits.sgml:
23933 * docs/libs/tmpl/gstputbits.sgml:
23935 2005-09-19 Tim-Philipp Müller <tim at centricular dot net>
23937 * win32/gstenumtypes.c:
23938 * win32/gstenumtypes.h:
23941 2005-09-19 Wim Taymans <wim@fluendo.com>
23943 * gst/gstpipeline.c: (do_pipeline_seek), (gst_pipeline_send_event):
23944 Automatically PAUSE and RESUME a pipeline when a flushing seek
23947 2005-09-19 Andy Wingo <wingo@pobox.com>
23949 * gst/gstregistry.h: Spacing fixen.
23951 2005-09-19 Wim Taymans <wim@fluendo.com>
23953 * gst/base/gstbasesrc.c: (gst_base_src_change_state):
23954 Handle state change failure more correctly.
23956 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
23958 * check/Makefile.am:
23959 * check/pipelines/cleanup.c: (run_pipeline):
23960 * check/pipelines/simple_launch_lines.c: (run_pipeline),
23962 enable cleanup again after fixing the leak
23964 some more info on docs
23966 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
23968 * check/Makefile.am:
23969 re-enable tests now that leaks are plugged
23971 * check/gst/gstbin.c:
23972 * check/gst/gstpipeline.c:
23973 add some more tests while fixing leaks
23974 * common/check.mak:
23975 make sure binaries are uptodate when valgrinding/gdbing
23977 * gst/gstelementfactory.c:
23978 remove a ref too many, and add a FIXME for when we get
23979 round to disposing of classes
23981 fix the refcounting when loading a plugin from a file and
23982 the code pretends that the pointer is the same even though
23983 of course it can change
23984 * gst/gstpluginfeature.c:
23985 unref plugins marked cached (a bit confusing as a name)
23986 as the docs state should be done
23987 various doc additions to explain refcounting
23988 * gst/gstregistry.c:
23989 * gst/gstregistryxml.c:
23992 2005-09-19 Wim Taymans <wim@fluendo.com>
23994 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
23995 * check/gst/gstbus.c: (message_func_eos), (message_func_app),
23996 (send_messages), (GST_START_TEST), (gstbus_suite):
23997 * check/gst/gstpipeline.c: (GST_START_TEST):
23998 * check/pipelines/cleanup.c: (run_pipeline):
23999 * check/pipelines/simple_launch_lines.c: (run_pipeline),
24001 * gst/gstbus.c: (gst_bus_have_pending), (gst_bus_source_prepare),
24002 (gst_bus_source_check), (gst_bus_source_dispatch),
24003 (gst_bus_create_watch), (gst_bus_add_watch_full),
24004 (gst_bus_add_watch), (poll_func), (poll_timeout), (gst_bus_poll):
24006 * tools/gst-launch.c: (event_loop):
24007 * tools/gst-md5sum.c: (event_loop):
24008 GstBusHandler -> GstBusFunc, return value has the same meaning as
24009 any other GSource (FALSE == remove source).
24010 _add_watch() and _add_watch_full() now take a MessageType mask to
24011 only handle specific types of messages.
24012 _poll() returns the GstMessage instead of the message type to avoid
24014 _have_pending() takes a MessageType mask now too.
24015 Added testsuite for multiple bus watches.
24016 Fix testsuites and applications for new bus API.
24018 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
24020 * check/Makefile.am:
24021 mark a bunch of the tests as to fix until we fix them
24023 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
24025 * common/check.mak:
24026 use GST_PLUGIN settings for valgrind tests as well, so we're
24027 valgrinding the correct thing
24028 * gst/gst.c: (init_post):
24031 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
24033 * gst/gst.c: (init_post), (gst_deinit):
24034 * gst/gstelementfactory.c: (gst_element_factory_class_init),
24035 (gst_element_factory_finalize), (gst_element_factory_cleanup):
24036 * gst/gstindex.c: (gst_index_factory_class_init),
24037 (gst_index_factory_finalize):
24038 * gst/gstobject.c: (gst_object_dispose):
24039 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
24040 (gst_plugin_load_file), (gst_plugin_desc_free):
24041 * gst/gstpluginfeature.c: (gst_plugin_feature_class_init),
24042 (gst_plugin_feature_finalize):
24043 * gst/gstregistry.c: (gst_registry_class_init),
24044 (gst_registry_init), (gst_registry_finalize),
24045 (gst_registry_get_default), (gst_registry_deinit):
24046 * gst/gstregistry.h:
24047 * gst/gstregistryxml.c: (load_feature), (load_plugin):
24048 various cleanups and memleak plugging. make valgrind is happy now.
24050 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
24052 * common/check.mak:
24053 add a check-valgrind target
24055 2005-09-18 David Schleef <ds@schleef.org>
24057 * tools/gst-inspect.c: Revert the GOption code.
24059 2005-09-17 David Schleef <ds@schleef.org>
24061 * check/Makefile.am: Fix environment variables.
24062 * check/gst/gstplugin.c: Fix for API changes.
24063 * tools/gst-inspect.c: Fix for API changes.
24064 * tools/gst-xmlinspect.c: Fix for API changes.
24065 * gst/gstelementfactory.c:
24068 * gst/gstpluginfeature.c:
24069 * gst/gstpluginfeature.h:
24070 * gst/gstregistry.c:
24071 * gst/gstregistry.h:
24072 * gst/gstregistryxml.c:
24073 * gst/gsttypefind.c:
24074 * gst/gsttypefindfactory.c:
24075 * gst/indexers/gstfileindex.c:
24076 * gst/indexers/gstmemindex.c:
24077 * gst/schedulers/Makefile.am:
24078 Change registry to keep track of both plugins and features,
24079 removing the feature tracking from plugins themselves.
24081 2005-09-16 Thomas Vander Stichele <thomas at apestaart dot org>
24083 * check/Makefile.am:
24084 * tools/gst-register.1.in:
24085 remove gst-register
24087 2005-09-15 David Schleef <ds@schleef.org>
24089 * check/gst/gstplugin.c:
24090 * gst/gstelementfactory.c:
24092 * gst/gstpluginfeature.c:
24093 * gst/gstregistry.c:
24094 Getting tired of debugging. Disabled all the unreffing of
24095 plugins and features, which fixes the segfaults, but of
24096 course leaks like crazy. At least playbin works.
24098 2005-09-15 David Schleef <ds@schleef.org>
24100 * check/gst/gstplugin.c: (register_check_elements),
24101 (GST_START_TEST), (peek), (suggest), (gst_plugin_suite):
24103 * gst/elements/gsttypefindelement.c: Fix refcounting.
24104 * gst/gsttypefind.c:
24105 * gst/gsttypefindfactory.c:
24106 * gst/gsttypefindfactory.h:
24108 2005-09-15 David Schleef <ds@schleef.org>
24110 * gst/gstindex.c: get refcounting correct.
24111 * gst/gstregistry.c: Handle the case where a feature/plugin is
24114 2005-09-15 David Schleef <ds@schleef.org>
24116 * check/Makefile.am:
24117 * check/gst/gstplugin.c: Add test
24118 * gst/gstplugin.c: Fix problems noticed by testsuite
24120 * gst/gstregistry.c:
24121 * gst/gstregistry.h:
24123 2005-09-15 David Schleef <ds@schleef.org>
24125 * gst/gstplugin.c: Implement semi-decent recounting and locking
24126 in plugins and plugin features.
24128 * gst/gstpluginfeature.c:
24129 * gst/gstpluginfeature.h:
24130 * gst/gstregistry.c:
24132 2005-09-15 Michael Smith <msmith@fluendo.com>
24134 * gst/gstregistry.c: (gst_registry_get_feature_list):
24135 Implement this. Makes oggdemux work; decodebin still broken.
24137 2005-09-14 David Schleef <ds@schleef.org>
24139 * configure.ac: Add -no-undefined to GST_PLUGIN_LDFLAGS (bug
24141 * gst/base/Makefile.am: Add -no-undefined to LDFLAGS for libs
24142 * gst/check/Makefile.am:
24143 * libs/gst/controller/Makefile.am:
24144 * libs/gst/dataprotocol/Makefile.am:
24146 2005-09-14 David Schleef <ds@schleef.org>
24148 * configure.ac: Remove getbits library. Nothing uses it, and
24149 it should be in something like liboil if someone did want
24151 * libs/gst/Makefile.am:
24152 * libs/gst/getbits/Makefile.am:
24153 * libs/gst/getbits/gbtest.c:
24154 * libs/gst/getbits/getbits.c:
24155 * libs/gst/getbits/getbits.h:
24156 * libs/gst/getbits/gstgetbits_generic.c:
24157 * libs/gst/getbits/gstgetbits_i386.s:
24158 * libs/gst/getbits/gstgetbits_inl.h:
24160 2005-09-14 David Schleef <ds@schleef.org>
24162 * gst/Makefile.am: Dist glib-compat.h
24164 2005-09-14 David Schleef <ds@schleef.org>
24166 * configure.ac: Remove gst/registries, since it's no longer used.
24167 * gst/registries/Makefile.am:
24168 * gst/registries/gstlibxmlregistry.c:
24169 * gst/registries/gstlibxmlregistry.h:
24170 * gst/registries/gstxmlregistry.c:
24171 * gst/registries/gstxmlregistry.h:
24172 * gst/registries/registrytest.c:
24174 2005-09-14 David Schleef <ds@schleef.org>
24176 * gst/glib-compat.h:
24177 * gst/gstregistryxml.c:
24178 Convergence is near. Seriously.
24180 2005-09-14 David Schleef <ds@schleef.org>
24182 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
24183 * gst/glib-compat.h:
24184 Attempt #4 to appease the buildbots.
24186 2005-09-14 David Schleef <ds@schleef.org>
24188 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
24191 2005-09-14 David Schleef <ds@schleef.org>
24193 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
24196 2005-09-14 David Schleef <ds@schleef.org>
24198 * gst/Makefile.am: Oh yeah, libgstreamer.so needs to contain
24201 2005-09-14 David Schleef <ds@schleef.org>
24203 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
24204 * gst/glib-compat.h: Add some functions that are in newer versions
24205 of glib than we care to require.
24206 * gst/gstregistryxml.c: Use them.
24208 2005-09-14 David Schleef <ds@schleef.org>
24210 * po/POTFILES.in: remove gst-register.c
24212 2005-09-14 David Schleef <ds@schleef.org>
24214 * docs/gst/gstreamer-docs.sgml:
24215 * docs/gst/gstreamer-sections.txt:
24216 * docs/gst/gstreamer.types:
24217 * docs/gst/tmpl/gstelement.sgml:
24218 * docs/gst/tmpl/gstplugin.sgml:
24219 * docs/gst/tmpl/gstpluginfeature.sgml:
24220 Documentation updates for registry changes.
24222 2005-09-14 David Schleef <ds@schleef.org>
24224 * gst/gstregistryxml.c: Copy g_mkdir_with_parent() from glib,
24225 because we don't require glib-2.8.
24227 2005-09-14 David Schleef <ds@schleef.org>
24229 * gst/gstregistryxml.c: Added. Essentially moved out of the
24230 registries directory.
24232 2005-09-14 David Schleef <ds@schleef.org>
24234 * check/Makefile.am:
24235 * check/generic/states.c:
24239 * gst/gst_private.h:
24240 * gst/gstelementfactory.c:
24245 * gst/gstpluginfeature.c:
24246 * gst/gstpluginfeature.h:
24247 * gst/gstregistry.c:
24248 * gst/gstregistry.h:
24249 * gst/gstregistrypool.c: remove
24250 * gst/gstregistrypool.h: remove
24251 * gst/gsttypefind.c:
24252 * gst/gsttypefindfactory.c:
24254 * tools/Makefile.am:
24255 * tools/gst-compprep.c:
24256 * tools/gst-inspect.c:
24257 * tools/gst-register.c: remove
24258 * tools/gst-xmlinspect.c:
24259 Registry rewrite. Changes registry from being a file created
24260 by a tool into a simple cache file created automatically by
24261 libgstreamer. Removed gst-register (because it's no longer
24262 needed). Remove registry pools, because we only have one
24263 registry implementation (XML). Fix up other subsystems as
24266 2005-09-13 Michael Smith <msmith@fluendo.com>
24268 * gst/gstconfig.h.in:
24269 Don't Use windows linking attributes for MinGW. Fixes #316157
24271 2005-09-13 Thomas Vander Stichele <thomas at apestaart dot org>
24273 * gst/gstutils.c: (set_state_async_thread_func),
24274 (gst_element_set_state_async):
24275 Apparently people think it's better if this function doesn't
24276 try to set the state to whatever state was asked for on the first
24277 call to this function for any object. Seriously.
24279 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
24281 * check/gst/gstpipeline.c: (GST_START_TEST):
24282 * docs/gst/gstreamer-sections.txt:
24283 * gst/gstutils.c: (set_state_async_thread_func),
24284 (gst_element_set_state_async):
24286 add a "gst_element_set_state_async" method that
24287 sets the state and starts a thread to make sure the state
24288 change completes as best as it can
24290 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
24292 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
24293 codify design+behaviour in testsuite after discussion
24295 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
24297 * docs/gst/tmpl/gstelement.sgml:
24298 * docs/manual/appendix-quotes.xml:
24300 * gst/gstelement.c: (gst_element_set_state):
24303 2005-09-12 Jan Schmidt <thaytan@mad.scientist.com>
24305 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
24306 (gst_base_transform_prepare_output_buf),
24307 (gst_base_transform_handle_buffer):
24308 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip),
24309 (gst_capsfilter_prepare_buf):
24310 Remove the requirement for sub-classes to call the parent
24311 implementation of prepare_output_buffer with a wrapper function.
24313 * gst/gsttaglist.h:
24314 * gst/gsttagsetter.h:
24315 Fix #define wrapper
24317 2005-09-11 Stefan Kost <ensonic@users.sf.net>
24319 * docs/gst/gstreamer-sections.txt:
24322 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
24324 * docs/gst/gstreamer-sections.txt:
24325 * docs/gst/tmpl/gstelement.sgml:
24326 * docs/gst/tmpl/gstplugin.sgml:
24327 * gst/gstminiobject.c:
24329 docs now stop throwing warnings
24331 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
24333 * docs/gst/gstreamer-sections.txt:
24334 * docs/gst/gstreamer.types:
24335 * docs/gst/tmpl/gstpad.sgml:
24336 * docs/gst/tmpl/gsttypes.sgml:
24337 * gst/base/gstadapter.h:
24338 * gst/base/gstbasesink.h:
24339 * gst/base/gstbasesrc.h:
24345 * gst/gstelement.h:
24347 * gst/gstmessage.h:
24349 * gst/gststructure.c:
24350 * gst/registries/gstlibxmlregistry.h:
24351 various documentation fixes
24353 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
24355 * docs/gst/gstreamer-sections.txt:
24356 * docs/gst/tmpl/gstvalue.sgml:
24357 rearrange gstvalue section
24358 * gst/gstutils.c: (gst_element_state_get_name):
24360 * gst/gstvalue.c: (_gst_value_initialize):
24364 2005-09-10 Jan Schmidt <thaytan@mad.scientist.com>
24366 * check/gst-libs/controller.c:
24367 Header include fix.
24368 * gst/base/gstbasetransform.c:
24369 (gst_base_transform_default_prepare_buf),
24370 (gst_base_transform_handle_buffer):
24371 * gst/base/gstbasetransform.h:
24372 Some more basetransform changes and fixes to enable sub-classes
24373 that modify buffer metadata only.
24374 * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
24375 (gst_capsfilter_init), (gst_capsfilter_transform_ip),
24376 (gst_capsfilter_prepare_buf):
24377 If the output pad has fixed allowed caps and input buffers
24378 don't have any, set the fixed caps on outgoing buffers.
24380 2005-09-09 Jan Schmidt <thaytan@mad.scientist.com>
24381 * check/elements/identity.c: (GST_START_TEST):
24382 Make the error a little clearer when the test fails because
24383 identity made a copy of the buffer.
24384 * docs/gst/gstreamer-sections.txt:
24385 New symbols in gstbasetransform.h
24386 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
24387 (gst_base_transform_init), (gst_base_transform_transform_size),
24388 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
24389 (gst_base_transform_default_prepare_buf),
24390 (gst_base_transform_get_unit_size),
24391 (gst_base_transform_buffer_alloc),
24392 (gst_base_transform_handle_buffer), (gst_base_transform_chain),
24393 (gst_base_transform_change_state),
24394 (gst_base_transform_set_passthrough),
24395 (gst_base_transform_set_in_place),
24396 (gst_base_transform_is_in_place):
24397 * gst/base/gstbasetransform.h:
24398 Change BaseTransform to separate in_place operate from same_caps
24399 output. in_place implies that the element can perform the transform
24400 on incoming buffers in-place, even if the caps on the output are
24402 Sub-class elements can now implement special buffer allocation
24403 methods for outgoing buffers if they wish to.
24404 Big documentation addition.
24405 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip):
24406 * gst/elements/gstelements.c:
24407 Changes for basetransform modifications.
24408 * gst/elements/Makefile.am:
24409 * gst/elements/gstfdsrc.c: (gst_fdsrc_init), (gst_fdsrc_create):
24410 Compile fix. Extra debug output.
24412 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
24414 * check/gst/gstpad.c: (GST_START_TEST), (name_is_valid),
24416 add tests for valid pad naming
24417 * gst/check/gstcheck.c: (gst_check_log_message_func),
24418 (gst_check_log_critical_func):
24420 remove printing of code, it is fragile when the code contains
24421 % and the line number is enough info
24422 * gst/check/gstcheck.h:
24423 * gst/gstpad.c: (gst_pad_template_new):
24426 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
24429 say what CHECK flags we use
24430 * docs/libs/gstreamer-libs.types:
24431 * libs/gst/controller/Makefile.am:
24432 * libs/gst/controller/gst-controller.c:
24433 * libs/gst/controller/gst-controller.h:
24434 * libs/gst/controller/gst-helper.c:
24435 * libs/gst/controller/gst-interpolation.c:
24436 * libs/gst/controller/gstcontroller.c:
24437 * libs/gst/controller/gsthelper.c:
24438 * libs/gst/controller/gstinterpolation.c:
24439 * tools/gst-inspect.c: (print_plugin_info):
24440 we don't use dashes in header names
24442 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
24444 * check/Makefile.am:
24445 * check/gst/.cvsignore:
24446 * check/gst/gstpipeline.c: (pop_messages), (GST_START_TEST),
24447 (gst_pipeline_suite), (main):
24448 adding a test for pipelines and state changes
24449 * gst/gstutils.c: (get_state_func):
24451 * gstreamer.spec.in:
24454 2005-09-08 Michael Smith <msmith@fluendo.com>
24456 * gst/elements/gstfilesrc.c: (gst_file_src_map_region),
24457 (gst_file_src_map_small_region), (gst_file_src_create_mmap),
24458 (gst_file_src_is_seekable), (gst_file_src_get_size),
24459 (gst_file_src_start):
24460 * gst/elements/gstfilesrc.h:
24461 Various fixes for unseekable, unmmapable, and non-normal files, so
24462 that fallback to read() rather than mmap() works.
24463 * gst/gstevent.c: (gst_event_new_newsegment):
24464 Allow newsegment events with segment_start == segment_end, as will
24465 correctly happen if you use filesrc on a zero-size file, for
24468 2005-09-07 Jan Schmidt <thaytan@mad.scientist.com>
24470 * gst/gstplugin.c: (gst_plugin_load_file):
24471 Call g_module_close when we don't load the module
24473 * gst/registries/gstlibxmlregistry.c:
24474 (gst_xml_registry_get_property):
24475 Port leak fix from 0.8
24477 2005-09-07 Stefan Kost <ensonic@users.sf.net>
24479 * docs/gst/gstreamer-docs.sgml:
24480 * docs/gst/tmpl/.cvsignore:
24481 * docs/gst/tmpl/gsttrace.sgml:
24482 * docs/gst/tmpl/gsttrashstack.sgml:
24485 * gst/gstelement.h:
24487 * gst/gstmessage.c:
24488 * gst/gstmessage.h:
24491 * gst/gsttaginterface.c:
24492 * gst/gsttaginterface.h:
24493 * gst/gsttaglist.c:
24494 * gst/gsttaglist.h:
24495 * gst/gsttagsetter.c:
24496 * gst/gsttagsetter.h:
24499 * gst/gsttrashstack.c:
24500 renamed gsttag -> gsttaglist, gsttaginterface -> gsttagsetter
24501 inlined docs for gsttrace, gsttrashstack
24503 2005-09-07 Stefan Kost <ensonic@users.sf.net>
24506 * gst/elements/gstbufferstore.h:
24507 * gst/elements/gsttypefindelement.c:
24508 * gst/elements/gsttypefindelement.h:
24510 * gst/gsttypefind.c:
24511 * gst/gsttypefind.h:
24512 * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type),
24513 (gst_type_find_factory_class_init), (gst_type_find_factory_init),
24514 (gst_type_find_factory_dispose),
24515 (gst_type_find_factory_unload_thyself),
24516 (gst_type_find_load_plugin), (gst_type_find_factory_get_list),
24517 (gst_type_find_factory_get_caps),
24518 (gst_type_find_factory_get_extensions),
24519 (gst_type_find_factory_call_function):
24520 * gst/gsttypefindfactory.h:
24521 * gst/registries/gstlibxmlregistry.c:
24522 * gst/registries/gstxmlregistry.c:
24523 splitted gsttypefind into gsttypefind, gsttypefindfactory
24525 2005-09-07 Andy Wingo <wingo@pobox.com>
24527 * gst/base/gstbasesink.c (gst_base_sink_activate_pull): Fix a race
24528 condition whereby the pad's task function is entered before the
24529 pad_mode variable was set.
24531 2005-09-07 Jan Schmidt <thaytan@mad.scientist.com>
24533 * gst/gstpad.c: (gst_pad_alloc_buffer):
24534 Catch misbehaving pad_alloc functions that don't
24535 set up caps and do it for them.
24537 2005-09-07 Stefan Kost <ensonic@users.sf.net>
24539 * check/pipelines/simple_launch_lines.c: (run_pipeline):
24540 test for pipe!=NULL
24541 * docs/gst/tmpl/.cvsignore:
24542 * docs/gst/tmpl/gstmemchunk.sgml:
24543 * docs/gst/tmpl/gstparse.sgml:
24544 * docs/gst/tmpl/gsttaglist.sgml:
24545 * docs/gst/tmpl/gsttagsetter.sgml:
24546 * docs/gst/tmpl/gsttypefind.sgml:
24547 * docs/gst/tmpl/gsttypefindfactory.sgml:
24548 * gst/gstmemchunk.c:
24551 * gst/gsttaginterface.c:
24552 * gst/gsttypefind.c:
24553 * gst/gsttypefind.h:
24556 === release 0.9.2 ===
24558 2005-09-06 Thomas Vander Stichele <thomas at apestaart dot org>
24563 releasing 0.9.2, "South"
24565 2005-09-05 Andy Wingo <wingo@pobox.com>
24567 * gst/registries/gstxmlregistry.h:
24568 * gst/registries/gstxmlregistry.c: Um... resurrect...
24570 * gst/registries/gstxmlregistry.h:
24571 * gst/registries/gstxmlregistry.c: and update to newer API.
24572 Incidentally they should be a bit faster now that they don't have
24575 2005-09-05 Andy Wingo <wingo@pobox.com>
24577 * gst/registries/gstxmlregistry.h:
24578 * gst/registries/gstxmlregistry.c: Remove from CVS, they were
24579 replaced by the libxml registry a while back
24581 2005-09-03 Thomas Vander Stichele <thomas at apestaart dot org>
24583 * docs/gst/tmpl/gstplugin.sgml:
24584 * gst/elements/gstelements.c:
24586 * gst/gstplugin.c: (gst_plugin_register_func),
24587 (gst_plugin_desc_copy), (gst_plugin_desc_free),
24588 (gst_plugin_get_source):
24590 * gst/registries/gstlibxmlregistry.c: (load_plugin),
24591 (gst_xml_registry_save_plugin):
24592 * gst/registries/gstxmlregistry.c: (gst_xml_registry_parse_plugin),
24593 (gst_xml_registry_save_plugin):
24594 * tools/gst-inspect.c: (print_plugin_info):
24595 add a "source" plugin description field, to represent the source
24596 module this plugin is a part of. By default GST_PLUGIN_DEFINE
24597 will set it to PACKAGE, which is automake's idea of the name of
24598 the source project.
24600 2005-09-03 Thomas Vander Stichele <thomas at apestaart dot org>
24605 * docs/Makefile.am:
24606 * docs/faq/Makefile.am:
24607 * docs/gst/tmpl/gstelement.sgml:
24608 * docs/gst/tmpl/gsttypes.sgml:
24609 * docs/htmlinstall.mak:
24610 * docs/manual/Makefile.am:
24611 * docs/pwg/Makefile.am:
24612 reorganize doc build a little
24613 split out docbook and gtk-doc stuff
24614 have two separate --enable's and enable them through autogen
24615 but disable by default in configure (to be similar to other
24617 * gstreamer.spec.in:
24618 clean up docs install
24636 translation updates
24638 2005-09-03 Tim-Philipp Müller <tim at centricular dot net>
24640 * gst/base/gstbasesink.c: (gst_base_sink_pad_buffer_alloc):
24643 * gst/elements/gstfakesink.c: (gst_fake_sink_init),
24644 (gst_fake_sink_change_state):
24645 Make state change function thread-safe.
24647 * gst/gstpad.c: (gst_pad_alloc_buffer):
24648 Set offset on generic buffer allocated by fallback.
24650 2005-09-03 Stefan Kost <ensonic@users.sf.net>
24652 * docs/gst/gstreamer-sections.txt:
24653 * docs/gst/tmpl/gstelement.sgml:
24655 * libs/gst/controller/gst-controller.c:
24656 (gst_controlled_property_set_interpolation_mode),
24657 (gst_controlled_property_new),
24658 (gst_controller_find_controlled_property):
24659 run the wingo-magic script against the docs
24661 2005-09-02 Stefan Kost <ensonic@users.sf.net>
24663 * docs/gst/gstreamer-docs.sgml:
24664 * docs/gst/gstreamer-sections.txt:
24665 * docs/gst/tmpl/.cvsignore:
24666 * docs/gst/tmpl/gstelementdetails.sgml:
24667 * docs/gst/tmpl/gstelementfactory.sgml:
24670 * gst/gstelementfactory.c:
24671 * gst/gstelementfactory.h:
24672 merged elementdetails docs into elementfactory docs
24675 2005-09-02 Andy Wingo <wingo@pobox.com>
24677 * gst/gstelement.h: Add magical pixie dust to make glib-mkenums
24678 consider this enum an enum and not a flags.
24680 2005-09-02 Stefan Kost <ensonic@users.sf.net>
24682 * docs/gst/gstreamer-docs.sgml:
24683 * docs/gst/tmpl/.cvsignore:
24684 * docs/gst/tmpl/gstghostpad.sgml:
24685 * docs/gst/tmpl/gstiterator.sgml:
24686 * docs/gst/tmpl/gstmacros.sgml:
24687 * docs/gst/tmpl/gstrealpad.sgml:
24688 * docs/gst/tmpl/gstregistry.sgml:
24689 * docs/gst/tmpl/gstregistrypool.sgml:
24690 * docs/gst/tmpl/gststructure.sgml:
24691 * docs/gst/tmpl/gstsystemclock.sgml:
24692 * docs/gst/tmpl/gsttrace.sgml:
24693 * gst/gstghostpad.c:
24695 * gst/gstmemchunk.c:
24696 * gst/gstmemchunk.h:
24698 * gst/gstregistry.c:
24699 * gst/gstregistrypool.c:
24700 * gst/gststructure.c:
24701 * gst/gstsystemclock.c:
24704 2005-09-02 Andy Wingo <wingo@pobox.com>
24706 * gst/gstelement.h (GstState): Renamed from GstElementState,
24707 changed to be a normal enum instead of flags.
24708 (GstStateChangeReturn): Renamed from GstElementStateReturn, names
24709 munged to be GST_STATE_CHANGE_*.
24710 (GST_STATE_CHANGE): Renamed from GST_STATE_TRANSITION, updated to
24711 work with the new state representation.
24712 (GstStateChange): New enumeration of possible state transitions.
24713 Replaces GST_STATE_FOO_TO_BAR with GST_STATE_CHANGE_FOO_TO_BAR.
24714 (GstElementClass::change_state): Pass the GstStateChange along as
24715 an argument. Helps language bindings, so they don't have to use
24716 tricky lock-needing macros like GST_STATE_CHANGE ().
24718 * scripts/update-states (file): New script. Run it on a file to
24719 update it for state naming and API changes. Updates files in
24722 * All files updated for the new API.
24724 2005-09-02 Thomas Vander Stichele <thomas at apestaart dot org>
24726 * gst/gsttrace.c: (gst_trace_flush), (gst_trace_text_flush):
24727 * gst/gstutils.c: (gst_util_set_value_from_string),
24728 (gst_util_set_object_arg):
24729 fix a bunch of unchecked return values
24730 * tools/gst-complete.c: (main):
24731 * gstreamer.spec.in:
24734 2005-09-01 Wim Taymans <wim@fluendo.com>
24736 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
24737 (gst_base_sink_event), (gst_base_sink_do_sync),
24738 (gst_base_sink_handle_event):
24739 * gst/base/gstbasesink.h:
24740 Handle newsegments more correctly.
24745 * gst/gstevent.c: (gst_event_new_newsegment):
24746 A newsegment cannot have a start_time of -1
24748 2005-09-01 Tim-Philipp Müller <tim at centricular dot net>
24750 * win32/gstenumtypes.c:
24751 * win32/gstenumtypes.h:
24754 2005-08-31 Stefan Kost <ensonic@users.sf.net>
24756 * libs/gst/controller/gst-controller.c:
24757 (gst_controlled_property_set_interpolation_mode),
24758 (gst_controlled_property_new):
24759 fixed boolean again
24761 2005-08-31 Thomas Vander Stichele <thomas at apestaart dot org>
24763 * docs/faq/gst-uninstalled:
24768 * gst/gstutils.c: (gst_element_link_filtered):
24770 add gst_element_link_filtered
24772 2005-08-31 Stefan Kost <ensonic@users.sf.net>
24774 * docs/gst/gstreamer-docs.sgml:
24775 * docs/gst/gstreamer-sections.txt:
24776 * docs/gst/tmpl/.cvsignore:
24777 * docs/gst/tmpl/gsterror.sgml:
24778 * docs/gst/tmpl/gstfilter.sgml:
24779 * docs/gst/tmpl/gsturihandler.sgml:
24780 * docs/gst/tmpl/gsturitype.sgml:
24781 * docs/gst/tmpl/gstutils.sgml:
24782 * docs/gst/tmpl/gstxml.sgml:
24787 * gst/gsturitype.c:
24790 inlined more docs, fixed double id-ref
24792 2005-08-31 Wim Taymans <wim@fluendo.com>
24794 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
24795 (gst_base_transform_handle_buffer):
24796 Passthrough elements don't need the caps as they don't care.
24798 2005-08-31 Wim Taymans <wim@fluendo.com>
24800 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
24801 (gst_base_transform_handle_buffer), (gst_base_transform_chain):
24802 Don't leak refcounts on buffers.
24804 2005-08-31 Wim Taymans <wim@fluendo.com>
24806 * gst/base/gstbasetransform.c: (gst_base_transform_configure_caps),
24807 (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
24808 (gst_base_transform_chain), (gst_base_transform_change_state):
24809 * gst/base/gstbasetransform.h:
24810 Handle the case where we are not negotiated more gracefully.
24812 2005-08-31 Tim-Philipp Müller <tim at centricular dot net>
24814 * gst/elements/gstfilesrc.c: (gst_mmap_buffer_init),
24815 (gst_file_src_map_region):
24816 Set READONLY flag on mmap'ed buffers, otherwise
24817 gst_buffer_make_writable() won't work properly (#314708).
24819 2005-08-31 Wim Taymans <wim@fluendo.com>
24821 * gst/base/gstbasetransform.c: (gst_base_transform_handle_buffer):
24822 passthrough elements can even do inplace on non writable
24823 buffers (as they don't touch them).
24825 2005-08-31 Stefan Kost <ensonic@users.sf.net>
24827 * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
24828 (gst_test_mono_source_set_property),
24829 (gst_test_mono_source_class_init), (GST_START_TEST),
24830 (gst_controller_suite):
24831 more tests (hehe I have the most)
24833 describe popping messages whenusing mulltiple sources
24834 * libs/gst/controller/gst-controller.c:
24835 (gst_controlled_property_set_interpolation_mode),
24836 (gst_controlled_property_new):
24837 * libs/gst/controller/gst-controller.h:
24838 * libs/gst/controller/gst-interpolation.c:
24839 implement boolean properties
24841 2005-08-31 Wim Taymans <wim@fluendo.com>
24843 * gst/gstminiobject.c: (gst_mini_object_ref):
24844 Cannot assert that the refcount has to be positive
24845 since a disposed object can be resurrected.
24847 2005-08-31 Wim Taymans <wim@fluendo.com>
24849 * gst/gstpad.c: (gst_pad_init):
24850 Revert change, need to first fix badly behaving
24853 2005-08-30 Wim Taymans <wim@fluendo.com>
24855 * check/elements/fakesrc.c: (setup_fakesrc):
24856 * check/elements/identity.c: (setup_identity):
24857 Activate pads before using them.
24859 2005-08-30 Wim Taymans <wim@fluendo.com>
24861 * gst/base/gstadapter.c: (gst_adapter_flush):
24862 Flushing out 0 bytes is ok for this function.
24864 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
24865 no newsegment gives a warning and sets the start/stop to
24868 * gst/base/gstbasetransform.c: (gst_base_transform_change_state),
24869 (gst_base_transform_set_passthrough):
24872 * gst/gstminiobject.c: (gst_mini_object_ref):
24873 Check refcount here too.
24875 * gst/gstpad.c: (gst_pad_init):
24876 Pads are initially flushing and refusing data.
24878 * gst/gstutils.c: (gst_element_link_pads_filtered):
24879 When adding a capsfilter element make sure it has the
24880 same state as the parent bin.
24882 2005-08-30 Stefan Kost <ensonic@users.sf.net>
24884 * docs/gst/tmpl/.cvsignore:
24885 * docs/gst/tmpl/gstformat.sgml:
24886 * docs/gst/tmpl/gstversion.sgml:
24890 * gst/gstversion.h.in:
24891 more docs and two more inlined
24893 2005-08-30 Wim Taymans <wim@fluendo.com>
24895 * gst/elements/gstfilesink.c: (gst_file_sink_class_init):
24896 Don't sync to clock.
24898 2005-08-30 Stefan Kost <ensonic@users.sf.net>
24900 * docs/gst/gstreamer-sections.txt:
24901 ultral33t func10ns deserve to appear in the docs actually
24902 * docs/gst/tmpl/.cvsignore:
24903 * docs/gst/tmpl/gstcompat.sgml:
24904 * docs/gst/tmpl/gstconfig.sgml:
24905 * gst/check/gstcheck.c:
24907 * gst/gstconfig.h.in:
24910 2005-08-30 Stefan Kost <ensonic@users.sf.net>
24912 * docs/gst/tmpl/.cvsignore:
24913 * docs/gst/tmpl/gstquery.sgml:
24914 * docs/gst/tmpl/gstutils.sgml:
24917 inlined and extended docs
24919 2005-08-30 Stefan Kost <ensonic@users.sf.net>
24921 * check/gst-libs/controller.c: (GST_START_TEST),
24922 (gst_controller_suite):
24924 * docs/gst/tmpl/gstutils.sgml:
24925 * docs/libs/gstreamer-libs-sections.txt:
24926 * docs/libs/tmpl/gstdataprotocol.sgml:
24928 * examples/controller/audio-example.c: (main):
24929 controller example works now
24932 * tools/gst-inspect.c: (print_element_properties_info):
24933 show param spec flags
24935 2005-08-29 Andy Wingo <wingo@pobox.com>
24937 * gst/gstutils.c (gst_util_uint64_scale): New 3733t funct10n.
24939 2005-08-28 Andy Wingo <wingo@pobox.com>
24941 * gst/gstutils.h (GST_BOILERPLATE_FULL): Prototype instance_init
24942 as having two arguments instead of just one. Allows superclasses
24943 to access information on subclasses -- see the terrible for() loop
24944 in gtype.c:g_type_create_instance for the reason why. All callers
24947 2005-08-27 Stefan Kost <ensonic@users.sf.net>
24949 * docs/design/part-messages.txt:
24951 * docs/gst/tmpl/.cvsignore:
24952 * docs/gst/tmpl/gstcaps.sgml:
24953 * docs/gst/tmpl/gstclock.sgml:
24959 * gst/gstmessage.c:
24960 added descriptions for bus and message
24961 inline caps and clock docs
24963 2005-08-27 Stefan Kost <ensonic@users.sf.net>
24965 * gst/gstmessage.c:
24966 * gst/gstmessage.h:
24969 2005-08-27 Stefan Kost <ensonic@users.sf.net>
24971 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
24974 2005-08-26 Andy Wingo <wingo@pobox.com>
24976 * check/pipelines/simple_launch_lines.c (run_pipeline): Check
24977 element_set_state's return val.
24978 (test_2_elements): Add test that's been disabled for months.
24980 * gst/elements/gstfakesink.c: Cleanups. Add can-activate-push and
24981 can-activate-pull properties.
24983 * gst/elements/gstfakesrc.c: Cleanups. Add can-activate-push and
24984 can-activate-pull properties. Implement is_seekable so fakesrc can
24985 operate in pull mode.
24987 * gst/base/gstbasesink.c (GstBaseSink): Remove has-loop, has-chain
24989 (gst_base_sink_activate, gst_base_sink_activate_pull)
24990 (gst_base_sink_activate_push): Make activation mode choosing work.
24992 (gst_base_sink_chain, gst_base_sink_loop): Assert activation mode
24993 is right. Make pull mode work. Post an eos before pausing in pull
24995 (gst_base_sink_change_state): Pay attention to the core's
24996 change_state() return val.
24998 * gst/base/gstbasesrc.c (GstBaseSrc): Remove has-loop,
24999 has-getrange properties. Cleanups.
25001 * gst/base/gstbasesrc.h (GstBaseSrc): Remove has_loop,
25002 has_getrange and replace with can_activate_pull and
25005 * gst/base/gstbasesink.h (GstBaseSink): Rearrange fields, add
25006 locking comments. Remove has_loop, has_chain and replace with
25007 can_activate_pull and can_activate_push.
25009 2005-08-26 Jan Schmidt <thaytan@mad.scientist.com>
25012 * examples/Makefile.am:
25013 * examples/metadata/Makefile.am:
25014 * examples/metadata/read-metadata.c: (message_loop),
25015 (have_pad_handler), (make_pipeline), (print_tag), (main):
25016 Add metadata reading example that loops over a list of filenames,
25017 dumping any tags found.
25019 * gst/gstbus.c: (gst_bus_dispose):
25020 * gst/gstelement.c: (gst_element_dispose):
25021 Release a few potentially-held references in dispose.
25023 2005-08-26 Stefan Kost <ensonic@users.sf.net>
25025 * docs/gst/tmpl/gstminiobject.sgml:
25026 do *not* add tmpl/*.sgml files to CVS!
25028 2005-08-26 Stefan Kost <ensonic@users.sf.net>
25030 * libs/gst/bytestream/.cvsignore:
25031 * libs/gst/bytestream/Makefile.am:
25032 * libs/gst/bytestream/adapter.c:
25033 * libs/gst/bytestream/adapter.h:
25034 * libs/gst/bytestream/bytestream.c:
25035 * libs/gst/bytestream/bytestream.h:
25036 * libs/gst/bytestream/filepad.c:
25037 * libs/gst/bytestream/filepad.h:
25038 removing obsolete files
25040 2005-08-26 Stefan Kost <ensonic@users.sf.net>
25042 * docs/gst/gstreamer-docs.sgml:
25043 * docs/libs/gstreamer-libs-docs.sgml:
25044 disabed additional index entries again, as this makes docs-gen just
25045 slow and they aren't useful yet
25046 * docs/libs/gstreamer-libs-sections.txt:
25047 little -section.txt cleanup for libs
25049 2005-08-26 Thomas Vander Stichele <thomas at apestaart dot org>
25051 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
25052 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size),
25053 fix up some debugging
25054 (gst_base_transform_get_unit_size),
25055 (gst_base_transform_buffer_alloc), (gst_base_transform_event),
25056 (gst_base_transform_handle_buffer):
25057 * gst/base/gstbasetransform.h:
25058 handle and store timed NEWSEGMENT events so that subclasses that
25059 calculate time by counting samples have a segment_start time they
25060 need to add to their timestamps - see audioresample
25062 2005-08-26 Stefan Kost <ensonic@users.sf.net>
25065 removed ';' from the end of macro defs
25066 * docs/gst/gstreamer-docs.sgml:
25067 * docs/gst/gstreamer-sections.txt:
25068 * docs/gst/tmpl/.cvsignore:
25070 * gst/gstelement.c: (gst_element_class_init),
25071 (gst_element_set_state), (activate_pads),
25072 (gst_element_save_thyself):
25073 * gst/gstevent.c: (gst_event_new_newsegment):
25075 * gst/gstiterator.c:
25076 * gst/gstiterator.h:
25079 * gst/gstutils.c: (gst_pad_query_convert):
25081 fixed parameter name mismatches between source, header and docs
25082 added some more docs, resolved the last batch of unused elements in
25083 docs (now someone needs to doc them)
25085 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
25087 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_rebuild):
25088 * gst/registries/gstxmlregistry.c: (gst_xml_registry_rebuild):
25089 don't walk through the plugins backwards. Where is all this
25090 reversed logic coming from ?
25092 2005-08-25 Wim Taymans <wim@fluendo.com>
25094 * gst/base/gstbasetransform.c: (gst_base_transform_init),
25095 (gst_base_transform_transform_size),
25096 (gst_base_transform_configure_caps),
25097 (gst_base_transform_get_unit_size),
25098 (gst_base_transform_buffer_alloc),
25099 (gst_base_transform_change_state):
25100 * gst/base/gstbasetransform.h:
25101 Cache caps unit_size.
25102 Make sure we cannot negotiate up and downstream at the
25105 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
25107 * gst/gst.c: (init_pre), (init_post):
25108 register the installed plugin path after the env var
25109 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_save):
25110 * gst/registries/gstxmlregistry.c: (gst_xml_registry_save):
25111 don't reverse order of paths; conserve the order of GST_PLUGIN_PATH
25112 directories, so the tests can prefer uninstalled over installed
25114 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
25116 * gst/base/gstbasetransform.h:
25121 2005-08-25 Wim Taymans <wim@fluendo.com>
25123 * gst/gstbin.c: (bin_bus_handler):
25124 Be a bit more conservative about the posted message.
25126 * gst/gstbus.c: (gst_bus_post):
25127 Some cleanups, warn wrong return values.
25129 2005-08-25 Jan Schmidt <thaytan@mad.scientist.com>
25131 * check/gst/gstbin.c: (GST_START_TEST):
25132 * gst/gstbin.c: (bin_bus_handler):
25133 * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
25134 (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
25135 (gst_message_new_warning), (gst_message_new_tag),
25136 (gst_message_new_state_changed), (gst_message_new_segment_start),
25137 (gst_message_new_segment_done), (gst_message_new_custom):
25138 * gst/gstmessage.h:
25139 * tools/gst-launch.c: (event_loop):
25140 * tools/gst-md5sum.c: (event_loop):
25141 Revert unpopular change for GST_MESSAGE_SRC to GObject.
25143 2005-08-25 Wim Taymans <wim@fluendo.com>
25145 * check/generic/states.c: (GST_START_TEST):
25146 Cleanup can be done at the end.
25148 * gst/gsttask.c: (gst_task_get_type), (gst_task_finalize),
25149 (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
25150 (gst_task_get_state), (gst_task_start), (gst_task_pause):
25151 Oh boy.. Thanks for finding this, Thomas.
25153 2005-08-25 Stefan Kost <ensonic@users.sf.net>
25155 * docs/gst/gstreamer.types:
25156 added missing types
25158 2005-08-25 Stefan Kost <ensonic@users.sf.net>
25160 * docs/gst/gstreamer-docs.sgml:
25161 * docs/gst/gstreamer-sections.txt:
25162 * docs/gst/tmpl/.cvsignore:
25164 * gst/gstiterator.c:
25166 * gst/registries/gstxmlregistry.h:
25167 added missing classes and symbols (123 more to go)
25168 removed removed symbols from section file
25169 fixed many doc-comments
25171 2005-08-24 Wim Taymans <wim@fluendo.com>
25173 * check/generic/states.c: (GST_START_TEST):
25174 Make sure all tasks are stopped.
25176 * check/gst/gstbin.c: (GST_START_TEST):
25177 Unref after usage for proper valgrinding.
25179 * gst/gstpad.c: (gst_pad_finalize), (gst_pad_stop_task):
25180 Really wait for the task to stop before destroying the
25183 * gst/gstqueue.c: (gst_queue_sink_activate_push),
25184 (gst_queue_src_activate_push):
25185 Small cleanups. Don't stop the task when we did not start
25188 * gst/gsttask.c: (gst_task_get_type), (gst_task_init),
25189 (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
25190 (gst_task_get_state), (gst_task_start), (gst_task_pause),
25193 Protect the stream lock with the object lock.
25194 Disallow setting the stream lock when running.
25195 Add cleanup_all to wait for the threadpool to finish.
25196 Remove code to autoallocate a mutex if none was provided.
25197 Add _join() to wait for a task to stop.
25198 Protect the thread pool with a global lock.
25200 2005-08-24 Wim Taymans <wim@fluendo.com>
25202 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
25203 (gst_base_sink_get_times), (gst_base_sink_do_sync),
25204 (gst_base_sink_handle_buffer), (gst_base_sink_change_state):
25205 * gst/base/gstbasesink.h:
25206 Handle newsegment events correctly.
25207 Drop buffers out of the segment range.
25209 2005-08-22 Andy Wingo <wingo@pobox.com>
25211 * gst/gstutils.h (GST_BOILERPLATE_WITH_INTERFACE): New ghetto
25212 macro, implements an interface and gstimplementsinterface for a
25215 2005-08-24 Thomas Vander Stichele <thomas at apestaart dot org>
25217 * check/Makefile.am:
25218 * check/generic/states.c: (GST_START_TEST), (states_suite), (main):
25219 add a test that does a bunch of state changes on elements
25220 needs some fixing for valgrind
25221 * check/states/sinks.c: (gst_object_suite):
25224 add prototype for gst_caps_is_equal_fixed
25226 * gst/gstregistrypool.c:
25229 2005-08-24 Andy Wingo <wingo@pobox.com>
25231 * gst/gstquery.c (gst_query_new_convert): Spew if we try to
25232 convert a negative value. Doesn't make much sense. Mostly this is
25233 here to force callers to ensure -1 maps to -1.
25235 2005-08-24 Jan Schmidt <thaytan@mad.scientist.com>
25237 * docs/pwg/advanced-types.xml:
25238 Well done to Michael for catching my deliberate introduction
25239 of this spelling mistake.
25240 * gst/gstbin.c: (gst_bin_remove_func), (bin_bus_handler):
25241 * gst/gstelement.h:
25242 Add GST_ELEMENT_UNPARENTING to prevent races so that we can
25243 unlink pads before removing the element from the bin.
25245 2005-08-24 Andy Wingo <wingo@pobox.com>
25247 * gst/gst.c (parse_debug_list): Accept e.g. GST_DEBUG=4 to mean
25248 the same thing as GST_DEBUG=*:4.
25249 (parse_debug_level, parse_debug_category): New helper parsers.
25251 2005-08-24 Thomas Vander Stichele <thomas at apestaart dot org>
25253 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
25254 (gst_base_transform_transform_size), (gst_base_transform_getcaps),
25255 (gst_base_transform_setcaps), (gst_base_transform_get_unit_size),
25256 (gst_base_transform_buffer_alloc),
25257 (gst_base_transform_handle_buffer):
25258 use gboolean return values and pointers to size so we can use the
25259 full GST_BUFFER_SIZE range (guint) for buffer sizes
25260 use GstPadDirection for transform_caps
25261 * gst/base/gstbasetransform.h:
25262 rename get_size to get_unit_size since that's what it is
25263 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_caps):
25264 use GstPadDirection for transform_caps
25265 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
25267 cleanup and debugging
25269 2005-08-24 Stefan Kost <ensonic@users.sf.net>
25271 * gst/gstelement.c: (gst_element_class_init),
25272 (gst_element_set_state), (activate_pads),
25273 (gst_element_save_thyself):
25274 * tools/gst-compprep.c: (main):
25275 * tools/gst-inspect.c: (print_element_properties_info):
25276 * tools/gst-xmlinspect.c: (print_element_properties):
25277 Fixed long standing mem-leak
25279 2005-08-24 Jan Schmidt <thaytan@mad.scientist.com>
25281 * check/gst/gstbin.c: (GST_START_TEST):
25282 * gst/gstbin.c: (bin_bus_handler):
25283 * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
25284 (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
25285 (gst_message_new_warning), (gst_message_new_tag),
25286 (gst_message_new_state_changed), (gst_message_new_segment_start),
25287 (gst_message_new_segment_done), (gst_message_new_custom):
25288 * gst/gstmessage.h:
25289 * tools/gst-launch.c: (event_loop):
25290 * tools/gst-md5sum.c: (event_loop):
25291 Change GST_MESSAGE_SRC to be a GObject rather than a GstObject, so
25292 that applications can sensibly post custom messages with references
25293 to their own objects.
25295 2005-08-24 Andy Wingo <wingo@pobox.com>
25297 * gst/gstpad.c (gst_pad_fixate_caps): Check if the caps is fixed
25300 2005-08-24 Wim Taymans <wim@fluendo.com>
25302 * gst/base/gstbasetransform.c: (gst_base_transform_init),
25303 (gst_base_transform_transform_caps),
25304 (gst_base_transform_transform_size),
25305 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
25306 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
25307 (gst_base_transform_handle_buffer):
25308 * gst/base/gstbasetransform.h:
25309 Many fixes and new features added by Thomas. Can now also do
25310 transforms with variable sizes and a custom fixate_caps function.
25312 2005-08-24 Wim Taymans <wim@fluendo.com>
25314 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
25318 Cast to ClockTime before formatting to time.
25323 2005-08-24 Stefan Kost <ensonic@users.sf.net>
25325 * check/gst-libs/controller.c: (GST_START_TEST),
25326 (gst_controller_suite):
25327 * docs/gst/tmpl/gstcaps.sgml:
25328 * docs/gst/tmpl/gstghostpad.sgml:
25329 * docs/gst/tmpl/gstquery.sgml:
25330 * docs/gst/tmpl/gstutils.sgml:
25331 * libs/gst/controller/gst-helper.c: (gst_object_set_controller),
25332 (gst_object_sink_values), (gst_object_get_value_arrays),
25333 (gst_object_get_value_array):
25334 gracefully handle helper method calls to objects that are not beeing
25335 controlled, added test case for that
25337 2005-08-23 Wim Taymans <wim@fluendo.com>
25339 * gst/gstevent.c: (_gst_event_copy), (gst_event_new_custom),
25340 (gst_event_new_newsegment), (gst_event_parse_newsegment),
25341 (gst_event_new_tag), (gst_event_parse_tag), (gst_event_new_qos),
25342 (gst_event_parse_qos), (gst_event_new_seek),
25343 (gst_event_parse_seek):
25345 Some more debugging output and doc cleanups.
25347 * gst/gstqueue.c: (gst_queue_handle_sink_event):
25348 Fix possible deadlock.
25350 2005-08-23 Stefan Kost <ensonic@users.sf.net>
25352 * docs/gst/gstreamer-docs.sgml:
25353 * docs/gst/gstreamer-sections.txt:
25354 * docs/gst/gstreamer.types:
25355 * docs/gst/tmpl/.cvsignore:
25358 * gst/gstelement.c:
25360 added 100 symbols from gstreamer-unused.txt to the right sections
25361 fixed more broken comments
25362 added GstBus to docs
25364 2005-08-23 Stefan Kost <ensonic@users.sf.net>
25366 * docs/gst/gstreamer-sections.txt:
25367 * docs/gst/tmpl/.cvsignore:
25368 * docs/gst/tmpl/gstbin.sgml:
25369 * docs/gst/tmpl/gstbuffer.sgml:
25370 * gst/base/gstbasesrc.c:
25371 * gst/gstbin.c: (gst_bin_get_type), (gst_bin_class_init):
25374 * tools/gst-launch.1.in:
25375 inlined more doc comments, added missing comments and fixed comments
25378 2005-08-23 Thomas Vander Stichele <thomas at apestaart dot org>
25380 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
25384 * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_alloc_buffer):
25386 * gst/gststructure.c: (gst_caps_structure_fixate_field_boolean):
25387 * gst/gststructure.h:
25388 add a fixate function for booleans; add a FIXME that these func
25389 names should probably be gst_structure_fixate_*
25391 2005-08-23 Stefan Kost <ensonic@users.sf.net>
25393 * docs/gst/gstreamer-docs.sgml:
25394 * docs/gst/gstreamer-sections.txt:
25396 * gst/gstbin.c: (gst_bin_get_type),
25397 (gst_bin_child_proxy_get_child_by_index),
25398 (gst_bin_child_proxy_get_children_count),
25399 (gst_bin_child_proxy_init):
25400 * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
25401 (gst_child_proxy_get_child_by_index),
25402 (gst_child_proxy_get_children_count), (gst_child_proxy_lookup),
25403 (gst_child_proxy_get_property), (gst_child_proxy_get_valist),
25404 (gst_child_proxy_get), (gst_child_proxy_set_property),
25405 (gst_child_proxy_set_valist), (gst_child_proxy_set),
25406 (gst_child_proxy_child_added), (gst_child_proxy_child_removed),
25407 (gst_child_proxy_base_init), (gst_child_proxy_get_type):
25408 * gst/gstchildproxy.h:
25409 * gst/parse/grammar.y:
25410 * tools/gst-inspect.c: (print_interfaces),
25411 (print_element_properties_info), (print_element_info):
25412 ported gstchildproxy over from 0.8
25413 ported gst-inspect fixes and enhancements over from 0.8
25415 2005-08-22 Wim Taymans <wim@fluendo.com>
25417 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
25418 (gst_base_transform_handle_buffer):
25419 Also call the transform function if we have ANY caps.
25421 * gst/gstpipeline.c: (gst_pipeline_set_new_stream_time):
25424 2005-08-22 Jan Schmidt <thaytan@mad.scientist.com>
25426 * gst/base/gstbasesrc.c: (gst_base_src_event_handler)
25427 Don't pretend to handle seek events if the source is not seekable
25429 2005-08-22 Jan Schmidt <thaytan@mad.scientist.com>
25431 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
25432 Remove extra parameter to debug output
25434 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
25435 (gst_base_src_do_seek), (gst_base_src_activate_push):
25436 Fix seek event handling.
25438 * gst/gstpipeline.c: (gst_pipeline_change_state):
25439 * gst/gstqueue.c: (gst_queue_handle_sink_event),
25440 (gst_queue_src_activate_push):
25441 Don't start the src pad task on FLUSH_STOP if the pad
25445 2005-08-22 Wim Taymans <wim@fluendo.com>
25447 * check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
25448 Added check for gst_static_caps_get() refcounting.
25450 2005-08-22 Wim Taymans <wim@fluendo.com>
25452 * gst/gstcaps.c: (gst_static_caps_get), (gst_caps_to_string):
25453 Make _static_caps_get() refcounting sane.
25455 * gst/gstelement.c: (gst_element_set_state):
25456 Add g_return_val_if_fail() to protect against segfaults.
25458 2005-08-22 Stefan Kost <ensonic@users.sf.net>
25460 * docs/gst/tmpl/gstevent.sgml:
25463 inlined remaining docs, added missing doc comments
25465 2005-08-22 Thomas Vander Stichele <thomas at apestaart dot org>
25467 * check/gst/gstbin.c: (GST_START_TEST):
25468 since we don't know when preroll is done, use refcount range
25470 * gst/check/gstcheck.h:
25471 add macro for checking refcount range
25473 2005-08-21 Thomas Vander Stichele <thomas at apestaart dot org>
25475 * check/Makefile.am:
25476 clean up environment for when registry gets built versus
25477 when actual tests are run; valgrind seems to not report
25478 leaks if GST_PLUGIN_PATH is set to some specific values
25479 * check/gst/gstbin.c: (GST_START_TEST):
25480 add more refcounting checks; maybe this exposes a
25482 * common/check.mak:
25483 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
25484 * gst/check/gstcheck.h:
25485 * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_get_state),
25486 (gst_bin_change_state):
25487 * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_chain):
25488 add/fix debugging/whitespace
25490 2005-08-21 Jan Schmidt <thaytan@mad.scientist.com>
25492 * check/gst/gstevent.c: (event_probe), (test_event),
25494 Er, don't call gst_bin_watch_for_state_change you idiot.
25496 2005-08-21 Jan Schmidt <thaytan@mad.scientist.com>
25498 * check/Makefile.am:
25499 Use CHECK_CFLAGS and CHECK_LIBS
25500 * check/gst/gstevent.c: (event_probe), (test_event),
25503 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
25504 (gst_base_src_start), (gst_base_src_stop),
25505 (gst_base_src_activate_push), (gst_base_src_activate_pull),
25506 (gst_base_src_change_state):
25507 Sprinkle gst_base_src_stop liberally around error paths to fix
25508 problems reusing a source after failed state changes.
25509 * gst/base/gsttypefindhelper.c: (helper_find_peek),
25510 (helper_find_suggest), (gst_type_find_helper):
25511 Extra debug output. Don't segfault on GST_PAD_GETRANGEFUNC = NULL
25513 * docs/gst/tmpl/gstevent.sgml:
25514 Migrate part of the docs from the SGML file. Wait for ensonic to
25515 tell me how I did it wrong ;)
25516 * tools/gst-typefind.c: (main):
25517 Extra robustness to state changes between files.
25519 2005-08-21 Thomas Vander Stichele <thomas at apestaart dot org>
25521 * check/Makefile.am:
25522 don't valgrind the controller test - it's leaking - Stefan, HELP
25523 * gst/check/gstcheck.c: (gst_check_message_error),
25524 (gst_check_chain_func), (gst_check_setup_element),
25525 (gst_check_teardown_element), (gst_check_setup_src_pad),
25526 (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
25527 (gst_check_teardown_sink_pad):
25528 * gst/check/gstcheck.h:
25529 add a bunch of methods to set up elements, and src and sink pads
25530 * check/elements/fakesrc.c: (setup_fakesrc), (cleanup_fakesrc):
25531 * check/elements/identity.c: (setup_identity), (cleanup_identity),
25534 * gst/gstmessage.c:
25536 whitespace/doc fixes
25538 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
25540 * gst/gstelement.h:
25541 make GST_ELEMENT_ERROR not do GST_ERROR_OBJECT - these errors should
25542 be handled by the application and not always printed as well
25544 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
25546 * check/Makefile.am:
25548 * gst/check/gstcheck.c: (gst_check_message_error):
25549 * gst/check/gstcheck.h:
25550 add a fail_unless_equals_int
25551 add fail_unless for error messages
25553 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
25555 * check/Makefile.am:
25557 * common/Makefile.am:
25558 * common/check.mak:
25560 factor out some of the common stuff so we can use it
25562 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
25564 * check/Makefile.am:
25565 * check/gst/gstiterator.c: (GST_START_TEST):
25566 * check/gst/gstsystemclock.c: (GST_START_TEST),
25567 (gst_systemclock_suite):
25568 * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
25570 valgrind more tests
25572 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
25574 * check/elements/.cvsignore:
25575 * check/elements/gstfakesrc.c:
25576 rename to name of element
25577 * check/elements/identity.c: (chain_func), (event_func),
25578 (setup_identity), (cleanup_identity), (GST_START_TEST),
25579 (identity_suite), (main):
25580 add a test for identity
25581 * check/Makefile.am:
25582 * pkgconfig/Makefile.am:
25583 * pkgconfig/gstreamer-check.pc.in:
25584 * pkgconfig/gstreamer-check-uninstalled.pc.in:
25588 move the check stuff to a library that gets installed
25589 * check/gst-libs/controller.c: (GST_START_TEST):
25590 * check/gst-libs/gdp.c:
25591 * check/gst/gst.c: (GST_START_TEST):
25592 * check/gst/gstbin.c:
25593 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
25594 * check/gst/gstbus.c:
25595 * check/gst/gstcaps.c: (GST_START_TEST):
25596 * check/gst/gstelement.c:
25597 * check/gst/gstghostpad.c:
25598 * check/gst/gstiterator.c:
25599 * check/gst/gstmessage.c:
25600 * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST):
25601 * check/gst/gstobject.c:
25602 * check/gst/gstpad.c: (GST_START_TEST):
25603 * check/gst/gststructure.c: (GST_START_TEST):
25604 * check/gst/gstsystemclock.c: (GST_START_TEST),
25605 (gst_systemclock_suite):
25606 * check/gst/gsttag.c: (gst_tag_suite):
25607 * check/gst/gstvalue.c:
25608 * check/pipelines/cleanup.c:
25609 * check/pipelines/simple_launch_lines.c:
25610 * check/states/sinks.c:
25611 change include statement
25613 * docs/gst/gstreamer-sections.txt:
25614 * docs/gst/tmpl/gstpad.sgml:
25615 document more pad stuff
25616 * gst/gstminiobject.c: (gst_mini_object_ref),
25617 (gst_mini_object_unref):
25620 2005-08-19 Stefan Kost <ensonic@users.sf.net>
25622 * docs/gst/tmpl/gst.sgml:
25624 eliminate another tmpl file, fix spelling in the long-description
25626 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
25628 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
25629 (test_event), (timediff), (gstevents_suite):
25630 Should fix build on 64-bit arch's
25632 2005-08-18 Andy Wingo <wingo@pobox.com>
25634 Make sure that when a pipeline goes to PLAYING, that data has
25635 actually hit the sink.
25637 * check/states/sinks.c (test_sink): A sink that doesn't get any
25638 data shouldn't return SUCCESS for going to either PLAYING or
25639 PAUSED. Test also the return values on the way back down.
25641 * gst/gstelement.c (gst_element_set_state): When changing the
25642 state of an element currently changing state asynchronously, go to
25643 lost-state after commiting the pending state. Makes future calls
25644 to get_state continue to return ASYNC.
25646 * gst/base/gstbasesink.c (gst_base_sink_change_state): Return
25647 ASYNC when going to PLAYING if we still don't have preroll, as can
25648 happen with live sources.
25650 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
25652 * docs/pwg/advanced-types.xml:
25653 Hack long paragraph into 2 chunks as a workaround for buggy
25654 jadetex version in sid and breezy that loops infinitely and
25657 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
25659 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
25660 (test_event), (timediff), (gstevents_suite):
25661 Provide more error margin in clock measurements to allow for
25662 g_get_current_time inaccuracies.
25664 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
25666 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
25667 (test_event), (timediff), (gstevents_suite):
25668 Fix error message output so I might be able to tell why the
25669 test works here but fails on the build farm.
25671 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
25673 * check/Makefile.am:
25674 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
25675 (test_event), (timediff), (gstevents_suite), (main):
25678 * docs/design/part-seeking.txt:
25679 Spelling correction
25681 * docs/gst/tmpl/gstevent.sgml:
25682 * docs/gst/tmpl/gstfakesrc.sgml:
25685 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
25686 Treat a buffer-without-newsegment the same as a receiving
25687 a newsegment not in time format, and disable syncing to the clock
25690 * gst/gstbus.c: (gst_bus_set_sync_handler):
25691 Assert if anyone tries to replace the existing sync_handler for bus,
25692 as only the owner should be setting it.
25695 Have a fixed set of custom event enums with events identified by
25696 their structure name (as in 0.8), rather than a free-for-all
25697 allowing collisions between enum values from different plugins.
25699 * gst/gstpad.c: (gst_pad_class_init):
25702 * gst/gstqueue.c: (gst_queue_handle_sink_event):
25703 Handle out-of-band downstream events from the sending thread.
25705 2005-08-17 Andy Wingo <wingo@pobox.com>
25707 * gst/gstpipeline.c (gst_pipeline_change_state): Interpret
25708 play-timeout==0 to mean no timeout at all. In that case, don't
25709 bother with a get_state or a warning, just return directly, even
25712 * gst/base/gstbasetransform.c: Debug changes.
25715 * gst/gstutils.c (gst_bin_watch_for_state_change): Add function to
25716 ensure bins post state change messages. A bit of a hack but I can't
25717 think of a way to avoid it.
25719 * check/gst/gstbin.c (test_watch_for_state_change): Added test.
25721 2005-08-16 Andy Wingo <wingo@pobox.com>
25723 * gst/base/gstadapter.h:
25724 * gst/base/gstadapter.c (gst_adapter_take): New function, like
25725 peek() but you own the data. Not terribly efficient atm.
25727 2005-08-16 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
25729 * gst/gstutils.c: (gst_element_found_tags_for_pad), (push_and_ref),
25730 (gst_element_found_tags):
25732 Add two utility functions for tag handling.
25734 2005-08-16 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
25736 * docs/manual/advanced-dataaccess.xml:
25737 * docs/manual/basics-helloworld.xml:
25738 Fix docs to use _bin_add() before _link(), which fixes the examples
25739 with recent core versions (reported by Madhan Raj M
25740 <raj_madan@rediffmail.com>, #313199).
25742 2005-08-16 Wim Taymans <wim@fluendo.com>
25744 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
25745 Added subtract checks.
25747 * docs/design/part-events.txt:
25748 Some more docs about newsegment
25750 * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
25753 * gst/gstcaps.c: (gst_caps_to_string):
25754 Add comments, cleanups.
25756 * gst/gstelement.c: (gst_element_save_thyself):
25759 * gst/gstvalue.c: (gst_value_collect_int_range),
25760 (gst_string_unwrap), (gst_value_union_int_int_range),
25761 (gst_value_union_int_range_int_range),
25762 (gst_value_intersect_int_int_range),
25763 (gst_value_intersect_int_range_int_range),
25764 (gst_value_intersect_double_double_range),
25765 (gst_value_intersect_double_range_double_range),
25766 (gst_value_intersect_list), (gst_value_subtract_int_int_range),
25767 (gst_value_subtract_int_range_int),
25768 (gst_value_subtract_double_range_double),
25769 (gst_value_subtract_double_range_double_range),
25770 (gst_value_subtract_from_list), (gst_value_subtract_list),
25771 (gst_value_can_compare), (gst_value_compare_fraction):
25772 Cleanups, add comments, remove unneeded asserts.
25774 2005-08-15 Thomas Vander Stichele <thomas at apestaart dot org>
25776 * tools/gst-launch.c: (event_loop):
25777 don't convert NULL structures to strings
25779 2005-08-15 Stefan Kost <ensonic@users.sf.net>
25781 * docs/gst/gstreamer-sections.txt:
25782 made some defines private
25783 * docs/gst/tmpl/gstconfig.sgml:
25784 * docs/gst/tmpl/gstqueue.sgml:
25785 * docs/gst/tmpl/gsttaglist.sgml:
25786 * docs/gst/tmpl/gsttypes.sgml:
25787 * docs/gst/tmpl/gstutils.sgml:
25788 * docs/pwg/appendix-porting.xml:
25789 * gst/base/gstbasesink.h:
25790 * gst/base/gstbasesrc.c:
25791 * gst/base/gstbasesrc.h:
25792 * gst/elements/gstfakesink.c: (gst_fake_sink_class_init):
25793 * gst/elements/gstfakesrc.c: (gst_fake_src_class_init):
25794 * gst/gstelement.c: (gst_element_class_init):
25795 * gst/gstpad.c: (gst_pad_class_init):
25796 * gst/gstqueue.c: (gst_queue_class_init):
25797 * gst/gstxml.c: (gst_xml_class_init):
25798 documented all undocumented signal inline
25799 * libs/gst/controller/gst-controller.h:
25802 2005-08-15 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
25804 * docs/pwg/appendix-porting.xml:
25805 Document _set_link_function -> _set_setcaps_function.
25807 2005-08-15 Thomas Vander Stichele <thomas at apestaart dot org>
25809 * check/Makefile.am:
25810 add a .check target for running the check
25811 * check/gst-libs/controller.c: (GST_START_TEST):
25813 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
25814 complete checks for gstbuffer; would be nice if I could get the
25815 gcov stuff to work so I can see if I actually completed gstbuffer.c
25816 * check/gstcheck.h:
25817 add ASSERT_BUFFER_REFCOUNT
25819 2005-08-13 Tim-Philipp Müller <tim at centricular dot net>
25821 * docs/gst/gstreamer-sections.txt:
25822 * gst/gsttag.c: (_gst_tag_initialize), (gst_tag_register):
25824 Add GST_TAG_LANGUAGE_CODE as we have in 0.8, and don't
25825 spew out a warning if a tag that is already registered
25826 is re-registered, unless it is re-registered with a
25827 different type (#308438).
25829 2005-08-12 Tim-Philipp Müller <tim at centricular dot net>
25831 * docs/pwg/appendix-porting.xml:
25832 * docs/pwg/building-state.xml:
25833 Add some paragraphs about state changes in 0.9 to the PWG
25834 and the porting guide, in particular about the new meaning
25835 of GST_STATE_PAUSED and how to write state change functions
25836 with concurrent access by multiple threads in mind.
25838 2005-08-11 Stefan Kost <ensonic@users.sf.net>
25840 * docs/gst/gstreamer-docs.sgml:
25841 * docs/libs/gstreamer-libs-docs.sgml:
25842 added deprecation and since indexes
25843 * libs/gst/controller/gst-controller.c:
25844 * libs/gst/controller/gst-helper.c:
25848 2005-08-11 Wim Taymans <wim@fluendo.com>
25850 * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked),
25851 (gst_proxy_pad_set_target), (gst_proxy_pad_get_target),
25852 (gst_proxy_pad_dispose), (gst_ghost_pad_do_activate_push),
25853 (gst_ghost_pad_do_link), (gst_ghost_pad_set_internal),
25854 (gst_ghost_pad_new_notarget), (gst_ghost_pad_get_target),
25855 (gst_ghost_pad_set_target):
25856 Actually implement (re)setting the target on a ghostpad
25857 as described in the docs.
25859 2005-08-10 Tim-Philipp Müller <tim at centricular dot net>
25861 * gst/gst.c: (gst_init_check_with_popt_table), (init_pre):
25862 Check whether GST_DEBUG_NO_COLOR environment variable is
25863 set and disable coloured debug output if that is the case.
25865 2005-08-10 Tim-Philipp Müller <tim at centricular dot net>
25867 * gst/base/gsttypefindhelper.c: (helper_find_peek),
25868 (gst_type_find_helper):
25869 The memory returned by gst_type_find_peek() needs to
25870 stay valid until the end of a typefind function, and
25871 typefind functions may keep results from different
25872 offsets around, so we can't just unref the buffer from
25873 the previous _peek(), but have to save all buffers
25874 returned by _peek() until typefinding is done and only
25877 2005-08-09 Tim-Philipp Müller <tim at centricular dot net>
25879 * docs/gst/gstreamer-sections.txt:
25881 New macros: GST_ROUND_UP_2() through GST_ROUND_UP_64().
25883 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
25885 * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
25886 Fix a pretty good memleak.
25888 2005-08-08 Tim-Philipp Müller <tim at centricular dot net>
25890 * gst/gstiterator.h:
25891 Fix wrong include and 'make distcheck'.
25893 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
25895 * gst/gstbin.c: (bin_bus_handler):
25896 Use gst_element_post_message() instead.
25898 2005-08-08 Tim-Philipp Müller <tim at centricular dot net>
25900 * gst/base/gstadapter.h:
25901 * gst/base/gstbasesink.h:
25902 * gst/base/gstbasesrc.h:
25903 * gst/base/gstbasetransform.h:
25904 * gst/base/gstcollectpads.h:
25905 * gst/base/gstpushsrc.h:
25906 * gst/gstiterator.h:
25907 Add padding to our base elements' class and instance structs and
25908 to GstIterator (you will need to rebuild all plugins and apps!)
25910 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
25912 * gst/gstbin.c: (bin_bus_handler):
25913 Make default message forwarding from child->bus to bin->bus
25914 threadsafe and make it not emit warnings if the parent has no bus.
25916 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
25918 * gst/gstelement.c: (activate_pads):
25919 On paused->ready, set pad->caps to NULL, as is the documented
25920 behaviour in this state change. Fixes playback of series of
25921 media files when visualization is enabled in Totem.
25923 2005-08-07 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
25925 * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
25926 Allow NULL as filter-caps (which means "any").
25928 2005-08-05 Stefan Kost <ensonic@users.sf.net>
25930 * docs/libs/gstreamer-libs-sections.txt:
25931 * libs/gst/controller/gst-controller.c:
25932 * libs/gst/controller/gst-controller.h:
25933 * libs/gst/controller/gst-helper.c:
25934 adding more entries to the docs and fix small doc-bugs
25936 2005-08-05 Stefan Kost <ensonic@users.sf.net>
25938 * docs/gst/gstreamer-docs.sgml:
25939 * docs/gst/gstreamer-sections.txt:
25940 * docs/gst/gstreamer.types:
25941 * docs/gst/tmpl/gstbasesink.sgml:
25942 * docs/gst/tmpl/gstbasesrc.sgml:
25943 * docs/gst/tmpl/gstbasetransform.sgml:
25944 * docs/gst/tmpl/gstfakesrc.sgml:
25945 * gst/base/gstcollectpads.c:
25946 * gst/base/gstcollectpads.h:
25947 * libs/gst/controller/gst-controller.c:
25948 * libs/gst/controller/gst-controller.h:
25949 * libs/gst/controller/gst-helper.c:
25950 * libs/gst/controller/gst-interpolation.c:
25951 * libs/gst/controller/lib.c:
25952 added long/short desc for controller docs
25953 added collectpads base class docs
25954 added correct includes to base-class docs
25956 2005-08-05 Stefan Kost <ensonic@users.sf.net>
25958 * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
25959 (gst_test_mono_source_set_property),
25960 (gst_test_mono_source_class_init), (GST_START_TEST),
25961 (gst_controller_suite):
25962 * docs/gst/gstreamer-docs.sgml:
25963 * docs/gst/gstreamer-sections.txt:
25964 * docs/gst/gstreamer.types:
25965 * docs/libs/gstreamer-libs-docs.sgml:
25966 * docs/libs/gstreamer-libs-sections.txt:
25967 * gst/base/gstadapter.c:
25968 * libs/gst/controller/gst-controller.c:
25969 (gst_controlled_property_new), (gst_controlled_property_free),
25970 (gst_controller_new_valist),
25971 (gst_controller_remove_properties_valist),
25972 (gst_controller_sink_values), (_gst_controller_finalize):
25973 * libs/gst/controller/gst-controller.h:
25974 * libs/gst/controller/gst-helper.c:
25975 (gst_object_control_properties), (gst_object_uncontrol_properties),
25976 (gst_object_get_controller), (gst_object_set_controller),
25977 (gst_object_sink_values), (gst_object_get_value_arrays),
25978 (gst_object_get_value_array):
25979 more tests (and fixes) for the controller
25980 more docs for the controller
25981 integrated companies docs for the adapter
25983 2005-08-05 Thomas Vander Stichele <thomas at apestaart dot org>
25985 * check/elements/gstfakesrc.c: (setup_fakesrc), (cleanup_fakesrc),
25986 (GST_START_TEST), (fakesrc_suite):
25987 add tests for sizetype
25989 2005-08-04 Andy Wingo <wingo@pobox.com>
25991 * gst/elements/gstcapsfilter.c: Reimplement using basetransform,
25992 fixes buffer_alloc proxying among other things.
25994 * gst/base/gstbasetransform.c:
25995 * gst/base/gstbasetransform.h:
25996 Revert patch to gstbasetransform from 7-28 removing
25999 * gst/base/gstbasetransform.h (GstBaseTransformClass.get_size):
26000 * gst/base/gstbasetransform.c (gst_base_transform_get_size):
26001 Semantics changed, should return not the size of the output buffer
26002 but the byte size of a buffer with a given caps.
26004 * gst/base/gstbasetransform.c (gst_base_transform_getcaps): Better
26006 (gst_base_transform_configure_caps): Don't set out_size here: (in,
26007 out) are not the pad caps until setcaps finishes.
26008 (gst_base_transform_buffer_alloc): Proxy the buffer_alloc for the
26009 not-in-place case as well. Deal with changing from in-place to
26010 not-in-place within calling pad_alloc_buffer. Still a bit
26011 concerned about the overhead here...
26013 2005-08-03 Andy Wingo <wingo@pobox.com>
26015 * gst/base/gstbasetransform.c (gst_base_transform_setcaps): Not
26016 fixating is an error.
26018 2005-08-04 Edward Hervey <edward@fluendo.com>
26020 * gst/base/gstadapter.h:
26021 Added gst_adapter_get_type() to the header
26023 2005-08-03 Stefan Kost <ensonic@users.sf.net>
26025 * check/Makefile.am:
26026 * check/gst-libs/controller.c:
26027 * libs/gst/controller/gst-controller.c:
26028 (gst_controller_new_valist):
26029 added check test suite for the controller
26030 * gst/base/gstpushsrc.c:
26033 2005-08-03 Stefan Kost <ensonic@users.sf.net>
26035 * docs/gst/Makefile.am:
26036 * docs/gst/gstreamer-docs.sgml:
26037 * docs/gst/gstreamer-sections.txt:
26038 * docs/gst/gstreamer.types:
26039 * docs/gst/tmpl/gstfakesrc.sgml:
26041 * gst/base/gstbasesink.c:
26042 * gst/base/gstbasesink.h:
26043 * gst/base/gstbasesrc.c:
26044 * gst/base/gstbasesrc.h:
26045 * gst/base/gstbasetransform.c:
26046 * gst/base/gstpushsrc.c:
26047 * gst/base/gstpushsrc.h:
26048 add short/long description docs to base classes
26049 add pushsrc to the docs
26050 remove consolidated doc fragments
26052 2005-08-03 Stefan Kost <ensonic@users.sf.net>
26055 * docs/libs/Makefile.am:
26056 * docs/libs/gstreamer-libs-docs.sgml:
26057 * docs/libs/gstreamer-libs-sections.txt:
26058 * docs/libs/gstreamer-libs.types:
26059 * examples/Makefile.am:
26060 * examples/controller/.cvsignore:
26061 * examples/controller/Makefile.am:
26062 * examples/controller/audio-example.c: (main):
26063 * libs/gst/Makefile.am:
26064 * libs/gst/controller/.cvsignore:
26065 * libs/gst/controller/Makefile.am:
26066 * libs/gst/controller/gst-controller.c:
26067 (on_object_controlled_property_changed), (gst_timed_value_compare),
26068 (gst_timed_value_find),
26069 (gst_controlled_property_set_interpolation_mode),
26070 (gst_controlled_property_new), (gst_controlled_property_free),
26071 (gst_controller_find_controlled_property),
26072 (gst_controller_new_valist), (gst_controller_new),
26073 (gst_controller_remove_properties_valist),
26074 (gst_controller_remove_properties), (gst_controller_set),
26075 (gst_controller_set_from_list), (gst_controller_unset),
26076 (gst_controller_get), (gst_controller_get_all),
26077 (gst_controller_sink_values), (gst_controller_get_value_arrays),
26078 (gst_controller_get_value_array),
26079 (gst_controller_set_interpolation_mode),
26080 (_gst_controller_finalize), (_gst_controller_init),
26081 (_gst_controller_class_init), (gst_controller_get_type):
26082 * libs/gst/controller/gst-controller.h:
26083 * libs/gst/controller/gst-helper.c: (g_object_control_properties),
26084 (g_object_uncontrol_properties), (g_object_get_controller),
26085 (g_object_set_controller), (g_object_sink_values),
26086 (g_object_get_value_arrays), (g_object_get_value_array):
26087 * libs/gst/controller/gst-interpolation.c:
26088 (gst_controlled_property_find_timed_value_node),
26089 (interpolate_none_get), (interpolate_trigger_get),
26090 (interpolate_trigger_get_value_array):
26091 * libs/gst/controller/lib.c: (gst_controller_init):
26092 * pkgconfig/Makefile.am:
26093 * pkgconfig/gstreamer-control-uninstalled.pc.in:
26094 * pkgconfig/gstreamer-control.pc.in:
26095 * testsuite/Makefile.am:
26096 * testsuite/controller/.cvsignore:
26097 * testsuite/controller/Makefile.am:
26098 * testsuite/controller/interpolator.c: (main):
26099 added controller code
26100 removed dparam pc files
26102 2005-08-01 Jan Schmidt <thaytan@mad.scientist.com>
26103 * gst/base/gstcollectpads.c: (gst_collectpads_finalize),
26104 (gst_collectpads_stop):
26105 Broadcast the condition when shutting down, to make sure we wake all
26106 threads up. Shut down pads on finalize, for safety.
26108 2005-08-01 Jan Schmidt <thaytan@mad.scientist.com>
26109 * gst/base/gstbasetransform.c: (gst_base_transform_init),
26110 (gst_base_transform_handle_buffer),
26111 (gst_base_transform_change_state):
26112 Handle PAUSED->READY->PAUSED transition after negotiation
26114 * gst/gstmessage.c: (gst_message_init):
26115 Extra piece of debug for new messages.
26117 2005-08-01 Stefan Kost <ensonic@users.sf.net>
26120 * docs/gst/tmpl/gstbasesrc.sgml:
26121 * docs/gst/tmpl/gstelement.sgml:
26122 * docs/gst/tmpl/gstevent.sgml:
26123 * docs/gst/tmpl/gstfakesrc.sgml:
26124 * docs/gst/tmpl/gstformat.sgml:
26125 * docs/gst/tmpl/gstghostpad.sgml:
26126 * docs/gst/tmpl/gstpad.sgml:
26127 * docs/gst/tmpl/gstquery.sgml:
26128 * docs/gst/tmpl/gststructure.sgml:
26129 * docs/gst/tmpl/gsttaglist.sgml:
26130 * docs/gst/tmpl/gstvalue.sgml:
26131 * docs/libs/gstreamer-libs-docs.sgml:
26132 * docs/libs/gstreamer-libs-sections.txt:
26133 * docs/libs/gstreamer-libs.types:
26134 * libs/gst/Makefile.am:
26135 * libs/gst/control/.cvsignore:
26136 * libs/gst/control/Makefile.am:
26137 * libs/gst/control/control.c:
26138 * libs/gst/control/control.h:
26139 * libs/gst/control/dparam.c:
26140 * libs/gst/control/dparam.h:
26141 * libs/gst/control/dparam_smooth.c:
26142 * libs/gst/control/dparam_smooth.h:
26143 * libs/gst/control/dparamcommon.h:
26144 * libs/gst/control/dparammanager.c:
26145 * libs/gst/control/dparammanager.h:
26146 * libs/gst/control/dplinearinterp.c:
26147 * libs/gst/control/dplinearinterp.h:
26148 * libs/gst/control/unitconvert.c:
26149 * libs/gst/control/unitconvert.h:
26150 * testsuite/Makefile.am:
26151 * testsuite/dynparams/.cvsignore:
26152 * testsuite/dynparams/Makefile.am:
26153 * testsuite/dynparams/dparamstest.c:
26154 * tools/Makefile.am:
26155 * tools/gst-inspect.c: (print_element_info), (main):
26156 * tools/gst-xmlinspect.c: (print_element_info), (main):
26157 deactivate and remove dparams (libgstcontrol)
26159 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
26161 * gst/elements/gsttypefindelement.c:
26162 (gst_type_find_element_have_type), (gst_type_find_element_init),
26163 (stop_typefinding), (gst_type_find_element_handle_event),
26164 (gst_type_find_element_chain), (gst_type_find_element_getrange):
26165 * gst/elements/gsttypefindelement.h:
26166 Set caps on all outgoing buffers, not just the first one.
26168 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
26170 * gst/elements/gsttypefindelement.c:
26171 (gst_type_find_element_have_type),
26172 (gst_type_find_element_check_set_buffer_caps),
26173 (gst_type_find_element_init), (stop_typefinding),
26174 (gst_type_find_element_handle_event),
26175 (gst_type_find_element_chain), (gst_type_find_element_getrange):
26176 * gst/elements/gsttypefindelement.h:
26177 Set caps on first outgoing buffer when we've found the type.
26179 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
26181 * docs/gst/gstreamer-docs.sgml:
26182 * docs/gst/gstreamer-sections.txt:
26183 * docs/gst/tmpl/gstscheduler.sgml:
26184 * docs/gst/tmpl/gstschedulerfactory.sgml:
26185 Remove some old cruft from docs.
26187 2005-07-31 Tim-Philipp Müller <tim at centricular dot net>
26190 Fix inline docs for GstPadLinkReturn.
26192 * gst/gststructure.c: (gst_structure_has_name):
26193 * gst/gststructure.h:
26194 * docs/gst/gstreamer-sections.txt:
26195 New API: gst_structure_has_name().
26197 2005-07-30 Tim-Philipp Müller <tim at centricular dot net>
26200 Use AC_SYS_LARGEFILE, which will set _FILE_OFFSET_BITS=64
26201 and _LARGEFILE_SOURCE in config.h as required. Do not
26202 export those flags in our .pc files any longer (#142209).
26204 Remove unused GST_DISABLE_OMEGA_COTHREADS stuff.
26206 * gst/elements/gstfilesink.c: (gst_file_sink_class_init),
26207 (gst_file_sink_do_seek), (gst_file_sink_event),
26208 (gst_file_sink_get_current_offset), (gst_file_sink_render):
26209 Redo seek/tell calls with large file support in mind; add some
26210 debugging messages; add log message that tells us when large
26211 file support is unavailable or not enabled for some reason.
26213 * gst/elements/gstfilesrc.c: (gst_file_src_class_init):
26214 Add log message that tells us when large file support
26215 is unavailable or not enabled for some reason.
26217 2005-07-29 Wim Taymans <wim@fluendo.com>
26219 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
26220 Added test for removing an element with ghostpad from a bin.
26221 Fixed test as current implementation does the right thing.
26223 * gst/gstghostpad.c: (gst_proxy_pad_class_init),
26224 (gst_proxy_pad_do_query_type), (gst_proxy_pad_do_event),
26225 (gst_proxy_pad_do_query), (gst_proxy_pad_do_internal_link),
26226 (gst_proxy_pad_do_bufferalloc), (gst_proxy_pad_do_activate),
26227 (gst_proxy_pad_do_activatepull), (gst_proxy_pad_do_activatepush),
26228 (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
26229 (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
26230 (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
26231 (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target),
26232 (gst_proxy_pad_get_target), (gst_proxy_pad_init),
26233 (gst_proxy_pad_dispose), (gst_proxy_pad_finalize),
26234 (gst_ghost_pad_class_init), (gst_ghost_pad_do_activate_push),
26235 (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
26236 (gst_ghost_pad_set_internal), (gst_ghost_pad_dispose),
26237 (gst_ghost_pad_new_notarget), (gst_ghost_pad_new),
26238 (gst_ghost_pad_get_target), (gst_ghost_pad_set_target):
26239 * gst/gstghostpad.h:
26240 Clean up ghostpads, remove properties for internal stuff.
26243 Prepare for switching targets, not all use cases work yet.
26245 2005-07-29 Wim Taymans <wim@fluendo.com>
26247 * docs/design/part-gstghostpad.txt:
26250 * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
26251 (gst_bin_remove_func):
26252 Unlinking pads while holding the bin LOCK is not a good
26255 * gst/gstpad.c: (gst_pad_class_init),
26256 (gst_pad_link_check_hierarchy), (gst_pad_get_caps_unlocked),
26257 (gst_pad_accept_caps), (gst_pad_set_caps), (gst_pad_send_event):
26258 No prob setting template after creating the pad.
26260 2005-07-29 Jan Schmidt <thaytan@mad.scientist.com>
26262 * gst/gstbus.c: (gst_bus_set_flushing), (gst_bus_pop),
26263 (gst_bus_peek), (gst_bus_source_dispatch),
26264 (gst_bus_add_watch_full), (poll_handler), (poll_timeout),
26265 (poll_destroy), (poll_destroy_timeout), (gst_bus_poll):
26266 gst_bus_poll may be called from other threads. Handle
26267 this nicely by not making poll_data disappear off the
26268 stack once gst_bus_poll returns.
26269 gst_bus_peek now increments the refcount on the returned
26272 2005-07-29 Wim Taymans <wim@fluendo.com>
26274 * docs/design/part-gstghostpad.txt:
26275 Overview of current GhostPad datastructures and use
26276 cases for changing the target.
26278 2005-07-28 Wim Taymans <wim@fluendo.com>
26280 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
26281 Added checks for hierarchy consistency whan adding linked
26284 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
26285 Added check to test element scheduling without bin/pipeline.
26287 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
26288 First add elements to bin, then link.
26290 * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
26291 (gst_bin_remove_func):
26292 Unlink pads from elements added/removed from bin to maintain
26293 hierarchy consistency.
26295 2005-07-28 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
26297 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
26298 (gst_base_transform_handle_buffer):
26299 * gst/base/gstbasetransform.h:
26300 Remove broken delay_configure (fixes renegotiation of software
26301 scaling pipelines); remove some leftover printf()s.
26303 2005-07-28 Wim Taymans <wim@fluendo.com>
26305 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
26306 Added some more tests for wrong hierarchy
26308 * docs/design/part-overview.txt:
26311 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_dispose):
26314 * gst/gstelement.c: (gst_element_remove_pad), (gst_element_seek),
26315 (gst_element_dispose):
26316 Some more cleanups.
26318 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
26319 (gst_pad_link_check_hierarchy), (gst_pad_link_prepare),
26320 (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
26321 (gst_pad_set_caps), (gst_pad_send_event):
26322 Check for correct hierarchy when linking pads. Moving to
26323 strict requirement for ghostpads when linking elements in
26327 Clean ups. Added WRONG_HIERARCHY return value.
26329 2005-07-28 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
26331 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
26332 Better debug if no transform is possible.
26334 2005-07-27 Wim Taymans <wim@fluendo.com>
26336 * docs/random/wtay/network-transp:
26337 Some old doc I had.
26339 2005-07-27 Wim Taymans <wim@fluendo.com>
26341 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
26342 (gst_dp_event_from_packet):
26343 Fix serialization of seek events.
26345 2005-07-27 Wim Taymans <wim@fluendo.com>
26347 * check/gst-libs/gdp.c: (GST_START_TEST):
26348 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
26349 Fix compilation and fix event serialization.
26351 2005-07-27 Wim Taymans <wim@fluendo.com>
26354 * docs/design/part-TODO.txt:
26355 * docs/design/part-events.txt:
26358 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
26359 (gst_base_sink_event), (gst_base_sink_do_sync),
26360 (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
26361 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
26362 (gst_base_src_do_seek), (gst_base_src_event_handler),
26363 (gst_base_src_loop):
26364 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
26365 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
26366 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
26367 (gst_base_transform_event), (gst_base_transform_handle_buffer),
26368 (gst_base_transform_set_passthrough),
26369 (gst_base_transform_is_passthrough):
26370 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
26371 * gst/elements/gstfilesink.c: (gst_file_sink_event):
26377 * gst/gstelement.c: (gst_element_seek):
26378 * gst/gstelement.h:
26379 Update gst_element_seek.
26381 * gst/gstevent.c: (gst_event_finalize), (_gst_event_copy),
26382 (gst_event_new), (gst_event_new_custom), (gst_event_get_structure),
26383 (gst_event_new_flush_start), (gst_event_new_flush_stop),
26384 (gst_event_new_eos), (gst_event_new_newsegment),
26385 (gst_event_parse_newsegment), (gst_event_new_tag),
26386 (gst_event_parse_tag), (gst_event_new_filler), (gst_event_new_qos),
26387 (gst_event_parse_qos), (gst_event_new_seek),
26388 (gst_event_parse_seek), (gst_event_new_navigation):
26390 Make GstEvent use GstStructure. Add parsing code, make sure the
26391 API is sufficiently generic.
26392 Mark possible directions of events and serialization.
26394 * gst/gstmessage.c: (gst_message_init), (gst_message_finalize),
26395 (_gst_message_copy), (gst_message_new_segment_start),
26396 (gst_message_new_segment_done), (gst_message_new_custom),
26397 (gst_message_parse_segment_start),
26398 (gst_message_parse_segment_done):
26401 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
26402 (gst_pad_set_caps), (gst_pad_send_event):
26403 Update for new events.
26404 Catch events sent in wrong directions.
26406 * gst/gstqueue.c: (gst_queue_link_src),
26407 (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
26408 (gst_queue_handle_src_query):
26413 Remove event code from this file.
26415 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
26416 (gst_dp_event_from_packet):
26419 2005-07-27 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
26421 * gst/base/gstbasetransform.c: (gst_base_transform_getcaps),
26422 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
26423 (gst_base_transform_get_size), (gst_base_transform_handle_buffer):
26424 Make debugging actually useful.
26426 2005-07-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
26428 * gst/gstpad.c: (fixate_value), (gst_pad_default_fixate),
26429 (gst_pad_fixate_caps):
26430 Implement default fixation once again, so that gst_pad_fixate()
26431 actually does anything at all. This probably needs to be some
26432 sort of a last resort, and use profile-based fixation first, but
26433 since that doesn't exist yet, this is the best we have. Fixes
26434 visualization in Totem.
26436 2005-07-22 Wim Taymans <wim@fluendo.com>
26438 * docs/design/part-events.txt:
26441 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
26442 (gst_base_sink_do_sync), (gst_base_sink_activate_push),
26443 (gst_base_sink_activate_pull):
26444 Some more comments.
26446 * gst/elements/gstfakesrc.c: (gst_fake_src_class_init),
26447 (gst_fake_src_create):
26448 Fix handoff marshall.
26450 * gst/elements/gstidentity.c: (gst_identity_class_init),
26451 (gst_identity_transform_ip):
26452 We're a real inplace element.
26454 * gst/gstbus.c: (gst_bus_post):
26455 Added some comments.
26457 * tests/lat.c: (fakesrc), (fakesink), (simple), (queue), (main):
26458 * tests/muxing/case1.c: (main):
26459 * tests/sched/dynamic-pipeline.c: (main):
26460 * tests/sched/interrupt1.c: (main):
26461 * tests/sched/interrupt2.c: (main):
26462 * tests/sched/interrupt3.c: (main):
26463 * tests/sched/runxml.c: (main):
26464 * tests/sched/sched-stress.c: (main):
26465 * tests/seeking/seeking1.c: (event_received), (main):
26466 * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
26468 * tests/threadstate/threadstate3.c: (main):
26469 * tests/threadstate/threadstate4.c: (main):
26470 * tests/threadstate/threadstate5.c: (main):
26473 2005-07-21 Wim Taymans <wim@fluendo.com>
26475 * docs/design/part-seeking.txt:
26476 Some small additions.
26478 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
26479 (gst_base_sink_get_times), (gst_base_sink_do_sync),
26480 (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
26481 * gst/base/gstbasesink.h:
26482 discont values are gint64, handle the math correctly.
26484 * gst/base/gstbasesrc.c: (gst_base_src_loop):
26485 Make the basesrc report error if the source pad is not linked.
26487 * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
26488 (gst_queue_loop), (gst_queue_handle_src_query),
26489 (gst_queue_src_activate_push):
26490 Make queue collect data even if the srcpad is not linked.
26491 Start pushing out data as soon as it is linked.
26493 * gst/gstutils.c: (gst_element_unlink), (gst_flow_get_name):
26495 Added gst_flow_get_name() to ease error reporting.
26497 2005-07-20 Wim Taymans <wim@fluendo.com>
26499 * gst/gstmessage.c: (gst_message_new_segment_start),
26500 (gst_message_new_segment_done), (gst_message_parse_segment_start),
26501 (gst_message_parse_segment_done):
26502 * gst/gstmessage.h:
26503 Added a bunch of messages for advanced seeking.
26505 * gst/parse/grammar.y:
26506 * libs/gst/control/dparammanager.c: (gst_dpman_set_parent),
26507 (gst_dpman_state_changed):
26508 Fix some new-pad -> pad-added signals
26510 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
26512 * docs/manual/appendix-porting.xml:
26513 * docs/pwg/appendix-porting.xml:
26514 Document new-pad/state-change signal renames and the FixedList
26517 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
26519 * docs/manual/advanced-autoplugging.xml:
26520 * docs/manual/basics-helloworld.xml:
26521 * docs/manual/basics-pads.xml:
26522 * docs/random/ds/0.9-suggested-changes:
26523 * gst/gstelement.c: (gst_element_class_init), (gst_element_seek):
26524 * gst/gstelement.h:
26528 * gst/gststructure.c: (gst_structure_value_get_generic_type),
26529 (gst_structure_parse_array), (gst_structure_parse_value):
26530 * gst/gstvalue.c: (gst_type_is_fixed),
26531 (gst_value_list_prepend_value), (gst_value_list_append_value),
26532 (gst_value_list_get_size), (gst_value_list_get_value),
26533 (gst_value_transform_array_string), (gst_value_serialize_array),
26534 (gst_value_deserialize_array), (gst_value_intersect_array),
26535 (gst_value_is_fixed), (_gst_value_initialize):
26537 GstElement::new-pad -> pad-added, GstElement::state-change ->
26538 state-changed, GstValueFixedList -> GstValueArray, add format and
26539 flags as their own arguments in gst_element_seek() (should improve
26540 "bindeability"), remove function generators since they don't work
26541 under a whole bunch of compilers (they were deprecated already
26544 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
26546 * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
26547 (_gst_debug_register_funcptr):
26549 Fix illegal cast on some platforms (#309253).
26551 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
26553 * gst/gstmessage.c: (gst_message_new_custom):
26554 * gst/gstmessage.h:
26555 Add _new_custom, make _new_application a macro to _new_custom.
26557 2005-07-20 Wim Taymans <wim@fluendo.com>
26559 * gst/base/gstbasesrc.c: (gst_base_src_init),
26560 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
26561 * gst/base/gstbasesrc.h:
26562 Add a gboolean to decide when to push out a discont.
26564 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
26565 (gst_queue_loop), (gst_queue_handle_src_query),
26566 (gst_queue_sink_activate_push), (gst_queue_src_activate_push),
26567 (gst_queue_set_property), (gst_queue_get_property):
26570 * tests/threadstate/threadstate1.c: (main):
26571 Make a thread test compile and run... very silly..
26574 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
26576 * docs/manual/appendix-porting.xml:
26577 Mention removal of libgstgconf-0.9.la and existence of gconf
26580 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
26582 * docs/pwg/advanced-clock.xml:
26583 * docs/pwg/appendix-porting.xml:
26584 * docs/pwg/intro-preface.xml:
26585 * docs/pwg/other-base.xml:
26586 * docs/pwg/other-manager.xml:
26587 * docs/pwg/other-nton.xml:
26588 * docs/pwg/other-ntoone.xml:
26589 * docs/pwg/other-oneton.xml:
26590 * docs/pwg/pwg.xml:
26591 Document base classes, update sections of n-to-1 and 1-to-n (muxer,
26592 demuxer), remove n-to-n (was never written), fix some code examples
26593 and links and update the porting section to include all this.
26595 2005-07-19 Wim Taymans <wim@fluendo.com>
26597 * gst/gstqueue.c: (gst_queue_init), (gst_queue_handle_sink_event),
26598 (gst_queue_chain), (gst_queue_loop), (gst_queue_handle_src_event),
26599 (gst_queue_handle_src_query), (gst_queue_sink_activate_push),
26600 (gst_queue_src_activate_push), (gst_queue_change_state),
26601 (gst_queue_get_property):
26603 Propagate GstFlowReturn more intelligently upstream and output
26604 an ERROR/EOS when streaming stopped due to fatal error.
26606 2005-07-19 Wim Taymans <wim@fluendo.com>
26608 * tools/gst-launch.c: (check_intr), (event_loop), (main):
26609 Don't block forever for the state change to complete, the
26610 pipeline already did with a sensible timeout.
26612 2005-07-19 Wim Taymans <wim@fluendo.com>
26614 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
26615 Make sure we never call the create function is we
26618 2005-07-19 Andy Wingo <wingo@pobox.com>
26620 * gst/parse/parse.l: Attempt to solve bug #172815.
26622 2005-07-19 Wim Taymans <wim@fluendo.com>
26624 * docs/design/part-clocks.txt:
26625 * docs/design/part-events.txt:
26626 * gst/base/gstbasesrc.c: (gst_base_src_do_seek):
26627 Small docs updates.
26628 Only update the seeking values when we are not
26631 2005-07-19 Jan Schmidt <thaytan@mad.scientist.com>
26633 * gst/base/gstbasesrc.c: (gst_base_src_loop):
26634 Oops, ignore the result of gst_pad_push_event here.
26636 2005-07-19 Jan Schmidt <thaytan@mad.scientist.com>
26638 * gst/base/gstbasesrc.c: (gst_base_src_loop),
26639 (gst_base_src_activate_push):
26640 Send discont event from the loop function, as pads
26641 aren't activated yet in the activate_push handler.
26643 * gst/gstbin.c: (bin_bus_handler):
26644 Don't leak element name.
26646 2005-07-18 Andy Wingo <wingo@pobox.com>
26648 * configure.ac: Use AS_LIBTOOL_TAGS.
26650 2005-07-18 Wim Taymans <wim@fluendo.com>
26652 * docs/gst/gstreamer.types:
26653 Remove deleted types.
26655 2005-07-18 Wim Taymans <wim@fluendo.com>
26657 * check/elements/gstfakesrc.c: (GST_START_TEST):
26660 * gst/gst.c: (gst_init_get_popt_table), (init_pre), (init_post),
26661 (init_popt_callback):
26663 * gst/gst_private.h:
26664 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_add_func),
26665 (gst_bin_remove_func), (gst_bin_get_state), (gst_bin_change_state):
26668 * gst/gstconfig.h.in:
26669 * gst/gstelement.c: (gst_element_class_init),
26670 (gst_element_set_base_time), (gst_element_get_base_time),
26671 (iterator_fold_with_resync), (gst_element_change_state),
26672 (gst_element_dispose), (gst_element_get_bus):
26673 * gst/gstelement.h:
26674 * gst/gstelementfactory.h:
26675 * gst/gsterror.c: (_gst_core_errors_init):
26678 * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
26680 * gst/gstinfo.c: (_gst_debug_init):
26681 * gst/gstmessage.c: (_gst_message_copy):
26682 * gst/gstmessage.h:
26683 * gst/gstminiobject.h:
26686 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
26687 (gst_pad_set_caps), (gst_pad_start_task), (gst_pad_stop_task):
26690 * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
26691 (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
26692 (gst_pipeline_get_last_stream_time):
26693 * gst/gstpipeline.h:
26694 * gst/gstpluginfeature.h:
26696 * gst/gstscheduler.c:
26697 * gst/gstscheduler.h:
26698 * gst/gststructure.h:
26699 * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
26700 (gst_task_finalize), (gst_task_func), (gst_task_create),
26701 (gst_task_set_lock), (gst_task_get_state), (gst_task_start),
26702 (gst_task_stop), (gst_task_pause):
26704 * gst/gsttypefind.h:
26706 * gst/registries/gstlibxmlregistry.c: (load_feature),
26707 (gst_xml_registry_load), (gst_xml_registry_save_feature):
26708 * gst/registries/gstxmlregistry.c:
26709 (gst_xml_registry_start_element), (gst_xml_registry_save_feature):
26710 * gst/schedulers/threadscheduler.c:
26711 * libs/gst/control/dparammanager.h:
26712 * tools/gst-inspect.c: (print_element_list),
26713 (print_plugin_features), (print_element_features):
26714 * tools/gst-xmlinspect.c: (print_element_list),
26715 (print_plugin_info), (main):
26716 Removed plugable schedulers.
26717 Removed Scheduler/Manager from elements.
26718 Removed gsttypes.h, rearranged includes.
26719 Removed dependency pad<->element, element<>pipeline, and
26720 various others, fix includes.
26721 implement gst_pad_get_parent() with gst_object_get_parent()
26722 Make GstTask sefcontained.
26723 Fix _get_state() on GstBin, it did not return ASYNC with a 0
26725 Fix endless loop in iterator_fold_with_resync.
26728 2005-07-18 Wim Taymans <wim@fluendo.com>
26734 2005-07-18 Wim Taymans <wim@fluendo.com>
26737 No more cothreads.h
26739 2005-07-18 Wim Taymans <wim@fluendo.com>
26743 Let's remove these.
26745 2005-07-18 Wim Taymans <wim@fluendo.com>
26747 * docs/design/part-dynamic.txt:
26748 * docs/design/part-events.txt:
26749 * docs/design/part-seeking.txt:
26750 Some more docs in the works.
26752 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
26753 (gst_base_transform_getcaps), (gst_base_transform_configure_caps),
26754 (gst_base_transform_setcaps), (gst_base_transform_get_size),
26755 (gst_base_transform_buffer_alloc), (gst_base_transform_event),
26756 (gst_base_transform_handle_buffer),
26757 (gst_base_transform_sink_activate_push),
26758 (gst_base_transform_src_activate_pull),
26759 (gst_base_transform_set_passthrough),
26760 (gst_base_transform_is_passthrough):
26763 * gst/gstbus.c: (gst_bus_source_dispatch), (gst_bus_poll):
26766 * gst/gstevent.c: (gst_event_finalize):
26769 * gst/gstutils.c: (gst_element_unlink),
26770 (gst_pad_get_parent_element), (gst_pad_proxy_getcaps),
26771 (gst_pad_proxy_setcaps):
26773 Add _get_parent_element() to get a pads parent as an element.
26775 2005-07-18 Wim Taymans <wim@fluendo.com>
26777 * check/gst/gstbin.c: (GST_START_TEST):
26780 2005-07-18 Wim Taymans <wim@fluendo.com>
26782 * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
26783 (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
26784 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
26785 (gst_base_sink_event), (gst_base_sink_do_sync),
26786 (gst_base_sink_chain), (gst_base_sink_loop),
26787 (gst_base_sink_deactivate), (gst_base_sink_activate_push),
26788 (gst_base_sink_activate_pull), (gst_base_sink_change_state):
26790 Fix logic for returning ASYNC when not prerolled.
26792 2005-07-18 Wim Taymans <wim@fluendo.com>
26794 * gst/gstqueue.c: (gst_queue_handle_sink_event):
26795 Fix nasty refcount bug.
26797 2005-07-16 Philippe Khalaf <burger@speedy.org>
26799 * gst/elements/gstfdsrc.c:
26800 * gst/elements/gstfdsrc.h:
26801 * gst/elements/gstelements.c:
26802 * gst/elements/Makefile.am:
26803 Ported fdsrc to 0.9.
26805 2005-07-16 Wim Taymans <wim@fluendo.com>
26807 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
26808 (gst_base_sink_do_sync):
26811 2005-07-16 Wim Taymans <wim@fluendo.com>
26813 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
26814 (gst_base_sink_event), (gst_base_sink_get_times),
26815 (gst_base_sink_do_sync), (gst_base_sink_change_state):
26816 * gst/base/gstbasesink.h:
26817 Store and use discont values when syncing buffers as described
26820 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
26821 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start),
26822 (gst_base_src_activate_push):
26823 Push discont event when starting.
26825 * gst/elements/gstidentity.c: (gst_identity_transform):
26828 * gst/gstbin.c: (gst_bin_change_state):
26829 Small cleanups in base_time distribution.
26831 * gst/gstelement.c: (gst_element_set_base_time),
26832 (gst_element_get_base_time), (gst_element_change_state):
26833 * gst/gstelement.h:
26834 Added methods for the base_time of the element.
26837 * gst/gstpipeline.c: (gst_pipeline_send_event),
26838 (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
26839 (gst_pipeline_get_last_stream_time):
26840 * gst/gstpipeline.h:
26842 Handle seeking as described in design doc, remove stream_time
26844 Cleanups clock and stream_time selection code. Added accessors
26845 for the stream_time.
26848 2005-07-16 Andy Wingo <wingo@pobox.com>
26850 * gst/gsterror.c (_gst_core_errors_init): Use the magic word
26853 2005-07-16 Wim Taymans <wim@fluendo.com>
26855 * check/gst/gstbin.c: (GST_START_TEST):
26856 Make elements silent as the deep_notify refs the
26857 parent, which might make the test fail.
26859 * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
26860 Don't hold the lock for too long.
26862 2005-07-16 Tim-Philipp Müller <tim at centricular dot net>
26864 * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
26865 Don't unref the caps we passed to gst_caps_make_writable() after
26866 passing them. gst_caps_make_writable() will do that for us.
26868 2005-07-15 Andy Wingo <wingo@pobox.com>
26870 * gst/gstcaps.h (gst_caps_is_simple): Removed deprecated macro
26873 * gst/elements/gstidentity.c (marshal_VOID__MINIOBJECT): Write our
26874 own marshalling function for the handoff signal. Properly type the
26875 buffer as a buffer. Fixes some warnings. Should do a more general
26877 (gst_identity_class_init): Plug into the right marshaller.
26879 2005-07-15 Wim Taymans <wim@fluendo.com>
26881 * docs/design/part-TODO.txt:
26882 * docs/design/part-clocks.txt:
26883 * docs/design/part-element-sink.txt:
26884 * docs/design/part-events.txt:
26885 * docs/design/part-gstpipeline.txt:
26886 Updated docs, mostly DISCONT related.
26888 2005-07-15 Tim-Philipp Müller <tim at centricular dot net>
26890 * docs/pwg/building-pads.xml:
26891 s/GST_PAD_LINK_REFUSED/FALSE/ in gst_my_filter_setcaps()
26893 2005-07-15 Andy Wingo <wingo@pobox.com>
26895 * tools/gst-typefind.c: Update, add copyright block.
26897 * gst/base/gstbasesrc.c (gst_base_src_default_negotiate):
26898 Normalize and truncate caps before fixation.
26901 * gst/gstcaps.c (gst_caps_truncate): New function, destructively
26902 discards all but the first structure from its argument.
26904 2005-07-15 Wim Taymans <wim@fluendo.com>
26906 * gst/base/gstbasetransform.c: (gst_base_transform_init),
26907 (gst_base_transform_transform_caps), (gst_base_transform_getcaps),
26908 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
26909 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
26910 (gst_base_transform_handle_buffer), (gst_base_transform_getrange),
26911 (gst_base_transform_chain), (gst_base_transform_change_state),
26912 (gst_base_transform_set_passthrough),
26913 (gst_base_transform_is_passthrough):
26914 * gst/base/gstbasetransform.h:
26915 Make passthrough work using the bufferpools.
26916 Changed API a bit, subclasses have to write into a buffer
26917 provided by the base class.
26918 More debug info in nego functions.
26920 * gst/elements/gstidentity.c: (gst_identity_init),
26921 (gst_identity_transform):
26922 Port to new base class.
26924 2005-07-15 Wim Taymans <wim@fluendo.com>
26926 * gst/gstmessage.c: (gst_message_new_state_changed):
26927 * tools/gst-launch.c: (event_loop), (main):
26928 Totally dump messages in -launch with the -m option.
26929 Fix message name for State messages,
26931 2005-07-14 Wim Taymans <wim@fluendo.com>
26933 * gst/base/gstbasesrc.c: (gst_base_src_loop):
26934 Post error messages on errors.
26936 2005-07-14 Wim Taymans <wim@fluendo.com>
26938 * gst/gstcaps.c: (gst_caps_do_simplify):
26942 Define error for stream stopped.
26944 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
26945 (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange):
26946 Do proper return values.
26948 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
26949 (gst_pad_set_caps), (gst_pad_chain), (gst_pad_push),
26950 (gst_pad_get_range):
26951 Better return values.
26954 Reorganise return values, add macro to check for fatal errors.
26956 * gst/gstqueue.c: (gst_queue_chain):
26957 Return proper GstFlowReturn values,
26959 2005-07-14 Thomas Vander Stichele <thomas at apestaart dot org>
26961 * docs/gst/gstreamer-sections.txt:
26962 * docs/gst/gstreamer.types:
26963 * docs/gst/tmpl/gst.sgml:
26964 * docs/gst/tmpl/gstbasesink.sgml:
26965 * docs/gst/tmpl/gstbasesrc.sgml:
26966 * docs/gst/tmpl/gstbasetransform.sgml:
26967 * docs/gst/tmpl/gstbin.sgml:
26968 * docs/gst/tmpl/gstbuffer.sgml:
26969 * docs/gst/tmpl/gstcaps.sgml:
26970 * docs/gst/tmpl/gstclock.sgml:
26971 * docs/gst/tmpl/gstcompat.sgml:
26972 * docs/gst/tmpl/gstconfig.sgml:
26973 * docs/gst/tmpl/gstelement.sgml:
26974 * docs/gst/tmpl/gstelementdetails.sgml:
26975 * docs/gst/tmpl/gstelementfactory.sgml:
26976 * docs/gst/tmpl/gstenumtypes.sgml:
26977 * docs/gst/tmpl/gsterror.sgml:
26978 * docs/gst/tmpl/gstevent.sgml:
26979 * docs/gst/tmpl/gstfakesink.sgml:
26980 * docs/gst/tmpl/gstfakesrc.sgml:
26981 * docs/gst/tmpl/gstfilesink.sgml:
26982 * docs/gst/tmpl/gstfilesrc.sgml:
26983 * docs/gst/tmpl/gstfilter.sgml:
26984 * docs/gst/tmpl/gstformat.sgml:
26985 * docs/gst/tmpl/gstghostpad.sgml:
26986 * docs/gst/tmpl/gstimplementsinterface.sgml:
26987 * docs/gst/tmpl/gstindex.sgml:
26988 * docs/gst/tmpl/gstindexfactory.sgml:
26989 * docs/gst/tmpl/gstinfo.sgml:
26990 * docs/gst/tmpl/gstiterator.sgml:
26991 * docs/gst/tmpl/gstmacros.sgml:
26992 * docs/gst/tmpl/gstmemchunk.sgml:
26993 * docs/gst/tmpl/gstminiobject.sgml:
26994 * docs/gst/tmpl/gstobject.sgml:
26995 * docs/gst/tmpl/gstpad.sgml:
26996 * docs/gst/tmpl/gstpadtemplate.sgml:
26997 * docs/gst/tmpl/gstparse.sgml:
26998 * docs/gst/tmpl/gstpipeline.sgml:
26999 * docs/gst/tmpl/gstplugin.sgml:
27000 * docs/gst/tmpl/gstpluginfeature.sgml:
27001 * docs/gst/tmpl/gstquery.sgml:
27002 * docs/gst/tmpl/gstqueue.sgml:
27003 * docs/gst/tmpl/gstregistry.sgml:
27004 * docs/gst/tmpl/gstregistrypool.sgml:
27005 * docs/gst/tmpl/gstscheduler.sgml:
27006 * docs/gst/tmpl/gstschedulerfactory.sgml:
27007 * docs/gst/tmpl/gststructure.sgml:
27008 * docs/gst/tmpl/gstsystemclock.sgml:
27009 * docs/gst/tmpl/gsttaglist.sgml:
27010 * docs/gst/tmpl/gsttagsetter.sgml:
27011 * docs/gst/tmpl/gsttrace.sgml:
27012 * docs/gst/tmpl/gsttrashstack.sgml:
27013 * docs/gst/tmpl/gsttypefind.sgml:
27014 * docs/gst/tmpl/gsttypefindfactory.sgml:
27015 * docs/gst/tmpl/gsttypes.sgml:
27016 * docs/gst/tmpl/gsturihandler.sgml:
27017 * docs/gst/tmpl/gsturitype.sgml:
27018 * docs/gst/tmpl/gstutils.sgml:
27019 * docs/gst/tmpl/gstvalue.sgml:
27020 * docs/gst/tmpl/gstversion.sgml:
27021 * docs/gst/tmpl/gstxml.sgml:
27022 * docs/libs/tmpl/gstcontrol.sgml:
27023 * docs/libs/tmpl/gstdataprotocol.sgml:
27024 * docs/libs/tmpl/gstdparam.sgml:
27025 * docs/libs/tmpl/gstdplinint.sgml:
27026 * docs/libs/tmpl/gstdpman.sgml:
27027 * docs/libs/tmpl/gstdpsmooth.sgml:
27028 * docs/libs/tmpl/gstgetbits.sgml:
27029 * docs/libs/tmpl/gstunitconvert.sgml:
27030 * gst/base/gstpushsrc.c: (gst_push_src_get_type),
27031 (gst_push_src_base_init), (gst_push_src_class_init),
27032 (gst_push_src_init), (gst_push_src_create):
27033 * gst/base/gstpushsrc.h:
27034 * gst/elements/gstelements.c:
27035 * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type),
27036 (gst_fake_sink_base_init), (gst_fake_sink_class_init),
27037 (gst_fake_sink_init), (gst_fake_sink_set_property),
27038 (gst_fake_sink_get_property), (gst_fake_sink_get_times),
27039 (gst_fake_sink_event), (gst_fake_sink_preroll),
27040 (gst_fake_sink_render), (gst_fake_sink_change_state):
27041 * gst/elements/gstfakesink.h:
27042 * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
27043 (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
27044 (gst_fake_src_base_init), (gst_fake_src_class_init),
27045 (gst_fake_src_init), (gst_fake_src_event_handler),
27046 (gst_fake_src_alloc_parent), (gst_fake_src_set_property),
27047 (gst_fake_src_get_property), (gst_fake_src_prepare_buffer),
27048 (gst_fake_src_alloc_buffer), (gst_fake_src_get_size),
27049 (gst_fake_src_create_buffer), (gst_fake_src_create),
27050 (gst_fake_src_start), (gst_fake_src_stop):
27051 * gst/elements/gstfakesrc.h:
27052 * gst/elements/gstfilesink.c: (_do_init),
27053 (gst_file_sink_base_init), (gst_file_sink_class_init),
27054 (gst_file_sink_init), (gst_file_sink_dispose),
27055 (gst_file_sink_set_location), (gst_file_sink_set_property),
27056 (gst_file_sink_get_property), (gst_file_sink_open_file),
27057 (gst_file_sink_close_file), (gst_file_sink_query),
27058 (gst_file_sink_event), (gst_file_sink_render),
27059 (gst_file_sink_change_state), (gst_file_sink_uri_get_type),
27060 (gst_file_sink_uri_get_protocols), (gst_file_sink_uri_get_uri),
27061 (gst_file_sink_uri_set_uri), (gst_file_sink_uri_handler_init):
27062 * gst/elements/gstfilesink.h:
27063 * gst/elements/gstfilesrc.c: (_do_init), (gst_file_src_base_init),
27064 (gst_file_src_class_init), (gst_file_src_init),
27065 (gst_file_src_finalize), (gst_file_src_set_location),
27066 (gst_file_src_set_property), (gst_file_src_get_property),
27067 (gst_file_src_map_region), (gst_file_src_map_small_region),
27068 (gst_file_src_create_mmap), (gst_file_src_create_read),
27069 (gst_file_src_create), (gst_file_src_is_seekable),
27070 (gst_file_src_get_size), (gst_file_src_start), (gst_file_src_stop),
27071 (gst_file_src_uri_get_type), (gst_file_src_uri_get_protocols),
27072 (gst_file_src_uri_get_uri), (gst_file_src_uri_set_uri),
27073 (gst_file_src_uri_handler_init):
27074 * gst/elements/gstfilesrc.h:
27075 more autistic cleanliness in functions/names/defines
27077 2005-07-13 Andy Wingo <wingo@pobox.com>
27079 * gst/base/gstbasesrc.c (gst_base_src_start): Post an error if the
27080 source couldn't negotiate.
27082 * gst/parse/grammar.y: Revert 1.54->1.55, so we now do filtered
27086 * gst/gstutils.c (gst_element_link_pads_filtered): New old
27087 function. I am channeling Hades. Put your boots on suckers!!!
27089 2005-07-13 Thomas Vander Stichele <thomas at apestaart dot org>
27091 * testsuite/caps/Makefile.am:
27092 * testsuite/caps/value_compare.c:
27093 * testsuite/caps/value_intersect.c:
27094 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
27095 move two testsuite apps over to the check dir
27097 2005-07-12 Wim Taymans <wim@fluendo.com>
27099 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
27100 Added more debug info in the negotiate process.
27102 * gst/gstmessage.h:
27103 Prepare for segment playback.
27105 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps):
27111 * tools/gst-launch.c: (main):
27112 NULL pipeline on errors.
27114 2005-07-12 Andy Wingo <wingo@pobox.com>
27116 * gst/gstbuffer.c (_gst_buffer_copy): Copy the buffer whether or
27117 not it comes from a malloc region. Make sure our copy gets freed.
27119 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
27121 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
27122 * check/gst/gstmessage.c: (GST_START_TEST):
27123 * check/gst/gststructure.c: (GST_START_TEST),
27124 (gst_structure_suite), (main):
27126 * gst/gstelement.c: (gst_element_message_full):
27127 clean up GError and debug string now that they get copied
27128 * gst/gstmessage.c: (gst_message_new_error),
27129 (gst_message_new_warning), (gst_message_parse_error),
27130 (gst_message_parse_warning):
27131 use GST_TYPE_G_ERROR for structure_new, and take copies of
27132 arguments, so that we don't mess up refcounting
27134 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
27136 * check/Makefile.am:
27137 add per-test valgrind targets
27138 * check/gst-libs/gdp.c: (GST_START_TEST),
27139 (gst_data_protocol_suite), (main):
27142 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
27144 * check/Makefile.am:
27145 instate more valgrindable tests
27146 * check/elements/gstfakesrc.c: (chain_func), (event_func),
27147 (GST_START_TEST), (fakesrc_suite):
27148 * check/gst/gstpad.c: (GST_START_TEST):
27149 * check/gst/gststructure.c: (GST_START_TEST):
27151 * docs/gst/tmpl/gstminiobject.sgml:
27152 * gst/gstpad.c: (gst_pad_finalize):
27153 fix the static mutex leak
27155 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
27157 * check/Makefile.am:
27158 add two more tests for valgrinding
27159 * check/gst/gstvalue.c: (GST_START_TEST):
27160 test refcount of deserialized buffer, found a leak
27161 * docs/gst/gstreamer-docs.sgml:
27162 * docs/gst/gstreamer-sections.txt:
27163 * docs/gst/gstreamer.types:
27164 * docs/gst/tmpl/gstminiobject.sgml:
27165 add miniobject to docs
27166 * gst/gstminiobject.c:
27168 * gst/gstvalue.c: (gst_value_deserialize_buffer),
27169 (gst_string_unwrap):
27170 fix a hard-to-find invalid write for one of the tests
27171 fix a leak for deserialized buffers
27173 2005-07-11 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27175 * docs/pwg/advanced-events.xml:
27176 * docs/pwg/advanced-request.xml:
27177 * docs/pwg/advanced-scheduling.xml:
27178 * docs/pwg/appendix-porting.xml:
27179 * docs/pwg/building-boiler.xml:
27180 * docs/pwg/intro-preface.xml:
27181 * docs/pwg/other-ntoone.xml:
27182 Rewrite scheduling-chapter for scheduling model in 0.9. Add lots
27183 of example code and explanation for pad activation, loop() and
27184 getrange() functions and a bit more. Remove old comments pointing
27186 * examples/pwg/Makefile.am:
27187 Add loop/getrange examples.
27189 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
27192 check for valgrind binary + some fixes
27194 valgrind suppressions for the tests
27195 * check/Makefile.am:
27196 add a valgrind: target that valgrinds the unit tests
27197 * check/gst/gst.c: (GST_START_TEST), (gst_suite):
27198 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
27199 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
27200 * check/gst/gstghostpad.c:
27202 * check/gst/gstdata.c:
27204 * check/gst/gstminiobject.c: (GST_START_TEST), (thread_ref),
27205 (thread_unref), (gst_mini_object_suite), (main):
27207 * gst/gst.c: (gst_deinit):
27209 add a method to clean up.
27210 * gst/gstsystemclock.c: (gst_system_clock_dispose),
27211 (gst_system_clock_obtain):
27212 allow for disposing the system clock.
27213 * tools/gst-launch.c: (main):
27216 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
27218 * docs/gst/tmpl/gstbasesrc.sgml:
27219 * docs/gst/tmpl/gstfakesrc.sgml:
27220 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
27221 (gst_base_src_init), (gst_base_src_set_property),
27222 (gst_base_src_get_property), (gst_base_src_get_range),
27223 (gst_base_src_start):
27224 * gst/base/gstbasesrc.h:
27225 add num-buffers property
27226 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
27227 (gst_fakesrc_init), (gst_fakesrc_set_property),
27228 (gst_fakesrc_get_property), (gst_fakesrc_create),
27229 (gst_fakesrc_start):
27230 remove num-buffers property
27232 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
27234 * docs/gst/gstreamer-sections.txt:
27235 * docs/gst/tmpl/gstbasesink.sgml:
27236 * docs/gst/tmpl/gstbasesrc.sgml:
27237 * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
27238 (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
27239 (gst_base_sink_finalize), (gst_base_sink_set_clock),
27240 (gst_base_sink_set_property), (gst_base_sink_get_property),
27241 (gst_base_sink_handle_object), (gst_base_sink_event),
27242 (gst_base_sink_do_sync), (gst_base_sink_handle_event),
27243 (gst_base_sink_handle_buffer), (gst_base_sink_chain),
27244 (gst_base_sink_loop), (gst_base_sink_deactivate),
27245 (gst_base_sink_activate_push), (gst_base_sink_activate_pull),
27246 (gst_base_sink_change_state):
27247 * gst/base/gstbasesink.h:
27248 * gst/base/gstbasesrc.h:
27249 * gst/elements/gstfakesink.c: (gst_fakesink_get_times):
27250 * gst/elements/gstfilesink.c: (gst_filesink_class_init),
27251 (gst_filesink_init):
27252 more macro splitting
27254 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
27256 * gst/gstelement.c: (gst_element_get_bus):
27258 * tools/gst-launch.c: (check_intr), (event_loop):
27261 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
27263 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
27266 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
27268 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
27269 (gst_base_src_finalize):
27270 add finalize method and clean up properly
27271 * gst/gstpipeline.c: (gst_pipeline_dispose):
27274 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
27276 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST),
27278 add more things to check
27279 * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
27280 * gst/gstelement.c:
27283 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
27285 * check/elements/gstfakesrc.c: (chain_func), (event_func),
27286 (GST_START_TEST), (fakesrc_suite):
27287 * check/gst-libs/gdp.c: (GST_START_TEST):
27288 * check/gst/gst.c: (GST_START_TEST):
27289 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
27290 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
27291 * check/gst/gstbus.c: (GST_START_TEST):
27292 * check/gst/gstcaps.c: (GST_START_TEST):
27293 * check/gst/gstdata.c: (GST_START_TEST):
27294 * check/gst/gstelement.c: (GST_START_TEST):
27295 * check/gst/gstghostpad.c: (GST_START_TEST):
27296 * check/gst/gstiterator.c: (GST_START_TEST):
27297 * check/gst/gstmessage.c: (GST_START_TEST):
27298 * check/gst/gstobject.c: (GST_START_TEST):
27299 * check/gst/gstpad.c: (GST_START_TEST):
27300 * check/gst/gststructure.c: (GST_START_TEST):
27301 * check/gst/gstsystemclock.c: (GST_START_TEST),
27302 (gst_systemclock_suite):
27303 * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
27304 * check/gst/gstvalue.c: (GST_START_TEST):
27305 * check/pipelines/cleanup.c: (GST_START_TEST):
27306 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
27307 * check/states/sinks.c: (GST_START_TEST):
27308 * check/gstcheck.c: (gst_check_init):
27309 * check/gstcheck.h:
27310 add debugging category
27311 use GST_START_TEST now, so we add a debug line
27313 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
27315 * check/gst/gstbin.c: (START_TEST), (gst_bin_suite):
27316 add test for state change message on a bin
27317 * check/gst/gstelement.c: (START_TEST), (gst_element_suite):
27319 * gst/gstbin.c: (gst_bin_init):
27320 * gst/gstbus.c: (gst_bus_init), (gst_bus_post):
27321 * gst/gstelement.c: (gst_element_post_message),
27322 (gst_element_set_state):
27323 * gst/gstelementfactory.c: (gst_element_factory_create):
27324 * gst/gstmessage.c: (gst_message_new):
27325 * gst/gstscheduler.c:
27326 various debugging additions and cleanups
27328 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
27330 * check/Makefile.am:
27331 * check/gst/gstelement.c: (START_TEST), (gst_element_suite),
27333 adding tests for elements
27334 * gst/gstelement.c: (gst_element_dispose):
27336 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
27338 * gst/registries/gstlibxmlregistry.c: (load_feature):
27339 plug more leaks. A simple gst_init() now is leakfree, yay.
27341 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
27343 * gst/registries/gstlibxmlregistry.c: (read_string), (load_paths),
27344 (gst_xml_registry_load):
27345 plug another memleak
27347 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
27350 use GST_SET_ERROR_CFLAGS
27351 * docs/faq/cvs.xml:
27352 change to ERROR_CFLAGS
27354 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
27357 make GST_ERROR_CFLAGS overridable and re-enable Werror
27358 * docs/faq/cvs.xml:
27359 add a note about error CFLAGS
27360 * docs/gst/tmpl/gstfakesrc.sgml:
27361 * gst/elements/gstfakesrc.c:
27362 comment out some unused code
27363 * gst/gst.c: (split_and_iterate):
27364 * gst/registries/gstlibxmlregistry.c: (load_pad_template),
27368 2005-07-07 Thomas Vander Stichele <thomas at apestaart dot org>
27370 * common/Makefile.am:
27371 * common/gtk-doc.mak:
27372 * docs/gst/Makefile.am:
27373 factor out gtk-doc.mak
27375 2005-07-07 Wim Taymans <wim@fluendo.com>
27377 * gst/schedulers/threadscheduler.c: (gst_thread_scheduler_func),
27378 (gst_thread_scheduler_dispose):
27379 Unlock the STREAM_LOCK completely.
27381 2005-07-07 Thomas Vander Stichele <thomas at apestaart dot org>
27383 * check/Makefile.am:
27384 * check/elements/.cvsignore:
27385 * check/elements/gstfakesrc.c: (chain_func), (event_func),
27386 (START_TEST), (fakesrc_suite), (main):
27387 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
27388 (gst_fakesrc_set_property), (gst_fakesrc_get_property),
27389 (gst_fakesrc_create), (gst_fakesrc_start):
27390 * gst/elements/gstfakesrc.h:
27391 adding a first element test
27393 2005-07-07 Andy Wingo <wingo@pobox.com>
27395 * gst/gstbus.c (gst_bus_have_pending): Remove intensely irritating
27398 2005-07-07 Wim Taymans <wim@fluendo.com>
27404 2005-07-07 Wim Taymans <wim@fluendo.com>
27406 * gst/base/gstbasesrc.c: (gst_base_src_get_range),
27407 (gst_base_src_default_negotiate), (gst_base_src_negotiate):
27408 Allow subclasses to implement their own negotiation.
27410 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
27412 * docs/design/part-gstbin.txt:
27413 * docs/design/part-gstpipeline.txt:
27414 Update design notes to reflect the movement of
27415 responsibility for bus handling from GstPipeline to
27418 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
27421 Remove unnecessary queue2/3/4 examples.
27423 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
27425 * examples/Makefile.am:
27426 * examples/helloworld/helloworld.c: (event_loop), (main):
27427 * examples/queue/queue.c: (event_loop), (main):
27428 * examples/queue2/queue2.c: (main):
27429 Update a couple of the examples to work again.
27431 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
27432 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_event):
27433 Spelling corrections and extra debug.
27435 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init), (is_eos),
27436 (gst_bin_add_func), (bin_element_is_sink), (gst_bin_get_state),
27437 (gst_bin_change_state), (gst_bin_dispose), (bin_bus_handler):
27439 * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
27440 (gst_pipeline_change_state):
27441 * gst/gstpipeline.h:
27442 Move the bus handler for children to the GstBin, and create a
27443 separate bus for receiving messages from children to the one the
27444 bus sends 'upwards' on.
27446 2005-07-06 Wim Taymans <wim@fluendo.com>
27449 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
27450 (gst_base_sink_handle_object), (gst_base_sink_loop),
27451 (gst_base_sink_change_state):
27452 * gst/base/gstbasesink.h:
27453 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
27454 (gst_base_src_init), (gst_base_src_setcaps),
27455 (gst_base_src_getcaps), (gst_base_src_loop),
27456 (gst_base_src_default_negotiate), (gst_base_src_negotiate),
27457 (gst_base_src_start), (gst_base_src_change_state):
27458 * gst/base/gstbasesrc.h:
27459 Make basesrc negotiate.
27460 Handle the case where preroll fails in basesink.
27463 2005-07-06 Wim Taymans <wim@fluendo.com>
27465 * gst/gstpad.c: (gst_pad_fixate_caps), (gst_pad_accept_caps):
27466 Implement the fixate function.
27467 Clean up acceptcaps.
27469 2005-07-06 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27471 * docs/pwg/building-filterfactory.xml:
27472 * docs/pwg/pwg.xml:
27473 Remove never-written filter-factory chapter; I'll add the various
27474 base classes to part 4 ("other element types") later on.
27476 2005-07-06 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27478 * docs/pwg/advanced-negotiation.xml:
27479 * docs/pwg/building-boiler.xml:
27480 * docs/pwg/building-pads.xml:
27481 * docs/pwg/pwg.xml:
27482 * examples/pwg/Makefile.am:
27483 Add a chapter on caps negotiation, simplify the original code
27484 samples a bit w.r.t. caps negotiation, add link to the advanced
27485 section. Add a bunch of examples showing different use cases of
27486 different types of caps negotiation. Upstream renegotiation isn't
27487 fully documented yet since nobody knows how that works.
27489 2005-07-06 Thomas Vander Stichele <thomas at apestaart dot org>
27491 * check/gst/gstpad.c:
27492 * check/gstcheck.c:
27493 * gst/gstpad.c: (gst_pad_get_internal_links_default):
27494 if pad has no parent, return NULL as list of internal links
27496 2005-07-05 Andy Wingo <wingo@pobox.com>
27498 * gst/elements/gstfilesrc.c:
27499 * gst/elements/gstfakesrc.c:
27500 * gst/base/gstpushsrc.c:
27501 * gst/base/gstbasesrc.h:
27502 * gst/base/gstbasesrc.c: s/BASESRC/BASE_SRC/g.
27504 2005-07-05 Stefan Kost <ensonic@users.sf.net>
27507 better report generation target (lcov needs a patch)
27509 2005-07-05 Andy Wingo <wingo@pobox.com>
27511 * gst/elements, testsuite: Null if we got it...
27513 2005-07-05 Wim Taymans <wim@fluendo.com>
27516 * libs/gst/dataprotocol/Makefile.am:
27517 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_validate_packet):
27518 * libs/gst/dataprotocol/dataprotocol.h:
27519 * pkgconfig/Makefile.am:
27520 * pkgconfig/gstreamer-dataprotocol-uninstalled.pc.in:
27521 * pkgconfig/gstreamer-dataprotocol.pc.in:
27522 Ported dataprotol to 0.9.
27523 Added pkgconfig files.
27525 2005-07-05 Andy Wingo <wingo@pobox.com>
27527 * gst/base/gstbasetransform.c (gst_base_transform_setcaps):
27528 Default to returning TRUE for the case when tranform_caps returns
27529 a fixed caps, like for identity or volume.
27531 * check/gst/gstbus.c (pound_bus_with_messages):
27532 * check/gst/gstmessage.c (START_TEST):
27533 * check/pipelines/simple_launch_lines.c (got_handoff): Application
27534 message API change.
27536 * gst/base/gstbasetransform.c (gst_base_transform_setcaps): More
27537 logic weaks here: always run transform_caps, trying passthrough
27538 operation only if the original caps intersects with the transform.
27540 * gst/gstpad.c (gst_pad_link_check_compatible_unlocked): Debug
27541 source and sink caps.
27543 * gst/base/gstbasetransform.c (gst_base_transform_getcaps):
27544 Intersect the peer caps with the pad template before going into
27546 (gst_base_transform_transform_caps): More debugging.
27548 * gst/gstmessage.h (gst_message_new_application): Take a GstObject
27551 2005-07-04 Edward Hervey <edward@fluendo.com>
27555 (gst_pad_add_*_probe): now returns the signal id for better wrapping
27558 2005-07-04 Andy Wingo <wingo@pobox.com>
27560 * check/gst/gstpad.c: Only set explicit caps on pads.
27562 2005-07-01 Andy Wingo <wingo@pobox.com>
27564 * tests/network-clock.scm: Commentary update.
27566 * gst/elements/gstidentity.c (PROP_DUPLICATE): Gone daddy gone.
27567 Didn't really make sense, not implementable with basetransform,
27569 (gst_identity_transform): Unref inbuf via make_writable. Feeble
27570 attempt at implementing the sync property, needs an unlock method.
27572 * gst/base/gstbasetransform.c (gst_base_transform_transform_caps):
27573 New func, by default returns the same caps (the identity
27575 (gst_base_transform_getcaps): Uses transform_caps to return
27576 something sensible.
27577 (gst_base_transform_setcaps): Complicated logic to get caps on
27578 both pads, even if they are different, and to call set_caps once
27579 for every time both pads get their caps set.
27580 (gst_base_transform_handle_buffer): Give the ref to the transform
27581 function. Allows in-place modification of the buffer.
27583 * gst/base/gstbasetransform.h (transform_caps): New class method.
27584 Given caps on one side, what can I do on the other.
27585 (set_caps): Take two caps, one for each side of the element.
27588 * gst/gstpad.c (gst_pad_fixate_caps): Change prototype to modify
27589 caps in place. This is safe because we can check the mutability of
27590 the caps, and a good idea because fixate functions are just called
27591 as a matter of last resort. (Not actually implemented.)
27592 (gst_pad_set_caps): If the caps we're setting is actually the same
27593 as the existing pad caps, just update the pointer without calling
27594 setcaps. Assert that caps is either NULL or fixed, as per the
27597 * gst/gstghostpad.c: Update for fixate changes.
27599 2005-07-02 Andy Wingo <wingo@pobox.com>
27602 * gst/gstcaps.h (gst_static_caps_get): Not const return, having
27603 two refcounts makes it immutable, which is enough. Doc more.
27605 2005-07-02 Jan Schmidt <thaytan@mad.scientist.com>
27607 * gst/gstpad.c: (gst_pad_emit_have_data_signal):
27608 Put the mini_object into GValue as a mini_object,
27609 not a gpointer, since that's how we declared
27612 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27614 * examples/pwg/Makefile.am:
27615 Fix buildbot again.
27617 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27619 * docs/pwg/building-testapp.xml:
27621 * examples/pwg/Makefile.am:
27624 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27627 * examples/Makefile.am:
27628 * examples/pwg/Makefile.am:
27629 * examples/pwg/extract.pl:
27630 Enable building the PWG examples.
27631 * docs/pwg/advanced-interfaces.xml:
27632 Add URI interface stub.
27633 * docs/pwg/advanced-types.xml:
27634 * docs/pwg/other-autoplugger.xml:
27635 * docs/pwg/appendix-porting.xml:
27636 * docs/pwg/pwg.xml:
27637 Add porting guide (mostly stubs), remove autoplugging (see ADM).
27638 * docs/pwg/building-boiler.xml:
27639 * docs/pwg/building-chainfn.xml:
27640 * docs/pwg/building-pads.xml:
27641 * docs/pwg/building-props.xml:
27642 * docs/pwg/building-state.xml:
27643 * docs/pwg/building-testapp.xml:
27644 Update the building-*.xml parts for 0.9 changes. All examples
27645 code blocks compile in examples/pwg/*.
27647 2005-06-30 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27649 * docs/manual/advanced-autoplugging.xml:
27650 * docs/manual/appendix-checklist.xml:
27651 * docs/manual/appendix-integration.xml:
27652 * docs/manual/highlevel-components.xml:
27653 Fix playbin/decodebin examples, update docs a bit, mention bus
27654 instead of signals in various places, mention kmplayer and
27655 kaffeine since they have a working GStreamer backend in the KDE
27658 2005-06-30 Wim Taymans <wim@fluendo.com>
27661 * docs/design/draft-ghostpads.txt:
27662 * docs/design/draft-push-pull.txt:
27663 * docs/design/draft-query.txt:
27664 * docs/design/part-TODO.txt:
27665 * docs/design/part-query.txt:
27666 Added CHANGES-0.9 doc, updated status of other docs.
27671 2005-06-30 Wim Taymans <wim@fluendo.com>
27673 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
27674 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
27675 (gst_base_sink_change_state):
27676 * gst/base/gstbasesink.h:
27677 Some tweaks, only EOS and a buffer complete a preroll.
27679 2005-06-30 Andy Wingo <wingo@pobox.com>
27681 * gst/gstghostpad.c (gst_ghost_pad_do_activate_push): Proxy
27682 activate_push down to the internal pad as well.
27684 2005-06-30 Torsten Schoenfeld <kaffeetisch@gmx.de>
27686 Reviewed by: Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27688 * gst/gsttaginterface.c:
27689 Some documentation fixes (#307394 and #307397).
27691 2005-06-30 Antoine Tremblay <hexa00@gmail.com>
27693 Reviewed by: Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27695 * gst/gstvalue.c: (gst_value_intersect_list):
27696 Fix memleak (#309125).
27698 2005-06-30 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27700 * docs/manual/advanced-dataaccess.xml:
27701 Fix fakesrc example to compile; doesn't work, bug somewhere...?
27702 * docs/manual/basics-pads.xml:
27703 Add reference for filtered caps to above chapter.
27705 2005-06-30 Wim Taymans <wim@fluendo.com>
27707 * gst/gstbin.c: (clear_queue), (remove_all_from_queue),
27708 (gst_bin_change_state):
27710 Lame attempt at making the state change function a bit
27713 2005-06-30 Wim Taymans <wim@fluendo.com>
27715 * docs/design/part-clocks.txt:
27716 * docs/design/part-element-sink.txt:
27717 * docs/design/part-events.txt:
27718 * docs/design/part-preroll.txt:
27719 * docs/design/part-states.txt:
27720 Some more tweeks and additions to the docs.
27722 2005-06-30 Wim Taymans <wim@fluendo.com>
27724 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
27725 (default_have_data), (gst_pad_class_init), (gst_pad_init),
27726 (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
27727 (gst_pad_check_pull_range), (gst_pad_get_range),
27728 (gst_pad_pull_range), (gst_pad_push_event), (gst_pad_send_event):
27730 * gst/gstutils.c: (gst_atomic_int_set), (gst_pad_add_data_probe),
27731 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
27732 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
27733 (gst_pad_remove_buffer_probe):
27734 Removed atomic operations, use existing LOCK.
27735 Move exception handling out of main code path.
27737 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27739 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
27740 (silly_return_true_function), (gst_pad_class_init),
27741 (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
27742 (gst_pad_get_range), (gst_pad_pull_range), (gst_pad_push_event),
27743 (gst_pad_send_event):
27744 Fix accumulator, add default value by using _emitv() instead
27745 of _emit() for signal emission.
27747 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27749 * docs/manual/advanced-dataaccess.xml:
27750 * examples/manual/Makefile.am:
27752 * gst/gstpad.c: (_gst_do_pass_data_accumulator):
27755 2005-06-29 Tim-Philipp Müller <tim at centricular dot net>
27757 * gst/elements/gstfilesink.c: (gst_filesink_render):
27758 Simplify code so that we don't have to handle short
27759 writes and return GST_FLOW_ERROR if an error occured.
27761 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27763 * docs/gst/gstreamer-docs.sgml:
27764 Remove probes more.
27766 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27768 * docs/gst/gstreamer-sections.txt:
27769 * docs/gst/tmpl/gstpad.sgml:
27770 * docs/gst/tmpl/gstprobe.sgml:
27772 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
27773 (gst_pad_class_init), (gst_pad_init), (gst_pad_chain),
27774 (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
27775 (gst_pad_push_event), (gst_pad_send_event):
27777 * gst/gstutils.c: (gst_pad_add_data_probe),
27778 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
27779 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
27780 (gst_pad_remove_buffer_probe):
27782 Remove old probes, add new g-signal-based probes and some utility
27785 2005-06-29 Edward Hervey <edward@fluendo.com>
27787 * gst/gstelementfactory.c:
27790 Moved gst_element_factory_can_[sink|src]_caps() to gstutils and added
27791 the definition to the header file.
27793 2005-06-29 Andy Wingo <wingo@pobox.com>
27795 * docs/gst/Makefile.am (scan-build.stamp): Totally only check
27796 plugins from the source directory.
27798 2005-06-29 Wim Taymans <wim@fluendo.com>
27800 * docs/gst/tmpl/gstbuffer.sgml:
27801 * docs/gst/tmpl/gstclock.sgml:
27802 Some fixings for blantently wrong text.
27804 2005-06-29 Thomas Vander Stichele <thomas at apestaart dot org>
27806 * check/Makefile.am:
27807 * gst/gst.c: (add_path_func), (init_pre):
27808 * gst/gstregistry.c: (gst_registry_add_path):
27809 add A GST_PLUGIN_PATH_ONLY env var; if it is set, it will
27810 only scan the GST_PLUGIN_PATH locations, and not add
27813 2005-06-29 Thomas Vander Stichele <thomas at apestaart dot org>
27815 * docs/gst/gstreamer-sections.txt:
27816 * docs/gst/tmpl/gstbasesrc.sgml:
27817 * gst/gstelement.c:
27818 * gst/gstelement.h:
27823 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27825 * docs/manual/advanced-autoplugging.xml:
27826 Fix autoplugging example.
27828 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27830 * docs/manual/advanced-autoplugging.xml:
27831 * docs/manual/mime-world.fig:
27832 Try to get autoplugging working, fix type detection. Fix text
27833 in hello-world image.
27835 2005-06-29 Wim Taymans <wim@fluendo.com>
27837 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
27838 (gst_base_sink_change_state):
27842 map SIGNAL and BROADCAST to the right function.
27845 Remove redundant braces.
27847 * gst/gstpad.c: (gst_pad_set_caps):
27848 Don't call setcaps function when reseting caps to NULL.
27850 * gst/gstsystemclock.c: (gst_system_clock_dispose),
27851 (gst_system_clock_async_thread), (gst_system_clock_id_wait_async),
27852 (gst_system_clock_id_unschedule):
27853 Use BROADCAST as this is what we do.
27855 2005-06-29 Wim Taymans <wim@fluendo.com>
27857 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
27858 We are actually prerolling before commiting the state
27861 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27863 * docs/manual/advanced-clocks.xml:
27864 * docs/manual/advanced-interfaces.xml:
27865 * docs/manual/advanced-metadata.xml:
27866 * docs/manual/advanced-position.xml:
27867 * docs/manual/advanced-schedulers.xml:
27868 * docs/manual/advanced-threads.xml:
27869 * docs/manual/appendix-porting.xml:
27870 * docs/manual/basics-bins.xml:
27871 * docs/manual/basics-bus.xml:
27872 * docs/manual/basics-elements.xml:
27873 * docs/manual/basics-helloworld.xml:
27874 * docs/manual/basics-pads.xml:
27875 * docs/manual/highlevel-components.xml:
27876 * docs/manual/manual.xml:
27877 * docs/manual/thread.fig:
27878 Update (until threads/scheduling) Application Development Manual;
27879 remove GstThread, add GstBus, add simple porting checklist, add
27880 documentation for tag writing, clocks, make all examples until this
27881 part compile and run.
27882 * examples/manual/Makefile.am:
27883 Update from changes to Application Development Manual; add bus
27884 example, remove thread example.
27886 2005-06-28 Wim Taymans <wim@fluendo.com>
27888 * gst/gstbus.c: (gst_bus_post), (gst_bus_have_pending),
27889 (gst_bus_set_flushing), (gst_bus_pop), (gst_bus_peek),
27890 (gst_bus_source_dispatch):
27891 Add debugging messages.
27892 Make internal methods static.
27893 Handle the case where the bus is flushed in the handler.
27895 * gst/gstelement.c: (gst_element_get_bus):
27896 Fix refcount in _get_bus();
27898 * gst/gstpipeline.c: (gst_pipeline_change_state),
27899 (gst_pipeline_get_clock_func):
27900 Clock refcounting fixes.
27901 Handle the case where preroll timed out more gracefully.
27903 * gst/gstsystemclock.c: (gst_system_clock_dispose):
27904 Clean up the internal thread in dispose. This is needed
27905 for subclasses that actually get disposed.
27907 * gst/schedulers/threadscheduler.c:
27908 (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
27909 (gst_thread_scheduler_dispose):
27910 Free thread pool in dispose.
27912 2005-06-28 Andy Wingo <wingo@pobox.com>
27914 * tests/network-clock-utils.scm (debug, print-event): New utils.
27916 * tests/network-clock.scm (*debug*, *with-graph*): New parameters.
27917 (*packet-loss*): Unified loss probability.
27918 (network-time): Report out-of-band events.
27920 * tests/plot-data: Add support for out-of-band events. Hack it
27921 into this script instead of passing it down the pipe; should fix
27924 2005-06-28 Wim Taymans <wim@fluendo.com>
27926 * docs/gst/gstreamer.types:
27927 * docs/gst/tmpl/gstbasesrc.sgml:
27928 * docs/gst/tmpl/gstpad.sgml:
27931 2005-06-28 Wim Taymans <wim@fluendo.com>
27933 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
27934 (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_acceptcaps),
27935 (gst_proxy_pad_do_fixatecaps):
27936 Correctly proxy the check_pull_range function.
27938 2005-06-28 Andy Wingo <wingo@pobox.com>
27940 * tests/network-clock.scm: Removed need for slib.
27942 2005-06-28 Wim Taymans <wim@fluendo.com>
27944 * gst/base/gstbasesink.c: (gst_basesink_set_pad_functions),
27945 (gst_basesink_preroll_queue_flush):
27946 * gst/base/gstbasesrc.c: (gst_basesrc_set_dataflow_funcs):
27947 * gst/elements/gsttee.c: (gst_tee_update_pad_functions):
27948 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
27949 (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
27950 (gst_proxy_pad_set_property):
27953 * gst/gstqueue.c: (gst_queue_init):
27954 The deprecated pad loop function is removed now.
27956 2005-06-28 Andy Wingo <wingo@pobox.com>
27958 * tests/network-clock.scm (*timeout*, *send-loss*, *recv-loss*):
27959 New parameters, simulate network packet loss.
27961 * tests/network-clock-utils.scm: Initialize the RNG.
27963 2005-06-28 Wim Taymans <wim@fluendo.com>
27965 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_flush),
27966 (gst_basesink_event), (gst_basesink_deactivate):
27967 Flushing the preroll queue always needs to unlock the waiters.
27969 2005-06-28 Edward Hervey <edward@fluendo.com>
27971 * gst/gstpipeline.c: (gst_pipeline_send_event):
27972 Wheen a seek was successful on a pipeline, set the stream_time to the
27973 seek offset in order to have a synchronized stream_time.
27975 2005-06-28 Wim Taymans <wim@fluendo.com>
27977 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
27978 (gst_proxy_pad_do_getrange), (gst_proxy_pad_do_checkgetrange),
27979 (gst_proxy_pad_do_getcaps), (gst_proxy_pad_do_acceptcaps),
27980 (gst_proxy_pad_do_fixatecaps):
27981 Call wrapper function instead of just calling the function
27982 pointers. This takes care of any locking and whatmore.
27984 2005-06-28 Wim Taymans <wim@fluendo.com>
27986 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push),
27987 (gst_pad_pull_range):
27989 CONNECTED -> LINKED.
27991 2005-06-28 Andy Wingo <wingo@pobox.com>
27993 * *.c: Don't cast to GST_OBJECT when reffing or unreffing. Large
27994 source-munging commit!!!
27996 * gst/gstobject.c (gst_object_unref, gst_object_ref)
27997 (gst_object_sink): Take gpointer arguments, not GstObject --
27998 avoids casts. Like GLib.
28000 * gst/gstghostpad.c (gst_proxy_pad_do_activate): Don't proxy
28003 2005-06-27 Andy Wingo <wingo@pobox.com>
28005 * gst/base/gsttypefindhelper.c (gst_type_find_helper): Unref any
28008 * gst/gsttrace.c (gst_alloc_trace_list_sorted): New helper,
28009 returns a sorted copy of the trace list.
28010 (gst_alloc_trace_print_live): New API, only prints traces with
28011 live objects. Sort the list.
28012 (gst_alloc_trace_print_all): Sort the list.
28013 (gst_alloc_trace_print): Align columns.
28015 * gst/elements/gstttypefindelement.c:
28016 * gst/elements/gsttee.c:
28017 * gst/base/gstbasesrc.c:
28018 * gst/base/gstbasesink.c:
28019 * gst/base/gstbasetransform.c:
28020 * gst/gstqueue.c: Adapt for pad activation changes.
28022 * gst/gstpipeline.c (gst_pipeline_init): Unref after parenting
28024 (gst_pipeline_dispose): Drop ref on sched.
28026 * gst/gstpad.c (gst_pad_init): Set the default activate func.
28027 (gst_pad_activate_default): Push mode by default.
28028 (pre_activate_switch, post_activate_switch): New stubs, things to
28029 do before and after switching activation modes on pads.
28030 (gst_pad_set_active): Take a boolean and not a mode, dispatch to
28031 the pad's activate function to choose which mode to activate.
28032 Shortcut on deactivation and call the right function directly.
28033 (gst_pad_activate_pull): New API, (de)activates a pad in pull
28035 (gst_pad_activate_push): New API, same for push mode.
28036 (gst_pad_set_activate_function)
28037 (gst_pad_set_activatepull_function)
28038 (gst_pad_set_activatepush_function): Setters for new API.
28040 * gst/gstminiobject.c (gst_mini_object_new, gst_mini_object_free):
28041 Trace all miniobjects.
28042 (gst_mini_object_make_writable): Unref the arg if we copy, like
28043 gst_caps_make_writable.
28045 * gst/gstmessage.c (_gst_message_initialize): No trace init.
28047 * gst/gstghostpad.c (gst_proxy_pad_do_activate)
28048 (gst_proxy_pad_do_activatepull, gst_proxy_pad_do_activatepush):
28049 Adapt for new pad API.
28051 * gst/gstevent.c (_gst_event_initialize): Don't initialize trace.
28053 * gst/gstelement.h:
28054 * gst/gstelement.c (gst_element_iterate_src_pads)
28055 (gst_element_iterate_sink_pads): New API functions.
28057 * gst/gstelement.c (iterator_fold_with_resync): New utility,
28058 should fold into gstiterator.c in some form.
28059 (gst_element_pads_activate): Simplified via use of fold and
28060 delegation of decisions to gstpad->activate.
28062 * gst/gstbus.c (gst_bus_source_finalize): Set the bus to NULL,
28065 * gst/gstbuffer.c (_gst_buffer_initialize): Ref the buffer type
28066 class once in init, like gstmessage. Didn't run into this issue
28067 but it seems correct. Don't initialize a trace, gstminiobject does
28070 * check/pipelines/simple_launch_lines.c (test_stop_from_app): New
28071 test, runs fakesrc ! fakesink, stopping on ::handoff via a message
28073 (assert_live_count): New util function, uses alloc traces to check
28076 * check/gst/gstghostpad.c (test_ghost_pads): More refcount checks.
28077 To be modified when unlink drops the internal pad.
28079 2005-06-27 Wim Taymans <wim@fluendo.com>
28081 * gst/gstbin.c: (gst_bin_get_state), (gst_bin_iterate_state_order),
28082 (gst_bin_change_state):
28083 Cleanup the get_state() function a little, make sure it
28084 iterates the same set of elements.
28085 Added stub iterate_state_order().
28087 2005-06-27 Thomas Vander Stichele <thomas at apestaart dot org>
28089 * docs/gst/gstreamer-docs.sgml:
28090 * docs/gst/gstreamer-sections.txt:
28091 * docs/gst/gstreamer.types:
28092 * docs/gst/tmpl/gstbasesink.sgml:
28093 * docs/gst/tmpl/gstbasesrc.sgml:
28094 * docs/gst/tmpl/gstbasetransform.sgml:
28095 * docs/gst/tmpl/gstelement.sgml:
28096 * docs/gst/tmpl/gstiterator.sgml:
28097 * gst/base/gstbasesrc.c:
28098 * gst/base/gstbasesrc.h:
28099 * gst/base/gstbasetransform.h:
28100 * gst/gstelement.c:
28101 * gst/gstiterator.h:
28102 adding basetransform and iterator docs
28104 2005-06-27 Andy Wingo <wingo@pobox.com>
28106 * docs/design/part-activation.txt: Notes on how activation should
28107 work -- not quite implemented yet.
28109 2005-06-25 Wim Taymans <wim@fluendo.com>
28111 * gst/gstghostpad.c: (gst_proxy_pad_do_chain):
28112 At least get the chain function correct, needs more
28115 2005-06-25 Wim Taymans <wim@fluendo.com>
28117 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
28118 (gst_basesink_handle_object), (gst_basesink_event),
28119 (gst_basesink_do_sync), (gst_basesink_handle_event),
28120 (gst_basesink_change_state):
28122 Right, two problems here: ghostpads don't take locks and
28123 glib _rec_mutex_lock_full() with depth==0 still locks.
28124 Catch illegal locking and g_warn them.
28126 2005-06-25 Wim Taymans <wim@fluendo.com>
28128 * check/states/sinks.c: (START_TEST), (gst_object_suite):
28129 Have to check for completion now...
28131 2005-06-25 Wim Taymans <wim@fluendo.com>
28133 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
28134 (gst_basesink_handle_object), (gst_basesink_event),
28135 (gst_basesink_do_sync), (gst_basesink_handle_event),
28136 (gst_basesink_change_state):
28138 Unlock STREAM_LOCK whatever the recursion was.
28140 2005-06-25 Wim Taymans <wim@fluendo.com>
28142 * gst/base/gstbasesink.c: (gst_basesink_set_property),
28143 (gst_basesink_preroll_queue_empty),
28144 (gst_basesink_preroll_queue_flush), (gst_basesink_handle_object),
28145 (gst_basesink_event), (gst_basesink_do_sync),
28146 (gst_basesink_handle_event), (gst_basesink_handle_buffer),
28147 (gst_basesink_chain), (gst_basesink_loop), (gst_basesink_activate),
28148 (gst_basesink_change_state):
28149 Reworked the base sink, handle event and buffer serialisation
28150 correctly and removed possible deadlock.
28151 Handle EOS correctly.
28153 2005-06-25 Wim Taymans <wim@fluendo.com>
28155 * gst/gstpipeline.c: (is_eos), (pipeline_bus_handler),
28156 (gst_pipeline_change_state):
28157 * tools/gst-launch.c: (check_intr), (event_loop), (main):
28158 Allow elements to post EOS in the state change function.
28159 Fix up -launch, make it exit the poll loop when the
28160 pipeline actually changed state.
28161 Fix up warning parsing in -launch.
28163 2005-06-25 Wim Taymans <wim@fluendo.com>
28165 * gst/elements/gsttee.c: (gst_tee_chain), (gst_tee_loop),
28166 (gst_tee_sink_activate):
28167 Core takes STREAM_LOCK for us now.
28169 2005-06-25 Wim Taymans <wim@fluendo.com>
28171 * gst/gstelement.c: (gst_element_get_state_func),
28172 (gst_element_set_state):
28173 * gst/gstelement.h:
28174 * gst/gstmessage.c: (gst_message_parse_error),
28175 (gst_message_parse_warning):
28176 Keep track of current target state while performing a state
28177 change so that subclasses can do something interesting.
28178 Fix parsing of warning/error messages when GError is NULL.
28180 2005-06-24 Thomas Vander Stichele <thomas at apestaart dot org>
28182 * docs/gst/Makefile.am:
28183 * docs/gst/gstreamer-docs.sgml:
28184 * docs/gst/gstreamer-sections.txt:
28185 * docs/gst/gstreamer.types:
28186 * docs/gst/tmpl/gstbasesink.sgml:
28187 * docs/gst/tmpl/gstbasesrc.sgml:
28188 * docs/gst/tmpl/gstbin.sgml:
28189 * docs/gst/tmpl/gstcompat.sgml:
28190 * docs/gst/tmpl/gstfakesink.sgml:
28191 * docs/gst/tmpl/gstfakesrc.sgml:
28192 * docs/gst/tmpl/gstfilesink.sgml:
28193 * docs/gst/tmpl/gstfilesrc.sgml:
28194 * docs/gst/tmpl/gstindex.sgml:
28195 * docs/manual/appendix-quotes.xml:
28196 * gst/base/gstbasesrc.h:
28197 * gst/elements/gstfakesrc.h:
28198 * gst/gstmessage.h:
28199 start pulling in base classes and elements in our docs
28201 2005-06-24 Stefan Kost <ensonic@users.sf.net>
28203 * docs/gst/Makefile.am:
28204 * docs/libs/Makefile.am:
28205 fixed make distcheck with gtk-doc 1.3
28207 2005-06-23 Wim Taymans <wim@fluendo.com>
28209 * gst/gstelement.c: (gst_element_get_state_func),
28210 (gst_element_set_state), (gst_element_change_state):
28211 When the state did not change, also report NO_PREROLL
28214 2005-06-23 Wim Taymans <wim@fluendo.com>
28216 * gst/gstpad.c: (gst_pad_event_default):
28217 * gst/gstqueue.c: (gst_queue_loop):
28218 No unsafe task pausing please.
28220 2005-06-23 Wim Taymans <wim@fluendo.com>
28222 * gst/schedulers/threadscheduler.c:
28223 (gst_thread_scheduler_task_start),
28224 (gst_thread_scheduler_task_pause), (gst_thread_scheduler_func):
28225 Ref the task before pushing it on the threadpool. This
28226 makes sure that we have a ref when the threadfunction is
28229 2005-06-23 Andy Wingo <wingo@pobox.com>
28231 * gst/base/gstbasesrc.c (gst_basesrc_get_range): Check if the
28232 offset is greater than the file's size.
28234 * gst/gstobject.h (GST_CLASS_LOCK, GST_CLASS_TRYLOCK)
28235 (GST_CLASS_UNLOCK, GST_CLASS_GET_LOCK, GstObjectClass)
28236 * gst/gstobject.c (gst_object_class_init): Make the class lock
28237 recursive. Wim won't let me drop deep_notify. Decodebin works
28238 again, whoopdy doo.
28240 * gst/gstghostpad.c (on_int_notify): Catches notify::caps on the
28241 internal pad, and hacks accordingly. Doesn't do it on the target
28242 pad because we change its caps. Probably catches all cases of
28244 (gst_ghost_pad_set_property): Connect to notify::caps as
28247 * tests/network-clock.scm (plot-simulation): Pipe data to the
28248 elite python skript.
28250 * tests/network-clock-utils.scm (define-parameter): New macro,
28251 defines a parameter that can be set via the command line.
28252 (set-parameter!, parse-parameter-arguments): Command line args
28255 * tests/plot-data: Simple matplotlib-based plotter, takes input on
28258 2005-06-23 Jan Schmidt <thaytan@mad.scientist.com>
28260 * gst/elements/gsttypefindelement.c:
28261 (gst_type_find_element_handle_event):
28262 Don't restart typefinding on a discont.
28263 * gst/gstelement.c: (gst_element_set_state):
28264 Debug spelling fix.
28265 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_send_event):
28266 Allow changing mode of an active pad.
28267 Debug output fixes.
28268 * gst/registries/gstlibxmlregistry.c: (load_feature):
28269 Don't cast a static pad template to a normal pad template.
28271 2005-06-23 Thomas Vander Stichele <thomas at apestaart dot org>
28273 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
28274 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
28275 remove gst_strtoll completely, since it didn't actually do
28276 anything more than what g_ascii_strtoull already does.
28277 check for range errors when deserializing
28278 do a cast for the unsigned cases; but further fixing needs
28279 a decision on what the interpretation of "(int)" and
28280 deserialization should be for values that fall outside the
28281 type's boundaries (ie, refuse, or interpret as casting)
28283 2005-06-23 Wim Taymans <wim@fluendo.com>
28285 * check/Makefile.am:
28286 * check/states/sinks.c: (START_TEST), (gst_object_suite), (main):
28287 * docs/design/part-live-source.txt:
28288 * docs/design/part-states.txt:
28289 * gst/base/gstbasesrc.c: (gst_basesrc_init),
28290 (gst_basesrc_set_live), (gst_basesrc_is_live),
28291 (gst_basesrc_get_range), (gst_basesrc_activate),
28292 (gst_basesrc_change_state):
28293 * gst/base/gstbasesrc.h:
28294 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
28295 (gst_fakesrc_set_property), (gst_fakesrc_get_property):
28296 * gst/gstbin.c: (gst_bin_get_state), (gst_bin_change_state):
28297 * gst/gstelement.c: (gst_element_get_state_func),
28298 (gst_element_set_state):
28299 * gst/gstelement.h:
28301 * tools/gst-launch.c: (event_loop), (main):
28302 Added support for live sources and other elements that
28304 Updated design docs, added live-source design doc.
28305 Implemented live source functionality in basesrc
28306 Fix error condition in _bin_get_state()
28307 Implement live source handling in -launch.
28308 Added check for live sources.
28309 Fixed case in GstBin where elements were changed state
28313 2005-06-23 Andy Wingo <wingo@pobox.com>
28315 * check/gst/gstpad.c (test_get_allowed_caps, test_refcount): Fix
28316 borken refcounting.
28318 * gst/gstpad.c (gst_pad_set_caps): Remove needless refs,
28319 gst_caps_replace takes care of this for us.
28321 * gst/gstghostpad.c (gst_proxy_pad_do_setcaps): Call the full
28322 gst_pad_set_caps on the target, not just its setcaps() function.
28324 * tests/network-clock.scm:
28325 * tests/network-clock-utils.scm: A network clock simulator.
28326 Something of an algorithmic testbed before doing something in C.
28328 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
28330 * check/Makefile.am:
28331 * check/gst/capslist.h:
28332 copy over from 0.8, and add two with bitmasks specified with
28334 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
28335 add test to parse everything from capslist.h
28336 * check/gst/gststructure.c: (START_TEST), (gst_value_suite),
28338 add test for structure deserialization
28339 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
28340 add tests for deserialization of strings to int types
28341 * gst/gststructure.c: (gst_structure_nth_field_name):
28342 * gst/gststructure.h:
28343 add a way to get the name of a field referenced by index
28344 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
28345 instead of checking if the resulting long long lies between
28346 min and max, we check if the long long would fit into
28347 a number of bytes for the final type.
28348 This fixes cases where a string represents 2^32 - 1, which
28349 when cast to int would be the (valid) -1, but is bigger than
28352 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
28354 * gst/parse/grammar.y:
28355 add a log line for type deserialization
28357 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
28359 * check/gst/gstvalue.c: (START_TEST):
28360 * gst/gstvalue.c: (gst_value_deserialize):
28361 return long long, not int, so gint64 deserialization actually
28362 works. Is there any flag that makes the compiler check this ?
28365 2005-06-22 Wim Taymans <wim@fluendo.com>
28368 Added convenience macros for setting buffers in GValue.
28370 2005-06-21 Thomas Vander Stichele <thomas at apestaart dot org>
28372 * check/gst/.cvsignore:
28373 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
28374 add a test deserializing int64, and comment part out because
28377 2005-06-21 Thomas Vander Stichele <thomas at apestaart dot org>
28379 * check/Makefile.am:
28380 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite), (main):
28381 * testsuite/Makefile.am:
28382 * testsuite/caps/Makefile.am:
28383 * testsuite/caps/value_serialize.c:
28384 * testsuite/test_gst_init.c:
28385 move a value_serialize test over
28387 2005-06-20 Wim Taymans <wim@fluendo.com>
28392 * gst/gstvalue.c: (gst_value_compare_buffer),
28393 (gst_value_serialize_buffer), (gst_value_deserialize_buffer),
28394 (gst_value_compare_flags), (gst_value_serialize_flags),
28395 (gst_value_deserialize_flags), (_gst_value_initialize):
28396 Fix serialisation of buffers, they are not boxed types anymore
28398 2005-06-20 Wim Taymans <wim@fluendo.com>
28400 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
28401 Testcase to show error in buffer-on-caps serialisation.
28403 2005-06-20 Andy Wingo <wingo@pobox.com>
28405 * docs/random/wingo/porting-plugins-to-0.9: A pitiful document I
28406 will be adding to later.
28408 * gst/gstsystemclock.c (gst_system_clock_init): Unlock the clock
28409 if its socks fill with rocks.
28410 (gst_system_clock_obtain): Set the name on object construction.
28411 Avoid double-checked locking.
28413 2005-06-20 Tim-Philipp Müller <tim at centricular dot net>
28415 * gst/gsturi.c: (gst_element_make_from_uri):
28416 Fix potential endless loop.
28418 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
28420 * check/Makefile.am:
28422 * check/gst/gsttag.c: (check_tags), (START_TEST), (gst_tag_suite),
28424 move over from testsuite dir and clean up
28427 * testsuite/Makefile.am:
28428 * testsuite/tags/.cvsignore:
28429 * testsuite/tags/Makefile.am:
28430 * testsuite/tags/merge.c:
28431 remove testsuite/tags
28433 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
28435 * docs/gst/gstreamer-sections.txt:
28436 * docs/gst/tmpl/gstenumtypes.sgml:
28437 * win32/gstenumtypes.c:
28438 clean up documentation build a little
28440 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
28442 * check/gstcheck.h:
28443 add macros for checking refcounts on objects and caps
28444 * check/gst/gstpad.c: (START_TEST), (gst_pad_suite):
28445 add some more unit tests
28446 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
28447 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_allowed_caps):
28448 fix leaked refcounts (I hope :)) so unittest works
28452 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
28454 * configure.ac: back to HEAD
28456 === release 0.9.1 ===
28458 2005-06-17 Thomas Vander Stichele <thomas at apestaart dot org>
28464 2005-06-17 Andy Wingo <wingo@pobox.com>
28466 * gst/base/gstbasesink.c (gst_basesink_chain): Remove bogus
28467 assert; it's always possible that the pad gets deactivated in
28468 between the checks in gstpad.c and the implementation. Rely on
28469 finish_preroll() to return a FLUSHING or similar instead of on the
28472 * gst/base/gstbasesink.c (gst_basesink_event): Only wait for the
28473 clock and post an EOS message if we come out of finish_preroll in
28476 2005-06-16 David Schleef <ds@schleef.org>
28478 * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
28479 (gst_capsfilter_set_property): Allow NULL as possible value
28480 for filter_caps property, indicating GST_CAPS_ANY.
28482 2005-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
28484 * gst/elements/gstfakesrc.c: (gst_fakesrc_create):
28486 * gst/schedulers/Makefile.am:
28488 * gstreamer.spec.in:
28491 2005-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
28493 * gstreamer.spec.in:
28496 2005-06-08 Andy Wingo <wingo@pobox.com>
28498 * gst/gstutils.c: RPAD fixes all around.
28499 (gst_element_link_pads): Refcounting fixes.
28501 * tools/gst-inspect.c:
28502 * tools/gst-xmlinspect.c:
28504 * gst/base/gsttypefindhelper.c:
28505 * gst/base/gstbasesink.c:
28506 * gst/gstqueue.c: RPAD fixes.
28508 * gst/gstghostpad.h:
28509 * gst/gstghostpad.c: New ghost pad implementation as full proxy
28510 pads. The tricky thing is they provide both source and sink
28511 interfaces, since they proxy the internal pad for the external
28512 pad, and vice versa. Implement with lower-level ProxyPad objects,
28513 with the interior proxy pad as a child of the exterior ghost pad.
28514 Should write a doc on this.
28516 * gst/gstpad.h: s/RPAD/PAD/, s/RealPad/Pad/.
28517 (gst_pad_set_name, gst_pad_set_parent): Macros removed, use
28520 * gst/gstpad.c: Big changes. No more stub base GstPad, now all
28521 pads are real pads. No ghost pads in this file. Not documenting
28522 the myriad s/RPAD/PAD/ and REALIZE fixes.
28523 (gst_pad_class_init): Add properties for "direction" and
28524 "template". Both are construct-only, so they can't change during
28525 the life of the pad. Fixes properly deriving from GstPad.
28526 (gst_pad_custom_new, gst_pad_custom_new_from_template): Gone. For
28527 derived objects, just set properties when creating the objects via
28529 (gst_pad_get_parent): Implement as a function, return NULL if the
28530 parent is not an element.
28531 (gst_pad_get_real_parent, gst_pad_add_ghost_pad)
28532 (gst_pad_remove_ghost_pad, gst_pad_realize): Removed.
28534 * gst/gstobject.c (gst_object_class_init): Make name a construct
28535 property. Don't set it in the object init.
28537 * gst/gstelement.c (gst_element_add_pad): Don't allow adding pads
28538 with UNKNOWN direction.
28539 (gst_element_add_ghost_pad): Remove non-orthogonal API. Replace
28540 with gst_element_add_pad (e, gst_ghost_pad_new (name, pad)).
28541 (gst_element_remove_pad): Remove ghost-pad special cases.
28542 (gst_element_pads_activate): Remove rpad cruft.
28544 * gst/gstbin.c (gst_bin_change_state): Use gst_pad_get_parent to
28545 catch the pad's-parent-not-an-element case.
28547 * gst/gst.h: Include gstghostpad.h.
28549 * gst/gst.c (init_post): No more real, ghost pads.
28551 * gst/Makefile.am: Add gstghostpad.[ch].
28553 * check/Makefile.am:
28554 * check/gst/gstbin.c:
28555 * check/gst/gstghostpad.c (test_ghost_pads): Check that linking
28556 into a bin creates ghost pads, and that the refcounts are right.
28557 Partly moved from gstbin.c.
28559 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
28561 * check/gst-libs/.cvsignore:
28562 * check/gst/.cvsignore:
28563 * check/pipelines/.cvsignore:
28565 * check/pipelines/cleanup.c: (setup_pipeline), (run_pipeline),
28566 (START_TEST), (cleanup_suite), (main):
28567 add some tests related to cleanup after running pipelines
28569 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
28571 * check/gst/gstbuffer.c: (START_TEST), (gst_test_suite), (main):
28572 add a testsuite for GstBuffer
28574 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
28576 * gst/gstminiobject.h:
28577 add defines for accessing the refcount
28579 2005-06-03 Stefan Kost <ensonic@users.sf.net>
28581 * Makefile.am: added support for html unit test coverage reports
28583 2005-06-03 Jan Schmidt <thaytan@mad.scientist.com>
28585 * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
28586 Free existing caps if the capsfilter changes. Add a FIXME about
28587 setting those caps on the pads.
28589 * gst/gstutils.c: (gst_element_get_compatible_pad), (ghost_up):
28590 Before adding a ghost pad to a parent bin, check that there isn't
28591 already one for the element on the bin. Prevents infinite recursion
28592 when using decodebin in parse pipelines. Andy says he'll rewrite the
28593 way this works anyway, so ignore the hack.
28595 2005-06-02 Andy Wingo <wingo@pobox.com>
28597 * gst/elements/gsttypefindelement.c (do_pull_typefind): Query the
28598 file size, pass it on to the type find helper.
28600 * gst/base/gstbasesrc.c (gst_basesrc_do_seek): Set the
28601 segment_start and segment_end properly according to the seek
28602 method. Segment_end is still a bit flaky because offset can be
28603 negative for CUR and END cases, but it takes -1 as an "unset"
28606 2005-06-02 Wim Taymans <wim@fluendo.com>
28608 * gst/base/gstbasesink.c: (gst_basesink_pad_buffer_alloc),
28609 (gst_base_sink_buffer_alloc), (gst_basesink_preroll_queue_push),
28610 (gst_basesink_activate):
28611 * gst/base/gstbasesink.h:
28612 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
28613 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
28614 (gst_pad_query), (gst_pad_start_task):
28616 * gst/gstqueue.c: (gst_queue_bufferalloc),
28617 (gst_queue_handle_sink_event), (gst_queue_chain):
28618 Bufferalloc: return GstFlowReturn to more accuratly report
28619 why allocation failed.
28621 2005-06-02 Wim Taymans <wim@fluendo.com>
28623 * gst/gstpipeline.c: (gst_pipeline_send_event):
28624 Take snapshot of state without blocking.
28626 2005-06-02 Wim Taymans <wim@fluendo.com>
28628 * docs/design/part-TODO.txt:
28629 * docs/design/part-caps.txt:
28630 * docs/design/part-clocks.txt:
28631 * docs/design/part-negotiation.txt:
28632 * docs/design/part-preroll.txt:
28635 2005-05-30 Wim Taymans <wim@fluendo.com>
28637 * gst/elements/gstidentity.c: (gst_identity_event),
28638 (gst_identity_transform), (gst_identity_get_property):
28639 Protect last_message property as it is accessed from
28642 2005-05-30 Wim Taymans <wim@fluendo.com>
28644 * gst/gstelement.c: (gst_element_init),
28645 (gst_element_pads_activate), (gst_element_change_state):
28646 Slicker pad activation code.
28648 2005-05-30 Wim Taymans <wim@fluendo.com>
28651 * gst/gstelement.h:
28652 * gst/gstelementfactory.h:
28654 Move elementfactory methods to separate .h file.
28656 2005-05-30 Wim Taymans <wim@fluendo.com>
28658 * docs/design/part-overview.txt:
28659 * gst/gstsystemclock.h:
28660 Small typo fixes, doc updates.
28662 2005-05-30 Wim Taymans <wim@fluendo.com>
28664 * gst/gst.c: (gst_init_get_popt_table), (init_post),
28665 (init_popt_callback):
28666 Remove cpu-opt flag.
28668 2005-05-30 Wim Taymans <wim@fluendo.com>
28670 * gst/gstbuffer.c: (gst_subbuffer_finalize),
28671 (gst_buffer_create_sub), (gst_buffer_is_span_fast):
28673 Avoid typechecking in places where not needed.
28674 Added accessor for malloc_data.
28676 2005-05-30 Wim Taymans <wim@fluendo.com>
28678 * gst/gstpad.c: (gst_real_pad_init), (gst_pad_set_active),
28679 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_accept_caps),
28680 (gst_pad_configure_sink), (gst_pad_configure_src),
28681 (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_send_event),
28682 (gst_pad_start_task):
28683 Propagate errors from _set_caps() in configure_src/sink
28684 functions instead of returning TRUE.
28685 FLUSH events can travel up and downstream
28688 2005-05-30 Wim Taymans <wim@fluendo.com>
28690 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
28691 (gst_basesink_activate):
28692 Handle EOS in preroll.
28694 2005-05-30 Wim Taymans <wim@fluendo.com>
28696 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
28697 (gst_queue_loop), (gst_queue_handle_src_event):
28698 Remove old pieces of code
28699 Flushing the queue in an upstream event is a very bad idea.
28701 2005-05-26 Andy Wingo <wingo@pobox.com>
28703 * gst/gstminiobject.c (gst_value_mini_object_collect): Use
28704 gst_value_set_mini_object so as to add a ref on the object (which
28705 will be removed when the value is unset).
28707 * gst/elements/gstfakesink.c (gst_fakesink_class_init): Fix signal
28708 arg type in ::handoff.
28710 * gst/gstelement.c (gst_element_change_state): Also deactivate
28711 pads in READY->NULL, just in case the element didn't make it to
28712 PAUSED. Wingo tested, Wim approved.
28714 2005-05-26 Wim Taymans <wim@fluendo.com>
28716 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
28717 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
28718 (gst_pad_query), (gst_pad_send_event), (gst_pad_start_task):
28719 A flushing pad cannot be used to alloc_buffer from.
28721 2005-05-26 Wim Taymans <wim@fluendo.com>
28723 * gst/gstbus.c: (gst_bus_init), (gst_bus_dispose), (gst_bus_post),
28724 (gst_bus_pop), (gst_bus_source_prepare), (gst_bus_source_check),
28725 (gst_bus_source_dispatch), (gst_bus_source_finalize),
28726 (gst_bus_create_watch), (gst_bus_add_watch_full):
28728 Implement a real GSource and use g_main_context_wakeup() to
28729 signal new messages instead of the socketpair.
28731 2005-05-25 Wim Taymans <wim@fluendo.com>
28733 * gst/gstbin.c: (bin_element_is_sink), (has_ancestor),
28734 (bin_element_is_semi_sink), (append_child), (gst_bin_change_state):
28735 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
28736 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
28737 (gst_pad_send_event), (gst_pad_start_task):
28738 * gst/gstqueue.c: (gst_queue_init), (gst_queue_locked_flush),
28739 (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
28740 (gst_queue_sink_activate), (gst_queue_src_activate),
28741 (gst_queue_change_state):
28743 Fix state changes for non sinks. We now change sinks, then elements
28744 with unconnected srcpads, then the rest.
28745 More efficient queue unlocking in flush and state changes.
28746 Set the pad activate mode even if it does not have an activate
28749 2005-05-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
28751 * gst/base/gstbasesrc.c: (gst_basesrc_activate):
28752 Don't go in pull mode for non-seekable sources.
28753 * gst/elements/gsttypefindelement.h:
28754 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
28755 (gst_type_find_element_dispose), (gst_type_find_handle_src_query),
28756 (free_entry), (stop_typefinding),
28757 (gst_type_find_element_handle_event), (find_peek),
28758 (gst_type_find_element_chain), (do_pull_typefind),
28759 (gst_type_find_element_change_state):
28760 Allow typefinding (w/o seeking) in push-mode, simplified version
28761 of what was in 0.8.
28762 * gst/gstutils.c: (gst_buffer_join):
28764 gst_buffer_join() from 0.8.
28766 2005-05-25 Wim Taymans <wim@fluendo.com>
28768 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
28769 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
28770 (gst_pad_send_event), (gst_pad_start_task):
28771 Disable attempt at mode switching until it is figured out.
28773 2005-05-25 Wim Taymans <wim@fluendo.com>
28775 * gst/base/gstadapter.c: (gst_adapter_peek), (gst_adapter_flush):
28776 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
28777 (gst_basesink_finish_preroll), (gst_basesink_chain),
28778 (gst_basesink_loop), (gst_basesink_activate),
28779 (gst_basesink_change_state):
28780 * gst/base/gstbasesrc.c: (gst_basesrc_do_seek),
28781 (gst_basesrc_get_range), (gst_basesrc_loop),
28782 (gst_basesrc_activate):
28783 * gst/elements/gsttee.c: (gst_tee_sink_activate):
28784 * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
28785 (gst_real_pad_init), (gst_real_pad_set_property),
28786 (gst_real_pad_get_property), (gst_pad_set_active),
28787 (gst_pad_is_active), (gst_pad_get_query_types), (gst_pad_unlink),
28788 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_real_parent),
28789 (gst_real_pad_get_caps_unlocked), (gst_pad_peer_get_caps),
28790 (gst_pad_accept_caps), (gst_pad_get_peer), (gst_pad_realize),
28791 (gst_pad_event_default_dispatch), (gst_pad_event_default),
28792 (gst_pad_dispatcher), (gst_pad_query), (gst_real_pad_dispose),
28793 (gst_pad_save_thyself), (handle_pad_block), (gst_pad_chain),
28794 (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
28795 (gst_pad_send_event), (gst_pad_start_task), (gst_pad_pause_task),
28796 (gst_pad_stop_task):
28798 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
28799 (gst_queue_loop), (gst_queue_src_activate):
28800 * gst/gsttask.c: (gst_task_init), (gst_task_set_lock),
28801 (gst_task_get_state):
28803 * gst/schedulers/threadscheduler.c:
28804 (gst_thread_scheduler_task_start), (gst_thread_scheduler_func):
28805 Implement gst_pad_pause/start/stop_task(), take STREAM lock
28807 Remove ACTIVE pad flag, use FLUSHING everywhere
28808 Added _pad_chain(), _pad_get_range() to call chain/getrange
28810 Add locks around IS_FLUSHING when reading.
28811 Take STREAM lock in chain(), get_range() functions so plugins
28812 don't need to take it anymore.
28816 2005-05-25 Wim Taymans <wim@fluendo.com>
28818 * tools/gst-launch.c: (event_loop):
28819 Unref message after using its contents instead of
28822 2005-05-24 Wim Taymans <wim@fluendo.com>
28824 * docs/design/draft-ghostpads.txt:
28825 * docs/design/draft-push-pull.txt:
28826 * docs/design/draft-query.txt:
28827 * docs/design/part-overview.txt:
28828 Docs updates, added general overview doc.
28830 2005-05-21 David Schleef <ds@schleef.org>
28832 * docs/gst/tmpl/old/GstBin.sgml:
28833 * docs/gst/tmpl/old/GstBuffer.sgml:
28834 * docs/gst/tmpl/old/GstCaps.sgml:
28835 * docs/gst/tmpl/old/GstClock.sgml:
28836 * docs/gst/tmpl/old/GstCompat.sgml:
28837 * docs/gst/tmpl/old/GstData.sgml:
28838 * docs/gst/tmpl/old/GstElement.sgml:
28839 * docs/gst/tmpl/old/GstEvent.sgml:
28840 * docs/gst/tmpl/old/GstIndex.sgml:
28841 * docs/gst/tmpl/old/GstStructure.sgml:
28842 * docs/gst/tmpl/old/GstTag.sgml:
28843 * docs/gst/tmpl/old/cothreads.sgml:
28844 * docs/gst/tmpl/old/cothreads_compat.sgml:
28845 * docs/gst/tmpl/old/gettext.sgml:
28846 * docs/gst/tmpl/old/gobject2gtk.sgml:
28847 * docs/gst/tmpl/old/grammar.tab.sgml:
28848 * docs/gst/tmpl/old/gst-i18n-app.sgml:
28849 * docs/gst/tmpl/old/gst-i18n-lib.sgml:
28850 * docs/gst/tmpl/old/gst_private.sgml:
28851 * docs/gst/tmpl/old/gstaggregator.sgml:
28852 * docs/gst/tmpl/old/gstarch.sgml:
28853 * docs/gst/tmpl/old/gstatomic_impl.sgml:
28854 * docs/gst/tmpl/old/gstbufferstore.sgml:
28855 * docs/gst/tmpl/old/gstdata_private.sgml:
28856 * docs/gst/tmpl/old/gstdisksink.sgml:
28857 * docs/gst/tmpl/old/gstdisksrc.sgml:
28858 * docs/gst/tmpl/old/gstelementfactory.sgml:
28859 * docs/gst/tmpl/old/gstextratypes.sgml:
28860 * docs/gst/tmpl/old/gstfakesink.sgml:
28861 * docs/gst/tmpl/old/gstfakesrc.sgml:
28862 * docs/gst/tmpl/old/gstfdsink.sgml:
28863 * docs/gst/tmpl/old/gstfdsrc.sgml:
28864 * docs/gst/tmpl/old/gstfilesink.sgml:
28865 * docs/gst/tmpl/old/gstfilesrc.sgml:
28866 * docs/gst/tmpl/old/gsthttpsrc.sgml:
28867 * docs/gst/tmpl/old/gstidentity.sgml:
28868 * docs/gst/tmpl/old/gstindexfactory.sgml:
28869 * docs/gst/tmpl/old/gstmarshal.sgml:
28870 * docs/gst/tmpl/old/gstmd5sink.sgml:
28871 * docs/gst/tmpl/old/gstmultidisksrc.sgml:
28872 * docs/gst/tmpl/old/gstmultifilesrc.sgml:
28873 * docs/gst/tmpl/old/gstpadtemplate.sgml:
28874 * docs/gst/tmpl/old/gstpipefilter.sgml:
28875 * docs/gst/tmpl/old/gstschedulerfactory.sgml:
28876 * docs/gst/tmpl/old/gstsearchfuncs.sgml:
28877 * docs/gst/tmpl/old/gstshaper.sgml:
28878 * docs/gst/tmpl/old/gstspider.sgml:
28879 * docs/gst/tmpl/old/gstspideridentity.sgml:
28880 * docs/gst/tmpl/old/gststatistics.sgml:
28881 * docs/gst/tmpl/old/gsttee.sgml:
28882 * docs/gst/tmpl/old/gsttimecache.sgml:
28883 * docs/gst/tmpl/old/gsttypefindfactory.sgml:
28884 * docs/gst/tmpl/old/gstxmlregistry.sgml:
28885 * docs/gst/tmpl/old/gthread-cothreads.sgml:
28886 * docs/gst/tmpl/old/types.sgml:
28887 I didn't intend to add these or check them in.
28889 2005-05-19 David Schleef <ds@schleef.org>
28891 * configure.ac: Use -no-common everywhere. In a sane world, it
28892 would be the default in libtool, because without it, you can't
28893 build DLLs on Windows.
28894 * docs/gst/gstreamer-docs.sgml: Remove GstCpu, GstData, GstThread
28895 * docs/gst/gstreamer-sections.txt:
28896 * docs/gst/tmpl/gstcpu.sgml:
28897 * docs/gst/tmpl/gstdata.sgml:
28898 * docs/gst/tmpl/gstthread.sgml:
28900 2005-05-19 David Schleef <ds@schleef.org>
28902 * gst/gstminiobject.c: (gst_value_set_mini_object),
28903 (gst_value_take_mini_object), (gst_value_get_mini_object):
28904 * gst/gstminiobject.h: Add GValue set/get functions.
28906 2005-05-19 Wim Taymans <wim@fluendo.com>
28908 * gst/gstbuffer.c: (gst_buffer_init), (gst_subbuffer_get_type),
28909 (gst_subbuffer_class_init), (gst_subbuffer_finalize),
28910 (gst_subbuffer_init), (gst_buffer_is_span_fast):
28912 * gst/gstbus.c: (gst_bus_post):
28913 * gst/gstelement.c: (gst_element_get_random_pad):
28914 * gst/gstmessage.c: (gst_message_init), (gst_message_finalize):
28915 Make subbufer unref the parent in finalize.
28916 some more debugging info.
28919 2005-05-19 Wim Taymans <wim@fluendo.com>
28921 * gst/base/gstbasesink.c: (gst_basesink_class_init),
28922 (gst_basesink_init), (gst_basesink_finalize),
28923 (gst_basesink_activate), (gst_basesink_change_state):
28924 Don't free preroll queue too early.
28926 2005-05-19 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
28930 Hi, I'm outdated. Please shoot me.
28932 2005-05-19 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
28934 * gst/gstpipeline.c: (gst_pipeline_send_event):
28935 Do not access variables after they have been deleted.
28937 2005-05-19 Wim Taymans <wim@fluendo.com>
28939 * tools/gst-inspect.c: (print_plugin_features):
28940 A plugin feature does unfortunatly not use the
28943 2005-05-18 Wim Taymans <wim@fluendo.com>
28945 * gst/gstbuffer.c: (gst_buffer_is_span_fast), (gst_buffer_span):
28946 Port _span() functions to new subbuffers.
28948 2005-05-18 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
28950 * gst/gstbin.c: (gst_bin_add_func):
28951 Fix clock settery in bins when adding kids after the clock has
28954 2005-05-18 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
28956 * gst/elements/gstidentity.c: (gst_identity_class_init):
28957 Workaround until signals support GstMiniObject.
28959 2005-05-18 Jan Schmidt <thaytan@mad.scientist.com>
28962 Oops, fix a typo GST_TYPE_BUFFER -> GST_TYPE_SUBBUFFER.
28964 2005-05-18 Wim Taymans <wim@fluendo.com>
28966 * gst/base/Makefile.am:
28967 * gst/base/gstadapter.c: (gst_adapter_base_init),
28968 (gst_adapter_class_init), (gst_adapter_init),
28969 (gst_adapter_dispose), (gst_adapter_finalize), (gst_adapter_new),
28970 (gst_adapter_clear), (gst_adapter_push), (gst_adapter_peek),
28971 (gst_adapter_flush), (gst_adapter_available),
28972 (gst_adapter_available_fast):
28973 * gst/base/gstadapter.h:
28974 Ported and added adapter to the base classes.
28976 2005-05-17 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
28979 * gst/gstmessage.c:
28980 Make sure the class is reffed/unreffed once before threads can be
28981 used. Fixes #304551.
28983 2005-05-17 Wim Taymans <wim@fluendo.com>
28985 * gst/base/gstbasesink.c: (gst_basesink_finish_preroll),
28986 (gst_basesink_chain_unlocked), (gst_basesink_activate):
28987 * gst/gstminiobject.c: (gst_mini_object_get_type),
28988 (gst_mini_object_free):
28989 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query),
28990 (gst_pad_push), (gst_pad_push_event):
28991 * gst/gstqueue.c: (gst_queue_change_state):
28992 Don't queue buffers in basesink when we are flushing.
28993 Unref buffer when flushing in basesink.
28994 Flush queue when going to READY
28995 Unref buffer when _push() returns an error.
28996 Don't free MiniObject instance when refcount is incremented
28997 in _finalize() so that we can recover objects.
28999 2005-05-17 Thomas Vander Stichele <thomas at apestaart dot org>
29001 * docs/manual/advanced-schedulers.xml:
29002 * docs/manual/appendix-checklist.xml:
29003 * docs/pwg/advanced-clock.xml:
29004 * docs/pwg/advanced-interfaces.xml:
29005 * docs/pwg/advanced-request.xml:
29006 * docs/pwg/advanced-types.xml:
29007 * docs/pwg/intro-preface.xml:
29008 * examples/plugins/example.c: (gst_example_get_type),
29009 (gst_example_class_init), (gst_example_chain),
29010 (gst_example_set_property), (gst_example_get_property),
29011 (gst_example_change_state), (plugin_init):
29012 * examples/plugins/example.h:
29015 2005-05-17 Wim Taymans <wim@fluendo.com>
29017 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps),
29018 (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_push):
29019 * gst/gstqueue.c: (gst_queue_change_state):
29020 Clear queue when going to READY.
29021 Remove IN_SETCAPS flag too.
29023 2005-05-17 Tim-Philipp Müller <tim at centricular dot net>
29025 * gst/base/gstbasesrc.c: (gst_basesrc_change_state):
29026 Remove implicit cast from gboolean to GstElementStateReturn;
29027 make sure we still return failure in paused => ready case if
29028 the parent class fails to change state and our own stop
29031 2005-05-17 Wim Taymans <wim@fluendo.com>
29033 * tools/gst-launch.c: (event_loop):
29034 Message was unreffed too soon.
29036 2005-05-16 Andy Wingo <wingo@pobox.com>
29038 * gst/gstbin.c (sink_iterator_filter): Err... um...
29040 * check/gst/gstbin.c (test_ghost_pads): New test for the
29041 ghosting-if-elements-not-in-same-bin behavior.
29043 2005-05-16 David Schleef <ds@schleef.org>
29045 * gst/gstminiobject.c: Use g_atomic_int_get() instead of
29046 accessing refcount directly.
29048 2005-05-15 David Schleef <ds@schleef.org>
29050 * check/Makefile.am: remove GstData checks
29051 * check/gst-libs/gdp.c: (START_TEST): fix for API changes
29052 * gst/Makefile.am: add miniobject, remove data
29053 * gst/gst.h: add miniobject, remove data
29054 * gst/gstdata.c: remove
29055 * gst/gstdata.h: remove
29056 * gst/gstdata_private.h: remove
29057 * gst/gsttypes.h: remove GstEvent and GstMessage
29058 * gst/gstelement.c: (gst_element_post_message): fix for API changes
29059 * gst/gstmarshal.list: change BOXED -> OBJECT
29061 Implement GstMiniObject.
29062 * gst/gstminiobject.c:
29063 * gst/gstminiobject.h:
29065 Modify to be subclasses of GstMiniObject.
29066 * gst/gstbuffer.c: (_gst_buffer_initialize), (gst_buffer_get_type),
29067 (gst_buffer_class_init), (gst_buffer_finalize), (_gst_buffer_copy),
29068 (gst_buffer_init), (gst_buffer_new), (gst_buffer_new_and_alloc),
29069 (gst_subbuffer_get_type), (gst_subbuffer_init),
29070 (gst_buffer_create_sub), (gst_buffer_is_span_fast),
29073 * gst/gstevent.c: (_gst_event_initialize), (gst_event_get_type),
29074 (gst_event_class_init), (gst_event_init), (gst_event_finalize),
29075 (_gst_event_copy), (gst_event_new):
29077 * gst/gstmessage.c: (_gst_message_initialize),
29078 (gst_message_get_type), (gst_message_class_init),
29079 (gst_message_init), (gst_message_finalize), (_gst_message_copy),
29080 (gst_message_new), (gst_message_new_error),
29081 (gst_message_new_warning), (gst_message_new_tag),
29082 (gst_message_new_state_changed), (gst_message_new_application):
29083 * gst/gstmessage.h:
29084 * gst/gstprobe.c: (gst_probe_perform),
29085 (gst_probe_dispatcher_dispatch):
29087 * gst/gstquery.c: (_gst_query_initialize), (gst_query_get_type),
29088 (gst_query_class_init), (gst_query_finalize), (gst_query_init),
29089 (_gst_query_copy), (gst_query_new):
29091 Update elements for GstData -> GstMiniObject changes
29093 * gst/gstqueue.c: (gst_queue_finalize), (gst_queue_locked_flush),
29094 (gst_queue_chain), (gst_queue_loop):
29095 * gst/elements/gstbufferstore.c:
29096 (gst_buffer_store_add_buffer_func),
29097 (gst_buffer_store_cleared_func), (gst_buffer_store_get_buffer):
29098 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
29099 (gst_fakesink_render):
29100 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
29101 * gst/elements/gstfilesrc.c: (gst_mmap_buffer_get_type),
29102 (gst_mmap_buffer_class_init), (gst_mmap_buffer_init),
29103 (gst_mmap_buffer_finalize), (gst_filesrc_map_region),
29104 (gst_filesrc_create_read):
29105 * gst/elements/gstidentity.c: (gst_identity_class_init):
29106 * gst/elements/gsttypefindelement.c:
29107 (gst_type_find_element_src_event), (free_entry_buffers),
29108 (gst_type_find_element_handle_event):
29109 * libs/gst/dataprotocol/dataprotocol.c:
29110 (gst_dp_header_from_buffer):
29111 * libs/gst/dataprotocol/dataprotocol.h:
29112 * libs/gst/dataprotocol/dp-private.h:
29114 2005-05-15 David Schleef <ds@schleef.org>
29116 * gst/elements/gstelements.c: Don't include headers that were
29119 2005-05-15 David Schleef <ds@schleef.org>
29121 * gst/elements/Makefile.am: Remove some elements that don't
29122 need to be in the core (or even exist at all).
29123 * gst/elements/gstaggregator.c:
29124 * gst/elements/gstaggregator.h:
29125 * gst/elements/gstmd5sink.c:
29126 * gst/elements/gstmd5sink.h:
29127 * gst/elements/gstmultifilesrc.c:
29128 * gst/elements/gstmultifilesrc.h:
29129 * gst/elements/gstpipefilter.c:
29130 * gst/elements/gstpipefilter.h:
29131 * gst/elements/gstshaper.c:
29132 * gst/elements/gstshaper.h:
29133 * gst/elements/gststatistics.c:
29134 * gst/elements/gststatistics.h:
29135 * po/POTFILES.in: Remove above files.
29137 2005-05-14 Andy Wingo <wingo@pobox.com>
29139 * gst/gstbin.c (gst_bin_iterate_sinks): Use sink_iterator_filter
29140 so as to get the refs right.
29141 (sink_iterator_filter): New function, wraps bin_element_is_sink,
29142 unreffing objects that don't pass the filter.
29144 * gst/gstpipeline.c (gst_pipeline_init): Drop ref on bus after
29145 gst_element_set_bus.
29146 (gst_pipeline_dispose): Set the bus on the pipeline to NULL. In
29147 normal cases, this will destroy the bus.
29149 * gst/gstutils.c (prepare_link_maybe_ghosting): Drop ref on root
29152 * gst/gstbin.c (gst_bin_change_state): Fix state changes if a bin
29155 2005-05-13 Andy Wingo <wingo@pobox.com>
29157 * gst/gstutils.c (gst_element_link_pads): Instead of calling
29158 gst_pad_link, call pad_link_maybe_ghosting,
29159 (pad_link_maybe_ghosting): Links pads, making sure that the
29160 elements being linked are in the same bin.
29161 (find_common_root, object_has_ancestor, ghost_up, remove_pad):
29162 Helpers for pad_link_maybe_ghosting.
29164 2005-05-13 Tim-Philipp Müller <tim at centricular dot net>
29167 Require GLib >= 2.4.0 (for the g_atomic_* funcs)
29169 2005-05-13 Tim-Philipp Müller <tim at centricular dot net>
29171 * docs/design/part-element-source.txt:
29174 2005-05-12 Wim Taymans <wim@fluendo.com>
29176 * gst/base/gstbasesink.c: (gst_basesink_init),
29177 (gst_basesink_activate):
29178 * gst/base/gstbasesrc.c: (gst_basesrc_unlock),
29179 (gst_basesrc_is_seekable):
29180 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
29181 (bin_element_is_sink), (gst_bin_change_state):
29182 * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
29183 * gst/gstelement.h:
29184 Identify sinks by their flag to avoid overly complicated
29186 Do state changes even for elements not reachable from the
29188 BaseSink is a sink now :)
29189 Some more debugging info in the basesrc.
29192 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
29194 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_query):
29195 Implement _query on a bin, similar to _send_event.
29197 2005-05-12 Tim-Philipp Müller <tim at centricular dot net>
29199 * gst/base/gstbasesrc.c: (gst_basesrc_do_seek):
29200 Discont event offset format should be GST_FORMAT_BYTES,
29201 not GST_FORMAT_TIME.
29203 2005-05-12 Wim Taymans <wim@fluendo.com>
29205 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_get_state):
29206 Same fix as Ronald's but without the signal.
29208 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
29210 * gst/gstutils.c: (gst_element_query_position):
29211 No, an element is not a pad.
29213 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
29215 * gst/gstbin.c: (gst_bin_add_func), (cb_parent_unset),
29216 (gst_bin_get_state):
29217 If a child is removed from a bin while we remove the child from
29218 the bin and while we're retrieving its state, signal this to the
29219 get_state function so we abort the wait (instead of waiting for
29220 a timeout) and can immediately re-iterate over all other elements.
29222 2005-05-12 Wim Taymans <wim@fluendo.com>
29224 * gst/base/Makefile.am:
29225 * gst/base/gstbasesrc.c: (gst_basesrc_is_seekable),
29226 (gst_basesrc_start):
29227 * gst/base/gstbasesrc.h:
29228 * gst/base/gstpushsrc.c: (gst_pushsrc_get_type),
29229 (gst_pushsrc_base_init), (gst_pushsrc_class_init),
29230 (gst_pushsrc_init), (gst_pushsrc_create):
29231 * gst/base/gstpushsrc.h:
29232 Added is_seekable to BaseSrc
29233 Added simple PushSrc.
29235 2005-05-11 Wim Taymans <wim@fluendo.com>
29237 * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
29238 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
29239 (gst_element_link_pads), (gst_element_query_position),
29240 (gst_element_query_convert), (intersect_caps_func),
29241 (gst_pad_query_position), (gst_pad_query_convert):
29242 Fix refcounting in utils function.
29243 No point in trying to activate a pad when it's added, it could
29244 be added from the state change function and then we deadlock, the
29245 element has to decide what to do.
29247 2005-05-10 Andy Wingo <wingo@pobox.com>
29249 * gst/elements/gstfakesink.c (gst_fakesink_render): Er, emit with
29250 *all* the arguments.
29252 * gst/base/gstbasetransform.c (gst_base_transform_event): Grab the
29253 stream lock if it's a FLUSH_DONE; normal flushes don't get the
29254 lock (according to the docs -- if this is wrong change the docs).
29256 * gst/gstpipeline.c (gst_pipeline_change_state): Set the bus to
29257 flush messages in the NULL state.
29259 * gst/gstbus.c (gst_bus_post): If a bus is flushing, unref the
29260 message immediately and return.
29261 (gst_bus_set_flushing): New function. If a bus is flushing, it
29262 flushes out any queued messages and immediately unrefs new
29263 messages. This is so when an element goes to NULL, all of the
29264 unhandled messages coming from it can be freed, and their
29265 references to the element dropped. In other words: message source
29266 ref considered harmful :P
29268 * gst/gstbin.c (gst_bin_change_state): Unref peer element when
29269 we're finished with it.
29271 * gst/gstmessage.c (gst_message_new_state_changed):
29273 2005-05-10 Wim Taymans <wim@fluendo.com>
29275 * gst/gstvalue.c: (gst_value_compare_flags),
29276 (gst_value_serialize_flags), (gst_value_deserialize_flags),
29277 (_gst_value_initialize):
29278 Added flags serialize/deserialize/compare code.
29280 2005-05-09 Andy Wingo <wingo@pobox.com>
29282 * gst/base/gstbasetransform.c (gst_base_transform_proxy_getcaps):
29283 Intersect the peer's caps with our caps.
29285 2005-05-09 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
29287 * gst/base/gsttypefindhelper.c: (helper_find_peek):
29288 * gst/elements/gsttypefindelement.c: (find_peek):
29289 Handle negative offsets better. Fixes decodebin.
29291 2005-05-09 Wim Taymans <wim@fluendo.com>
29293 * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps),
29294 (gst_base_transform_event):
29295 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query):
29296 Implement accept_caps.
29297 Fix silly lock/unlock mismatch in base class.
29299 2005-05-09 Wim Taymans <wim@fluendo.com>
29301 * docs/design/draft-push-pull.txt:
29302 * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_query):
29303 * gst/elements/gstfilesink.c: (gst_filesink_init),
29304 (gst_filesink_query):
29305 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
29306 (gst_type_find_handle_src_query), (find_element_get_length):
29307 * gst/gstelement.c: (gst_element_seek), (gst_element_query):
29308 * gst/gstelement.h:
29309 * gst/gstmessage.c:
29310 * gst/gstmessage.h:
29311 * gst/gstpad.c: (gst_real_pad_init), (gst_pad_get_query_types),
29312 (gst_real_pad_get_caps_unlocked),
29313 (gst_pad_get_internal_links_default), (gst_pad_get_internal_links),
29314 (gst_pad_event_default_dispatch), (gst_pad_event_default),
29315 (gst_pad_dispatcher), (gst_pad_query), (gst_pad_query_default),
29316 (gst_real_pad_dispose), (gst_real_pad_finalize),
29317 (gst_pad_load_and_link), (gst_pad_save_thyself),
29318 (gst_ghost_pad_save_thyself), (handle_pad_block), (gst_pad_push),
29319 (gst_pad_check_pull_range), (gst_pad_pull_range),
29320 (gst_pad_template_get_type), (gst_pad_template_class_init),
29321 (gst_pad_template_init), (gst_pad_template_dispose),
29322 (name_is_valid), (gst_static_pad_template_get),
29323 (gst_pad_template_new), (gst_static_pad_template_get_caps),
29324 (gst_pad_template_get_caps), (gst_pad_set_element_private),
29325 (gst_pad_get_element_private), (gst_pad_start_task),
29326 (gst_pad_pause_task), (gst_pad_stop_task),
29327 (gst_ghost_pad_get_type), (gst_ghost_pad_class_init),
29328 (gst_ghost_pad_init), (gst_ghost_pad_dispose),
29329 (gst_ghost_pad_set_property), (gst_ghost_pad_get_property),
29330 (gst_ghost_pad_new):
29332 * gst/gstquery.c: (_gst_query_initialize), (gst_query_new),
29333 (gst_query_new_position), (gst_query_set_position),
29334 (gst_query_parse_position), (gst_query_new_convert),
29335 (gst_query_set_convert), (gst_query_parse_convert):
29337 * gst/gstqueryutils.c:
29338 * gst/gstqueryutils.h:
29339 * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
29340 (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
29341 (gst_queue_handle_src_query):
29342 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
29343 (gst_element_query_position), (gst_element_query_convert),
29344 (intersect_caps_func), (gst_pad_query_position),
29345 (gst_pad_query_convert):
29347 * tools/gst-inspect.c: (print_pad_info):
29348 * tools/gst-xmlinspect.c: (print_element_info):
29349 Remove old query functions. Ported old code.
29350 Added position/convert helper functions to gstutils.
29351 Reordered gstpad.c code, grouping relevant things.
29352 Remove gst_message_new(), always need to speficy a specific
29356 2005-05-09 Andy Wingo <wingo@pobox.com>
29358 * gst/gstiterator.h: Add some includes.
29360 * gst/gstqueryutils.h: Include more headers.
29363 * gst/gstpad.c (gst_pad_query_position): New routine, replaces
29364 some uses of gst_pad_query.
29366 * gst/gstqueryutils.c: Build fixes. Make parse functions ignore
29367 NULL out parameters.
29368 (gst_query_new_position): New proc, allocates a new position
29371 * gst/Makefile.am (libgstreamer_@GST_MAJORMINOR@_la_SOURCES): Add
29372 gstqueryutils.c to the build.
29374 * gst/gststructure.c (gst_structure_set_valist): Implement with
29375 the generic G_VALUE_COLLECT.
29377 2005-05-08 Edward Hervey <bilboed@bilboed.com>
29379 * gst/Makefile.am: (gst_headers):
29380 Added gstqueryutils.h to the list of headers to install, that was
29381 a 'nachty' move wingo :)
29383 2005-05-06 Andy Wingo <wingo@pobox.com>
29386 * gst/gstquery.c (_gst_query_initialize): Extend GstQuery from
29387 GstData, init a memchunk.
29388 (standard_definitions): Add a few query types, deprecate a few.
29389 (gst_query_get_type): New proc.
29390 (_gst_query_copy, _gst_query_free, gst_query_new): GstData
29392 (gst_query_new_application, gst_query_get_structure): New public
29395 * docs/design/draft-query.txt: Removed LINKS from the query types,
29396 because all the rest can be dispatched to other pads -- seemed
29397 ugly to have a query that couldn't be dispatched. internal_links
29398 is fine as a pad method.
29400 * gst/gstpad.h: Add query2 as a pad method, add the new functions
29401 in gstpad.c, but maintain binary compatibility for the moment.
29402 Will fix before 0.9 is out.
29404 * gst/gstqueryutils.c:
29405 * gst/gstqueryutils.h: New files, implement 3 methods for each
29406 query type: parse_query, parse_response, and set. Probably need an
29409 * gst/gst.h: Add gstquery.h and gstqueryutils.h to the list.
29411 * gst/elements/gstfilesink.c (gst_filesink_query2):
29412 * gst/base/gstbasesrc.c (gst_basesrc_query2): Replace old query,
29413 query_types, and formats methods.
29415 * gst/gstpad.c (gst_pad_query2, gst_pad_query2_default)
29416 (gst_pad_set_query2_function): New functions.
29417 (gst_real_pad_init): Set query2_default as the default query2
29418 function. Basically just dispatches to internally linked pads.
29422 * gst/gstdata_private.h (_GST_DATA_INIT): Set data->refcount to 1
29423 without using the atomic operations. Only one thread can possibly
29424 be accessing the data at this point. Changed so as to avoid
29425 gst_atomic operations.
29427 2005-05-06 Wim Taymans <wim@fluendo.com>
29429 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push):
29430 Also set caps if we use the fallback buffer alloc.
29432 2005-05-06 Tim-Philipp Müller <tim at centricular dot net>
29434 * docs/gst/Makefile.am:
29435 * docs/gst/gstreamer-docs.sgml:
29436 * docs/gst/gstreamer-sections.txt:
29437 * docs/gst/tmpl/gstatomic.sgml:
29438 * docs/gst/tmpl/gstmemchunk.sgml:
29439 * testsuite/elements/struct_i386.h:
29440 * win32/GStreamer.vcproj:
29442 Purge GstAtomic stuff from docs and win32 makefiles as well
29444 2005-05-06 Wim Taymans <wim@fluendo.com>
29446 * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps):
29447 * gst/elements/gstcapsfilter.c: (gst_capsfilter_getcaps):
29448 * gst/gstpad.c: (gst_pad_peer_get_caps):
29449 * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
29450 (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
29451 (gst_queue_src_activate), (gst_queue_change_state):
29453 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
29454 (intersect_caps_func):
29455 Fix gst_pad_peer_get_caps(), make it return NULL if no peer.
29456 Always take QUEUE_LOCK after STREAM_LOCK or we might deadlock.
29457 Some fixes for the peer_get_caps() change.
29459 2005-05-06 Wim Taymans <wim@fluendo.com>
29461 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
29462 (gst_basesink_handle_buffer), (gst_basesink_chain_unlocked),
29463 (gst_basesink_activate):
29464 Actually do something with error codes returned from the push
29467 2005-05-06 Wim Taymans <wim@fluendo.com>
29469 * docs/design/part-element-sink.txt:
29470 * docs/design/part-element-source.txt:
29471 * gst/base/gstbasesink.c: (gst_basesink_class_init),
29472 (gst_basesink_event), (gst_basesink_activate):
29473 * gst/base/gstbasesink.h:
29474 * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_unlock),
29475 (gst_basesrc_activate):
29476 * gst/base/gstbasesrc.h:
29477 * gst/gstelement.c: (gst_element_pads_activate):
29478 Some more documentation.
29479 Fixed scheduling decision in _pads_activate().
29481 2005-05-05 Andy Wingo <wingo@pobox.com>
29483 * check/pipelines/simple_launch_lines.c (test_2_elements): "Fix"
29486 2005-05-05 Wim Taymans <wim@fluendo.com>
29488 * gst/base/Makefile.am:
29489 * gst/base/gstbasesink.h:
29490 * gst/base/gstbasesrc.c: (gst_basesrc_init),
29491 (gst_basesrc_set_dataflow_funcs), (gst_basesrc_query):
29492 * gst/base/gstcollectpads.c: (gst_collectpads_get_type),
29493 (gst_collectpads_class_init), (gst_collectpads_init),
29494 (gst_collectpads_finalize), (gst_collectpads_new),
29495 (gst_collectpads_set_function), (gst_collectpads_add_pad),
29496 (find_pad), (gst_collectpads_remove_pad),
29497 (gst_collectpads_is_active), (gst_collectpads_collect),
29498 (gst_collectpads_collect_range), (gst_collectpads_start),
29499 (gst_collectpads_stop), (gst_collectpads_peek),
29500 (gst_collectpads_pop), (gst_collectpads_available),
29501 (gst_collectpads_read), (gst_collectpads_flush),
29502 (gst_collectpads_chain):
29503 * gst/base/gstcollectpads.h:
29504 * gst/elements/Makefile.am:
29505 * gst/elements/gstelements.c:
29506 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
29507 (gst_fakesink_get_times), (gst_fakesink_event),
29508 (gst_fakesink_preroll), (gst_fakesink_render):
29509 * gst/elements/gstfilesink.c: (gst_filesink_class_init),
29510 (gst_filesink_init), (gst_filesink_set_location),
29511 (gst_filesink_open_file), (gst_filesink_close_file),
29512 (gst_filesink_pad_query), (gst_filesink_event),
29513 (gst_filesink_render), (gst_filesink_change_state):
29514 * gst/elements/gstfilesink.h:
29515 Added object to help in making collect pad based elements.
29517 Make event function in sink baseclass return gboolean.
29519 2005-05-05 Wim Taymans <wim@fluendo.com>
29521 * gst/gstbin.c: (gst_bin_send_event), (compare_name),
29522 (gst_bin_get_by_name):
29524 * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_class_init),
29525 (gst_clock_finalize):
29526 * gst/gstdata.c: (gst_data_replace):
29528 * gst/gstelement.c: (gst_element_request_pad),
29529 (gst_element_pads_activate):
29530 * gst/gstobject.c: (gst_object_init), (gst_object_ref),
29531 (gst_object_unref):
29532 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
29533 (gst_pad_set_checkgetrange_function),
29534 (gst_pad_link_check_compatible_unlocked), (gst_pad_set_caps),
29535 (gst_pad_check_pull_range), (gst_pad_pull_range),
29536 (gst_static_pad_template_get_caps), (gst_pad_start_task),
29537 (gst_pad_pause_task), (gst_pad_stop_task):
29538 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
29539 (gst_element_request_pad), (gst_pad_proxy_getcaps):
29540 Fix name lookup in GstBin.
29541 Added _data_replace() function and _buffer_replace()
29542 Use finalize method to clean up clock.
29543 Fix refcounting on request pads.
29544 Fix pad schedule mode error.
29545 Some more object refcounting debug info,
29548 2005-05-04 Andy Wingo <wingo@pobox.com>
29550 * check/Makefile.am:
29551 * docs/gst/tmpl/gstatomic.sgml:
29552 * docs/gst/tmpl/gstplugin.sgml:
29553 * gst/base/gstbasesink.c: (gst_basesink_activate):
29554 * gst/base/gstbasesrc.c: (gst_basesrc_class_init),
29555 (gst_basesrc_init), (gst_basesrc_set_dataflow_funcs),
29556 (gst_basesrc_query), (gst_basesrc_set_property),
29557 (gst_basesrc_get_property), (gst_basesrc_check_get_range),
29558 (gst_basesrc_activate):
29559 * gst/base/gstbasesrc.h:
29560 * gst/base/gstbasetransform.c: (gst_base_transform_sink_activate),
29561 (gst_base_transform_src_activate):
29562 * gst/elements/gstelements.c:
29563 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
29564 (gst_fakesrc_set_property), (gst_fakesrc_get_property):
29565 * gst/elements/gsttee.c: (gst_tee_sink_activate):
29566 * gst/elements/gsttypefindelement.c: (find_element_get_length),
29567 (gst_type_find_element_checkgetrange),
29568 (gst_type_find_element_activate):
29569 * gst/gstbin.c: (gst_bin_save_thyself), (gst_bin_restore_thyself):
29570 * gst/gstcaps.c: (gst_caps_do_simplify), (gst_caps_save_thyself),
29571 (gst_caps_load_thyself):
29572 * gst/gstelement.c: (gst_element_pads_activate),
29573 (gst_element_save_thyself), (gst_element_restore_thyself):
29574 * gst/gstpad.c: (gst_pad_load_and_link), (gst_pad_save_thyself),
29575 (gst_ghost_pad_save_thyself), (gst_pad_check_pull_range):
29577 * gst/gstxml.c: (gst_xml_write), (gst_xml_parse_doc),
29578 (gst_xml_parse_file), (gst_xml_parse_memory),
29579 (gst_xml_get_element), (gst_xml_make_element):
29580 * gst/indexers/gstfileindex.c: (gst_file_index_load),
29581 (_file_index_id_save_xml), (gst_file_index_commit):
29582 * gst/registries/gstlibxmlregistry.c: (read_string), (read_uint),
29583 (read_enum), (load_pad_template), (load_feature), (load_plugin),
29585 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_caps),
29586 (gst_dp_packet_from_event), (gst_dp_caps_from_packet):
29587 * tools/gst-complete.c: (main):
29588 * tools/gst-compprep.c: (main):
29589 * tools/gst-inspect.c: (print_element_properties_info):
29590 * tools/gst-launch.c: (xmllaunch_parse_cmdline):
29591 * tools/gst-xmlinspect.c: (print_element_properties):
29594 2005-05-03 Thomas Vander Stichele <thomas at apestaart dot org>
29596 * gst/gstplugin.c: (gst_plugin_check_module),
29597 (gst_plugin_check_file), (gst_plugin_load_file):
29598 apply patch from #172526 to make register work on MacOSX
29600 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
29602 * docs/gst/tmpl/gstconfig.sgml:
29603 * gst/gstconfig.h.in:
29604 move documentation for some symbols. Add doc for GST_PTR_FORMAT
29605 * testsuite/debug/printf_extension.c: (main):
29606 Do not use GST_PTR_FORMAT on pointers to types with
29607 sizeof < sizeof(gpointer). Fixes test on 64-bit
29608 * testsuite/elements/property.h:
29609 use correct printf format
29611 2005-05-02 Wim Taymans <wim@fluendo.com>
29613 * docs/design/draft-push-pull.txt:
29614 * docs/design/draft-query.txt:
29615 * gst/base/gstbasesrc.c: (gst_basesrc_get_range_unlocked),
29616 (gst_basesrc_start):
29617 Added draft for new query API.
29618 Added draft for better selecting scheduling methods.
29619 Make basesrc ignore length if the subclass does not support
29622 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
29625 possible fixes for automake-1.5 - _LIBADD is reserved
29627 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
29629 * docs/faq/Makefile.am:
29630 * docs/manual/Makefile.am:
29631 * docs/manuals.mak:
29632 * docs/pwg/Makefile.am:
29634 possible fixes for automake-1.5
29636 2005-04-28 Wim Taymans <wim@fluendo.com>
29638 * gst/base/gstbasesink.c: (gst_basesink_base_init),
29639 (gst_basesink_pad_getcaps), (gst_basesink_init),
29640 (gst_basesink_do_sync):
29641 * gst/gstclock.c: (gst_clock_entry_new):
29642 * gst/gstevent.c: (gst_event_discont_get_value):
29643 * gst/gstpipeline.c: (pipeline_bus_handler),
29644 (gst_pipeline_change_state):
29645 * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
29646 Better debugging of clocking info.
29647 Allow NULL values when getting discont values.
29649 2005-04-27 Wim Taymans <wim@fluendo.com>
29651 * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
29652 * check/gst/gstpad.c: (gst_pad_suite):
29653 Increase timeout for checks.
29655 2005-04-27 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
29657 * check/Makefile.am:
29658 fix the broken rule for cleanup. Apparently this rule is
29659 only needed on FC2, so maybe this warrants further autotool
29662 2005-04-26 Wim Taymans <wim@fluendo.com>
29664 * gst/gsttrashstack.h:
29665 Ooohh. a nasty one! After having a failed pop() from the stack,
29666 it's possible that the stack is empty. In that case, don't
29667 follow the NULL pointer.
29669 2005-04-25 Wim Taymans <wim@fluendo.com>
29671 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
29672 (gst_pad_set_checkgetrange_function),
29673 (gst_pad_link_check_compatible_unlocked), (gst_pad_link_prepare),
29674 (gst_pad_check_pull_range), (gst_pad_pull_range),
29675 (gst_static_pad_template_get_caps), (gst_pad_start_task),
29676 (gst_pad_pause_task), (gst_pad_stop_task):
29677 * gst/gstplugin.c: (gst_plugin_load):
29679 Remove gst_library_load as it does more harm than good with
29680 the new g_module flags.
29681 Revert bogus caps template check in pad linking, pad caps
29682 are important when linking not the template, which is more
29683 general than the current caps.
29685 2005-04-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
29687 * gst/autoplug/.cvsignore:
29688 * gst/autoplug/Makefile.am:
29689 * gst/autoplug/gstsearchfuncs.c:
29690 * gst/autoplug/gstsearchfuncs.h:
29691 * gst/autoplug/gstspider.c:
29692 * gst/autoplug/gstspider.h:
29693 * gst/autoplug/gstspideridentity.c:
29694 * gst/autoplug/gstspideridentity.h:
29695 * gst/autoplug/spidertest.c:
29698 2005-04-25 Wim Taymans <wim@fluendo.com>
29700 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
29701 (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
29702 (gst_pad_pull_range), (gst_static_pad_template_get_caps),
29703 (gst_pad_start_task), (gst_pad_pause_task), (gst_pad_stop_task):
29705 Added stubs for unimplemented functions.
29707 2005-04-24 David Schleef <ds@schleef.org>
29709 * gst/gstpad.h: Disable some unimplemented functions. Wim,
29712 2005-04-24 David Schleef <ds@schleef.org>
29714 Convert everything from GstAtomicInt to g_atomic_int_*, and
29719 * gst/gstatomic_impl.h:
29727 * gst/gstdata_private.h:
29731 * gst/gstmessage.c:
29734 * gst/gststructure.c:
29735 * gst/gststructure.h:
29736 * gst/gstutils.c: Add gst_atomic_int_set() compaitibility function.
29739 2005-04-24 David Schleef <ds@schleef.org>
29741 * check/gst/gstpad.c: (START_TEST): Oh yeah, it's always nice to
29742 make the regressions tests work. Remove some code that is no
29744 * gst/gstpad.c: (gst_pad_link_check_templates_compatible_unlocked):
29745 Disable warning for pads without templates.
29747 2005-04-24 David Schleef <ds@schleef.org>
29749 * gst/gstpad.c: Remove handling of filtered caps. Fix/merge
29750 functions that handle filtered links.
29751 * gst/gstpad.h: Remove 'appfilter' field and prototypes of
29753 * gst/gstutils.c: Fix/remove utility functions that handle
29756 * gst/gstvalue.c: Add serialization/deserialization of caps
29757 * gst/parse/grammar.y: Ignore filtered caps when linking. This
29758 requires fixing so that the filter caps notation creates
29759 a capsfilter element and sets the filter_caps property. I
29760 think everyone probably wants to keep the shorthand notation.
29761 * docs/gst/tmpl/gstelement.sgml: updates for API changes.
29762 * docs/gst/tmpl/gstpad.sgml:
29764 * gst/elements/gstelements.c: Register capsfilter element.
29765 * gst/Makefile.am: fix spacing
29766 * docs/random/ds/0.9-suggested-changes: random
29768 2005-04-23 David Schleef <ds@schleef.org>
29770 * gst/elements/Makefile.am:
29771 * gst/elements/gstcapsfilter.c: New element that acts like an
29772 identity, but filters caps. Will eventually replace filtered
29773 caps in pad linking.
29774 * gst/gstutils.c: (gst_element_create_all_pads): New function
29775 to create all the ALWAYS pads that are registered with an
29776 element class. This functionality should eventually be
29777 merged in with GstElement initialization.
29779 * testsuite/trigger/README: part of trigger test code that should
29780 have been checked in a long time ago.
29782 2005-04-23 David Schleef <ds@schleef.org>
29784 * gst/Makefile.am: Remove as-libtool stuff. It's likely not
29785 needed with new versions of libtool (nobody will confirm this),
29786 and hard to carry around.
29787 * gst/autoplug/Makefile.am:
29788 * gst/base/Makefile.am:
29789 * gst/elements/Makefile.am:
29790 * gst/indexers/Makefile.am:
29791 * gst/schedulers/Makefile.am:
29792 * libs/gst/bytestream/Makefile.am:
29793 * libs/gst/control/Makefile.am:
29794 * libs/gst/dataprotocol/Makefile.am:
29795 * libs/gst/getbits/Makefile.am:
29797 2005-04-21 Wim Taymans <wim@fluendo.com>
29799 * docs/design/draft-push-pull.txt:
29800 * docs/design/part-MT-refcounting.txt:
29801 * docs/design/part-TODO.txt:
29802 * docs/design/part-caps.txt:
29803 * docs/design/part-events.txt:
29804 * docs/design/part-gstbus.txt:
29805 * docs/design/part-gstpipeline.txt:
29806 * docs/design/part-messages.txt:
29807 * docs/design/part-push-pull.txt:
29808 * docs/design/part-query.txt:
29811 2005-04-21 Wim Taymans <wim@fluendo.com>
29813 * gst/gstmessage.c: (_gst_message_copy), (_gst_message_free),
29814 (gst_message_new), (gst_message_new_error),
29815 (gst_message_new_warning), (gst_message_new_tag),
29816 (gst_message_new_state_changed), (gst_message_new_application),
29817 (gst_message_get_structure):
29818 * gst/gstmessage.h:
29819 * gst/gststructure.c: (gst_structure_set_parent_refcount),
29820 (gst_structure_copy_conditional):
29821 Use parent refcount in GstMessage to ensure GstStructure
29823 Cleaned up headers a bit.
29826 2005-04-20 Wim Taymans <wim@fluendo.com>
29828 * gst/base/gstbasesink.c: (gst_basesink_base_init),
29829 (gst_basesink_pad_getcaps), (gst_basesink_init),
29830 (gst_basesink_chain_unlocked):
29831 * gst/base/gsttypefindhelper.c: (helper_find_suggest),
29832 (gst_type_find_helper):
29833 * gst/elements/gsttypefindelement.c:
29834 (gst_type_find_element_have_type), (gst_type_find_element_init),
29835 (stop_typefinding), (gst_type_find_element_handle_event),
29836 (find_suggest), (gst_type_find_element_chain),
29837 (gst_type_find_element_checkgetrange),
29838 (gst_type_find_element_getrange), (do_typefind),
29839 (gst_type_find_element_activate):
29840 * gst/gstbuffer.c: (_gst_buffer_sub_free),
29841 (gst_buffer_default_free), (gst_buffer_default_copy),
29842 (gst_buffer_set_caps):
29843 * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref),
29844 (gst_caps_replace):
29845 * gst/gstmessage.c: (gst_message_new),
29846 (gst_message_new_state_changed):
29847 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
29848 (gst_pad_set_checkgetrange_function),
29849 (gst_pad_link_prepare_filtered), (gst_pad_relink_filtered),
29850 (gst_pad_set_caps), (gst_pad_check_pull_range),
29851 (gst_pad_pull_range), (gst_static_pad_template_get_caps):
29853 * gst/gsttypefind.c: (gst_type_find_register):
29854 Make gst_caps_replace() work like other _replace() functions.
29855 Use _caps_replace() where possible.
29856 Make sure _message_new() initialises its field.
29857 Add gst_static_pad_template_get_caps()
29860 2005-04-18 Andy Wingo <wingo@pobox.com>
29862 * gst/gstelement.c (gst_element_pads_activate): Check pull_range
29863 on the peer, not the pad. I think that was a typo. Pass an extra
29864 arg to see if random access is possible. Activate the pads as
29865 PULL_RANGE if possible.
29867 * gst/elements/gstfakesrc.c: s/ARG_/PROP_/.
29869 * gst/base/gstbasesrc.c (gst_basesrc_set_property)
29870 (gst_basesrc_get_property): BLOCKSIZE is a ULONG. Rename ARG_...
29873 2005-04-14 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
29875 * docs/faq/using.xml:
29876 Add note on gstreamer-properties (#154996).
29878 2005-04-13 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
29880 * docs/random/bbb/optional-properties:
29881 Some analysis on optional properties.
29883 2005-04-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
29885 * docs/gst/tmpl/gstelementfactory.sgml:
29886 * gst/gstelement.h:
29887 * gst/gstelementfactory.c: (gst_element_factory_init),
29888 (gst_element_factory_cleanup), (gst_element_register),
29889 (__gst_element_factory_add_static_pad_template),
29890 (gst_element_factory_get_static_pad_templates),
29891 (gst_element_factory_can_src_caps),
29892 (gst_element_factory_can_sink_caps):
29893 * gst/registries/Makefile.am:
29894 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_get_type),
29895 (gst_xml_registry_class_init), (gst_xml_registry_init),
29896 (gst_xml_registry_new), (gst_xml_registry_set_property),
29897 (gst_xml_registry_get_property), (get_time), (make_dir),
29898 (gst_xml_registry_get_perms_func),
29899 (plugin_times_older_than_recurse), (plugin_times_older_than),
29900 (gst_xml_registry_open_func), (gst_xml_registry_load_func),
29901 (gst_xml_registry_save_func), (gst_xml_registry_close_func),
29902 (add_to_char_array), (read_string), (read_uint), (read_enum),
29903 (load_pad_template), (load_feature), (load_plugin), (load_paths),
29904 (gst_xml_registry_load), (gst_xml_registry_load_plugin),
29905 (gst_xml_registry_save_caps), (gst_xml_registry_save_pad_template),
29906 (gst_xml_registry_save_feature), (gst_xml_registry_save_plugin),
29907 (gst_xml_registry_save), (gst_xml_registry_rebuild_recurse),
29908 (gst_xml_registry_rebuild):
29909 * gst/registries/gstlibxmlregistry.h:
29910 * tools/gst-compprep.c: (main):
29911 * tools/gst-inspect.c: (print_pad_templates_info):
29912 * tools/gst-xmlinspect.c: (print_element_info):
29913 Use libxml2 for registry parsing, use staticpadtemplates in
29914 elementfactories. Makes gst_init() +/- 10x faster.
29916 2005-04-12 Wim Taymans <wim@fluendo.com>
29918 * gst/base/Makefile.am:
29919 * gst/base/gstbasesink.c: (gst_basesink_base_init),
29920 (gst_basesink_pad_getcaps), (gst_basesink_init),
29921 (gst_basesink_event), (gst_basesink_change_state):
29922 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
29923 (gst_basesrc_init), (gst_basesrc_query),
29924 (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
29925 (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
29926 (gst_basesrc_check_get_range), (gst_basesrc_loop),
29927 (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
29928 (gst_basesrc_stop), (gst_basesrc_activate),
29929 (gst_basesrc_change_state):
29930 * gst/base/gsttypefindhelper.c: (helper_find_peek),
29931 (helper_find_suggest), (gst_type_find_helper):
29932 * gst/base/gsttypefindhelper.h:
29933 * gst/elements/Makefile.am:
29934 * gst/elements/gstelements.c:
29935 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
29936 (gst_fakesink_get_times), (gst_fakesink_event),
29937 (gst_fakesink_preroll), (gst_fakesink_render):
29938 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
29939 (gst_fakesrc_init), (gst_fakesrc_event_handler),
29940 (gst_fakesrc_get_property), (gst_fakesrc_create),
29941 (gst_fakesrc_start), (gst_fakesrc_stop):
29942 * gst/elements/gstfakesrc.h:
29943 * gst/elements/gstfilesrc.c: (gst_filesrc_class_init),
29944 (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
29945 (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
29946 (gst_filesrc_create_read), (gst_filesrc_create),
29947 (gst_filesrc_is_seekable), (gst_filesrc_get_size),
29948 (gst_filesrc_start):
29949 * gst/elements/gsttypefindelement.c:
29950 (gst_type_find_element_have_type), (gst_type_find_element_init),
29951 (start_typefinding), (stop_typefinding), (push_buffer_store),
29952 (gst_type_find_element_handle_event),
29953 (gst_type_find_element_chain),
29954 (gst_type_find_element_checkgetrange),
29955 (gst_type_find_element_getrange), (do_typefind),
29956 (gst_type_find_element_activate),
29957 (gst_type_find_element_change_state):
29958 * gst/elements/gsttypefindelement.h:
29959 * gst/gstpipeline.c: (pipeline_bus_handler):
29960 Added typefind helper.
29961 Small preroll fix in the base sink.
29962 Disable typefind code in basesrc.
29963 Crude port of typefindelement.
29967 2005-04-11 Wim Taymans <wim@fluendo.com>
29969 * check/gst/gstbus.c: (gstbus_suite):
29970 * check/gst/gstdata.c: (thread_ref), (gst_data_suite):
29971 * check/gstcheck.h:
29972 Fix up the timeout so that the test does not fail.
29974 2005-04-06 Wim Taymans <wim@fluendo.com>
29977 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
29978 (gst_basesrc_init), (gst_basesrc_get_formats), (gst_basesrc_query),
29979 (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
29980 (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
29981 (gst_basesrc_check_get_range), (gst_basesrc_loop),
29982 (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
29983 (gst_basesrc_stop), (gst_basesrc_activate),
29984 (gst_basesrc_change_state), (basesrc_find_peek),
29985 (basesrc_find_suggest), (gst_basesrc_type_find):
29986 * gst/base/gstbasesrc.h:
29987 * gst/elements/gstfilesrc.c: (gst_filesrc_base_init),
29988 (gst_filesrc_class_init), (gst_filesrc_init),
29989 (gst_filesrc_finalize), (gst_filesrc_set_location),
29990 (gst_filesrc_set_property), (gst_filesrc_get_property),
29991 (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
29992 (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
29993 (gst_filesrc_create_read), (gst_filesrc_create),
29994 (gst_filesrc_get_size), (gst_filesrc_start), (gst_filesrc_stop):
29995 * gst/elements/gstfilesrc.h:
29996 * gst/gstelement.c: (gst_element_get_state_func),
29997 (gst_element_lost_state), (gst_element_pads_activate):
29998 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
29999 (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
30000 (gst_pad_pull_range):
30002 More work on the generic source base class, implement seeking,
30004 Make filesrc extend the base source class.
30005 Added gst_pad_set_checkgetrange_function to GstPad.
30007 2005-04-06 Andy Wingo <wingo@pobox.com>
30009 * pkgconfig/gstreamer-base.pc.in:
30010 * pkgconfig/gstreamer-base-uninstalled.pc.in: New files.
30012 * pkgconfig/Makefile.am:
30013 * configure.ac (AC_OUTPUT): Add gstreamer-base pkgconfig files.
30015 2005-04-04 Wim Taymans <wim@fluendo.com>
30017 * gst/base/Makefile.am:
30019 * gst/base/gstbasesink.c: (gst_basesink_base_init),
30020 (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
30021 (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
30022 (gst_basesink_do_sync), (gst_basesink_chain_unlocked):
30023 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
30024 (gst_basesrc_base_init), (gst_basesrc_class_init),
30025 (gst_basesrc_init), (gst_basesrc_get_formats),
30026 (gst_basesrc_get_query_types), (gst_basesrc_query),
30027 (gst_basesrc_get_event_mask), (gst_basesrc_event_handler),
30028 (gst_basesrc_set_property), (gst_basesrc_get_property),
30029 (gst_basesrc_get_range_unlocked), (gst_basesrc_get_range),
30030 (gst_basesrc_loop), (gst_basesrc_activate),
30031 (gst_basesrc_change_state):
30032 * gst/base/gstbasesrc.h:
30033 * gst/elements/gstfakesrc.c: (gst_fakesrc_base_init),
30034 (gst_fakesrc_class_init), (gst_fakesrc_init),
30035 (gst_fakesrc_event_handler), (gst_fakesrc_set_property),
30036 (gst_fakesrc_get_property), (gst_fakesrc_create):
30037 * gst/elements/gstfakesrc.h:
30038 * gst/elements/gstfilesrc.c: (gst_filesrc_getrange),
30039 (gst_filesrc_open_file), (gst_filesrc_loop),
30040 (gst_filesrc_activate), (filesrc_find_peek),
30041 (gst_filesrc_type_find):
30042 Made base source class, make fakesrc extend it.
30043 Add comments to basesink class.
30044 Some filesrc cleanup.
30046 2005-03-31 David Schleef <ds@schleef.org>
30048 * gst/gstplugin.c: (gst_plugin_check_file), (gst_plugin_load_file):
30049 Switch to using G_MODULE_BIND_LOCAL, which means plugins are now
30050 expected to link against libgstreamer.
30051 * gst/base/Makefile.am: link against libgstreamer
30052 * gst/elements/Makefile.am: same
30054 2005-03-31 Andy Wingo <wingo@pobox.com>
30056 * tests/instantiate/Makefile.am:
30057 * tests/instantiate/caps.c: Add test to test speed of caps copy
30060 * tests/memchunk/gmemchunktest.c (main): Use alloc only on the
30061 GMemChunk to be fair.
30063 * gst/gsttrashstack.h: Remove warning about using the fallback
30064 trash stack implementation, it's still faster than malloc.
30066 2005-03-30 Andy Wingo <wingo@pobox.com>
30068 * tests/complexity.c: Add a copyright.
30070 2005-03-31 Wim Taymans <wim@fluendo.com>
30072 * gst/base/gstbasetransform.c: (gst_base_transform_base_init),
30073 (gst_base_transform_class_init), (gst_base_transform_init),
30074 (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
30075 (gst_base_transform_get_property),
30076 (gst_base_transform_sink_activate),
30077 (gst_base_transform_src_activate),
30078 (gst_base_transform_change_state):
30079 * gst/base/gstbasetransform.h:
30080 * gst/elements/gstidentity.c: (gst_identity_class_init),
30081 (gst_identity_event), (gst_identity_check_perfect),
30082 (gst_identity_transform), (gst_identity_start),
30083 (gst_identity_stop):
30084 Added start/stop methods to transform base class so subclasses
30085 don't need to deal with state changes even.
30087 2005-03-31 Wim Taymans <wim@fluendo.com>
30089 * gst/gstevent.c: (gst_event_new_discontinuous_valist),
30090 (gst_event_new_discontinuous), (gst_event_discont_get_value):
30092 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
30093 (gst_pad_pull_range):
30094 Added rate to the discont event to prepare for variable speed
30095 and reverse playback.
30097 2005-03-29 David Schleef <ds@schleef.org>
30100 * testsuite/trigger/Makefile.am:
30101 * testsuite/trigger/trigger.c: A little example program to show
30102 how trigger-based elements can work.
30104 2005-03-29 Wim Taymans <wim@fluendo.com>
30106 * gst/base/Makefile.am:
30108 * gst/base/gstbasesink.c: (gst_basesink_get_type),
30109 (gst_basesink_base_init), (gst_basesink_class_init),
30110 (gst_basesink_pad_getcaps), (gst_basesink_init),
30111 (gst_basesink_activate), (gst_basesink_change_state):
30112 * gst/base/gstbasesink.h:
30113 * gst/base/gstbasetransform.c: (gst_base_transform_get_type),
30114 (gst_base_transform_base_init), (gst_base_transform_finalize),
30115 (gst_base_transform_class_init), (gst_base_transform_init),
30116 (gst_base_transform_proxy_getcaps), (gst_base_transform_setcaps),
30117 (gst_base_transform_event), (gst_base_transform_getrange),
30118 (gst_base_transform_chain), (gst_base_transform_handle_buffer),
30119 (gst_base_transform_set_property),
30120 (gst_base_transform_get_property),
30121 (gst_base_transform_sink_activate),
30122 (gst_base_transform_src_activate),
30123 (gst_base_transform_change_state):
30124 * gst/base/gstbasetransform.h:
30125 * gst/elements/gstidentity.c: (gst_identity_finalize),
30126 (gst_identity_class_init), (gst_identity_init),
30127 (gst_identity_event), (gst_identity_check_perfect),
30128 (gst_identity_transform), (gst_identity_set_property),
30129 (gst_identity_get_property), (gst_identity_change_state):
30130 * gst/elements/gstidentity.h:
30131 * gst/gstelement.c: (gst_element_get_state_func),
30132 (gst_element_lost_state), (gst_element_pads_activate):
30133 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
30134 (gst_pad_check_pull_range), (gst_pad_pull_range):
30136 Simplify pad activation.
30137 Added function to check if pull_range can be performed.
30138 Error out when pulling inactive or flushing pads.
30139 Removed const from refcounted types as it does not make sense.
30140 Simplify pad templates in basesink
30141 Added base class for simple 1-to-1 transforms.
30142 Make identity subclass the base transform.
30144 2005-03-29 Andy Wingo <wingo@pobox.com>
30146 * docs/libs/gstreamer-libs-overrides.txt:
30147 * docs/gst/gstreamer-overrides.txt: Add these files to CVS. Now I
30148 really don't understand what's going on, but like whatever. I want
30151 * docs/gst/Makefile.am:
30152 * docs/libs/Makefile.am: Dist the overrides files.
30154 * check/Makefile.am (clean-local): Remove .libs directories.
30156 * gst/elements/Makefile.am (EXTRA_DIST): Add all the attic
30157 elements to EXTRA_DIST, so po/ files are happy.
30159 * po/POTFILES.in: Er, remove it here.
30161 * po/POTFILES: Remove gstspider.c.
30163 * configure.ac (AC_OUTPUT): Add missing testsuite makefiles.
30165 * docs/libs/gstreamer-libs-docs.sgml:
30166 * docs/libs/gstreamer-libs-sections.txt: Remove the section on
30169 * tests/complexity.c (main): Set the length of the preroll queue
30170 on the sinks to prevent a lockup.
30172 * libs/gst/dataprotocol/Makefile.am:
30173 * libs/gst/dataprotocol/dataprotocol-test.c: Remove test, it's
30174 the same as the one in check/gst-libs/gdp.c.
30176 * po/, docs/gst/: Commit automatic changes to docs and po files.
30178 * gst/elements/Makefile.am (libgstelements_la_LDFLAGS): Link to
30179 the versioned libgstbase.
30181 * check/Makefile.am: Depend on an unversioned gst-register, seems
30182 to make autoconf happier.
30184 * gst/base/Makefile.am: Make libgstbase a versioned lib.
30186 2005-03-28 Wim Taymans <wim@fluendo.com>
30189 * docs/design/part-gstelement.txt:
30190 * docs/design/part-negotiation.txt:
30191 * docs/design/part-preroll.txt:
30192 * docs/design/part-scheduling.txt:
30193 * docs/design/part-states.txt:
30195 * gst/base/Makefile.am:
30197 * gst/base/gstbasesink.c: (gst_basesink_get_template),
30198 (gst_basesink_base_init), (gst_basesink_class_init),
30199 (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
30200 (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
30201 (gst_basesink_set_pad_functions),
30202 (gst_basesink_set_all_pad_functions), (gst_basesink_set_clock),
30203 (gst_basesink_set_property), (gst_basesink_get_property),
30204 (gst_base_sink_get_template), (gst_base_sink_get_caps),
30205 (gst_base_sink_set_caps), (gst_base_sink_buffer_alloc),
30206 (gst_basesink_preroll_queue_push),
30207 (gst_basesink_preroll_queue_empty),
30208 (gst_basesink_preroll_queue_flush), (gst_basesink_finish_preroll),
30209 (gst_basesink_event), (gst_basesink_get_times),
30210 (gst_basesink_do_sync), (gst_basesink_handle_buffer),
30211 (gst_basesink_chain_unlocked), (gst_basesink_chain),
30212 (gst_basesink_loop), (gst_basesink_activate),
30213 (gst_basesink_change_state):
30214 * gst/base/gstbasesink.h:
30215 * gst/elements/Makefile.am:
30216 * gst/elements/gstfakesink.c: (gst_fakesink_base_init),
30217 (gst_fakesink_class_init), (gst_fakesink_init),
30218 (gst_fakesink_set_property), (gst_fakesink_get_property),
30219 (gst_fakesink_get_times), (gst_fakesink_event),
30220 (gst_fakesink_preroll), (gst_fakesink_render),
30221 (gst_fakesink_change_state):
30222 * gst/elements/gstfakesink.h:
30223 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
30224 (gst_bin_get_state), (gst_bin_change_state), (gst_bin_send_event):
30225 * gst/gstelement.c: (gst_element_add_pad),
30226 (gst_element_get_state_func), (gst_element_abort_state),
30227 (gst_element_commit_state), (gst_element_lost_state),
30228 (gst_element_set_state), (gst_element_pads_activate):
30229 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_event_default):
30230 * gst/gstpipeline.c: (gst_pipeline_send_event),
30231 (gst_pipeline_change_state):
30232 Added state change code.
30233 Added/updated docs.
30234 Added sink base class, make fakesink extend the base class.
30235 Small cleanups in GstPipeline.
30237 2005-03-26 David Schleef <ds@schleef.org>
30239 * gst/Makefile.am: remove gstcpu.[ch]. The gst_cpu functionality
30240 is broken and should be implemented in a different library.
30241 * gst/gst.c: (init_post): don't call _gst_cpu_initialize()
30242 * gst/gst.h: remove gstcpu.h
30243 * gst/gstcpu.c: remove
30244 * gst/gstcpu.h: remove
30245 * gst/Makefile.am.future: Remove this file. It's ancient.
30247 2005-03-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
30249 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
30250 (gst_bin_send_event):
30251 Add default event/set_manager handlers. The set_manager handler
30252 takes care that the manager is distributed over kids that were
30253 already in the bin before the manager was set. The event handler
30254 is a utility virtual function that sends the event over all sinks,
30255 so that gst_element_send_event (bin, event); has the expected
30257 * gst/gstpad.c: (gst_pad_event_default):
30258 Re-install default event handling for discontinuities, so that
30259 seeking works without requiring hacks in applications or extra
30261 * gst/gstpipeline.c: (gst_pipeline_class_init),
30262 (gst_pipeline_send_event):
30263 Half hack, half utility: set a pipeline to PAUSED for seek events,
30264 since that is the only way we can guarantee a/v sync. Means that
30265 you can do gst_element_seek (pipeline, method, pos); on a pipeline
30266 and it "just works".
30268 2005-03-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
30270 * gst/gstpipeline.c: (gst_pipeline_use_clock):
30271 Lock/unlock mismatch.
30273 2005-03-25 Thomas Vander Stichele <thomas at apestaart dot org>
30275 * docs/faq/gst-uninstalled:
30276 add gst-plugins-base
30277 * docs/gst/Makefile.am:
30278 don't error out until docs are fixed
30279 * docs/gst/gstreamer.types:
30282 2005-03-22 Wim Taymans <wim@fluendo.com>
30284 * check/Makefile.am:
30285 * check/gst/gstmessage.c: (START_TEST), (gst_data_suite), (main):
30286 * gst/gststructure.c: (gst_structure_set_valist),
30287 (gst_structure_copy_conditional):
30288 Activated more tests.
30289 Added message test.
30290 Added G_TYPE_POINTER to GstStructure.
30293 2005-03-22 Wim Taymans <wim@fluendo.com>
30295 * docs/design/part-TODO.txt:
30296 * docs/design/part-events.txt:
30297 * docs/design/part-gstbin.txt:
30298 * docs/design/part-gstbus.txt:
30299 * docs/design/part-gstpipeline.txt:
30300 * docs/design/part-messages.txt:
30302 * gst/gstmessage.c:
30305 2005-03-21 Wim Taymans <wim@fluendo.com>
30307 * gst/gstbus.c: (gst_bus_post):
30308 Fix copy-and-paste error.
30310 2005-03-21 Wim Taymans <wim@fluendo.com>
30312 * check/Makefile.am:
30314 * gst/elements/Makefile.am:
30315 * gst/elements/gstelements.c:
30316 * gst/elements/gstfakesink.c: (gst_fakesink_init),
30317 (gst_fakesink_event), (gst_fakesink_chain):
30318 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
30319 (gst_fakesrc_init), (gst_fakesrc_get_event_mask),
30320 (gst_fakesrc_event_handler), (gst_fakesrc_set_pad_functions),
30321 (gst_fakesrc_set_all_pad_functions), (gst_fakesrc_request_new_pad),
30322 (gst_fakesrc_set_property), (gst_fakesrc_get_property),
30323 (gst_fakesrc_get_range_unlocked), (gst_fakesrc_get_range),
30324 (gst_fakesrc_loop), (gst_fakesrc_activate),
30325 (gst_fakesrc_change_state):
30326 * gst/elements/gstfakesrc.h:
30327 * gst/elements/gstfilesrc.c: (gst_filesrc_init),
30328 (gst_filesrc_get_read), (gst_filesrc_getrange), (gst_filesrc_get),
30329 (gst_filesrc_open_file), (gst_filesrc_loop),
30330 (gst_filesrc_activate), (gst_filesrc_change_state),
30331 (filesrc_find_peek), (filesrc_find_suggest),
30332 (gst_filesrc_type_find):
30333 * gst/elements/gstidentity.c: (gst_identity_finalize),
30334 (gst_identity_class_init), (gst_identity_init),
30335 (gst_identity_proxy_getcaps), (identity_queue_push),
30336 (identity_queue_pop), (identity_queue_flush), (gst_identity_event),
30337 (gst_identity_getrange), (gst_identity_chain),
30338 (gst_identity_sink_loop), (gst_identity_src_loop),
30339 (gst_identity_handle_buffer), (gst_identity_set_dataflow_funcs),
30340 (gst_identity_set_property), (gst_identity_get_property),
30341 (gst_identity_change_state):
30342 * gst/elements/gstidentity.h:
30343 * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_init),
30344 (gst_tee_update_pad_functions), (gst_tee_request_new_pad),
30345 (gst_tee_set_property), (gst_tee_get_property), (gst_tee_do_push),
30346 (gst_tee_handle_buffer), (gst_tee_chain), (gst_tee_loop),
30347 (gst_tee_sink_activate):
30348 * gst/elements/gsttee.h:
30349 * gst/gst.c: (gst_register_core_elements), (init_post):
30351 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_bus),
30352 (gst_bin_set_scheduler), (gst_bin_add_func), (gst_bin_add),
30353 (gst_bin_remove_func), (gst_bin_remove), (gst_bin_get_state),
30354 (gst_bin_change_state):
30356 * gst/gstbus.c: (gst_bus_get_type), (gst_bus_class_init),
30357 (gst_bus_init), (gst_bus_dispose), (gst_bus_set_property),
30358 (gst_bus_get_property), (gst_bus_new), (gst_bus_post),
30359 (gst_bus_have_pending), (gst_bus_pop), (gst_bus_peek),
30360 (gst_bus_set_sync_handler), (gst_bus_create_watch),
30361 (bus_watch_callback), (bus_watch_destroy),
30362 (gst_bus_add_watch_full), (gst_bus_add_watch), (poll_handler),
30363 (poll_timeout), (gst_bus_poll):
30367 * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
30368 (gst_element_post_message), (gst_element_message_full),
30369 (gst_element_get_state_func), (gst_element_get_state),
30370 (gst_element_abort_state), (gst_element_commit_state),
30371 (gst_element_lost_state), (gst_element_set_state),
30372 (gst_element_pads_activate), (gst_element_change_state),
30373 (gst_element_dispose), (gst_element_set_manager_func),
30374 (gst_element_set_bus_func), (gst_element_set_scheduler_func),
30375 (gst_element_set_manager), (gst_element_get_manager),
30376 (gst_element_set_bus), (gst_element_get_bus),
30377 (gst_element_set_scheduler), (gst_element_get_scheduler):
30378 * gst/gstelement.h:
30379 * gst/gstevent.c: (gst_event_new_segment_seek),
30380 (gst_event_new_flush):
30382 * gst/gstmessage.c: (_gst_message_initialize), (_gst_message_copy),
30383 (_gst_message_free), (gst_message_get_type), (gst_message_new),
30384 (gst_message_new_eos), (gst_message_new_error),
30385 (gst_message_new_warning), (gst_message_new_tag),
30386 (gst_message_new_state_changed), (gst_message_new_application),
30387 (gst_message_get_structure), (gst_message_parse_tag),
30388 (gst_message_parse_state_changed), (gst_message_parse_error),
30389 (gst_message_parse_warning):
30390 * gst/gstmessage.h:
30391 * gst/gstpad.c: (gst_real_pad_class_init), (gst_real_pad_init),
30392 (gst_real_pad_set_property), (gst_pad_set_active),
30393 (gst_pad_is_active), (gst_pad_set_blocked_async),
30394 (gst_pad_set_blocked), (gst_pad_is_blocked),
30395 (gst_pad_set_activate_function), (gst_pad_set_loop_function),
30396 (gst_pad_set_getrange_function), (gst_pad_set_acceptcaps_function),
30397 (gst_pad_set_fixatecaps_function), (gst_pad_set_setcaps_function),
30398 (gst_pad_unlink), (gst_pad_link_prepare_filtered),
30399 (gst_pad_link_filtered), (gst_pad_relink_filtered),
30400 (gst_real_pad_get_caps_unlocked), (gst_pad_get_caps),
30401 (gst_pad_peer_get_caps), (gst_pad_fixate_caps),
30402 (gst_pad_accept_caps), (gst_pad_peer_accept_caps),
30403 (gst_pad_set_caps), (gst_pad_configure_sink),
30404 (gst_pad_configure_src), (gst_pad_get_negotiated_caps),
30405 (gst_pad_get_filter_caps), (gst_pad_alloc_buffer),
30406 (gst_real_pad_dispose), (gst_real_pad_finalize),
30407 (handle_pad_block), (gst_pad_push), (gst_pad_pull_range),
30408 (gst_pad_event_default_dispatch), (gst_pad_event_default),
30409 (gst_pad_push_event), (gst_pad_send_event), (gst_pad_get_formats):
30411 * gst/gstpipeline.c: (gst_pipeline_init), (is_eos),
30412 (pipeline_bus_handler), (gst_pipeline_change_state),
30413 (gst_pipeline_get_scheduler), (gst_pipeline_get_bus):
30414 * gst/gstpipeline.h:
30416 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
30417 (gst_queue_finalize), (gst_queue_getcaps), (gst_queue_link_sink),
30418 (gst_queue_link_src), (gst_queue_bufferalloc),
30419 (gst_queue_locked_flush), (gst_queue_handle_sink_event),
30420 (gst_queue_is_empty), (gst_queue_is_filled), (gst_queue_chain),
30421 (gst_queue_loop), (gst_queue_handle_src_event),
30422 (gst_queue_handle_src_query), (gst_queue_src_activate),
30423 (gst_queue_change_state):
30425 * gst/gstscheduler.c: (gst_scheduler_init),
30426 (gst_scheduler_dispose), (gst_scheduler_create_task),
30427 (gst_scheduler_factory_create):
30428 * gst/gstscheduler.h:
30429 * gst/gststructure.c: (gst_structure_get_type),
30430 (gst_structure_copy_conditional):
30431 * gst/gststructure.h:
30432 * gst/gsttaginterface.h:
30433 * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
30434 (gst_task_init), (gst_task_dispose), (gst_task_create),
30435 (gst_task_get_state), (gst_task_start), (gst_task_stop),
30441 * gst/schedulers/Makefile.am:
30442 * gst/schedulers/cothreads_compat.h:
30443 * gst/schedulers/entryscheduler.c:
30444 * gst/schedulers/faircothreads.c:
30445 * gst/schedulers/faircothreads.h:
30446 * gst/schedulers/fairscheduler.c:
30447 * gst/schedulers/gstbasicscheduler.c:
30448 * gst/schedulers/gstoptimalscheduler.c:
30449 * gst/schedulers/gthread-cothreads.h:
30450 * gst/schedulers/threadscheduler.c:
30451 (gst_thread_scheduler_task_get_type),
30452 (gst_thread_scheduler_task_class_init),
30453 (gst_thread_scheduler_task_init),
30454 (gst_thread_scheduler_task_start),
30455 (gst_thread_scheduler_task_stop),
30456 (gst_thread_scheduler_task_pause), (gst_thread_scheduler_get_type),
30457 (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
30458 (gst_thread_scheduler_init), (gst_thread_scheduler_create_task),
30459 (gst_thread_scheduler_setup), (gst_thread_scheduler_reset),
30461 * libs/gst/Makefile.am:
30462 * libs/gst/bytestream/bytestream.c: (gst_bytestream_get_next_buf):
30463 * libs/gst/bytestream/filepad.c: (gst_file_pad_init),
30464 (gst_file_pad_parent_set):
30465 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
30466 (gst_dp_event_from_packet):
30467 * tests/complexity.c: (main):
30468 * tests/mass_elements.c: (main):
30469 * testsuite/states/locked.c: (message_received), (main):
30470 * testsuite/states/parent.c: (main):
30471 * tools/gst-inspect.c: (print_element_flag_info),
30472 (print_implementation_info), (print_pad_info):
30473 * tools/gst-launch.c: (check_intr), (play_handler), (event_loop),
30475 * tools/gst-md5sum.c: (event_loop), (main):
30476 * tools/gst-typefind.c: (main):
30477 * tools/gst-xmlinspect.c: (print_element_info):
30479 Added GstBus for mainloop integration.
30480 Added GstMessage for sending notifications on the bus.
30481 Added GstTask as an abstraction for pipeline entry points.
30483 Removed Schedulers.
30484 Simplified GstQueue for multithreaded core.
30485 Made _link threadsafe, removed old capsnego.
30486 Added STREAM_LOCK and PREROLL_LOCK in GstPad.
30487 Added pad blocking functions.
30488 Reworked scheduling functions in GstPad to prepare for
30489 scheduling updates soon.
30490 Moved events out of data stream.
30491 Simplified GstEvent types.
30492 Added return values to push/pull.
30493 Removed clocking from GstElement.
30494 Added prototypes for state change function for next merge.
30495 Removed iterate from bins and state change management.
30496 Fixed some elements, disabled others for now.
30497 Fixed -inspect and -launch.
30498 Added check for GstBus.
30500 2005-03-10 Wim Taymans <wim@fluendo.com>
30502 * docs/design/part-MT-refcounting.txt:
30503 * docs/design/part-clocks.txt:
30504 * docs/design/part-gstelement.txt:
30505 * docs/design/part-gstobject.txt:
30506 * docs/design/part-standards.txt:
30507 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
30508 (gst_bin_remove_func), (gst_bin_remove):
30512 * testsuite/clock/clock1.c: (main):
30513 * testsuite/clock/clock2.c: (gst_clock_debug), (element_wait),
30515 * testsuite/dlopen/loadgst.c: (do_test):
30516 * testsuite/refcounting/bin.c: (add_remove_test1),
30517 (add_remove_test2), (main):
30518 * testsuite/refcounting/element.c: (main):
30519 * testsuite/refcounting/element_pad.c: (main):
30520 * testsuite/refcounting/pad.c: (main):
30521 * tools/gst-launch.c: (sigint_handler_sighandler):
30522 * tools/gst-typefind.c: (main):
30524 Added doc about clock.
30525 removed gst_bin_iterate_recurse_up(), marked methods
30527 Fix more testsuites.
30529 2005-03-09 Wim Taymans <wim@fluendo.com>
30531 * gst/gstpad.c: (gst_pad_get_direction),
30532 (_gst_pad_default_fixate_foreach), (gst_pad_collectv),
30533 (gst_pad_collect_valist):
30534 * testsuite/bins/interface.c: (main):
30535 * testsuite/caps/audioscale.c: (test_caps):
30536 * testsuite/caps/caps.c: (test1), (test2), (test3):
30537 * testsuite/caps/deserialize.c: (main):
30538 * testsuite/caps/enumcaps.c: (main):
30539 * testsuite/caps/filtercaps.c: (main):
30540 * testsuite/caps/intersect2.c: (main):
30541 * testsuite/caps/random.c: (main):
30542 * testsuite/caps/renegotiate.c: (my_fixate), (main):
30543 * testsuite/caps/sets.c: (check_caps):
30544 * testsuite/caps/simplify.c: (check_caps), (main):
30545 * testsuite/caps/subtract.c: (check_caps):
30546 Fix _pad_get_direction wrt ghostpads.
30547 Fix caps testsuite.
30549 2005-03-09 Wim Taymans <wim@fluendo.com>
30551 * check/Makefile.am:
30552 * check/gst/gstbin.c: (START_TEST), (gst_bin_suite), (main):
30553 * check/gst/gstsystemclock.c: (START_TEST), (gst_clock_debug),
30554 (ok_callback), (error_callback), (gst_systemclock_suite), (main):
30555 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_index_func),
30556 (gst_bin_set_clock_func), (gst_bin_get_clock_func),
30557 (gst_bin_add_func), (gst_bin_add), (gst_bin_remove_func),
30558 (gst_bin_remove), (gst_bin_iterate_recurse_up),
30559 (bin_element_is_sink), (gst_bin_iterate_sinks),
30560 (gst_bin_iterate_all_by_interface):
30562 * gst/gstelement.c: (gst_element_init), (gst_element_error_full),
30563 (gst_element_change_state), (gst_element_dispose),
30564 (gst_element_finalize), (gst_element_set_loop_function):
30565 * gst/gstelement.h:
30566 * gst/gstiterator.c: (find_custom_fold_func):
30567 * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
30568 (gst_pad_collectv), (gst_pad_collect_valist),
30569 (gst_pad_template_new):
30570 * gst/gstpipeline.c: (gst_pipeline_class_init),
30571 (gst_pipeline_dispose), (gst_pipeline_set_property),
30572 (gst_pipeline_get_property), (gst_pipeline_get_clock_func),
30573 (gst_pipeline_get_clock), (gst_pipeline_use_clock),
30574 (gst_pipeline_set_clock), (gst_pipeline_auto_clock):
30576 * gst/schedulers/entryscheduler.c:
30577 * gst/schedulers/gstbasicscheduler.c:
30578 (gst_basic_scheduler_cothreaded_chain),
30579 (gst_basic_scheduler_chain_add_element):
30580 * testsuite/bins/interface.c: (main):
30582 Added GstSystemClock test.
30583 Implemented clock distribution code in GstBin.
30584 Implemented iterate sinks method for future use.
30585 Rearranged gstelement.h
30586 Fix GstIterator comparison bug.
30587 Moved some code to GstPipeline, mostly clocking related.
30589 2005-03-09 Wim Taymans <wim@fluendo.com>
30592 * gst/gst_private.h:
30593 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
30594 (gst_bin_remove_func), (gst_bin_remove),
30595 (gst_bin_get_by_name_recurse_up):
30596 * gst/gstclock.c: (gst_clock_id_ref), (gst_clock_id_unref),
30597 (gst_clock_id_compare_func), (gst_clock_id_wait),
30598 (gst_clock_id_wait_async), (gst_clock_init),
30599 (gst_clock_adjust_unlocked), (gst_clock_get_time):
30600 * gst/gstelement.h:
30601 * gst/gstinfo.c: (_gst_debug_init):
30603 * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
30604 (gst_pad_collectv), (gst_pad_collect_valist), (gst_pad_query):
30606 Bump version number, we're now 0.9.0
30607 Add future debugging category.
30608 Fix NULL _unref() in _get_by_name_recurse_up
30609 Rearrange gstpad.h.
30612 2005-03-08 Wim Taymans <wim@fluendo.com>
30614 * gst/elements/gstaggregator.c: (gst_aggregator_class_init):
30615 * gst/elements/gstfakesink.c: (gst_fakesink_class_init):
30616 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
30617 * gst/elements/gstfdsink.c: (gst_fdsink_class_init):
30618 * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init):
30619 * gst/elements/gstfilesink.c: (gst_filesink_class_init):
30620 * gst/elements/gstfilesrc.c: (gst_filesrc_class_init):
30621 * gst/elements/gstidentity.c: (gst_identity_class_init):
30622 * gst/elements/gstmd5sink.c: (gst_md5sink_class_init):
30623 * gst/elements/gstmultifilesrc.c: (gst_multifilesrc_class_init):
30624 * gst/elements/gstshaper.c: (gst_shaper_class_init):
30625 * gst/elements/gststatistics.c: (gst_statistics_class_init):
30626 * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_getcaps),
30628 * gst/gstelement.c: (gst_element_class_init),
30629 (gst_element_base_class_init), (gst_element_init),
30630 (gst_element_get_random_pad), (gst_element_wait_state_change),
30631 (gst_element_change_state), (gst_element_dispose),
30632 (gst_element_finalize), (gst_element_set_loop_function):
30633 * gst/gstelement.h:
30634 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_link_src):
30635 * gst/gstthread.c: (gst_thread_class_init),
30636 (gst_thread_release_children_locks), (gst_thread_change_state):
30637 * gst/schedulers/gstbasicscheduler.c:
30638 (gst_basic_scheduler_loopfunc_wrapper),
30639 (gst_basic_scheduler_chain_wrapper),
30640 (gst_basic_scheduler_src_wrapper),
30641 (gst_basic_scheduler_remove_element):
30642 * gst/schedulers/gstoptimalscheduler.c: (schedule_group):
30643 Remove threadsafe properties. Fix elements because GObject
30644 complains when installing a property before declaring a
30645 set/get_property handler.
30646 Rearrange gstelement.h file, use STATE macros for state locks.
30647 Free mutexes in the finalize method instead of dispose.
30649 2005-03-08 Wim Taymans <wim@fluendo.com>
30651 * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
30652 * gst/gstthread.c: (gst_thread_release_children_locks):
30653 Added parentage check.
30654 Fix build og GstThread again.
30656 2005-03-08 Wim Taymans <wim@fluendo.com>
30658 * docs/design/part-MT-refcounting.txt:
30659 * docs/design/part-conventions.txt:
30660 * docs/design/part-gstobject.txt:
30661 * docs/design/part-relations.txt:
30662 * docs/design/part-standards.txt:
30663 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
30664 (gst_bin_remove_func), (gst_bin_remove), (gst_bin_iterate_recurse),
30665 (gst_bin_get_by_name), (gst_bin_get_by_interface),
30666 (gst_bin_iterate_all_by_interface):
30669 * gst/gstelement.c: (gst_element_class_init),
30670 (gst_element_change_state), (gst_element_set_loop_function):
30671 * gst/gstelement.h:
30672 * gst/gstiterator.c:
30673 * gst/gstobject.c: (gst_object_class_init), (gst_object_ref),
30674 (gst_object_unref), (gst_object_sink), (gst_object_dispose),
30675 (gst_object_dispatch_properties_changed), (gst_object_set_name),
30676 (gst_object_set_parent), (gst_object_unparent),
30677 (gst_object_check_uniqueness):
30679 Docs updates, clean up some headers.
30681 2005-03-07 Wim Taymans <wim@fluendo.com>
30683 * check/.cvsignore:
30684 * check/Makefile.am:
30685 * check/gst-libs/.cvsignore:
30686 * check/gst-libs/gdp.c: (START_TEST), (gst_object_suite), (main):
30687 * check/gst/.cvsignore:
30688 * check/gst/gstbus.c: (pound_bus_with_messages), (pull_messages),
30689 (START_TEST), (gstbus_suite), (main):
30690 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite), (main):
30691 * check/gst/gstdata.c: (START_TEST), (thread_ref), (thread_unref),
30692 (gst_data_suite), (main):
30693 * check/gst/gstiterator.c: (make_list_of_ints), (START_TEST),
30694 (add_fold_func), (gstiterator_suite), (main):
30695 * check/gst/gstobject.c: (gst_fake_object_get_type), (START_TEST),
30696 (thread_name_object), (thread_name_object_default),
30697 (gst_object_name_compare), (gst_object_suite), (main):
30698 * check/gst/gstpad.c: (START_TEST), (thread_link_unlink),
30699 (gst_pad_suite), (main):
30700 * check/gstcheck.c: (gst_check_log_message_func),
30701 (gst_check_log_critical_func), (gst_check_init):
30702 * check/gstcheck.h:
30703 * check/pipelines/simple_launch_lines.c: (setup_pipeline),
30704 (run_pipeline), (START_TEST), (simple_launch_lines_suite), (main):
30707 2005-03-07 Wim Taymans <wim@fluendo.com>
30709 * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
30710 (gst_list_iterator_next), (gst_list_iterator_resync),
30711 (gst_list_iterator_free), (gst_iterator_new_list),
30712 (gst_iterator_pop), (gst_iterator_next), (gst_iterator_resync),
30713 (gst_iterator_free), (gst_iterator_push), (filter_next),
30714 (filter_resync), (filter_uninit), (filter_free),
30715 (gst_iterator_filter), (gst_iterator_fold), (foreach_fold_func),
30716 (gst_iterator_foreach), (find_custom_fold_func),
30717 (gst_iterator_find_custom):
30718 * gst/gstiterator.h:
30719 Added missing files.
30721 2005-03-07 Wim Taymans <wim@fluendo.com>
30725 * docs/design/part-MT-refcounting.txt:
30726 * docs/design/part-conventions.txt:
30727 * docs/design/part-gstobject.txt:
30728 * docs/design/part-relations.txt:
30729 * examples/mixer/mixer.c: (main):
30730 * examples/thread/thread.c: (eos), (main):
30732 * gst/autoplug/gstsearchfuncs.c: (gst_autoplug_caps_intersect):
30733 * gst/autoplug/gstspider.c: (gst_spider_identity_plug),
30734 (gst_spider_plug_from_srcpad):
30735 * gst/autoplug/gstspideridentity.c: (gst_spider_identity_getcaps),
30736 (gst_spider_identity_change_state),
30737 (gst_spider_identity_sink_loop_type_finding):
30738 * gst/elements/gstfakesrc.c: (gst_fakesrc_loop):
30739 * gst/elements/gstidentity.c: (gst_identity_init):
30740 * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_getcaps),
30741 (gst_tee_link), (gst_tee_request_new_pad), (gst_tee_chain):
30742 * gst/elements/gsttypefindelement.c: (free_entry):
30745 * gst/gstbin.c: (gst_bin_init), (gst_bin_get_clock_func),
30746 (gst_bin_set_clock_func), (gst_bin_auto_clock),
30747 (gst_bin_set_index), (gst_bin_set_element_sched),
30748 (gst_bin_unset_element_sched), (gst_bin_add_func), (gst_bin_add),
30749 (gst_bin_remove_func), (gst_bin_remove), (iterate_child),
30750 (gst_bin_iterate_elements), (iterate_child_recurse),
30751 (gst_bin_iterate_recurse), (gst_bin_dispose), (compare_name),
30752 (gst_bin_get_by_name), (gst_bin_get_by_name_recurse_up),
30753 (compare_interface), (gst_bin_get_by_interface),
30754 (gst_bin_iterate_all_by_interface), (gst_bin_iterate_func):
30756 * gst/gstbuffer.c: (gst_buffer_get_type), (_gst_buffer_sub_free),
30757 (gst_buffer_default_free), (gst_buffer_default_copy),
30758 (gst_buffer_new), (gst_buffer_get_caps), (gst_buffer_set_caps),
30759 (gst_buffer_create_sub):
30761 * gst/gstcaps.c: (gst_caps_get_type), (gst_caps_new_empty),
30762 (_gst_caps_free), (gst_caps_make_writable), (gst_caps_ref),
30763 (gst_caps_unref), (gst_static_caps_get),
30764 (gst_caps_remove_and_get_structure), (gst_caps_append),
30765 (gst_caps_append_structure), (gst_caps_remove_structure),
30766 (gst_caps_copy_nth), (gst_caps_set_simple),
30767 (gst_caps_set_simple_valist), (gst_caps_is_fixed_foreach),
30768 (gst_structure_is_equal_foreach), (gst_caps_is_subset),
30769 (gst_caps_structure_intersect_field), (gst_caps_intersect),
30770 (gst_caps_structure_subtract_field), (gst_caps_subtract),
30771 (gst_caps_normalize_foreach), (gst_caps_compare_structures),
30772 (gst_caps_structure_figure_out_union),
30773 (gst_caps_switch_structures), (gst_caps_do_simplify),
30774 (gst_caps_replace), (gst_caps_from_string),
30775 (gst_caps_copy_conditional):
30777 * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_ref),
30778 (_gst_clock_id_free), (gst_clock_id_unref),
30779 (gst_clock_id_compare_func), (gst_clock_id_wait),
30780 (gst_clock_id_wait_async), (gst_clock_class_init),
30781 (gst_clock_init), (gst_clock_dispose), (gst_clock_adjust_unlocked),
30782 (gst_clock_get_time), (gst_clock_set_time_adjust),
30783 (gst_clock_set_property), (gst_clock_get_property):
30786 * gst/gstcpu.c: (_gst_cpu_initialize_i386), (gst_cpu_get_flags):
30787 * gst/gstdata.c: (gst_data_is_writable), (gst_data_copy_on_write):
30789 * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
30790 (gst_element_requires_clock), (gst_element_provides_clock),
30791 (gst_element_set_clock), (gst_element_clock_wait),
30792 (gst_element_wait), (gst_element_set_time_delay),
30793 (gst_element_is_indexable), (gst_element_add_pad),
30794 (gst_element_add_ghost_pad), (gst_element_remove_pad),
30795 (pad_compare_name), (gst_element_get_static_pad),
30796 (gst_element_request_pad), (gst_element_get_request_pad),
30797 (gst_element_get_pad), (iterate_pad), (gst_element_iterate_pads),
30798 (gst_element_class_get_pad_template_list),
30799 (gst_element_class_get_pad_template), (gst_element_error_func),
30800 (gst_element_get_random_pad), (gst_element_get_event_masks),
30801 (gst_element_send_event), (gst_element_seek),
30802 (gst_element_get_query_types), (gst_element_query),
30803 (gst_element_get_formats), (gst_element_convert),
30804 (gst_element_is_locked_state), (gst_element_set_locked_state),
30805 (gst_element_sync_state_with_parent), (gst_element_change_state),
30806 (gst_element_finalize), (gst_element_yield),
30807 (gst_element_interrupt), (gst_element_set_scheduler),
30808 (gst_element_get_scheduler), (gst_element_set_loop_function):
30809 * gst/gstelement.h:
30811 * gst/gstformat.c: (_gst_format_initialize), (gst_format_register),
30812 (gst_format_get_by_nick), (gst_format_get_details),
30813 (gst_format_iterate_definitions):
30815 * gst/gstindex.c: (gst_index_gtype_resolver):
30818 * gst/gstmemchunk.c: (gst_mem_chunk_alloc), (gst_mem_chunk_alloc0),
30819 (gst_mem_chunk_free):
30820 * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
30821 (gst_object_ref), (gst_object_unref), (gst_object_sink),
30822 (gst_object_replace), (gst_object_dispose), (gst_object_finalize),
30823 (gst_object_dispatch_properties_changed),
30824 (gst_object_set_name_default), (gst_object_set_name),
30825 (gst_object_get_name), (gst_object_set_name_prefix),
30826 (gst_object_get_name_prefix), (gst_object_set_parent),
30827 (gst_object_get_parent), (gst_object_unparent),
30828 (gst_object_check_uniqueness), (gst_object_save_thyself),
30829 (gst_object_restore_thyself), (gst_object_real_restore_thyself),
30830 (gst_object_set_property), (gst_object_get_property),
30831 (gst_object_get_path_string):
30833 * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
30834 (gst_real_pad_init), (gst_real_pad_get_property),
30835 (gst_pad_custom_new), (gst_pad_get_direction),
30836 (gst_pad_set_active), (gst_pad_is_active),
30837 (gst_pad_set_event_function), (gst_pad_is_linked),
30838 (gst_pad_link_free), (gst_pad_link_intersect),
30839 (gst_pad_link_fixate), (gst_pad_set_caps),
30840 (gst_pad_try_set_caps_nonfixed), (gst_pad_set_pad_template),
30841 (gst_pad_get_real_parent), (gst_pad_add_ghost_pad),
30842 (gst_pad_remove_ghost_pad), (_gst_pad_default_fixate_foreach),
30843 (gst_pad_link_unnegotiate), (gst_pad_proxy_fixate),
30844 (gst_pad_get_caps), (gst_pad_peer_get_caps),
30845 (gst_pad_get_pad_template_caps), (gst_pad_get_peer),
30846 (gst_pad_realize), (gst_pad_get_allowed_caps),
30847 (gst_real_pad_dispose), (gst_real_pad_finalize),
30848 (gst_pad_collectv), (gst_pad_collect_valist),
30849 (gst_pad_template_dispose), (gst_pad_template_new),
30850 (gst_pad_get_internal_links):
30852 * gst/gstpipeline.c: (gst_pipeline_dispose),
30853 (gst_pipeline_change_state):
30854 * gst/gstpipeline.h:
30856 * gst/gstpluginfeature.c: (gst_plugin_feature_get_name),
30857 (gst_plugin_feature_set_rank), (gst_plugin_feature_get_rank):
30858 * gst/gstpluginfeature.h:
30859 * gst/gstprobe.c: (gst_probe_dispatcher_dispatch):
30860 * gst/gstquery.c: (_gst_query_type_initialize),
30861 (gst_query_type_register), (gst_query_type_get_by_nick),
30862 (gst_query_type_get_details), (gst_query_type_iterate_definitions):
30864 * gst/gstqueue.c: (gst_queue_link_sink), (gst_queue_link_src):
30865 * gst/gstscheduler.c: (gst_scheduler_add_element),
30866 (gst_scheduler_factory_create):
30867 * gst/gststructure.c: (gst_structure_set_parent_refcount),
30868 (gst_structure_free), (gst_structure_set_name),
30869 (gst_structure_id_set_value), (gst_structure_set_value),
30870 (gst_structure_set_valist), (gst_structure_remove_field),
30871 (gst_structure_remove_fields),
30872 (gst_structure_remove_fields_valist),
30873 (gst_structure_remove_all_fields), (gst_structure_foreach),
30874 (gst_structure_map_in_place),
30875 (gst_caps_structure_fixate_field_nearest_int),
30876 (gst_caps_structure_fixate_field_nearest_double):
30877 * gst/gststructure.h:
30878 * gst/gstsystemclock.c: (gst_system_clock_class_init),
30879 (gst_system_clock_init), (gst_system_clock_dispose),
30880 (gst_system_clock_async_thread),
30881 (gst_system_clock_id_wait_unlocked), (gst_system_clock_id_wait),
30882 (gst_system_clock_id_wait_async), (gst_system_clock_id_unschedule):
30883 * gst/gstsystemclock.h:
30884 * gst/gsttag.c: (gst_tag_list_add_value_internal),
30885 (gst_tag_list_copy_foreach), (structure_foreach_wrapper):
30886 * gst/gsttaginterface.c:
30887 * gst/gstthread.c: (gst_thread_dispose),
30888 (gst_thread_release_children_locks), (gst_thread_change_state),
30889 (gst_thread_main_loop):
30890 * gst/gsttrashstack.h:
30891 * gst/gsttypefind.c: (gst_type_find_factory_dispose):
30893 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
30894 (gst_element_request_pad), (gst_element_get_pad_from_template),
30895 (gst_element_request_compatible_pad),
30896 (gst_element_get_compatible_pad_filtered),
30897 (gst_element_get_compatible_pad), (gst_element_state_get_name),
30898 (gst_element_link_pads_filtered), (gst_element_link_filtered),
30899 (gst_element_link_many), (gst_element_link),
30900 (gst_element_link_pads), (gst_element_unlink_pads),
30901 (gst_element_unlink_many), (gst_element_unlink),
30902 (gst_pad_can_link_filtered), (gst_pad_can_link),
30903 (gst_pad_use_fixed_caps), (gst_pad_get_fixed_caps_func),
30904 (gst_object_default_error), (gst_bin_add_many),
30905 (gst_bin_remove_many), (gst_element_populate_std_props),
30906 (gst_element_class_install_std_props), (gst_buffer_merge),
30907 (gst_buffer_stamp), (intersect_caps_func), (gst_pad_proxy_getcaps),
30908 (link_fold_func), (gst_pad_proxy_setcaps):
30910 * gst/gstvalue.c: (gst_value_deserialize_string):
30911 * gst/parse/grammar.y:
30912 * gst/schedulers/gstbasicscheduler.c:
30913 (gst_basic_scheduler_cothreaded_chain),
30914 (gst_basic_scheduler_chain_recursive_add),
30915 (gst_basic_scheduler_pad_link):
30916 * gst/schedulers/gstoptimalscheduler.c:
30917 (get_group_schedule_function),
30918 (gst_opt_scheduler_state_transition),
30919 (gst_opt_scheduler_add_element), (element_get_reachables_func):
30920 * libs/gst/bytestream/bytestream.c:
30921 * libs/gst/dataprotocol/dataprotocol.c:
30922 (gst_dp_header_from_buffer):
30925 * tests/threadstate/threadstate2.c: (eos):
30926 * tools/gst-compprep.c: (main):
30927 * tools/gst-inspect.c: (print_field), (print_element_flag_info),
30928 (print_pad_info), (print_children_info):
30929 * tools/gst-launch.c: (idle_func), (main):
30930 * tools/gst-md5sum.c: (idle_func), (main):
30931 * tools/gst-xmlinspect.c: (print_element_info):
30932 First THREADED backport attempt, focusing on adding locks and
30933 making sure the API is threadsafe. Needs more work. More docs
30936 2005-02-24 Andy Wingo <wingo@pobox.com>
30938 * tests/bench-complexity.scm:
30939 * tests/complexity.gnuplot: New files, good for running complexity
30942 * tests/Makefile.am:
30943 * tests/complexity.c: New test, sets up N elements, at each level
30944 teeing into M streams per element. Eeeenteresting.
30946 * tests/mass_elements.gnuplot: gnuplot file for the mass_elements
30947 benchmark. Run as gnuplot mass_elements.gnuplot > foo.ps, after
30948 running bench-mass_elements.scm.
30950 * tests/bench-mass_elements.scm: New script, runs mass_elements
30951 for various numbers of identities, outputting the results to a
30952 file. Requires guile 1.6. Just for testing.
30954 2005-02-23 Thomas Vander Stichele <thomas at apestaart dot org>
30956 * gst/schedulers/fairscheduler.c:
30957 compile with debug disabled
30959 2005-02-22 Thomas Vander Stichele <thomas at apestaart dot org>
30962 hunting season on 0.9 is now OPEN