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> 2007-03-09 Tim-Philipp Müller <tim at centricular dot net>
   
* pkgconfig/gstreamer-plugins-base-uninstalled.pc.in: * pkgconfig/gstreamer-plugins-base-uninstalled.pc.in:
...@@ -706,16 +706,14 @@ gst_audio_convert_transform (GstBaseTransform * base, GstBuffer * inbuf, ...@@ -706,16 +706,14 @@ gst_audio_convert_transform (GstBaseTransform * base, GstBuffer * inbuf,
/* ERRORS */ /* ERRORS */
error: error:
{ {
GST_ELEMENT_ERROR (this, STREAM, NOT_IMPLEMENTED, GST_ELEMENT_ERROR (this, STREAM, FORMAT,
("cannot get input/output sizes for %d samples", samples), (NULL), ("cannot get input/output sizes for %d samples", samples));
("cannot get input/output sizes for %d samples", samples));
return GST_FLOW_ERROR; return GST_FLOW_ERROR;
} }
wrong_size: wrong_size:
{ {
GST_ELEMENT_ERROR (this, STREAM, NOT_IMPLEMENTED, GST_ELEMENT_ERROR (this, STREAM, FORMAT,
("input/output buffers are of wrong size in: %d < %d or out: %d < %d", (NULL),
GST_BUFFER_SIZE (inbuf), insize, GST_BUFFER_SIZE (outbuf), outsize),
("input/output buffers are of wrong size in: %d < %d or out: %d < %d", ("input/output buffers are of wrong size in: %d < %d or out: %d < %d",
GST_BUFFER_SIZE (inbuf), insize, GST_BUFFER_SIZE (outbuf), GST_BUFFER_SIZE (inbuf), insize, GST_BUFFER_SIZE (outbuf),
outsize)); outsize));
...@@ -723,8 +721,8 @@ wrong_size: ...@@ -723,8 +721,8 @@ wrong_size:
} }
convert_error: convert_error:
{ {
GST_ELEMENT_ERROR (this, STREAM, NOT_IMPLEMENTED, GST_ELEMENT_ERROR (this, STREAM, FORMAT,
("error while converting"), ("error while converting")); (NULL), ("error while converting"));
return GST_FLOW_ERROR; 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