pngdec: Remove temporary code
authorDavid Schleef <ds@schleef.org>
Sun, 20 Feb 2011 20:13:49 +0000 (12:13 -0800)
committerDavid Schleef <ds@schleef.org>
Mon, 25 Apr 2011 01:53:50 +0000 (18:53 -0700)
Now that we depend on (what will be) -base-0.10.33.

ext/libpng/gstpngdec.c

index 4e43dec..9653100 100644 (file)
@@ -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 =