From e53a24511b26f3f7dde05ba073d02ca49cb2b190 Mon Sep 17 00:00:00 2001 From: Tim-Philipp Müller Date: Wed, 25 Apr 2007 15:31:53 +0000 Subject: gst/alpha/gstalphacolor.c: Double-check that RGB input caps are really RGBA caps (apparently the core doesn't always ... Original commit message from CVS: * gst/alpha/gstalphacolor.c: (gst_alpha_color_base_init), (gst_alpha_color_transform_caps), (gst_alpha_color_set_caps): Double-check that RGB input caps are really RGBA caps (apparently the core doesn't always catch it if those caps aren't a subset of our template caps, also see #421543). Fixes #429319 in a way. Also, don't leak the pad template in the transform_caps function. * tests/check/Makefile.am: * tests/check/elements/.cvsignore: * tests/check/elements/alphacolor.c: (setup_alphacolor), (cleanup_alphacolor), (create_caps_rgb24), (create_caps_rgba32), (create_buffer_rgb24_3x4), (create_buffer_rgba32_3x4), (GST_START_TEST), (alphacolor_suite): Add some basic unit tests for alphacolor. --- ChangeLog | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) (limited to 'ChangeLog') diff --git a/ChangeLog b/ChangeLog index 1b0938f0..c26d49f6 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,20 @@ +2007-04-25 Tim-Philipp Müller + + * gst/alpha/gstalphacolor.c: (gst_alpha_color_base_init), + (gst_alpha_color_transform_caps), (gst_alpha_color_set_caps): + Double-check that RGB input caps are really RGBA caps (apparently + the core doesn't always catch it if those caps aren't a subset of + our template caps, also see #421543). Fixes #429319 in a way. + Also, don't leak the pad template in the transform_caps function. + + * tests/check/Makefile.am: + * tests/check/elements/.cvsignore: + * tests/check/elements/alphacolor.c: (setup_alphacolor), + (cleanup_alphacolor), (create_caps_rgb24), (create_caps_rgba32), + (create_buffer_rgb24_3x4), (create_buffer_rgba32_3x4), + (GST_START_TEST), (alphacolor_suite): + Add some basic unit tests for alphacolor. + 2007-04-25 Tim-Philipp Müller * ext/libpng/gstpngdec.c: (gst_pngdec_task): -- cgit