Commit e81b9ec7 authored by Thomas Vander Stichele's avatar Thomas Vander Stichele
Browse files

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
parent 6588812a
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:
......@@ -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;
}
}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment