libs/gst/controller/gstcontroller.*: Clarify the docs of gst_controller_get_value_arr...
[platform/upstream/gstreamer.git] / ChangeLog
index 6b36fb5..0d93afc 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,245 @@
+2007-05-21  Sebastian Dröge  <slomo@circular-chaos.org>
+
+       * libs/gst/controller/gstcontroller.c:
+       (gst_controller_get_value_array):
+       * libs/gst/controller/gstcontroller.h:
+       Clarify the docs of gst_controller_get_value_array(): The array where
+       the values should be written to must be allocated as there seems to be
+       no way to get the size of a random GType. This doesn't change any
+       behaviour. Also fix some typos all over the place and remove an unused,
+       commented function that is not necessary as g_object_set() could be
+       used instead.
+       * tests/check/libs/controller.c: (GST_START_TEST),
+       (gst_controller_suite):
+       Add unit test for gst_controller_get_value_array().
+
+2007-05-21  Jan Schmidt  <thaytan@mad.scientist.com>
+
+       * tests/check/gst/gstbuffer.c: (GST_START_TEST):
+
+       Disable part of the gst_buffer_try_new_and_alloc test, because
+       it can happily succeed on 64-bit systems where there's more address
+       space available.
+
+2007-05-21  Sebastian Dröge  <slomo@circular-chaos.org>
+
+       * tests/check/gst/gstpad.c: (GST_START_TEST), (gst_pad_suite):
+       Add unit test for the improved caps checking from bug #421543.
+
+2007-05-21  Wim Taymans  <wim@fluendo.com>
+
+       * docs/design/part-synchronisation.txt:
+       Small addition.
+
+       * gst/gstbin.c: (gst_bin_query):
+       * plugins/elements/gstqueue.c: (apply_segment):
+       Improve debugging.
+
+       * gst/gstmessage.h:
+       Improve docs.
+
+2007-05-21  Wim Taymans  <wim@fluendo.com>
+
+       * gst/gstpad.c: (gst_pad_get_caps_unlocked),
+       (gst_pad_acceptcaps_default), (gst_pad_configure_sink),
+       (gst_pad_configure_src):
+       Added simple version of improved caps checking. It was previously
+       assumed that a setcaps function would check the validity of the caps but
+       people prefer us to check caps against the template automatically. 
+       Fixes #421543.
+
+2007-05-21  Wim Taymans  <wim@fluendo.com>
+
+       * libs/gst/base/gstbasetransform.h:
+       Fix macro for locking/unlocking the transform lock.
+
+2007-05-19  Tim-Philipp Müller  <tim at centricular dot net>
+
+       * docs/plugins/tmpl/.cvsignore:
+         Ignore more.
+
+2007-05-18  Edward Hervey  <edward@fluendo.com>
+
+       * plugins/elements/gstqueue.c: (gst_queue_loop):
+       Hello, I am Mr Taymans' personal debugger. Today I will introduce a fix
+       for the subtle art of warning a potentially blocking thread that it
+       should check the source pad return value, and relay the information
+       upstream.
+
+2007-05-18  Edward Hervey  <edward@fluendo.com>
+
+       * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event):
+       Release the queue lock !
+
+2007-05-17  Sebastian Dröge  <slomo@circular-chaos.org>
+
+       * docs/libs/gstreamer-libs-sections.txt:
+       Add the two new controller functions to the appropiate places.
+
+2007-05-17  Sebastian Dröge  <slomo@circular-chaos.org>
+
+       reviewed by: Stefan Kost <ensonic@users.sf.net>
+
+       * libs/gst/controller/gstcontroller.c:
+       (gst_controller_suggest_next_sync), (gst_controller_sync_values),
+       (_gst_controller_get_property), (_gst_controller_set_property),
+       (_gst_controller_init), (_gst_controller_class_init):
+       * libs/gst/controller/gstcontroller.h:
+       * libs/gst/controller/gsthelper.c: (gst_object_suggest_next_sync),
+       (gst_object_get_control_rate), (gst_object_set_control_rate):
+       API: gst_controller_suggest_next_sync(), gst_object_suggest_next_sync()
+       Add API that provides sync suggestion timestamps for elements that
+       call gst_object_sync_values() from which those elements can subdivide
+       their processing loop to get the best results for the controlled
+       properties. For now it just suggests last_sync + control_rate as
+       new timestamp but this will be improved in the future.
+
+       While doing that change the control-rate property to a GstClockTime
+       from guint and change it's meaning from samples to nanoseconds as
+       the GstController doesn't know anything about sampling rate. Strictly
+       speaking this breaks ABI but as the control-rate property didn't do
+       anything in the past and as such couldn't be used this should be no
+       problem.        
+
+2007-05-17  Sebastian Dröge  <slomo@circular-chaos.org>
+
+       reviewed by: Stefan Kost <ensonic@users.sf.net>
+
+       * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
+       (gst_controller_unset_all):
+       * libs/gst/controller/gstcontrollerprivate.h:
+       * libs/gst/controller/gstinterpolation.c:
+       (gst_controlled_property_find_control_point_node):
+       Save last synced value from the list to continue searching from there
+       in future syncs. This speeds everything up a bit.
+       
+2007-05-17  Sebastian Dröge  <slomo@circular-chaos.org>
+
+       reviewed by: Stefan Kost <ensonic@users.sf.net>
+
+       * libs/gst/controller/gstcontroller.c: (gst_control_point_compare),
+       (gst_control_point_find), (gst_controlled_property_new),
+       (gst_control_point_free), (gst_controlled_property_free),
+       (gst_controller_set), (gst_controller_set_from_list),
+       (gst_controller_unset), (gst_controller_unset_all),
+       (gst_controller_sync_values):
+       * libs/gst/controller/gstcontroller.h:
+       * libs/gst/controller/gstcontrollerprivate.h:
+       * libs/gst/controller/gstinterpolation.c:
+       (gst_controlled_property_find_control_point_node),
+       (interpolate_none_get), (interpolate_trigger_get):
+       Add a new private GstControlPoint struct which "inherits" from
+       GstTimedValue to allow different interpolators to store internal
+       values next to each control point. From the outside everything is
+       still a GstControlPoint so we don't loose binary compatibility.
+       Also fixup all the GValue handling to not leak GValues or list nodes.
+       * tests/check/libs/controller.c: (GST_START_TEST):
+       Free the list nodes and GValues in the controller_misc test.
+
+2007-05-17  Edward Hervey  <edward@fluendo.com>
+
+       * gst/gstsegment.c:
+       Small doc fix.
+
+2007-05-16  Tim-Philipp Müller  <tim at centricular dot net>
+
+       * gst/gstplugin.c: (gst_plugin_load_file):
+         If we fail to load a plugin because of unresolved symbols or missing
+         libraries and spew a warning to stderr, we may just as well mention
+         which plugin it was that failed to load.
+
+2007-05-13  David Schleef  <ds@schleef.org>
+
+       * docs/Makefile.am: the gtk-doc makefile snippet correctly
+         handles the case when ENABLE_GTK_DOC is false, and installs
+         the prebuilt documentation.  So gtk-doc subdirs are 
+         unconditionally enabled.  Fixes: #349099.
+
+2007-05-13  David Schleef  <ds@schleef.org>
+
+       * gst/gstutils.h: Reword some documentation.
+
+2007-05-12  David Schleef  <ds@schleef.org>
+
+       * gst/gstplugin.c: gst_plugin_register_func() doesn't actually
+         do anything with the passed "module" parameter, so remove it.
+         Allows removal of additional vestigal code.
+
+2007-05-12  David Schleef  <ds@schleef.org>
+
+       * gst/gstplugin.c:
+         Using sigaction should depend on HAVE_SIGACTION, not HAVE_WIN32.
+         Switch to using g_stat() because it's more portable.
+
+2007-05-12  David Schleef  <ds@schleef.org>
+
+       * gst/gst.c:
+         Add GST_DISABLE_OPTION_PARSING, in order to disable option
+         parsing for embedded systems.
+       * gst/gstelementfactory.c:
+         Allow gst_element_register() to be called with plugin==NULL.
+         Did nobody notice that static elements were broken?
+
+2007-05-12  Wim Taymans  <wim@fluendo.com>
+
+       * tools/gst-launch.c: (event_loop):
+       Give more interesting info when buffering starts and stops.
+       Fix case where buffering starts but we fail to update the buffering flag
+       because the target state is not PLAYING.
+
+2007-05-12  Wim Taymans  <wim@fluendo.com>
+
+       * plugins/elements/gstqueue.c: (gst_queue_init),
+       (gst_queue_finalize), (update_time_level), (apply_segment),
+       (apply_buffer), (gst_queue_locked_flush),
+       (gst_queue_locked_enqueue), (gst_queue_locked_dequeue),
+       (gst_queue_handle_sink_event), (gst_queue_chain),
+       (gst_queue_push_one), (gst_queue_loop):
+       * plugins/elements/gstqueue.h:
+       Refactor an cleanup queue a bit.
+       Do better time level calculations that also work when the srcpad is not
+       yet running.
+       Remove some unneeded debug lines.
+
+       * tests/check/elements/queue.c: (GST_START_TEST), (queue_suite):
+       Added testcase for time level measurement.
+       Try to make some stuff more racefree.
+
+2007-05-11  Tim-Philipp Müller  <tim at centricular dot net>
+
+       * gst/gsturi.c: (gst_element_make_from_uri):
+         Don't leak plugin feature.
+
+       * tests/check/Makefile.am:
+       * tests/check/gst/.cvsignore:
+       * tests/check/gst/gsturi.c: (GST_START_TEST), (gst_uri_suite):
+         Add brain-dead unit test.
+
+2007-05-11  Tim-Philipp Müller  <tim at centricular dot net>
+
+       Patch by: Jeroen Wouters <woutersj at gmail com>
+
+       * gst/gsturi.c: (gst_uri_get_protocol), (search_by_entry):
+         Treat protocol strings in a case-insensitive way (#437563).
+
+2007-05-11  Michael Smith <msmith@fluendo.com>
+
+       * gst/gstplugin.c: (gst_plugin_load_file):
+       * gst/gstregistry.c: (gst_registry_scan_path_level):
+         Don't print a g_warning for any failure to load a shared object.
+         Instead, push this down into gstplugin.c, and warn _only_ if we
+         failed to open the module (i.e. failure to link).
+         Avoids warnings on normal, working, non-plugin .so files.
+
+2007-05-11  Stefan Kost  <ensonic@users.sf.net>
+
+       * gst/gstplugin.c (gst_plugin_load_file):
+       * gst/gstregistry.c (GST_CAT_DEFAULT,
+         gst_registry_lookup_feature_locked, gst_registry_scan_path_level):
+         Print a g_warning if there was an error when loading a plugins during
+         registry scan. The shuld help beginners starting with gst-plugin
+         template.
+
 2007-05-10  Wim Taymans  <wim@fluendo.com>
 
        * plugins/elements/gstqueue.c: (gst_queue_class_init),