mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-02 21:48:55 +00:00
error out on unsupported types
Original commit message from CVS: error out on unsupported types
This commit is contained in:
parent
be4c8f8df2
commit
501df5ca84
2 changed files with 7 additions and 1 deletions
|
@ -1,3 +1,8 @@
|
|||
2004-08-17 Thomas Vander Stichele <thomas at apestaart dot org>
|
||||
|
||||
* ext/libpng/gstpngdec.c:
|
||||
error out on unsupported types
|
||||
|
||||
2004-08-17 Iain <iaingnome@gmail.com>
|
||||
|
||||
* ext/flac/gstflacenc.c (gst_flacenc_update_quality): Only set the
|
||||
|
|
|
@ -198,7 +198,8 @@ gst_pngdec_src_getcaps (GstPad * pad)
|
|||
case PNG_COLOR_TYPE_PALETTE:
|
||||
case PNG_COLOR_TYPE_GRAY_ALPHA:
|
||||
default:
|
||||
g_warning ("unsupported colortype");
|
||||
GST_ELEMENT_ERROR (pngdec, STREAM, NOT_IMPLEMENTED, (NULL),
|
||||
("pngdec does not support grayscale or paletted data yet"));
|
||||
break;
|
||||
}
|
||||
inter = gst_caps_intersect (caps, to_inter);
|
||||
|
|
Loading…
Reference in a new issue