diff --git a/ChangeLog b/ChangeLog index c236069f05..b8996eab68 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +2008-01-08 Tim-Philipp Müller + + * libs/gst/base/gstbasetransform.c: + (gst_base_transform_transform_size): + Print element name with g_warning() if there's a problem + with the unit size. + 2008-01-07 David Schleef Patch by: Damien Lespiau diff --git a/libs/gst/base/gstbasetransform.c b/libs/gst/base/gstbasetransform.c index 40b52d29b9..fc9f9671c2 100644 --- a/libs/gst/base/gstbasetransform.c +++ b/libs/gst/base/gstbasetransform.c @@ -526,20 +526,21 @@ gst_base_transform_transform_size (GstBaseTransform * trans, no_in_size: { GST_DEBUG_OBJECT (trans, "could not get in_size"); - g_warning ("could not get in_size"); + g_warning ("%s: could not get in_size", GST_ELEMENT_NAME (trans)); return FALSE; } no_multiple: { GST_DEBUG_OBJECT (trans, "Size %u is not a multiple of unit size %u", size, inunitsize); - g_warning ("Size %u is not a multiple of unit size %u", size, inunitsize); + g_warning ("%s: size %u is not a multiple of unit size %u", + GST_ELEMENT_NAME (trans), size, inunitsize); return FALSE; } no_out_size: { GST_DEBUG_OBJECT (trans, "could not get out_size"); - g_warning ("could not get out_size"); + g_warning ("%s: could not get out_size", GST_ELEMENT_NAME (trans)); return FALSE; } }