mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-06-26 09:50:39 +00:00
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:
parent
6588812aaf
commit
e81b9ec719
|
@ -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>
|
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,
|
||||||
/* 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:
|
||||||
}
|
}
|
||||||
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;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue