=== release 0.10.18 === 2008-03-20 Jan Schmidt * configure.ac: releasing 0.10.18, "So far away" 2008-03-18 Jan Schmidt * configure.ac: * win32/common/config.h: 0.10.17.4 pre-release 2008-03-18 Wim Taymans Patch by: Ole André Vadla Ravnås * docs/gst/gstreamer-sections.txt: * gst/gstpoll.c: (gst_poll_winsock_error_to_errno), (gst_poll_update_winsock_event_mask), (gst_poll_prepare_winsock_active_sets), (gst_poll_collect_winsock_events), (gst_poll_new), (gst_poll_free), (gst_poll_add_fd_unlocked), (gst_poll_fd_ctl_write), (gst_poll_fd_ctl_read_unlocked), (gst_poll_fd_ignored), (gst_poll_fd_has_error), (gst_poll_fd_can_read_unlocked), (gst_poll_check_ctrl_commands), (gst_poll_wait): * gst/gstpoll.h: * win32/common/libgstreamer.def: Add new function gst_poll_fd_ignored() for improved Windows compatibility. Various minor fixes and cleanups. See #520808. 2008-03-17 Tim-Philipp Müller * gst/gstindex.c: (gst_index_entry_free): * gst/gstindex.h: Don't free key strings which we don't own. Fixes crash in gst_index_entry_free() (#522741). * tests/check/Makefile.am: * tests/check/gst/.cvsignore: * tests/check/gst/gstindex.c: (test_index_entries), (gst_index_suite), (gst_index): Add unit test for the above. 2008-03-11 Sebastian Dröge * win32/common/libgstreamer.def: Remove symbols that were removed recently. Fixes bug #521740. 2008-03-11 Jan Schmidt * configure.ac: * win32/common/config.h: 0.10.17.3 pre-release 2008-03-07 Wim Taymans Patch by: Ole André Vadla Ravnås * docs/gst/gstreamer-sections.txt: * gst/gstpoll.c: (find_index), (gst_poll_free_winsock_event), (gst_poll_update_winsock_event_mask), (gst_poll_new), (gst_poll_free), (gst_poll_fd_init), (gst_poll_add_fd_unlocked), (gst_poll_remove_fd), (gst_poll_fd_ctl_write), (gst_poll_fd_ctl_read_unlocked), (gst_poll_fd_has_closed), (gst_poll_fd_has_error), (gst_poll_fd_can_read_unlocked), (gst_poll_fd_can_write), (gst_poll_wait), (gst_poll_set_controllable), (gst_poll_restart), (gst_poll_set_flushing): * gst/gstpoll.h: * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_new): * libs/gst/net/gstnettimeprovider.c: (gst_net_time_provider_start), (gst_net_time_provider_new): * plugins/elements/gstfdsink.c: (gst_fd_sink_start): * plugins/elements/gstfdsrc.c: (gst_fd_src_start): * tests/benchmarks/gstpollstress.c: (main): * tests/check/gst/gstpoll.c: (GST_START_TEST), (gst_poll_suite): Remove GstPollMode from the API, it does not make sense to let the application control this. Add support for Win32. Fix the testsuite. Fixes #520671. 2008-03-07 Sebastian Dröge Patch by: Ole André Vadla Ravnås * gst/gstregistrybinary.c: Include io.h for write() and close() when building with MSVC. Fixes bug #520877. 2008-03-07 Stefan Kost * configure.ac: * gst/gst_private.h: * gst/gstconfig.h.in: * gst/gstregistry.h: * gst/gstregistrybinary.c: * win32/common/gstconfig.h: Move registry backend API to private headers where we can. Add fixme-0.11 comments for the others. Add stubs for the xml backend when using the binary to ensure they functions exists (they should not be used though). Fixes #520756. 2008-03-04 Jan Schmidt * configure.ac: * win32/common/config.h: 0.10.17.2 prelease 2008-03-03 Edward Hervey * gst/gstregistrybinary.c: (gst_registry_binary_write), (gst_registry_binary_read_cache): * gst/gstregistryxml.c: (gst_registry_save): * gst/gsturi.c: (unescape_string), (gst_uri_has_protocol): * plugins/elements/gstfilesink.c: (gst_file_sink_open_file): * plugins/elements/gstfilesrc.c: (gst_file_src_map_region), (gst_file_src_map_small_region), (gst_file_src_create_mmap): Switch to using portabl gsize/gssize instead of size_t/ssize_t Fixes #520152 2008-03-03 Edward Hervey * gst/gstminiobject.c: Import gst_private.h before any other header that might include other glib headers. This fixes the build on windows using native compilers. 2008-03-03 Tim-Philipp Müller * win32/common/gstconfig.h: Add here too, just for completeness. 2008-03-03 Tim-Philipp Müller * configure.ac: * gst/gstconfig.h.in: * gst/gstregistry.h: Fix broken use of config.h-defined preprocessor directive in a public header file. Add a corresponding define to gstconfig.h, since we can't really remove those function declarations from the header file now (or can we? and why are they there in the first place?). 2008-03-03 Andy Wingo * tests/check/gst/gststructure.c (GST_START_TEST): Add a check for the new warning. * gst/gststructure.c (gst_structure_from_string): Warn if structure_from_string didn't consume the whole string, but the caller did not provide an end pointer. 2008-03-01 Tim-Philipp Müller Patch by: Fabrizio Gennari * gst/gstregistryxml.c: (read_string), (load_feature): Strings allocated by libxml2 should be freed with xmlFree(), not with g_free(). Fixes issues on windows in certain contexts (#519698). 2008-02-29 Tim-Philipp Müller * gst/gstinterface.c: (gst_element_implements_interface): Don't crash if the element supports the interface queried, but does not implement GstImplementsInterface. Fixes #519584. * tests/check/Makefile.am: * tests/check/gst/.cvsignore: * tests/check/gst/gstinterface.c: Add unit test for the above. 2008-02-29 Wim Taymans * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init): Small doc update. 2008-02-29 Wim Taymans * gst/gstsegment.c: (gst_segment_set_seek), (gst_segment_to_stream_time): Improve some comment. Update variables where it makes more sense. 2008-02-29 Rene Stadler * gst/gsturi.c: (gst_uri_handler_get_protocols): Use the get_protocols_full vfunc if get_protocols is NULL. Fixes URIHandlers implemented using language bindings. 2008-02-29 Sebastian Dröge * gst/gstelementfactory.h: * tests/check/elements/fakesink.c: * tests/check/elements/fakesrc.c: (setup_fakesrc): * tests/check/elements/fdsrc.c: (setup_fdsrc): * tests/check/elements/filesink.c: (setup_filesink): * tests/check/elements/filesrc.c: (setup_filesrc): * tests/check/elements/identity.c: (setup_identity): * tests/check/elements/tee.c: * tests/check/generic/sinks.c: * tests/check/generic/states.c: (setup), (teardown): * tests/check/gst/gst.c: * tests/check/gst/gstabi.c: * tests/check/gst/gstbin.c: * tests/check/gst/gstbus.c: (pull_messages): * tests/check/gst/gstcaps.c: * tests/check/gst/gstelement.c: * tests/check/gst/gstevent.c: * tests/check/gst/gstghostpad.c: * tests/check/gst/gstiterator.c: * tests/check/gst/gstmessage.c: * tests/check/gst/gstminiobject.c: (my_foo_init): * tests/check/gst/gstobject.c: (thread_name_object), (gst_object_suite): * tests/check/gst/gstpad.c: * tests/check/gst/gstplugin.c: * tests/check/gst/gstpoll.c: * tests/check/gst/gstquery.c: * tests/check/gst/gstsegment.c: * tests/check/gst/gststructure.c: * tests/check/gst/gstsystemclock.c: * tests/check/gst/gsttask.c: * tests/check/gst/gstutils.c: * tests/check/gst/gstvalue.c: * tests/check/gst/struct_hppa.h: * tests/check/gst/struct_i386.h: * tests/check/gst/struct_ppc32.h: * tests/check/gst/struct_ppc64.h: * tests/check/gst/struct_x86_64.h: * tests/check/libs/adapter.c: (create_and_fill_adapter): * tests/check/libs/basesrc.c: * tests/check/libs/controller.c: (GST_START_TEST): * tests/check/libs/gdp.c: * tests/check/libs/gstnetclientclock.c: * tests/check/libs/gstnettimeprovider.c: * tests/check/libs/libsabi.c: * tests/check/libs/struct_hppa.h: * tests/check/libs/struct_i386.h: * tests/check/libs/struct_ppc32.h: * tests/check/libs/struct_ppc64.h: * tests/check/libs/struct_x86_64.h: * tests/check/pipelines/cleanup.c: * tests/check/pipelines/simple-launch-lines.c: * tests/check/pipelines/stress.c: And correct even more valid sparse warnings. * win32/common/libgstreamer.def: Add gst_poll_fd_init to the list of symbols. 2008-02-29 Sebastian Dröge * gst/gstconfig.h.in: * libs/gst/base/gstcollectpads.c: (gst_collect_pads_read_buffer): * libs/gst/check/gstcheck.c: (gst_check_log_message_func), (gst_check_log_critical_func), (gst_check_drop_buffers), (gst_check_element_push_buffer_list): * libs/gst/controller/gstcontroller.c: (gst_controller_get), (gst_controller_get_type): * libs/gst/controller/gsthelper.c: (gst_object_control_properties), (gst_object_get_controller), (gst_object_get_control_source): * libs/gst/controller/gstinterpolationcontrolsource.c: (gst_interpolation_control_source_new): * libs/gst/controller/gstlfocontrolsource.c: (gst_lfo_control_source_new): * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_event_from_packet_0_2): * plugins/elements/gstfdsrc.c: * plugins/elements/gstmultiqueue.c: * plugins/elements/gsttee.c: * plugins/elements/gsttypefindelement.c: * plugins/indexers/gstfileindex.c: (_file_index_id_save_xml), (gst_file_index_add_association): * plugins/indexers/gstmemindex.c: * tests/benchmarks/gstpollstress.c: (mess_some_more): * tests/check/elements/queue.c: (setup_queue): * tests/check/gst/gstpipeline.c: * tests/check/libs/collectpads.c: (setup), (teardown), (gst_collect_pads_suite): * tests/examples/adapter/adapter_test.c: * tests/examples/metadata/read-metadata.c: (make_pipeline): * tests/examples/xml/createxml.c: * tests/examples/xml/runxml.c: * tools/gst-inspect.c: * tools/gst-run.c: Correct all relevant warnings found by the sparse semantic code analyzer. This include marking several symbols static, using NULL instead of 0 for pointers, not using variable sized arrays on the stack, moving variable declarations to the beginning of a block and using "foo (void)" instead of "foo ()" for declarations. 2008-02-29 Sebastian Dröge * plugins/elements/gstfdsink.c: (gst_fd_sink_update_fd): * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd): Don't reset GstPollFDs, this is not necessary at all. * tests/check/gst/gstpoll.c: (test_poll_wait), (GST_START_TEST), (delayed_restart), (delayed_control): Use GST_POLL_FD_INIT. 2008-02-29 Wim Taymans * gst/gstpoll.c: (gst_poll_fd_init): * gst/gstpoll.h: Added Since tags. * plugins/elements/gstfdsink.c: (gst_fd_sink_update_fd): Use some more init macros. 2008-02-29 Wim Taymans * plugins/elements/gstfdsink.c: (gst_fd_sink_start): * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd): Use init macros and functions. 2008-02-29 Wim Taymans * docs/gst/gstreamer-sections.txt: * gst/gstpoll.c: (gst_poll_fd_init): * gst/gstpoll.h: Add INIT macro and _init method for initializing the GstPollFD. 2008-02-28 Sebastian Dröge * plugins/elements/gstfdsink.c: (gst_fd_sink_start), (gst_fd_sink_update_fd): * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd): * tests/check/gst/gstpoll.c: (test_poll_wait), (GST_START_TEST), (delayed_restart), (delayed_control): Initialize some uninitialized variables as spotted by valgrind. 2008-02-28 Wim Taymans * tests/benchmarks/Makefile.am: * tests/benchmarks/gstpollstress.c: (mess_some_more), (run_test), (main): Add poll stress test. 2008-02-28 Wim Taymans Patch by: Peter Kjellerstedt * plugins/elements/gstfdsink.c: (gst_fd_sink_render), (gst_fd_sink_start), (gst_fd_sink_stop), (gst_fd_sink_unlock), (gst_fd_sink_unlock_stop), (gst_fd_sink_update_fd): * plugins/elements/gstfdsink.h: * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd), (gst_fd_src_start), (gst_fd_src_stop), (gst_fd_src_unlock), (gst_fd_src_unlock_stop), (gst_fd_src_create), (gst_fd_src_uri_set_uri): * plugins/elements/gstfdsrc.h: Port to GstPoll. See #505417. 2008-02-27 Jan Schmidt * win32/common/libgstreamer.def: Add new gst_poll_ symbols to win32 defs. 2008-02-27 Wim Taymans * docs/libs/gstreamer-libs-sections.txt: * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_class_init), (gst_net_client_clock_init), (gst_net_client_clock_finalize), (gst_net_client_clock_do_select), (gst_net_client_clock_thread), (gst_net_client_clock_start), (gst_net_client_clock_stop), (gst_net_client_clock_new): * libs/gst/net/gstnetclientclock.h: * libs/gst/net/gstnettimeprovider.c: (gst_net_time_provider_class_init), (gst_net_time_provider_init), (gst_net_time_provider_finalize), (gst_net_time_provider_thread), (gst_net_time_provider_start), (gst_net_time_provider_stop), (gst_net_time_provider_new): * libs/gst/net/gstnettimeprovider.h: Use a private stuct to not break ABI. 2008-02-27 Wim Taymans Patch by: Peter Kjellerstedt * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_init), (gst_net_client_clock_finalize), (gst_net_client_clock_do_select), (gst_net_client_clock_thread), (gst_net_client_clock_start), (gst_net_client_clock_stop), (gst_net_client_clock_new): * libs/gst/net/gstnetclientclock.h: * libs/gst/net/gstnettimeprovider.c: (gst_net_time_provider_init), (gst_net_time_provider_finalize), (gst_net_time_provider_thread), (gst_net_time_provider_start), (gst_net_time_provider_stop), (gst_net_time_provider_new): * libs/gst/net/gstnettimeprovider.h: Massive code removal and cleanups because of GstPoll. Fixes #505417. 2008-02-27 Wim Taymans * configure.ac: Add checks for poll, ppoll and pselect. * docs/gst/gstreamer-docs.sgml: * docs/gst/gstreamer-sections.txt: Add docs for GstPoll. * gst/Makefile.am: * gst/gst.h: * gst/gstpoll.c: (find_index), (selectable_fds), (pollable_timeout), (choose_mode), (pollfd_to_fd_set), (fd_set_to_pollfd), (gst_poll_new), (gst_poll_free), (gst_poll_set_mode), (gst_poll_get_mode), (gst_poll_add_fd_unlocked), (gst_poll_add_fd), (gst_poll_remove_fd), (gst_poll_fd_ctl_write), (gst_poll_fd_ctl_read_unlocked), (gst_poll_fd_ctl_read), (gst_poll_fd_has_closed), (gst_poll_fd_has_error), (gst_poll_fd_can_read_unlocked), (gst_poll_fd_can_read), (gst_poll_fd_can_write), (gst_poll_wait), (gst_poll_set_controllable), (gst_poll_restart), (gst_poll_set_flushing): * gst/gstpoll.h: Add generic poll abstraction. We ideally don't want to have this in core here but in glib intead... This code will be used in various network elements and ultimately for the nanosecond precision monotonic clock (that's why it's here in core). It'll allow us to implement cancelable socket operations for windows too. * tests/check/Makefile.am: * tests/check/gst/gstpoll.c: (test_poll_wait), (GST_START_TEST), (delayed_stop), (delayed_restart), (delayed_flush), (delayed_control), (gst_poll_suite): Add GstPoll unit test. 2008-02-25 Tim-Philipp Müller * gst/gstfilter.c: Improve documentation of gst_filter_run(). Fixes #518627. 2008-02-23 Tim-Philipp Müller * docs/README: Add a few lines about the new 'check-inspected-versions' target. 2008-02-21 Stefan Kost * tests/check/gst/gstevent.c: Add qos to the event test. Rename tcase/tsuite; is not only about custom events. 2008-02-21 Stefan Kost * plugins/elements/gstqueue.c: Ensure that buffer metadata is writeable, before modifying. Spotted by Mike. 2008-02-20 Stefan Kost * plugins/elements/gstqueue.c: * plugins/elements/gstqueue.h: When dropping buffers in leaky modes, mark next buffers we sent as DISCONT. 2008-02-20 Tim-Philipp Müller * plugins/elements/gstfilesrc.c: (gst_file_src_map_region): Also, if mmap() fails that would be a READ error, not OPEN_READ. 2008-02-20 Tim-Philipp Müller * plugins/elements/Makefile.am: * plugins/elements/gstbufferstore.c: * plugins/elements/gstbufferstore.h: * plugins/elements/gsttypefindelement.h: Remove GstBufferStore, no idea why we were still building it. It's not used anywhere and superseded by GstAdapter. * plugins/elements/gstfilesrc.c: (gst_file_src_map_region), (gst_file_src_create_mmap): * plugins/indexers/gstfileindex.c: (gst_file_index_add_association): Printf format fixes for 64-bit integers. 2008-02-19 Sebastian Dröge * configure.ac: Don't set GST_CACHE_DIR and allow to set it by a configure parameter. We're not in 0.8 times anymore. 2008-02-19 Jan Schmidt * libs/gst/check/gstcheck.c: (gst_check_drop_buffers), (gst_check_element_push_buffer_list): * libs/gst/check/gstcheck.h: Make the declaration in the header for gst_check_element_push_buffer_list match the implementation. Fix up spelling, grammar and wording of the documentation in a few places, and add the Since keyword to new API functions. Use g_list_delete_link instead of g_list_remove in gst_check_drop_buffers, since it's immeasurably more efficient. * tests/check/elements/fakesrc.c: (GST_START_TEST): Use new gst_check_drop_buffers function where appropriate. * win32/common/libgstbase.def: * win32/common/libgstreamer.def: Add new symbols gst_collect_pads_take_buffer, gst_collect_pads_read_buffer, gst_index_set_resolver_full to the exports Changelog surgery to add API keyword to new gst_check API. 2008-02-19 Sebastian Dröge * gst/parse/lex._gst_parse_yy.pre.c: (yy_get_next_buffer), (_gst_parse_yyensure_buffer_stack), (_gst_parse_yylex_init_extra): Update pre-generated flex files with flex 2.3.34. 2008-02-19 Sebastian Dröge * gst/gstminiobject.c: Add FIXME for 0.11 to make GstMiniObjectClass::copy() a bit more friendly to subclasses and not require them to know all internals of their parent class. 2008-02-15 Stefan Kost * docs/libs/gstreamer-libs-sections.txt: * libs/gst/base/gstcollectpads.c: * libs/gst/base/gstcollectpads.h: Add sub-buffer functions to collectpads. Fixes #516187. API: gst_collect_pads_take_buffer(), gst_collect_pads_read_buffer() 2008-02-15 Stefan Kost * gst/gstbuffer.c: Copy selected buffer-flags when creating subbuffers. Fixes #516395. 2008-02-12 Sebastian Dröge * gst/gstbuffer.c: (gst_buffer_class_init), (gst_buffer_finalize): * gst/gstevent.c: (gst_event_class_init), (gst_event_finalize): * gst/gstmessage.c: (gst_message_class_init), (gst_message_finalize): * gst/gstquery.c: (gst_query_class_init), (gst_query_finalize): * plugins/elements/gstfilesrc.c: (gst_mmap_buffer_class_init), (gst_mmap_buffer_finalize): Properly chain up finalize functions to the parent class. 2008-02-11 Wim Taymans Patch by: Siavash Safi * gst/gstindex.c: (gst_index_finalize), (gst_index_set_resolver), (gst_index_set_resolver_full): * gst/gstindex.h: Add new function with option to dispose of user_data in resolver. Actually call the dispose function when finalizing the object and not just when changing the resolver/filter. API: GstIndex::gst_index_set_resolver_full() * docs/gst/gstreamer-sections.txt: Add new function to docs. Fixes #515469. 2008-02-11 Sebastian Dröge * gst/gstindex.c: (gst_index_finalize): Chain up finalize to the parent class. Fixes leaking the GstObject name and other things. 2008-02-08 Jan Schmidt * configure.ac: Make DISABLE_DEPRECATED defined *only* during CVS, not during pre-releases or releases. * docs/faq/gst-uninstalled: Add gst-plugins-gl * docs/random/release: Change one of the steps - we only upload core & base to Gnome FTP 2008-02-06 Stefan Kost * gst/gstconfig.h.in: Add 'id' for example. * gst/gstpad.c: * gst/gstutils.c: * plugins/elements/gstfdsink.c: Link to signals. Doc and comment fixes. 2008-02-05 Tim-Philipp Müller * gst/gstpad.h: (GST_PAD_LINK_SUCCESSFUL): * gst/gstpluginfeature.h: (GstPluginFeatureClass): Some minor docs fixes: fix typo, mention that GST_FLOW_RESEND is unused and unimplemented; finally, it is plugin features, not plugins, that have ranks. 2008-02-05 Stefan Kost * gst/gstpluginfeature.h: Clarify GstRank range docs. 2008-02-05 David Schleef * gst/gst.c: Add a separate gst_deinitialized that prevents gst_init() from being called after gst_deinit(). Fixes #509559 2008-02-05 Sebastian Dröge * gst/gstbin.c: (gst_bin_get_type), (gst_bin_base_init), (gst_bin_class_init): * gst/gstelement.c: (gst_element_base_class_init), (gst_element_class_add_pad_template): * gst/gstpadtemplate.c: (gst_pad_template_init): * gst/gstpipeline.c: (gst_pipeline_get_type), (gst_pipeline_base_init), (gst_pipeline_class_init): * libs/gst/base/gstbasesink.c: * libs/gst/base/gstbasesrc.c: (gst_base_src_get_type), (gst_base_src_base_init), (gst_base_src_class_init): * plugins/elements/gstcapsfilter.c: (gst_capsfilter_base_init), (gst_capsfilter_class_init): * plugins/elements/gstfakesink.c: (gst_fake_sink_base_init), (gst_fake_sink_class_init): * plugins/elements/gstfakesrc.c: (gst_fake_src_base_init), (gst_fake_src_class_init): * plugins/elements/gstfdsink.c: (gst_fd_sink_base_init), (gst_fd_sink_class_init): * plugins/elements/gstfdsrc.c: (gst_fd_src_base_init), (gst_fd_src_class_init): * plugins/elements/gstfilesink.c: (gst_file_sink_base_init), (gst_file_sink_class_init): * plugins/elements/gstfilesrc.c: (gst_file_src_base_init), (gst_file_src_class_init): * plugins/elements/gstidentity.c: (gst_identity_base_init), (gst_identity_class_init): * plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init), (gst_multi_queue_class_init): * plugins/elements/gstqueue.c: (gst_queue_base_init), (gst_queue_class_init): * plugins/elements/gsttee.c: (gst_tee_base_init), (gst_tee_class_init): * plugins/elements/gsttypefindelement.c: (gst_type_find_element_base_init), (gst_type_find_element_class_init): * tests/check/gst/gstelement.c: (gst_element_suite): Revert previous changes to the behaviour of GstPadTemplates, etc and the possiblity to call them in class_init as it breaks too many elements. Reopens bug #491501. Should be applied again for 0.11, thus added a few FIXME 0.11 at several places. 2008-02-05 Stefan Kost * tools/gst-launch.c: Dump one graph per pipeline state-change and state change name (if GST_DEBUG_DUMP_DOT_DIR is set). 2008-02-04 Thijs Vermeir * gst/gstpad.c: * tests/check/gst/gstpad.c: Be sure that we have a new copy of the caps and not reffed caps from a template 2008-02-03 Sebastian Dröge * gst/gstbin.c: (gst_bin_get_type), (gst_bin_class_init): * gst/gstpipeline.c: (gst_pipeline_get_type), (gst_pipeline_class_init): * libs/gst/base/gstbasesink.c: (gst_base_sink_get_type), (gst_base_sink_class_init): * libs/gst/base/gstbasesrc.c: (gst_base_src_get_type), (gst_base_src_class_init): * libs/gst/base/gstbasetransform.c: (gst_base_transform_get_type), (gst_base_transform_class_init): * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init), (gst_collect_pads_class_init): * libs/gst/base/gstdataqueue.c: (gst_data_queue_get_type): * libs/gst/net/gstnettimeprovider.c: (gst_net_time_provider_base_init), (gst_net_time_provider_class_init): * plugins/elements/gstcapsfilter.c: (gst_capsfilter_base_init), (gst_capsfilter_class_init): * plugins/elements/gstfakesink.c: (gst_fake_sink_base_init), (gst_fake_sink_class_init): * plugins/elements/gstfakesrc.c: (gst_fake_src_base_init), (gst_fake_src_class_init): * plugins/elements/gstfdsink.c: (gst_fd_sink_base_init), (gst_fd_sink_class_init): * plugins/elements/gstfdsrc.c: (gst_fd_src_base_init), (gst_fd_src_class_init): * plugins/elements/gstfilesink.c: (gst_file_sink_base_init), (gst_file_sink_class_init): * plugins/elements/gstfilesrc.c: (gst_file_src_base_init), (gst_file_src_class_init): * plugins/elements/gstidentity.c: (gst_identity_base_init), (gst_identity_class_init): * plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init), (gst_multi_queue_class_init): * plugins/elements/gstqueue.c: (gst_queue_base_init), (gst_queue_class_init): * plugins/elements/gsttee.c: (gst_tee_base_init), (gst_tee_class_init): * plugins/elements/gsttypefindelement.c: (gst_type_find_element_base_init), (gst_type_find_element_class_init): Don't use base_init where not absolutely necessary. For example it's not necessary anymore for adding pad templates or setting element details. Leave empty base_init functions in several places as GST_BOILERPLATE still defines and uses them. 2008-02-03 Sebastian Dröge * gst/gstelement.c: (gst_element_base_class_init), (gst_element_class_add_pad_template): * gst/gstpadtemplate.c: Make it possible (and recommended) to set element details and add pad templates in the class_init functions by copying the details/pad templates in GstElement's base_init. Also make it possible to replace existing pad templates by adding a new one with the same name. This was done in a hackish fashion in same elements before already. Don't reference pad templates that are added a second time. A new pad template has a refcount of one and is not floating anymore and to be owned by the element's class. Make this more explicit by mentioning it in the docs of gst_element_class_add_pad_template(). These changes are backwards compatible. Fixes bug #491501. * tests/check/gst/gstelement.c: Add unit test for setting element details, adding pad templates and replacing them in a subclass. 2008-02-02 Sebastian Dröge * tools/gst-inspect.c: (print_interfaces), (print_element_properties_info), (print_pad_info), (print_signal_info), (print_element_info): Fix a few memory leaks. 2008-02-01 Thijs Vermeir * docs/libs/gstreamer-libs-sections.txt: * libs/gst/check/gstcheck.c: * libs/gst/check/gstcheck.h: Add more functions for unit testing: gst_check_drop_buffers, gst_check_caps_equal, gst_check_element_push_buffer_list, gst_check_element_push_buffer API: gst_check_drop_buffers API: gst_check_caps_equal API: gst_check_element_push_buffer_list API: gst_check_element_push_buffer 2008-02-01 Julien Moutte * docs/gst/gstreamer-sections.txt: Add GST_CHECK_VERSION to the docs * gst/gstindex.c: (gst_index_class_init), (gst_index_free_writer), (gst_index_finalize), (gst_index_entry_free), (gst_index_add_association): Fix memory leaks. * gst/gstversion.h.in: Add GST_CHECK_VERSION macro. * plugins/indexers/gstmemindex.c: (gst_mem_index_class_init), (gst_mem_index_free_format), (gst_mem_index_free_id), (gst_mem_index_finalize): Fix memory leaks. * win32/common/config.h: Updated to CVS HEAD. 2008-02-01 Stefan Kost * docs/README: Some more details about how the plugin docs works. * docs/plugins/gstreamer-plugins-sections.txt: Whitespace cleanup. 2008-02-01 Stefan Kost * gst/parse/grammar.tab.pre.c: * gst/parse/grammar.tab.pre.h: * gst/parse/grammar.y: * gst/parse/lex._gst_parse_yy.pre.c: Add delayed set-property. This allows to set properties on dynamicaly created objects (pads in videomxer). 2008-02-01 Thijs Vermeir * gst/gstutils.c: Check if caps are not NULL (fix bug #510194) 2008-02-01 Wim Taymans * libs/gst/base/gstbasesink.c: (gst_base_sink_loop), (gst_base_sink_get_position_paused): Add fixme regarding EOS in pull mode. Fix position reporting in PAUSED for negative rates. 2008-02-01 Wim Taymans * gst/gstminiobject.c: (gst_mini_object_replace): When replacing a miniobject, do a quick equality check first so that we can avoid a ref/unref pair. 2008-02-01 Wim Taymans * docs/design/part-synchronisation.txt: Update some docs. * docs/plugins/Makefile.am: * docs/plugins/gstreamer-plugins-docs.sgml: * docs/plugins/gstreamer-plugins-sections.txt: * plugins/elements/gstmultiqueue.c: Add multiqueue to the docs. 2008-01-30 Jan Schmidt * configure.ac: Back to CVS