From: <tp...@ke...> - 2006-07-07 17:16:41
|
CVS Root: /cvs/gstreamer Module: gstreamer Changes by: tpm Date: Fri Jul 07 2006 17:16:39 UTC Log message: * gst/gstobject.c: (gst_object_set_name_default), (gst_object_set_name): Random micro-optimisation: don't use a hash table with strings as keys and the usual strdup/strcmp involved, but rather just use the GQuark of the type name as key, since it needs to be looked up anyway to get the type name string. * tests/check/gst/gstobject.c: (GST_START_TEST): Fix various leaks. Modified files: . : ChangeLog gst : gstobject.c tests/check/gst : gstobject.c Links: http://freedesktop.org/cgi-bin/viewcvs.cgi/gstreamer/gstreamer/ChangeLog.diff?r1=1.2658&r2=1.2659 http://freedesktop.org/cgi-bin/viewcvs.cgi/gstreamer/gstreamer/gst/gstobject.c.diff?r1=1.116&r2=1.117 http://freedesktop.org/cgi-bin/viewcvs.cgi/gstreamer/gstreamer/tests/check/gst/gstobject.c.diff?r1=1.9&r2=1.10 |
From: <tp...@ke...> - 2006-08-14 17:29:44
|
CVS Root: /cvs/gstreamer Module: gstreamer Changes by: tpm Date: Mon Aug 14 2006 17:29:43 UTC Log message: * gst/gstinfo.c: (gst_debug_print_object): Make GST_PTR_FORMAT print messages as well. * tests/check/gst/gstinfo.c: (printf_extension_log_func), (GST_START_TEST), (gst_info_suite): More tests. Modified files: . : ChangeLog gst : gstinfo.c tests/check/gst : gstinfo.c Links: http://freedesktop.org/cgi-bin/viewcvs.cgi/gstreamer/gstreamer/ChangeLog.diff?r1=1.2742&r2=1.2743 http://freedesktop.org/cgi-bin/viewcvs.cgi/gstreamer/gstreamer/gst/gstinfo.c.diff?r1=1.125&r2=1.126 http://freedesktop.org/cgi-bin/viewcvs.cgi/gstreamer/gstreamer/tests/check/gst/gstinfo.c.diff?r1=1.1&r2=1.2 |
From: <tp...@ke...> - 2006-08-15 18:45:52
|
CVS Root: /cvs/gstreamer Module: gstreamer Changes by: tpm Date: Tue Aug 15 2006 18:45:51 UTC Log message: * gst/gstutils.c: (gst_util_set_value_from_string): Fix memleak (#351502). * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite): Add unit test for most of gst_util_set_value_from_string() (not that one would want to encourage use of this function). Modified files: . : ChangeLog gst : gstutils.c tests/check/gst : gstutils.c Links: http://freedesktop.org/cgi-bin/viewcvs.cgi/gstreamer/gstreamer/ChangeLog.diff?r1=1.2748&r2=1.2749 http://freedesktop.org/cgi-bin/viewcvs.cgi/gstreamer/gstreamer/gst/gstutils.c.diff?r1=1.146&r2=1.147 http://freedesktop.org/cgi-bin/viewcvs.cgi/gstreamer/gstreamer/tests/check/gst/gstutils.c.diff?r1=1.17&r2=1.18 |
From: <tp...@ke...> - 2006-09-17 19:26:29
|
CVS Root: /cvs/gstreamer Module: gstreamer Changes by: tpm Date: Sun Sep 17 2006 19:26:28 UTC Log message: * gst/gstformat.c: (gst_format_register): Fix locking order (must take lock before using n_values). * gst/gstvalue.c: (gst_value_serialize_enum), (gst_value_deserialize_enum_iter_cmp), (gst_value_deserialize_enum): Fix serialisation/deserialisation of custom registered GstFormats. * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite): Unit test for custom format serialisation/deserialisation. Modified files: . : ChangeLog gst : gstformat.c gstvalue.c tests/check/gst : gstvalue.c Links: http://freedesktop.org/cgi-bin/viewcvs.cgi/gstreamer/gstreamer/ChangeLog.diff?r1=1.2810&r2=1.2811 http://freedesktop.org/cgi-bin/viewcvs.cgi/gstreamer/gstreamer/gst/gstformat.c.diff?r1=1.21&r2=1.22 http://freedesktop.org/cgi-bin/viewcvs.cgi/gstreamer/gstreamer/gst/gstvalue.c.diff?r1=1.124&r2=1.125 http://freedesktop.org/cgi-bin/viewcvs.cgi/gstreamer/gstreamer/tests/check/gst/gstvalue.c.diff?r1=1.24&r2=1.25 |
From: <tp...@ke...> - 2006-10-02 08:37:41
|
CVS Root: /cvs/gstreamer Module: gstreamer Changes by: tpm Date: Mon Oct 02 2006 08:37:36 UTC Log message: Patch by: Alessandro Decina <alessandro at nnva org> * gst/gstevent.c: (_gst_event_copy): Fix gst_mini_object_make_writable() and gst_event_copy() for events with event structures by setting the parent refcount address of the copied structure to the address of the refcount member of the newly copied event rather than the address of the refcount member of the original event. Fixes #358737. * tests/check/gst/gstevent.c: (GST_START_TEST): Unit test for the above. Modified files: . : ChangeLog gst : gstevent.c tests/check/gst : gstevent.c Links: http://freedesktop.org/cgi-bin/viewcvs.cgi/gstreamer/gstreamer/ChangeLog.diff?r1=1.2837&r2=1.2838 http://freedesktop.org/cgi-bin/viewcvs.cgi/gstreamer/gstreamer/gst/gstevent.c.diff?r1=1.101&r2=1.102 http://freedesktop.org/cgi-bin/viewcvs.cgi/gstreamer/gstreamer/tests/check/gst/gstevent.c.diff?r1=1.17&r2=1.18 |
From: <tp...@ke...> - 2006-10-07 18:41:31
|
CVS Root: /cvs/gstreamer Module: gstreamer Changes by: tpm Date: Sat Oct 07 2006 18:41:31 UTC Log message: * gst/gsttaglist.c: (gst_is_tag_list): * gst/gsttaglist.h: Minor fixes to GST_IS_TAG_LIST and gst_is_tag_list(). * tests/check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite): Small test for the above. Modified files: . : ChangeLog gst : gsttaglist.c gsttaglist.h tests/check/gst : gsttag.c Links: http://freedesktop.org/cgi-bin/viewcvs.cgi/gstreamer/gstreamer/ChangeLog.diff?r1=1.2855&r2=1.2856 http://freedesktop.org/cgi-bin/viewcvs.cgi/gstreamer/gstreamer/gst/gsttaglist.c.diff?r1=1.48&r2=1.49 http://freedesktop.org/cgi-bin/viewcvs.cgi/gstreamer/gstreamer/gst/gsttaglist.h.diff?r1=1.35&r2=1.36 http://freedesktop.org/cgi-bin/viewcvs.cgi/gstreamer/gstreamer/tests/check/gst/gsttag.c.diff?r1=1.7&r2=1.8 |
From: <tp...@ke...> - 2006-10-26 08:50:29
|
CVS Root: /cvs/gstreamer Module: gstreamer Changes by: tpm Date: Thu Oct 26 2006 08:50:05 UTC Log message: * gst/gststructure.c: (gst_structure_id_set_value): If someone tries to set a non-UTF8 string field on a structure, don't just print a warning, but also ignore the request and do not change/add that field to the structure. * tests/check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite): Test for the above. Modified files: . : ChangeLog gst : gststructure.c tests/check/gst : gsttag.c Links: http://freedesktop.org/cgi-bin/viewcvs.cgi/gstreamer/gstreamer/ChangeLog.diff?r1=1.2896&r2=1.2897 http://freedesktop.org/cgi-bin/viewcvs.cgi/gstreamer/gstreamer/gst/gststructure.c.diff?r1=1.80&r2=1.81 http://freedesktop.org/cgi-bin/viewcvs.cgi/gstreamer/gstreamer/tests/check/gst/gsttag.c.diff?r1=1.9&r2=1.10 |
From: <tp...@ke...> - 2007-07-08 14:12:17
|
CVS Root: /cvs/gstreamer Module: gstreamer Changes by: tpm Date: Sun Jul 08 2007 14:12:07 UTC Log message: * gst/gststructure.c: (gst_structure_parse_value): When deserialising foo=bar without a type cast, check if it's a boolean before falling back to a string type, otherwise things like audiotestsrc ! audio/x-raw-int,signed=true ! fakesink won't work, because the filtercaps end up having a signed=(string)true field, which causes problems later when intersection caps. * tests/check/gst/gststructure.c: (GST_START_TEST): Add a unit test for this. Modified files: . : ChangeLog gst : gststructure.c tests/check/gst : gststructure.c Links: http://freedesktop.org/cgi-bin/viewcvs.cgi/gstreamer/gstreamer/ChangeLog.diff?r1=1.3313&r2=1.3314 http://freedesktop.org/cgi-bin/viewcvs.cgi/gstreamer/gstreamer/gst/gststructure.c.diff?r1=1.83&r2=1.84 http://freedesktop.org/cgi-bin/viewcvs.cgi/gstreamer/gstreamer/tests/check/gst/gststructure.c.diff?r1=1.12&r2=1.13 |
From: <tp...@ke...> - 2007-09-12 12:37:19
|
CVS Root: /cvs/gstreamer Module: gstreamer Changes by: tpm Date: Wed Sep 12 2007 12:37:06 UTC Log message: * gst/gsturi.c: (gst_uri_get_location): If there's no hostname, we want to return 'c:/foo/bar.txt' and not '/c:/foo/bar.txt' on Windows. Fixes #469402. * tests/check/gst/gsturi.c: Unit test for the above and a few more things. Modified files: . : ChangeLog gst : gsturi.c tests/check/gst : gsturi.c Links: http://freedesktop.org/cgi-bin/viewcvs.cgi/gstreamer/gstreamer/ChangeLog.diff?r1=1.3402&r2=1.3403 http://freedesktop.org/cgi-bin/viewcvs.cgi/gstreamer/gstreamer/gst/gsturi.c.diff?r1=1.41&r2=1.42 http://freedesktop.org/cgi-bin/viewcvs.cgi/gstreamer/gstreamer/tests/check/gst/gsturi.c.diff?r1=1.1&r2=1.2 |
From: <tp...@ke...> - 2007-12-08 12:55:04
|
CVS Root: /cvs/gstreamer Module: gstreamer Changes by: tpm Date: Sat Dec 08 2007 12:55:08 UTC Log message: * gst/gststructure.c: (gst_structure_validate_name), (gst_structure_new_valist), (gst_structure_parse_value), (gst_structure_from_string): Don't crash in _from_string() if the structure name is not valid (fixes #501560). Allow structure names to start with a number again (this apparently broke the ubuntu codec installer). * tests/check/gst/gststructure.c: (GST_START_TEST), (GST_START_TEST), (GST_START_TEST): Add unit test for the crash; update unit tests for new behaviour. Modified files: . : ChangeLog gst : gststructure.c tests/check/gst : gststructure.c Links: http://freedesktop.org/cgi-bin/viewcvs.cgi/gstreamer/gstreamer/ChangeLog.diff?r1=1.3563&r2=1.3564 http://freedesktop.org/cgi-bin/viewcvs.cgi/gstreamer/gstreamer/gst/gststructure.c.diff?r1=1.93&r2=1.94 http://freedesktop.org/cgi-bin/viewcvs.cgi/gstreamer/gstreamer/tests/check/gst/gststructure.c.diff?r1=1.20&r2=1.21 |
From: <tp...@ke...> - 2008-01-17 22:17:24
|
CVS Root: /cvs/gstreamer Module: gstreamer Changes by: tpm Date: Thu Jan 17 2008 22:17:29 UTC Log message: * gst/gst.c: (init_post): * gst/gstplugin.c: (_gst_plugin_register_static), (gst_plugin_register_static), (_gst_plugin_initialize): * gst/gstplugin.h: (GstPluginFilter): Change API of gst_plugin_register_static() to not take a GstPluginDesc, but rather just take all the arguments in a GstPluginDesc directly. This is more intuitive and avoids certain mistakes when porting code from GST_PLUGIN_DEFINE_STATIC to gst_plugin_register_static(). Fixes #510187. * tests/check/gst/gstplugin.c: Fix up for changed API. Modified files: . : ChangeLog gst : gst.c gstplugin.c gstplugin.h tests/check/gst : gstplugin.c Links: http://freedesktop.org/cgi-bin/viewcvs.cgi/gstreamer/gstreamer/ChangeLog.diff?r1=1.3631&r2=1.3632 http://freedesktop.org/cgi-bin/viewcvs.cgi/gstreamer/gstreamer/gst/gst.c.diff?r1=1.251&r2=1.252 http://freedesktop.org/cgi-bin/viewcvs.cgi/gstreamer/gstreamer/gst/gstplugin.c.diff?r1=1.182&r2=1.183 http://freedesktop.org/cgi-bin/viewcvs.cgi/gstreamer/gstreamer/gst/gstplugin.h.diff?r1=1.71&r2=1.72 http://freedesktop.org/cgi-bin/viewcvs.cgi/gstreamer/gstreamer/tests/check/gst/gstplugin.c.diff?r1=1.12&r2=1.13 |
From: <tp...@ke...> - 2008-01-20 15:04:46
|
CVS Root: /cvs/gstreamer Module: gstreamer Changes by: tpm Date: Sun Jan 20 2008 15:04:48 UTC Log message: * gst/gstplugin.c: (_gst_plugin_initialize): Fix old-style static plugins via GST_PLUGIN_DEFINE_STATIC again, which I broke two commits ago when changing the API of gst_plugin_register_static(): the g_list_foreach() in _gst_plugin_register_static still assumed the old function signature and would therefore fail (re-fixes #510187). * gst/gstplugin.c: (_num_static_plugins), (_static_plugins), (_gst_plugin_register_static), (gst_plugin_register_static): Revert the (technically correct) change to call g_thread_init() from the pre-main() constructor. This will break programs which call g_thread_init() without an if (!g_thread_supported()) guard in their main function. We could just blame it on GLib or the application, but it's probably best to just avoid this altogether and simply not use any GLib functions here and use plain old malloc() with a simple array to store the plugins to register later when gst_init() is finally called (re-fixes #510187). * tests/check/gst/gstplugin.c: (GST_GNUC_CONSTRUCTOR_DEFINED), (GST_GNUC_CONSTRUCTOR_DEFINED), (plugin_init_counter), (plugin1_init), (plugin2_init), (plugin3_init), (GST_START_TEST), (GST_START_TEST), (gst_plugin_suite): Dumb unit test to make sure the old GST_PLUGIN_DEFINE_STATIC still works. Modified files: . : ChangeLog gst : gstplugin.c tests/check/gst : gstplugin.c Links: http://freedesktop.org/cgi-bin/viewcvs.cgi/gstreamer/gstreamer/ChangeLog.diff?r1=1.3633&r2=1.3634 http://freedesktop.org/cgi-bin/viewcvs.cgi/gstreamer/gstreamer/gst/gstplugin.c.diff?r1=1.183&r2=1.184 http://freedesktop.org/cgi-bin/viewcvs.cgi/gstreamer/gstreamer/tests/check/gst/gstplugin.c.diff?r1=1.13&r2=1.14 |
From: <tp...@ke...> - 2008-04-13 19:58:53
|
CVS Root: /cvs/gstreamer Module: gstreamer Changes by: tpm Date: Sun Apr 13 2008 19:58:58 UTC Log message: Patch by: Rene Stadler <mail at renestadler de> * gst/gsttagsetter.c: (gst_tag_setter_merge_tags): Merging an empty list with another list in KEEP_ALL mode should yield an empty list as result and not the second list (#512578). * tests/check/gst/gsttagsetter.c: Add unit test for tag merge modes and the aforementioned bug. Modified files: . : ChangeLog gst : gsttagsetter.c tests/check/gst : gsttagsetter.c Links: http://freedesktop.org/cgi-bin/viewcvs.cgi/gstreamer/gstreamer/ChangeLog.diff?r1=1.3772&r2=1.3773 http://freedesktop.org/cgi-bin/viewcvs.cgi/gstreamer/gstreamer/gst/gsttagsetter.c.diff?r1=1.23&r2=1.24 http://freedesktop.org/cgi-bin/viewcvs.cgi/gstreamer/gstreamer/tests/check/gst/gsttagsetter.c.diff?r1=1.1&r2=1.2 |
From: <tp...@ke...> - 2008-04-25 10:01:55
|
CVS Root: /cvs/gstreamer Module: gstreamer Changes by: tpm Date: Fri Apr 25 2008 10:02:00 UTC Log message: * gst/gst.c: (init_post), (gst_deinit): * tests/check/gst/gstpipeline.c: (GST_START_TEST), (pipeline_thread), (test_concurrent_create), (gst_pipeline_suite): Ref some more classes in gst_init() to work around thread-safety issues in pre-2.16 GLibs, and add basic unit test. Modified files: . : ChangeLog gst : gst.c tests/check/gst : gstpipeline.c Links: http://freedesktop.org/cgi-bin/viewcvs.cgi/gstreamer/gstreamer/ChangeLog.diff?r1=1.3807&r2=1.3808 http://freedesktop.org/cgi-bin/viewcvs.cgi/gstreamer/gstreamer/gst/gst.c.diff?r1=1.259&r2=1.260 http://freedesktop.org/cgi-bin/viewcvs.cgi/gstreamer/gstreamer/tests/check/gst/gstpipeline.c.diff?r1=1.20&r2=1.21 |
From: <tp...@ke...> - 2008-05-09 20:48:33
|
CVS Root: /cvs/gstreamer Module: gstreamer Changes by: tpm Date: Fri May 09 2008 20:48:38 UTC Log message: * gst/gstsegment.c: * tests/check/gst/gstsegment.c: No, let's not use g_slice_{dup|copy} here, since they only exist since GLib 2.14 and we still depend only on >= 2.12. Also add unit test for gst_segment_copy(). Modified files: . : ChangeLog gst : gstsegment.c tests/check/gst : gstsegment.c Links: http://freedesktop.org/cgi-bin/viewcvs.cgi/gstreamer/gstreamer/ChangeLog.diff?r1=1.3844&r2=1.3845 http://freedesktop.org/cgi-bin/viewcvs.cgi/gstreamer/gstreamer/gst/gstsegment.c.diff?r1=1.34&r2=1.35 http://freedesktop.org/cgi-bin/viewcvs.cgi/gstreamer/gstreamer/tests/check/gst/gstsegment.c.diff?r1=1.15&r2=1.16 |
From: <tp...@ke...> - 2009-01-17 21:04:58
|
CVS Root: /cvs/gstreamer Module: gstreamer Changes by: tpm Date: Sat Jan 17 2009 21:04:55 UTC Log message: * gst/gstbus.c: (gst_bus_set_main_context), (gst_bus_create_watch): Fix order of members in GstBusSource structure - the first member must be the parent structure ie. GSource. Should make bus sources attached to non-default main contexts work in all cases now (ie. primarily in cases where the callback has a non-NULL user data argument). Fixes #562170. * tests/check/gst/gstbus.c: (test_custom_main_context): Add unit test for the above, based on code by Justin Karneges <justin at affinix com>. Modified files: . : ChangeLog gst : gstbus.c tests/check/gst : gstbus.c Links: http://freedesktop.org/cgi-bin/viewcvs.cgi/gstreamer/gstreamer/ChangeLog.diff?r1=1.4222&r2=1.4223 http://freedesktop.org/cgi-bin/viewcvs.cgi/gstreamer/gstreamer/gst/gstbus.c.diff?r1=1.70&r2=1.71 http://freedesktop.org/cgi-bin/viewcvs.cgi/gstreamer/gstreamer/tests/check/gst/gstbus.c.diff?r1=1.17&r2=1.18 |