mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-03 14:08:56 +00:00
libs/gst/base/gstbasetransform.c: Print element name with g_warning() if there's a problem with the unit size.
Original commit message from CVS: * 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.
This commit is contained in:
parent
16fe8b9626
commit
58338a041b
2 changed files with 11 additions and 3 deletions
|
@ -1,3 +1,10 @@
|
||||||
|
2008-01-08 Tim-Philipp Müller <tim at centricular dot net>
|
||||||
|
|
||||||
|
* 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 <ds@schleef.org>
|
2008-01-07 David Schleef <ds@schleef.org>
|
||||||
|
|
||||||
Patch by: Damien Lespiau <damien.lespiau@gmail.com>
|
Patch by: Damien Lespiau <damien.lespiau@gmail.com>
|
||||||
|
|
|
@ -526,20 +526,21 @@ gst_base_transform_transform_size (GstBaseTransform * trans,
|
||||||
no_in_size:
|
no_in_size:
|
||||||
{
|
{
|
||||||
GST_DEBUG_OBJECT (trans, "could not get 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;
|
return FALSE;
|
||||||
}
|
}
|
||||||
no_multiple:
|
no_multiple:
|
||||||
{
|
{
|
||||||
GST_DEBUG_OBJECT (trans, "Size %u is not a multiple of unit size %u", size,
|
GST_DEBUG_OBJECT (trans, "Size %u is not a multiple of unit size %u", size,
|
||||||
inunitsize);
|
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;
|
return FALSE;
|
||||||
}
|
}
|
||||||
no_out_size:
|
no_out_size:
|
||||||
{
|
{
|
||||||
GST_DEBUG_OBJECT (trans, "could not get 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;
|
return FALSE;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue