From: David Schleef Date: Sun, 20 Feb 2011 20:13:49 +0000 (-0800) Subject: pngdec: Remove temporary code X-Git-Tag: 1.19.3~509^2~7136^2~597 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=24d57ac9616da6db663baf29f0de6302c545647a;p=platform%2Fupstream%2Fgstreamer.git pngdec: Remove temporary code Now that we depend on (what will be) -base-0.10.33. --- diff --git a/ext/libpng/gstpngdec.c b/ext/libpng/gstpngdec.c index 4e43dec..9653100 100644 --- a/ext/libpng/gstpngdec.c +++ b/ext/libpng/gstpngdec.c @@ -82,18 +82,12 @@ gst_pngdec_get_type (void) return pngdec_type; } -/* FIXME remove this after -good depends on -base-0.10.33 */ -#ifdef GST_VIDEO_CAPS_ARGB_64 -#define CAPS GST_VIDEO_CAPS_RGBA ";" GST_VIDEO_CAPS_RGB ";" GST_VIDEO_CAPS_ARGB_64 -#else -#define CAPS GST_VIDEO_CAPS_RGBA ";" GST_VIDEO_CAPS_RGB -#endif - static GstStaticPadTemplate gst_pngdec_src_pad_template = -GST_STATIC_PAD_TEMPLATE ("src", + GST_STATIC_PAD_TEMPLATE ("src", GST_PAD_SRC, GST_PAD_ALWAYS, - GST_STATIC_CAPS (CAPS) + GST_STATIC_CAPS (GST_VIDEO_CAPS_RGBA ";" GST_VIDEO_CAPS_RGB ";" + GST_VIDEO_CAPS_ARGB_64) ); static GstStaticPadTemplate gst_pngdec_sink_pad_template =