=== release 0.10.7 === 2006-06-09 Thomas Vander Stichele * configure.ac: releasing 0.10.7, "Soepeke, ik zie ou" 2006-06-07 Thomas Vander Stichele * configure.ac: * po/af.po: * po/az.po: * po/bg.po: * po/ca.po: * po/cs.po: * po/de.po: * po/en_GB.po: * po/fr.po: * po/it.po: * po/nb.po: * po/nl.po: * po/ru.po: * po/sq.po: * po/sr.po: * po/sv.po: * po/tr.po: * po/uk.po: * po/vi.po: * po/zh_CN.po: * po/zh_TW.po: * win32/common/config.h: 0.10.6.2 prerelease 2006-06-07 Wim Taymans * gst/gstindex.c: (gst_index_gtype_resolver): * tools/gst-xmlinspect.c: (print_plugin_info): Fix leak spotted by coverity checker. Fixes #343827 Fix another other leak found by paolo borelli. 2006-06-06 Thomas Vander Stichele * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_header_from_buffer_any), (gst_dp_packet_from_caps_any), (gst_dp_version_get_type), (gst_dp_init), (gst_dp_header_from_buffer), (gst_dp_header_from_buffer_1_0), (gst_dp_packet_from_caps), (gst_dp_packet_from_caps_1_0), (gst_dp_packet_from_event), (gst_dp_packet_from_event_1_0), (gst_dp_event_from_packet_0_2), (gst_dp_event_from_packet_1_0), (gst_dp_event_from_packet), (gst_dp_packetizer_new), (gst_dp_packetizer_free): * libs/gst/dataprotocol/dataprotocol.h: API: add a GstDPPacketizer object, and create/free functions API: add GstDPVersion enum Add 1.0 event function that uses the string serialization Serialize more useful buffer flags Fixes #343988 2006-06-06 Thomas Vander Stichele * tests/check/Makefile.am: * tests/check/gst/gstabi.c: * tests/check/gst/struct_ppc64.h: * tests/check/libs/libsabi.c: * tests/check/libs/struct_ppc64.h: add ppc64 structure sizes 2006-06-06 Thomas Vander Stichele * tests/check/Makefile.am: * tests/check/gst/gstabi.c: * tests/check/gst/struct_x86_64.h: * tests/check/libs/libsabi.c: * tests/check/libs/struct_x86_64.h: generate and add structure size lists for x86_64 2006-06-06 Thomas Vander Stichele * libs/gst/check/gstcheck.c: (gst_check_abi_list): * libs/gst/check/gstcheck.h: factor out the method from tests that checks size of structures, and add code to generate the header containing these sizes * tests/check/gst/gstabi.c: (GST_START_TEST): * tests/check/gst/struct_i386.h: * tests/check/libs/libsabi.c: (GST_START_TEST): * tests/check/libs/struct_i386.h: use it 2006-06-06 Michael Smith * gst/gstsegment.h: Don't use c++-style comments, fixes #343929 2006-06-05 Edward Hervey * gst/gst.c: plugin_paths is not used if we build without registry support. * gst/gstsegment.c: (gst_segment_copy): _copy() was always returning NULL... 2006-06-02 Thomas Vander Stichele * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_header_from_buffer), (gst_dp_packet_from_caps), (gst_dp_packet_from_event): factor out CRC code 2006-06-02 Thomas Vander Stichele * libs/gst/check/gstcheck.c: (gst_check_teardown_src_pad): make sure we unset caps 2006-06-02 Michael Smith * libs/gst/check/gstcheck.c: (gst_check_init), (gst_check_chain_func): * libs/gst/check/gstcheck.h: Add a cond/mutex to the check support lib, signal this whenever we add to the buffers list. This will allow tests to not busy-wait on the buffer-list. 2006-06-02 Thomas Vander Stichele * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_header_from_buffer), (gst_dp_packet_from_caps), (gst_dp_packet_from_event): factor out some common header init code 2006-06-02 Thomas Vander Stichele * docs/libs/gstreamer-libs-sections.txt: * docs/libs/tmpl/gstdataprotocol.sgml: * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc): * libs/gst/dataprotocol/dataprotocol.h: API: make gst_dp_crc() public 2006-06-01 Stefan Kost * plugins/indexers/gstindexers.c: (plugin_init): conditionally register fileindexer (fixes #343598) 2006-06-01 Stefan Kost * gst/gsttagsetter.h: Can't cast ifaces to a class * libs/gst/net/gstnetclientclock.h: * libs/gst/net/gstnettimeprovider.h: * plugins/elements/gstfakesink.h: * plugins/elements/gstfakesrc.h: * plugins/elements/gstfdsink.h: * plugins/elements/gstfdsrc.h: * plugins/elements/gstfilesink.h: * plugins/elements/gstfilesrc.h: * plugins/elements/gstidentity.h: * plugins/elements/gstqueue.h: * plugins/elements/gsttee.h: * plugins/indexers/gstfileindex.c: * plugins/indexers/gstmemindex.c: * tests/old/examples/plugins/example.h: Fix more gobject macros: obj<->klass, GstXXX<->GstXXXClass 2006-06-01 Thomas Vander Stichele * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_header_from_buffer): make sure we zero the whole ABI-compatible area 2006-06-01 Wim Taymans Patch by: Alessandro Decina * libs/gst/base/gstcollectpads.c: (gst_collect_pads_stop): Make sure the EOS flag is cleared from pads after a flush or stop. Fixes #343538. * tests/check/libs/collectpads.c: (GST_START_TEST), (gst_collect_pads_suite): Added test for collectpads reusage after EOS. 2006-05-30 Sebastien Moutte * gst/gst.c: set #include in a #ifdef #ifdef HAVE_FORK * win32/common/libgstbase.def: export gst_collect_pads_set_flushing * win32/common/libgstreamer.def: export gst_pad_set_acceptcaps_function, gst_structure_empty_new, gst_value_fraction_multiply * win32/vs6/gst_inspect.dsp: add a link to intl.lib 2006-05-30 Wim Taymans * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad), (gst_collect_pads_chain): Handle the case where a pad is removed from the collection that could cause the other pads to become collectable. 2006-05-30 Wim Taymans * gst/gstelement.c: Clarify the use of _release_request_pad() and _get_request_pad() a bit better. * libs/gst/base/gstadapter.c: (gst_adapter_peek), (gst_adapter_take_buffer): Fix some doc and comment typos. 2006-05-30 Thomas Vander Stichele * docs/gst/gstreamer-sections.txt: * docs/libs/gstreamer-libs-sections.txt: add declared symbols 2006-05-30 Jan Schmidt * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked): Add debug that can be enabled using a #define at the top of the file, for dumping stats about how late/early we were when waking up from waiting on the clock. 2006-05-30 Wim Taymans * libs/gst/base/gstcollectpads.c: (gst_collect_pads_check_pads): When rebuilding the pad list, don't leak the previous list. 2006-05-30 Wim Taymans Patch by: Lutz Mueller * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init), (gst_base_src_get_query_types), (gst_base_src_update_length): Publish supported query types. Update last_stop field in get_range mode so the position query works. Fixes #342321. 2006-05-30 Tim-Philipp Müller * docs/gst/gstreamer-sections.txt: * gst/gsttaglist.c: (_gst_tag_initialize): * gst/gsttaglist.h: API: add GST_TAG_PREVIEW_IMAGE (#343341). 2006-05-30 Wim Taymans Patch by: Alessandro Decina * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad): Unlock mutex when removing an unknown pad. Fixes #343334. * tests/check/Makefile.am: * tests/check/libs/collectpads.c: (collected_cb), (push_buffer), (push_event), (setup), (teardown), (GST_START_TEST), (gst_collect_pads_suite), (main): Added collecpads check, disabled for now as check crashes for some reason. 2006-05-29 Wim Taymans * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize): Don't leak pads lists. 2006-05-29 Wim Taymans * docs/libs/gstreamer-libs-sections.txt: * libs/gst/base/gstcollectpads.c: (gst_collect_pads_set_flushing_unlocked), (gst_collect_pads_set_flushing), (gst_collect_pads_start), (gst_collect_pads_stop): * libs/gst/base/gstcollectpads.h: API: gst_collect_pads_set_flushing() Added api to set the pads to flushing, useful for seeking code in elements using collectpads. Clear segment when receiving a flush. 2006-05-29 Tim-Philipp Müller * gst/gst.c: (add_path_func), (init_post): Don't scan registry paths passed via --gst-plugin-path immediately (will crash, because absolutely nothing is set up and no types are registered etc.); do this later in init_post(). Fixes #343057. 2006-05-28 Thomas Vander Stichele * gst/gst.c: (init_post): if we have fork, fork while reading/rebuilding the registry so the parent doesn't take the hit of having all plugins loaded in memory. Fixes #342777. * configure.ac: Check if we have fork() * win32/common/config.h.in: no fork() on win32 2006-05-26 Jan Schmidt * plugins/elements/gstelements.c: * plugins/elements/gstfilesrc.c: (gst_file_src_class_init), (gst_file_src_init), (gst_file_src_set_property), (gst_file_src_get_property), (gst_file_src_start): * plugins/elements/gstfilesrc.h: API: GstFileSrc::use-mmap Add a use-mmap property to enable easier testing of all code paths. Bump rank to PRIMARY, so filesrc is the preferred file reader and used in the absence of gnomevfssrc. (Closes #340501) 2006-05-26 Zaheer Abbas Merali * tools/gst-inspect.c: Add missing include, removes warning of ngettext not being defined on some arches. 2006-05-26 Jan Schmidt * gst/gstvalue.c: (gst_value_deserialize_fraction): Handle NULL input and output pointers silently as a failed conversion, rather than g_warnings. 2006-05-25 Wim Taymans * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_start): Initialize variable before using. Fixes #342820. 2006-05-24 Tim-Philipp Müller * libs/gst/base/gsttypefindhelper.c: (buf_helper_find_peek): Fix off-by-one bug that would only allow peeks of N-1 bytes from the start even if the buffer to typefind on contains in fact N bytes of data (makes vorbis typefinding from a vorbis identification header buffer work). * tests/check/Makefile.am: * tests/check/libs/.cvsignore: * tests/check/libs/typefindhelper.c: (GST_START_TEST), (gst_typefindhelper_suite), (main), (foobar_typefind), (plugin_init): Add very basic unit test for gst_type_find_helper_for_buffer() that checks for the problem fixed above. 2006-05-24 Thomas Vander Stichele * tools/gst-inspect.c: (print_interfaces), (print_element_properties_info), (print_element_list), (main): add more translatable strings 2006-05-23 Tim-Philipp Müller Patch by: Julien Moutte * docs/gst/gstreamer-sections.txt: Make new GST_FLOW_IS_SUCCESS macro visible in docs. * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init), (gst_fake_sink_preroll): * plugins/elements/gstfakesink.h: API: Add new GstFakeSink::preroll-handoff signal (#337100). 2006-05-23 Wim Taymans * gst/gstpad.c: (gst_flow_get_name), (gst_flow_to_quark): * gst/gstpad.h: Added _CUSTOM error and success GstFlowReturn that can be used be elements internally. Added macro to check for SUCCESS flowreturns. API: GST_FLOW_CUSTOM_SUCCESS API: GST_FLOW_CUSTOM_ERROR API: GST_FLOW_IS_SUCCESS * tests/check/gst/gstpad.c: (GST_START_TEST), (gst_pad_suite): Added check for GstFlowReturn sanity. 2006-05-23 Wim Taymans Patch by: Mark Nauwelaerts * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad), (gst_collect_pads_event): clear/reset segment info in FLUSH_STOP. Fixes #336929. 2006-05-22 Stefan Kost * libs/gst/base/gstcollectpads.c: (gst_collect_pads_stop), (gst_collect_pads_check_collected): Flush queued buffer on _stop(), fixes playing again (#342454) 2006-05-22 Thomas Vander Stichele * tests/check/gst/gststructure.c: (GST_START_TEST), (gst_structure_suite): add a test for a complete structure 2006-05-19 Tim-Philipp Müller * docs/faq/developing.xml: * docs/faq/faq.xml: * docs/faq/troubleshooting.xml: * docs/faq/using.xml: Some minor FAQ updates that won't change the fact that our FAQ is badly structured, full of information hardly anyone new to GStreamer needs to know and lacking lots of information people constantly ask for. 2006-05-19 Jan Schmidt * gst/gstpad.c: (gst_pad_set_caps): Short-circuit gst_pad_set_caps if setting the existing caps pointer again, and avoid printing debug and reffing/unreffing the caps. * plugins/elements/gstqueue.c: (gst_queue_push_one): There's actually no need to set the caps before pushing - the acceptcaps method will handle it anyway. 2006-05-19 Tim-Philipp Müller * docs/gst/gstreamer-sections.txt: * win32/common/libgstreamer.def: * gst/gstutils.c: (gst_element_seek_simple): * gst/gstutils.h: API: add gst_element_seek_simple() (#342238). 2006-05-18 Edward Hervey * gst/gsttypefind.c: (gst_type_find_get_type): * gst/gsttypefind.h: Added GST_TYPE_TYPE_FIND and gst_type_find_get_type() so a GType gets registered for GstTypeFind pointers. This allows wrapping the structure in bindings (i.e. gst-python). 2006-05-18 Tim-Philipp Müller * gst/gsttagsetter.c: Docs additions and fixes (see #339918). 2006-05-18 Jan Schmidt * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf): The caps intersection algorithm can produce multiple copies of the caps. Until that is fixed, we need to simplify the result to be sure whether the allowed caps are fixed or not. * plugins/elements/gstqueue.c: (gst_queue_init), (gst_queue_bufferalloc), (gst_queue_acceptcaps), (gst_queue_push_one): Proxied buffer alloc should not set the caps on the source pad. When pushing buffers, we always accept the caps change that triggers. This prevents negotiation errors caused by caps changing mid-stream and then being refused on our source pad (because upstream is now refusing those caps). 2006-05-18 Tim-Philipp Müller * tests/examples/helloworld/helloworld.c: (main): Must plug audioconvert and audioresample between decoder and audio sink. 2006-05-17 Jan Schmidt * gst/gstregistryxml.c: (read_string), (load_pad_template), (load_feature), (load_plugin): Allow empty strings for some of the plugin fields so we don't drop valid plugin entries that were written out correctly (Fixes #341479) 2006-05-17 Sebastien Moutte * gst/gstregistryxml.c: (gst_registry_xml_write_cache): Use g_remove and g_rename instead of remove and rename that don't handle utf8 characters. rename was failing for users who had specific characters in their name then the registry was built at each gstreamer init. * win32/vs6/gst_inspect.dsp: * win32/vs6/gst_launch.dsp: * win32/vs6/libgstbase.dsp: * win32/vs6/libgstcoreelements.dsp: * win32/vs6/libgstreamer.dsp: Use a debug version of libxml2 (libxml2D.lib,libxml2D.dll) for DEBUG build of libgstreamer and clean unused libraries in projects link settings. 2006-05-17 Edward Hervey * plugins/elements/gstqueue.c: (gst_queue_push_one): The queue is not responsible for pushing an EOS when receiving a fatal flow error. It's up to the real element driving the pipeline to do that. 2006-05-16 Edward Hervey * plugins/elements/gstqueue.c: (gst_queue_push_one): The queue was posting a non-needed GST_MESSAGE_ERROR when pushing a buffer returned a fatal error. It should just send an EOS and stop its task. Upstream elements will then properly receive the GST_FLOW_UNEXPECTED when pushing buffers on the queue and will be able to handle the event. 2006-05-16 Tim-Philipp Müller * docs/manual/basics-bins.xml: * docs/manual/basics-init.xml: Fix typos and minor errors in sample code (#341856). 2006-05-16 Wim Taymans * docs/design/part-qos.txt: Fix indexes in formulas to make more sense. 2006-05-15 Wim Taymans * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position): Don't report POSITION based on clock time if sync is disabled in a sink. 2006-05-15 Tim-Philipp Müller * gst/gstobject.h: Add cast to make compiler happy - refcount variable was a gint in GstObject but is a guint in GObject and g_atomic_int_get() wants a gint *. 2006-05-15 Thomas Vander Stichele * gst/parse/Makefile.am: chain commands using &&, which also makes parallel make work 2006-05-14 Tim-Philipp Müller * docs/gst/gstreamer-sections.txt: * gst/gstevent.c: * gst/gstevent.h: * gst/gstmessage.h: Minor docs fixes.