pad: make the NOTHING link check flag be 0
authorWim Taymans <wim.taymans@collabora.co.uk>
Fri, 25 Jun 2010 16:18:55 +0000 (18:18 +0200)
committerWim Taymans <wim.taymans@collabora.co.uk>
Fri, 25 Jun 2010 16:28:07 +0000 (18:28 +0200)
Make the pad link check of NOTHING be 0. This way we have a flag for each
feature and 0 when no flags are set.

gst/gstpad.h

index e01545d..7f1870a 100644 (file)
@@ -191,10 +191,10 @@ GQuark                    gst_flow_to_quark       (GstFlowReturn ret);
  */
 
 typedef enum {
-  GST_PAD_LINK_CHECK_NOTHING       = 1 << 0,
-  GST_PAD_LINK_CHECK_HIERARCHY     = 1 << 1,
-  GST_PAD_LINK_CHECK_TEMPLATE_CAPS = 1 << 2,
-  GST_PAD_LINK_CHECK_CAPS          = 1 << 3,
+  GST_PAD_LINK_CHECK_NOTHING       = 0,
+  GST_PAD_LINK_CHECK_HIERARCHY     = 1 << 0,
+  GST_PAD_LINK_CHECK_TEMPLATE_CAPS = 1 << 1,
+  GST_PAD_LINK_CHECK_CAPS          = 1 << 2,
 } GstPadLinkCheck;
 
 /**