=== release 0.10.21 === 2008-10-02 Jan Schmidt * configure.ac: releasing 0.10.21, "Take These Things From Me" 2008-09-28 Jan Schmidt * configure.ac: 0.10.20.4 pre-release 2008-09-28 Jan Schmidt * libs/gst/base/gstbasetransform.c: * plugins/elements/gstcapsfilter.c: * tests/check/Makefile.am: * tests/check/elements/.cvsignore: * tests/check/elements/capsfilter.c: Fix assertion in basetransform when the subclass chooses not to allocate a buffer in prepare_buffer(), and make capsfilter error out cleanly if requested to apply caps that don't completely specify the buffer. Fixes #551509 2008-09-24 Wim Taymans * libs/gst/base/gstbasetransform.c: (gst_base_transform_prepare_output_buffer): Take new caps ref because our old one might have been gone when the subclass performs a gst_pad_set_caps() on the srcpad. See #548764. 2008-09-15 Stefan Kost * configure.ac: Do not probe availability of check unit test library when cross compiling, as test would not work anyway. Also cleanup verbose output of the check test. Fixes #551952. 2008-09-14 Wim Taymans Based on patch by: Antoine Tremblay * gst/gstelement.c: (gst_element_sync_state_with_parent): Avoid leaking the parent ref when we fail changing the state of the element using gst_element_sync_state_with_parent(). Fixes #551978. 2008-09-11 Tim-Philipp Müller * docs/manual/intro-motivation.xml:: Remove some bits that no longer apply, update others (#551642). 2008-09-10 Jan Schmidt * configure.ac: 0.10.20.2 pre-release * po/LINGUAS: * po/id.po: * po/pt_BR.po: New translations. 2008-09-09 Tim-Philipp Müller * win32/common/config.h.in: Add GST_DATADIR, hard-code cpu to x86. * win32/common/libgstreamer.def: Spaces to tabs. 2008-09-03 Tim-Philipp Müller * gst/gsttaglist.h: Fix Since: markers for new geo tags. 2008-09-02 Stefan Kost * gst/gsttaglist.h: Fix actual tag name define after renaming from altitude to elevation. 2008-09-01 Wim Taymans * gst/gstpad.c: (add_unref_pad_to_list), (gst_pad_get_internal_links_default): Add fallback when calling the deprecated function on an element that implements the new internal_link handler. 2008-09-01 Stefan Kost * docs/gst/gstreamer-sections.txt: * gst/gsttaglist.c: * gst/gsttaglist.h: Add new tags for geo location and clarify purpose of existing location tag. Fixes #481169 2008-09-01 Wim Taymans Patch by: Olivier Crete * gst/gstpad.c: (gst_pad_iterate_internal_links_default), (gst_pad_event_default_dispatch), (gst_pad_dispatcher): Use thread-safe internal links iterator. Fixes #549504. 2008-09-01 Wim Taymans Based on patch by: Olivier Crete * docs/gst/gstreamer-sections.txt: * win32/common/libgstreamer.def: * gst/gstpad.c: (gst_pad_init), (gst_pad_set_iterate_internal_links_function), (int_link_iter_data_free), (iterate_pad), (gst_pad_iterate_internal_links_default), (gst_pad_iterate_internal_links), (gst_pad_get_internal_links): * gst/gstpad.h: Add threadsafe replacement functions for getting internal links of an element. Deprecate the old internal links functions. API:GstPad::gst_pad_set_iterate_internal_links_function() API:GstPad::GstPadIterIntLinkFunction API:GstPad::gst_pad_iterate_internal_links() API:GstPad::gst_pad_iterate_internal_links_default() * gst/gstghostpad.c: (gst_proxy_pad_do_iterate_internal_links), (gst_proxy_pad_init): Implement threadsafe internal links. * tests/check/elements/tee.c: (GST_START_TEST), (tee_suite): Unit test for internal links on tee. See #549504. 2008-08-30 Edward Hervey * tests/check/Makefile.am: libs/transform1 test requires libs/test_transform.c 2008-08-30 Edward Hervey * gst/gstpad.c: (gst_pad_get_internal_links_default): Die evil deadlock, die ! 2008-08-30 Edward Hervey * gst/gstutils.c: (gst_element_get_compatible_pad): * tests/check/gst/gstghostpad.c: (GST_START_TEST): * tests/check/gst/gstpad.c: (name_is_valid), (GST_START_TEST): Fix all leaks due to the bug in gst_pad_template_new() by which it does not steal the refcount of the given caps as stated. REVERT THIS COMMIT ONCE FIXED ! REVERT THIS COMMIT ONCE FIXED ! REVERT THIS COMMIT ONCE FIXED ! REVERT THIS COMMIT ONCE FIXED ! REVERT THIS COMMIT ONCE FIXED ! REVERT THIS COMMIT ONCE FIXED ! 2008-08-29 Wim Taymans * gst/gstiterator.c: * gst/gstiterator.h: After 3 years it's about time to revise the documentation of the iterator objects. 2008-08-29 Wim Taymans * gst/gstpad.c: (gst_pad_get_internal_links_default): Make the internal links function less thread-unsafe and add some comments, dunno why. 2008-08-29 Tim-Philipp Müller * gst/gst_private.h: Include gstinfo.h even if GST_DISABLE_GST_DEBUG is defined. Fixes build with --disable-gst-debug. 2008-08-28 David Schleef * gst/gstpadtemplate.c: Revert last change, since it breaks a few plugins, ffmpeg, alaw, and mulaw. Code is correct, but shouldn't be enabled until we've released fixed versions of -good and -ffmpeg. 2008-08-28 Stefan Kost * gst/gstobject.c: Put the gst_object_get_name() back in. 2008-08-28 Stefan Kost * gst/gstpadtemplate.c: The old behaviour was that gst_pad_template_new() takes ownership of the caps. As we now call g_object_new() which calls g_object_set() and which copies the caps, we have to unref them to not leak them. Fixes make valgrid for me. 2008-08-28 Stefan Kost * gst/gsturi.c: Don't segfault on input like "tel:+1-123-555-1234". 2008-08-27 Stefan Kost * gst/gstobject.c: Due to popular request also include ObjectType in gst_object_get_path_string(). Makes gst-launch -v bit more useful. 2008-08-26 David Schleef * gst/gstutils.c: Remove check in gst_pad_query_convert() that src_val must be positive, because that's not a requirement. This causes problems with converting negative granulepos values for Dirac. * gst/gstquery.c: Same, gst_query_new_convert(). 2008-08-25 Wim Taymans * gst/gstclock.c: (gst_clock_add_observation): Add some more debugging to the clock slaving code. * win32/common/libgstbase.def: Add new basetransform method. 2008-08-25 Wim Taymans * gst/gstbin.c: (gst_bin_element_set_state): Take the (recursive) state lock between getting the locked state of an element and changing the element state. This allows the application to lock an element's state and then change its state without races. 2008-08-25 Wim Taymans * gst/gstbin.c: (gst_bin_element_set_state): When an element is in the locked state we still want to update the base_time of the element. 2008-08-21 Wim Taymans * libs/gst/base/gstbasesrc.c: (gst_base_src_default_negotiate): Use the result from gst_pad_set_caps() instead of assuming the element always accepted the caps computed by the default negotiate function. 2008-08-20 Wim Taymans * docs/libs/gstreamer-libs-sections.txt: * libs/gst/base/gstbasetransform.c: (gst_base_transform_handle_buffer), (gst_base_transform_getrange), (gst_base_transform_chain), (gst_base_transform_suggest), (gst_base_transform_reconfigure): * libs/gst/base/gstbasetransform.h: Implement method for reconfiguring basetransform. API: GstBaseTransform::gst_base_transform_reconfigure() 2008-08-20 Stefan Kost patch by: Murray Cumming * gst/gstutils.c: Mention that this is just like gst_buffer_merge() but with extra unreffing for C coders. Advise language bindings not to wrap it. Fixes Bug #533856. Also fix file comment. 2008-08-20 Stefan Kost reviewed by: Wim Taymans * plugins/elements/gstfakesink.c: * plugins/elements/gstfakesrc.c: Call super::event() when not handling it. Fixes #544855. 2008-08-19 Michael Smith Patch by: Alessandro Decina * plugins/elements/gstfilesrc.c: Use 64 bit variants of stat functions on win32, to enable support of large files there. Fixes #547277. 2008-08-19 Wim Taymans * libs/gst/base/gstbasesink.c: (gst_base_sink_render_object), (gst_base_sink_event), (gst_base_sink_chain_unlocked), (gst_base_sink_negotiate_pull), (gst_base_sink_pad_activate_pull), (gst_base_sink_get_position), (gst_base_sink_change_state): Improve position reporting in the flushing state. Also report the position when we are not yet prerolled but we have a newsegment event. Fixes #543444. Improve the pull-based negotiation code. * tests/check/elements/fakesink.c: (GST_START_TEST), (fakesink_suite): Add testcase for position reporting while flushing in PAUSED and PLAYING. * tests/check/generic/sinks.c: (GST_START_TEST): Update unit-test, we can now query the position as soon as we receive a NEWSEGMENT event. 2008-08-19 Wim Taymans Based on patch by: Jason Zhao * libs/gst/base/gstbasesink.c: (gst_base_sink_render_object): When the subclass event handler releases the PREROLL_LOCK, we could be in the flushing state and we have to ignore the event. Fixes #548394. 2008-08-18 Tim-Philipp Müller * tools/gst-launch.1.in: Document GST_REGISTRY_UPDATE environment variable. 2008-08-18 Wim Taymans * libs/gst/base/gstbasetransform.c: (gst_base_transform_prepare_output_buffer): If the element is configured in passthrough mode but the prepare_output_buffer gave us a new output buffer, discard that buffer and reuse the input buffer. 2008-08-15 Wim Taymans Patch by: Ole André Vadla Ravnås * plugins/elements/gsttee.c: (gst_tee_finalize), (gst_tee_init), (gst_tee_request_new_pad), (gst_tee_release_pad), (gst_tee_find_buffer_alloc), (gst_tee_buffer_alloc): * plugins/elements/gsttee.h: Protect pad_alloc with a new lock so that we can be sure that nothing is performing a pad_alloc when removing the pad. Fixes #547835. * tests/check/elements/tee.c: (buffer_alloc_harness_setup), (buffer_alloc_harness_teardown), (app_thread_func), (final_sinkpad_bufferalloc), (GST_START_TEST), (tee_suite): Added testcase for shutdown race. 2008-08-14 Thijs Vermeir * gst/gstpad.h: Add doc 2008-08-14 Wim Taymans * libs/gst/base/gstbasetransform.c: (gst_base_transform_prepare_output_buffer), (gst_base_transform_buffer_alloc): Go over the buffer_alloc function again and make sure we always end up allocating a buffer. Add some more docs. Avoid doing pad alloc when we have a pending suggestion because we cannot yet deal with changing caps in that case. Fixes #547728 2008-08-14 Stefan Kost patch by: Luc Pionchon * docs/manual/advanced-clocks.xml: * docs/manual/clocks.png: * docs/manual/diagrams-clocks.svg: Add one more image showing different times together with a describing paragraph. Fixes #547729. 2008-08-14 Wim Taymans * win32/common/libgstbase.def: Add new method. 2008-08-14 Wim Taymans * libs/gst/base/gstbasetransform.c: (gst_base_transform_transform_caps), (gst_base_transform_prepare_output_buffer), (gst_base_transform_buffer_alloc), (gst_base_transform_suggest): Don't overwrite the outsize when calculating the expected size of a new buffer because we still need it in case we cannot process the new buffer. When converting the size of the new buffer to an upstream size, actually use the expected size of the buffer, not some other random value. Use an atomic int to signal that a new upstream caps suggestion is available. When we can convert the current buffer to a new format, check if the buffer size is of the expected size and allocate a new buffer of the expected size when this is not the case. Fixes #546883. * tests/check/libs/transform1.c: (GST_START_TEST): remove ifdeffed code from the unit test. 2008-08-12 Stefan Kost * pkgconfig/gstreamer-uninstalled.pc.in: * pkgconfig/gstreamer.pc.in: Remove -lgstcontrol-0.10 which never worked anyway as the lib is called gstcontroller-0.10. 2008-08-12 Stefan Kost * gst/gstchildproxy.h: * gst/gstpreset.h: Remove double interface from doc-string. 2008-08-12 Stefan Kost * libs/gst/base/gstbasesrc.c: * libs/gst/base/gstbasetransform.c: Fix headings in docs and gtk-doc warnings. 2008-08-11 Michael Smith * gst/gstregistrybinary.c: Don't use g_mkstmp() on win32, it's unsafe if glib is using a different libc. Fixes #544776. 2008-08-11 Edward Hervey * libs/gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc): Fix a "may be used unitialized" warning. 2008-08-11 Stefan Kost * docs/gst/gstreamer-sections.txt: * gst/gstpreset.h: Document preset-iface vmethods. 2008-08-11 Stefan Kost * docs/manual/advanced-interfaces.xml: Turn thoughts about HAL into a note-tag. Remove mentioning that is only used to discover devices. 2008-08-07 Tim-Philipp Müller Patch by: Frederic Crozat * gst/gst.c: (init_pre): Make sure gettext returns translations in UTF-8 encoding rather than in the current locale encoding (#546822). 2008-08-07 Wim Taymans * gst/gstcaps.c: (gst_caps_structure_is_subset_field): Fix subset test. * tests/check/gst/gstcaps.c: (GST_START_TEST): Improve unit test subset tests and add a testcase for the subset failure cases. * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite): Improve subtraction unit test. 2008-08-07 Stefan Kost * plugins/elements/gsttee.c: Unlock, instead of locking again. 2008-08-05 Wim Taymans * gst/gstpad.h: Clarify the docs a bit more. 2008-08-05 Stefan Kost * tests/examples/metadata/read-metadata.c: Don't leak old taglist. 2008-08-05 Wim Taymans Patch by: Olivier Crete * gst/gststructure.c: (gst_structure_fixate_field_nearest_fraction): Avoid overflows in fixation code when dealing with MAXINT values, which v4l2src seems to do. Fixes #546328. * tests/check/gst/gststructure.c: (GST_START_TEST): Make a unit test to check the fix. 2008-08-05 Wim Taymans * plugins/elements/gstcapsfilter.c: (copy_func), (gst_capsfilter_set_property): Use new caps suggestion feature of basetransform to request a caps negotiation upstream. 2008-08-05 Wim Taymans * docs/libs/gstreamer-libs-sections.txt: Add new function: API: GstBaseTransform::gst_base_transform_suggest() * libs/gst/base/gstbasetransform.c: (gst_base_transform_finalize), (gst_base_transform_init), (gst_base_transform_transform_caps), (gst_base_transform_transform_size), (gst_base_transform_configure_caps), (gst_base_transform_can_transform), (gst_base_transform_find_transform), (gst_base_transform_setcaps), (gst_base_transform_prepare_output_buffer), (gst_base_transform_buffer_alloc), (gst_base_transform_handle_buffer), (gst_base_transform_getrange), (gst_base_transform_chain), (gst_base_transform_activate), (gst_base_transform_set_passthrough), (gst_base_transform_is_passthrough), (gst_base_transform_set_in_place), (gst_base_transform_is_in_place), (gst_base_transform_update_qos), (gst_base_transform_set_qos_enabled), (gst_base_transform_is_qos_enabled), (gst_base_transform_set_gap_aware), (gst_base_transform_suggest), (gst_base_transform_reconfigure): * libs/gst/base/gstbasetransform.h: Rewrite of basetransform to perform negotiation outside of the buffer_alloc functions. Fixes #545853. * tests/check/libs/transform1.c: (GST_START_TEST), (buffer_alloc_ct2): Update unit test. 2008-08-05 Stefan Kost * tests/check/gst/gstpreset.c: Only run preset tests when $HOME is writable. Preliminary fix for #545433. 2008-08-04 Wim Taymans * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func), (gst_bin_change_state_func), (bin_handle_async_done), (gst_bin_handle_message_func): Fix race for bins that simulate ASYNC state changes by inserting ASYNC_START and ASYNC_DONE messages in their bus. We need to check for pending ASYNC messages even when the bin does not have ASYNC children. We note detect this behaviour because we will receive an ASYNC message that is originating from the bin itself. Fixes races with decodebin2 state changes. * tests/check/gst/gstbin.c: (GST_START_TEST): Add some more debug. 2008-08-04 Tim-Philipp Müller * gst/gsttaglist.c: (_gst_tag_initialize): Fix typo. 2008-08-04 Stefan Kost * gst/gsttaglist.c: Argh. actually save the text before committing. Now adds gst_tag_merge_strings_with_comma() to gst_tag_register(). 2008-08-04 Stefan Kost * gst/gsttaglist.c: * gst/gsttaglist.h: Do as tim pointed out and actually register the new tag. Also improve te docs and use gst_tag_merge_strings_with_comma() method to allow retriving all keywords merged in one list. 2008-08-01 Stefan Kost * configure.ac: * docs/gst/gstreamer.types: Revert 'accidential' change of the configure option removal. We still need to generate the types file in configure --disable-load-save. 2008-08-01 Stefan Kost * docs/gst/gstreamer-sections.txt: * gst/gsttaglist.h: Add new taglist item GST_TAG_KEYWORDS, needed for #520694 . 2008-08-01 Tim-Philipp Müller * gst/gstpadtemplate.c: (gst_pad_template_class_init), (gst_static_pad_template_get), (gst_pad_template_new), (gst_pad_template_pad_created), (gst_pad_template_set_property), (gst_pad_template_get_property): Add "name-template", "direction", "presence" and "caps" properties, so that gst_pad_template_new() is just a thin wrapper around g_object_new(), which is better for bindings. (Fixes: #539772) 2008-07-31 Michael Smith * gst/gsturi.c: Be more liberal in what URIs we accept. Do not unescape bits of the URI for no apparent reason before passing to the element. Fixes #545352. 2008-07-31 Sebastian Dröge Patch by: Robert Schwebel * gst/gst.c: Include gstconfig.h as macros from it are used. Fixes bug #545607. 2008-07-31 Sebastian Dröge * configure.ac: * docs/gst/gstreamer-sections.txt: * docs/gst/gstreamer.types: * docs/gst/gstreamer.types.in: * gst/Makefile.am: * gst/gst.c: * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_index_func): * gst/gstconfig.h.in: * gst/gstelement.c: (gst_element_get_index): * gst/gstregistrybinary.c: (gst_registry_binary_save_feature), (gst_registry_binary_load_feature), (gst_registry_binary_read_cache): * gst/gstregistryxml.c: (load_feature), (gst_registry_xml_read_cache), (gst_registry_xml_save_feature): * plugins/Makefile.am: * tools/gst-indent: * tools/gst-inspect.c: (print_index_info), (print_element_list), (print_plugin_features), (print_element_features): * tools/gst-xmlinspect.c: (print_event_masks), (print_element_info): * win32/common/gstconfig.h: Remove GST_DISABLE_(ENUMTYPES|INDEX|URI) everywhere. Disabling the indexers and URI handler code will only reduce the required amount of memory by a very small amount but on the other hand requires much more maintaince work. Apart from that many places of code are broken when disabling them. Disabling the enum types doesn't reduce the required amount of memory by more than a few bytes and makes it hard to fix bugs like #539772, i.e. use the enums as GObject properties. 2008-07-31 Wim Taymans * docs/design/part-TODO.txt: Add some thoughts and problems with upstream renegotiation. 2008-07-31 Wim Taymans * gst/gstpad.c: (gst_pad_acceptcaps_default), (gst_pad_configure_src), (gst_pad_alloc_buffer_full): Remove silly redundant debug. Add some more debug info. Clarify the docs regarding new caps received from pad_alloc. 2008-07-31 Wim Taymans * plugins/elements/gstcapsfilter.c: (gst_capsfilter_set_property), (gst_capsfilter_get_property), (gst_capsfilter_transform_caps): Make setting the caps more threadsafe. 2008-07-31 Wim Taymans * docs/design/part-element-transform.txt: Update docs. 2008-07-31 Wim Taymans * plugins/elements/gstqueue.c: (gst_queue_init), (gst_queue_acceptcaps): Add and use a custom acceptcaps function instead of falling back to the potentially less optimized default implementation. 2008-07-29 Tim-Philipp Müller * gst/gstpad.c: (gst_pad_alloc_buffer_full): Only sanity-check the buffer size if requested_caps == buffer_caps (ie. don't take pad caps into account, they're not relevant here) 2008-07-29 Stefan Kost * plugins/elements/gsttee.c: * plugins/elements/gsttee.h: Reverting as not everything is clear yet. Needs some general design work. 2008-07-29 Stefan Kost * ChangeLog: ChangeLog surgery for tee commit. 2008-07-29 Stefan Kost * docs/gst/gstreamer-sections.txt: Cleanup section-file. 2008-07-29 Stefan Kost * plugins/elements/gsttee.c: * plugins/elements/gsttee.h: Relay tag events in tee. Fixes parts of #474016. Downgrades 3 reoccurring debugs to log. 2008-07-28 Michael Smith * configure.ac: * libs/gst/Makefile.am: Build the net library if we have winsock2. 2008-07-26 Stefan Kost patch by: Luc Pionchon * docs/manual/advanced-threads.xml: * docs/manual/diagrams-pipelines.svg: * docs/manual/hello-world.png: * docs/manual/linked-elements.png: * docs/manual/mime-world.png: * docs/manual/queue.png: * docs/manual/thread-buffering.png: * docs/manual/thread-synchronizing.png: Replace one diagram with two separate ones and updates others. Fixes #542401. 2008-07-25 Thijs Vermeir * gst/gstelement.h: Fix link in documentation. 2008-07-24 Thijs Vermeir * gst/gstmessage.c: Fix confusing documentation. 2008-07-24 Thijs Vermeir * libs/gst/base/gstbasesrc.h: revert the changes to the header file for the ABI. 2008-07-24 Thijs Vermeir * libs/gst/base/gstbasesrc.c: * libs/gst/base/gstbasesrc.h: Don't cache the seekable status. Fixes bug #544174 2008-07-24 Rene Stadler * docs/manual/advanced-autoplugging.xml: Add fakesink to example code to close the pipeline graph. This prevents the program from printing internal data flow errors. 2008-07-23 Sebastian Dröge * docs/manual/basics-bus.xml: Correct typo. Fixes bug #544320. 2008-07-22 Michael Smith * configure.ac: Remove AC_ISC_POSIX macro; it's broken on some platforms and not needed. Add check (taken from -base) for winsock, adds WIN32_LIBS * gst/Makefile.am: Add WIN32_LIBS to LIBADD for libgstreamer. Needed now that gstpoll uses winsock. Define GST_EXPORTS when building libgstreamer (only used on win32) * gst/gst_private.h: * gst/gstinfo.h: Use GST_EXPORT instead of locally-defined (and incorrect IMPORT_SYMBOL) for symbols that we need to export in both these files. * gst/gstpoll.c: Include gst_private.h higher up to avoid some compile problems on win32. 2008-07-22 Sebastian Dröge * gst/gstvalue.c: Fix typos. 2008-07-22 Thijs Vermeir * gst/gstcaps.c: Previous commit was wrong NULL caps does not exist and indicate an error, so also add a FIXME to gst_caps_is_equal where NULL caps are accepted. 2008-07-22 Thijs Vermeir * gst/gstcaps.c: Allow passing of NULL to gst_caps_union 2008-07-21 Thijs Vermeir * gst/gstghostpad.c: Add in doc that gst_ghost_pad_set_target can accept NULL to clear target 2008-07-15 Michael Smith * gst/gstplugin.c: * gst/gstregistry.c: GstRegistryPool doesn't exist; don't refer to it in docs. Don't refer to functions that don't exist in docs, it's unhelpful. 2008-07-12 Sebastian Dröge * gst/gst.c: Fix scanning of paths given via --gst-plugin-path. Fixes bug #542175. 2008-07-12 Sebastian Dröge Patch by: Tristan Matthews * docs/pwg/building-testapp.xml: Don't use an undeclared variable in the example program. Fixes bug #542573. 2008-07-12 Stefan Kost * gst/gstdebugutils.c: Squeeze ghost-pad links and remove <> from classname labels to save more horizontal space. 2008-07-11 Stefan Kost * gst/gstdebugutils.c: Give request and sometimes pads a different shpe style. Condense the graphs a little more. 2008-07-09 Michael Smith * configure.ac: Don't require flex and bison if the parser is disabled. 2008-07-08 Sebastian Dröge * libs/gst/controller/gstinterpolationcontrolsource.c: (_list_find_sorted_custom): Don't use declarations after statements. 2008-07-08 Sebastian Dröge * gst/gstchildproxy.c: (gst_child_proxy_base_init): Add FIXMEs for 0.11 to use GST_TYPE_OBJECT in the signature of the the child-added / -removed signals as GstChildProxy only supports GstObjects. 2008-07-07 Thijs Vermeir * gst/gstdebugutils.c: Fix memleak 2008-07-06 Sebastian Dröge Patch by: Alessandro Decina * gst/gstpoll.c: Fix "ignored return value" compiler warning with newer glibc. 2008-07-05 Sebastian Dröge * gst/gstchildproxy.c: Fix copy&paste error in gst_child_proxy_removed() documentation. 2008-07-02 Tim-Philipp Müller * gst/gstplugin.c: (CHECK_PLUGIN_DESC_FIELD), (gst_plugin_load_file): Print error debug message if plugin description fields that should be set are NULL. * gst/gstregistrybinary.c: (gst_registry_binary_save_const_string): Don't crash if the string to serialise is NULL (it really should not be, but apparently this used to work with the xml registry ...). 2008-07-02 Thijs Vermeir * tools/gst-plot-timeline.py: Fix parsing of log messages 2008-07-01 Tim-Philipp Müller * win32/common/libgstbase.def:: Sort alphabetically so make check-exports doesn't barf. 2008-07-01 Stefan Kost * gst/gstevent.c: Use gst_format_get_name() to improve debug output. * gst/gstpreset.c: Remove #ifdef'ed code. Add TODO comment. * gst/gstsegment.c: Add debug output to ease spotting format != segment.format assertions. 2008-06-30 Sebastian Dröge * tests/check/libs/gdp.c: (gst_dp_suite): Also enable the GDP unit test again on PPC now that the bug is fixed. 2008-06-30 Sebastian Dröge * libs/gst/dataprotocol/dataprotocol.c: Don't write to the same region of memory as a uint64 and uint16 as this breaks strict aliasing rules and apparantly breaks on PPC and s390. Thanks to Sjoerd Simons for analysing. Fixes bug #348114. 2008-06-29 Stefan Kost * libs/gst/controller/gstinterpolationcontrolsource.c: Optimize list handling. Use own find function. Exploit that fact that the list is sorted. Also pass back the node before, so that we can insert quickly. Have a fast path for append. 2008-06-29 Stefan Kost * docs/design/draft-framestep.txt: * docs/design/part-negotiation.txt: Fix two typos. 2008-06-27 Stefan Kost * configure.ac: Show configuration sumary after configure run. Based on patch by Luc Pionchon . Fixes: #540134 2008-06-27 Stefan Kost patch by: Luc Pionchon * docs/manual/advanced-autoplugging.xml: * docs/manual/advanced-threads.xml: * docs/manual/basics-bins.xml: * docs/manual/basics-elements.xml: * docs/manual/basics-helloworld.xml: * docs/manual/basics-pads.xml: Add scale factor for pdf output. * docs/manual/intro-basics.xml: Switched sections "pads" and "bins" and added a pipeline diagram. * docs/manual/intro-gstreamer.xml: Added more info on gstreamer. * docs/manual/intro-motivation.xml: Commented out the whole section "current problem", which sounds historical and somehow osolete; it could be turned in a positive way and reused to improve the design principles. * docs/manual/intro-preface.xml: - Update URLs to library.gnome.org. - Do not mention GTK+ in preliminary reading (irrelevant). - Mention Plugin Writer's Manual and further reading only in the previous section. - Added a list of most relevant GObject/glib topics. * docs/manual/Makefile.am: * docs/manual/bin-element-ghost.fig: * docs/manual/bin-element-ghost.png: * docs/manual/bin-element-noghost.fig: * docs/manual/bin-element-noghost.png: * docs/manual/bin-element.fig: * docs/manual/bin-element.png: * docs/manual/filter-element-multi.fig: * docs/manual/filter-element-multi.png: * docs/manual/filter-element.fig: * docs/manual/filter-element.png: * docs/manual/gstreamer-overview.png: * docs/manual/hello-world.fig: * docs/manual/hello-world.png: * docs/manual/linked-elements.fig: * docs/manual/linked-elements.png: * docs/manual/mime-world.fig: * docs/manual/mime-world.png: * docs/manual/queue.fig: * docs/manual/queue.png: * docs/manual/simple-player.png: * docs/manual/sink-element.fig: * docs/manual/sink-element.png: * docs/manual/src-element.fig: * docs/manual/src-element.png: * docs/manual/diagrams-general.svg: * docs/manual/diagrams-pipelines.svg: Removed .fig, added .png counterpart. Fixes: #539137 2008-06-26 Thijs Vermeir * plugins/elements/gstmultiqueue.c: * plugins/elements/gstmultiqueue.h: revert extra-size-buffers stuff, caused some race conditions and extra-size-buffers is not used anymore. Docs needs some updates 2008-06-26 Tim-Philipp Müller * win32/common/config.h: * win32/common/gstenumtypes.c: * win32/common/gstenumtypes.h: * win32/common/gstversion.h: Update win32 files. 2008-06-26 Tim-Philipp Müller * gst/gstdebugutils.h: (GstDebugGraphDetails), (GST_DEBUG_BIN_TO_DOT_FILE): Add missing Since' markers to gtk-doc blurbs. 2008-06-26 Wim Taymans * tests/check/libs/transform1.c: (buffer_alloc_pt1), (set_caps_pt1), (GST_START_TEST), (set_caps_pt2), (transform_ip_1), (set_caps_1), (set_caps_ct1), (transform_ct1), (transform_caps_ct1), (transform_size_ct1), (buffer_alloc_ct1), (set_caps_ct2), (transform_ct2), (transform_caps_ct2), (transform_size_ct2), (buffer_alloc_ct2): Add some more tests with switching caps in buffer_alloc. 2008-06-25 Wim Taymans * tests/check/libs/test_transform.c: (gst_test_trans_base_init), (gst_test_trans_class_init), (result_sink_chain), (result_buffer_alloc), (gst_test_trans_new), (gst_test_trans_free), (gst_test_trans_push), (gst_test_trans_pop): * tests/check/libs/transform1.c: (buffer_alloc_pt1), (set_caps_pt1), (GST_START_TEST), (set_caps_pt2), (transform_ip_1), (set_caps_1), (set_caps_ct1), (transform_ct1), (transform_caps_ct1), (transform_size_ct1), (buffer_alloc_ct1), (set_caps_ct2), (transform_ct2), (transform_caps_ct2), (transform_size_ct2), (buffer_alloc_ct2), (gst_basetransform_suite): More tests, prepare for tests with switching caps in buffer_alloc. 2008-06-25 Thijs Vermeir * plugins/elements/gstmultiqueue.c: * plugins/elements/gstmultiqueue.h: Fix dead-lock in underrun_cb 2008-06-25 Wim Taymans * docs/design/part-states.txt: Fix device open/close docs. 2008-06-25 Stefan Kost * ChangeLog: Mention bugnumber for last commit. 2008-06-25 Stefan Kost patch by: Luc Pionchon * docs/manual/manual.xml: - Reorganised the previous "introduction" bundle into Foreword, Introduction, and About GStreamer. The two first are docbook elements. The later is the first part of the book. - added intro-gstreamer.xml (content partially from intro-preface.xml) - moved appendix-win32.xml into appendix-integration.xml * docs/manual/intro-preface.xml: gstreamer section moved... * docs/manual/intro-gstreamer.xml: ...here. new file. * docs/manual/appendix-win32.xml: removed file. Content moved... * docs/manual/appendix-integration.xml: ...here. * docs/manual/highlevel-components.xml: section about GstEditor moved... * docs/manual/appendix-checklist.xml: ...here. Fixes: 538764 2008-06-25 Stefan Kost patch by: Luc Pionchon * docs/manual/basics-helloworld.xml: * docs/manual/hello-world.fig: - Explicitely include glib.h. - Do not use global variables. - Use g_printerr() instead of g_print(). - Minor formating/renaming to increase readibility. - Renamed new_pad() to on_pad_added() - Improved explenatory comments. - renamed ogg parser to ogg demuxer - Use "autoaudiosink" instead of "alsasink". Fixes: #538619 2008-06-25 Stefan Kost * ChangeLog: Remove cvs conflict marker. 2008-06-25 Stefan Kost * docs/README: Document that for plgin-docs we extraxt he short-desc from the element details. * docs/design/part-states.txt: Tell that devices should be closed in PAUSED -> READY. * docs/manual/README: Document how tests in the manual are handled. * docs/manuals.mak: Typo in comment. 2008-06-25 Wim Taymans * gst/gstbin.c: (bin_query_latency_fold): Only care about latency min and max when the sink is actually a live sink. 2008-06-25 Wim Taymans * docs/design/part-block.txt: Fix typo. * docs/design/part-element-transform.txt: Add notes about why transform needs to know input/output sizes. Add some issues that need to be solved. Add some more use cases. * tests/check/libs/test_transform.c: (gst_test_trans_base_init), (gst_test_trans_class_init), (result_sink_chain), (result_buffer_alloc), (gst_test_trans_new), (gst_test_trans_free), (gst_test_trans_push), (gst_test_trans_pop): * tests/check/libs/transform1.c: (buffer_alloc_pt1), (set_caps_pt1), (GST_START_TEST), (set_caps_pt2), (transform_ip_1), (set_caps_1), (set_caps_ct1), (transform_ct1), (transform_caps_ct1), (transform_size_ct1), (buffer_alloc_ct1), (gst_basetransform_suite): Add suport for different pad templates and buffer-alloc. Add more checks for caps and buffer-alloc. Add checks for proxy buffer alloc. Add unit test for copy transform. 2008-06-24 Tim-Philipp Müller Patch by: Luc Pionchon * docs/manual/appendix-integration.xml: * docs/manual/appendix-licensing.xml: * docs/manual/basics-elements.xml: * docs/manual/basics-helloworld.xml: * docs/manual/basics-pads.xml: * docs/manual/highlevel-components.xml: * docs/manual/highlevel-xml.xml: * docs/manual/intro-basics.xml: * docs/manual/intro-preface.xml: Typo and formatting fixes (#538594). 2008-06-24 Sebastian Dröge * tests/check/gst/gstghostpad.c: (GST_START_TEST): Fix some memory leaks and uses of object instances that we don't actually own. 2008-06-22 Thijs Vermeir * plugins/elements/gstmultiqueue.c: Add functionality to extra-size-buffers property. 2008-06-22 Thijs Vermeir * plugins/elements/gstmultiqueue.c: Don't update the cur_time on GST_CLOCK_TIME_NONE (#537804) and don't activate the pads if they are added in STATE_NULL. 2008-06-21 Thijs Vermeir * docs/libs/gstreamer-libs-sections.txt: Add new API to doc * libs/gst/check/gstcheck.c: * libs/gst/check/gstcheck.h: API: gst_check_teardown_pad_by_name 2008-06-21 Thijs Vermeir * libs/gst/check/gstcheck.c: * libs/gst/check/gstcheck.h: Also setup request pads and allow setup pads by name (#537812) API: gst_check_setup_src_pad_by_name API: gst_check_setup_sink_pad_by_name 2008-06-20 Thomas Vander Stichele * tests/check/gst/gstbuffer.c: * tests/check/pipelines/parse-launch.c: Use HAVE_VALGRIND_H some more. 2008-06-20 Thomas Vander Stichele * scripts/cvs-update.sh: Pass arguments to make. Run autoregen.sh if Makefile is not there. 2008-06-20 Thomas Vander Stichele * configure.ac: * gst/gstinfo.c: Don't assume that exists just because the binary is there. 2008-06-20 Wim Taymans * tests/check/Makefile.am: * tests/check/libs/test_transform.c: (gst_test_trans_base_init), (gst_test_trans_class_init), (gst_test_trans_init), (gst_test_trans_set_data), (result_sink_chain), (gst_test_trans_new), (gst_test_trans_free), (gst_test_trans_push), (gst_test_trans_pop): * tests/check/libs/transform1.c: (GST_START_TEST), (transform_ip_1), (set_caps_1), (gst_basetransform_suite): Add some test basetransform element and the beginnings of various unit tests for it. 2008-06-20 Wim Taymans * libs/gst/base/gsttypefindhelper.c: (helper_find_peek): Increase code readability. Don't try to compare buffer offsets when ther are invalid. 2008-06-20 Tim-Philipp Müller * docs/design/Makefile.am: Dist some more design docs. * docs/random/moving-plugins: Small addition: good plugins mustn't have functional code within assertion macros. 2008-06-20 Wim Taymans * docs/design/draft-framestep.txt: Some ideas about a framestep API * docs/design/part-element-transform.txt: Start design and use cases for basetransform in order to get it fixed soon. 2008-06-20 Tim-Philipp Müller * gst/gsttaglist.h: In GST_TAG_ATTACHEMENT docs, mention that the file name needs to be in UTF-8 encoding. 2008-06-20 Tim-Philipp Müller * gst/gstbus.c: Make it known that gst_bus_poll() is pure evil (fixes #538810). 2008-06-20 Stefan Kost * plugins/elements/gstcapsfilter.c: * plugins/elements/gstfakesink.c: * plugins/elements/gstfakesrc.c: * plugins/elements/gstfdsink.c: * plugins/elements/gstfdsrc.c: * plugins/elements/gstfilesink.c: * plugins/elements/gstfilesrc.c: * plugins/elements/gstidentity.c: * plugins/elements/gstmultiqueue.c: * plugins/elements/gstqueue.c: * plugins/elements/gsttee.c: * plugins/elements/gsttypefindelement.c: Remove short_description. Add basic docs for gsttypefindelement. Simplify markup for fakesrc/fdsrc. 2008-06-20 Wim Taymans * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init): Added Since doc. 2008-06-20 Wim Taymans Patch by: Joel Larsson * docs/plugins/gstreamer-plugins.args: * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init), (gst_fd_src_init), (gst_fd_src_update_fd), (gst_fd_src_set_property), (gst_fd_src_get_property), (gst_fd_src_create): * plugins/elements/gstfdsrc.h: Add timeout property like udpsrc. Fixes #538628. Add some more docs and example pipelines. 2008-06-20 Wim Taymans * docs/libs/gstreamer-libs-sections.txt: * libs/gst/base/gstbasesink.c: (gst_base_sink_init), (gst_base_sink_query_latency), (gst_base_sink_set_render_delay), (gst_base_sink_get_render_delay), (gst_base_sink_wait_eos), (gst_base_sink_do_sync): * libs/gst/base/gstbasesink.h: * win32/common/libgstbase.def: Add method to allow sinks to specify additional delay between the sync times and the actual rendering of the data. API: gst_base_sink_set_render_delay() API: gst_base_sink_get_render_delay() 2008-06-20 Jan Schmidt * configure.ac: Bump version number back to dev -> 0.10.20.1 2008-06-20 Sebastian Dröge * docs/gst/gstreamer-sections.txt: * gst/gsttaglist.c: (_gst_tag_initialize): * gst/gsttaglist.h: API: Add GST_TAG_ATTACHMENT for generic file attachments to streams. Fixes bug #538568. 2008-06-20 Stefan Kost * libs/gst/controller/gstcontroller.c: Revert one change, that make ret value possible uninitialized. 2008-06-20 Stefan Kost * libs/gst/controller/gstcontroller.c: Use freeze/thaw notify to sync notify emission a bit (its also more efficient). Move debug output to LOG (is called a lot in a loop). Always unset g_values if the have been initialized. 2008-06-20 Wim Taymans * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times), (gst_base_sink_wait_eos), (gst_base_sink_event): If we have not seen a buffer before EOS, use the segment values to report the current position instead of invalid positions. 2008-06-20 Stefan Kost * docs/plugins/tmpl/.cvsignore: * tests/check/gst/.cvsignore: Ignore more. 2008-06-20 Stefan Kost * libs/gst/controller/gstinterpolation.c: * libs/gst/controller/gstinterpolationcontrolsource.c: * tests/check/libs/controller.c: Rewrite handling of default values. Fix overflow with unsigned types in linear interpolation. Remove now obsolete _first_value() function. Add more tests. Fixes #538201. 2008-06-20 Wim Taymans * libs/gst/base/gstbasetransform.c: (gst_base_transform_class_init), (gst_base_transform_init), (gst_base_transform_transform_caps), (gst_base_transform_prepare_output_buffer): Add debug info. When a buffer is writable, its metadata is also writable so we don't need to subbuffer (which then makes the buffer not-writable anymore).