From: <tho...@fr...> - 2004-08-17 23:04:39
|
CVS Root: /home/cvs/gstreamer Module: gst-plugins Changes by: thomasvs Date: Tue Aug 17 2004 06:37:20 PDT Log message: error out on unsupported types Modified files: . : ChangeLog ext/libpng : gstpngdec.c Links: http://freedesktop.org/cgi-bin/viewcvs.cgi/gstreamer/gst-plugins/ChangeLog.diff?r1=1.1008&r2=1.1009 http://freedesktop.org/cgi-bin/viewcvs.cgi/gstreamer/gst-plugins/ext/libpng/gstpngdec.c.diff?r1=1.2&r2=1.3 ====Begin Diffs==== Index: ChangeLog =================================================================== RCS file: /home/cvs/gstreamer/gst-plugins/ChangeLog,v retrieving revision 1.1008 retrieving revision 1.1009 diff -u -d -r1.1008 -r1.1009 --- ChangeLog 17 Aug 2004 12:38:33 -0000 1.1008 +++ ChangeLog 17 Aug 2004 13:37:07 -0000 1.1009 @@ -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 <iai...@gm...> * ext/flac/gstflacenc.c (gst_flacenc_update_quality): Only set the Index: gstpngdec.c RCS file: /home/cvs/gstreamer/gst-plugins/ext/libpng/gstpngdec.c,v retrieving revision 1.2 retrieving revision 1.3 diff -u -d -r1.2 -r1.3 --- gstpngdec.c 27 Jul 2004 09:59:17 -0000 1.2 +++ gstpngdec.c 17 Aug 2004 13:37:07 -0000 1.3 @@ -198,7 +198,8 @@ 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); |