mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-19 05:45:58 +00:00
throw error (#137588)
Original commit message from CVS: throw error (#137588)
This commit is contained in:
parent
0ea9f4908e
commit
e9cb7a7fed
2 changed files with 8 additions and 1 deletions
|
@ -1,3 +1,9 @@
|
|||
2004-03-18 Thomas Vander Stichele <thomas at apestaart dot org>
|
||||
|
||||
* gst/ffmpegcolorspace/gstffmpegcolorspace.c:
|
||||
(gst_ffmpegcolorspace_chain):
|
||||
throw error instead of g_critical (#137588)
|
||||
|
||||
2004-03-18 Thomas Vander Stichele <thomas at apestaart dot org>
|
||||
|
||||
* Makefile.am:
|
||||
|
|
|
@ -306,7 +306,8 @@ gst_ffmpegcolorspace_chain (GstPad * pad, GstData * data)
|
|||
g_return_if_fail (GST_IS_FFMPEGCOLORSPACE (space));
|
||||
|
||||
if (space->from_pixfmt == PIX_FMT_NB || space->to_pixfmt == PIX_FMT_NB) {
|
||||
g_critical ("attempting to convert unknown formats");
|
||||
GST_ELEMENT_ERROR (space, CORE, NOT_IMPLEMENTED, NULL,
|
||||
("attempting to convert colorspaces between unknown formats"));
|
||||
gst_buffer_unref (inbuf);
|
||||
return;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue