gst/audioconvert/gstaudioconvert.c: fix error category and translatable string

Original commit message from CVS:
* gst/audioconvert/gstaudioconvert.c:
(gst_audio_convert_transform):
fix error category and translatable string
This commit is contained in:
Thomas Vander Stichele 2007-03-09 12:22:53 +00:00
parent 6588812aaf
commit e81b9ec719
2 changed files with 13 additions and 8 deletions

View file

@ -1,3 +1,10 @@
2007-03-09 Thomas Vander Stichele <thomas at apestaart dot org>
* gst/audioconvert/gstaudioconvert.c:
(gst_audio_convert_transform):
fix error category and translatable string
2007-03-09 Tim-Philipp Müller <tim at centricular dot net>
* pkgconfig/gstreamer-plugins-base-uninstalled.pc.in:

View file

@ -706,16 +706,14 @@ gst_audio_convert_transform (GstBaseTransform * base, GstBuffer * inbuf,
/* ERRORS */
error:
{
GST_ELEMENT_ERROR (this, STREAM, NOT_IMPLEMENTED,
("cannot get input/output sizes for %d samples", samples),
("cannot get input/output sizes for %d samples", samples));
GST_ELEMENT_ERROR (this, STREAM, FORMAT,
(NULL), ("cannot get input/output sizes for %d samples", samples));
return GST_FLOW_ERROR;
}
wrong_size:
{
GST_ELEMENT_ERROR (this, STREAM, NOT_IMPLEMENTED,
("input/output buffers are of wrong size in: %d < %d or out: %d < %d",
GST_BUFFER_SIZE (inbuf), insize, GST_BUFFER_SIZE (outbuf), outsize),
GST_ELEMENT_ERROR (this, STREAM, FORMAT,
(NULL),
("input/output buffers are of wrong size in: %d < %d or out: %d < %d",
GST_BUFFER_SIZE (inbuf), insize, GST_BUFFER_SIZE (outbuf),
outsize));
@ -723,8 +721,8 @@ wrong_size:
}
convert_error:
{
GST_ELEMENT_ERROR (this, STREAM, NOT_IMPLEMENTED,
("error while converting"), ("error while converting"));
GST_ELEMENT_ERROR (this, STREAM, FORMAT,
(NULL), ("error while converting"));
return GST_FLOW_ERROR;
}
}