Changed caps->fixed to use FLAG_SET
authorJan Schmidt <thaytan@mad.scientist.com>
Wed, 5 Feb 2003 20:38:41 +0000 (20:38 +0000)
committerTim-Philipp Müller <tim.muller@collabora.co.uk>
Sun, 2 Jan 2011 14:30:02 +0000 (14:30 +0000)
Original commit message from CVS:
Changed caps->fixed to use FLAG_SET

ext/jack/gstjack.c

index 11e80c0..66548fe 100644 (file)
@@ -375,7 +375,7 @@ gst_jack_change_state (GstElement *element)
                 pad = GST_JACK_PAD (l);
                 caps = gst_pad_get_caps (pad->pad);
                 gst_caps_set (caps, "rate", GST_PROPS_INT_TYPE, (gint) this->bin->rate, NULL);
-                caps->fixed = TRUE; /* we know this to be true */
+                GST_CAPS_FLAG_SET (caps, GST_CAPS_FIXED);
                 if (gst_pad_try_set_caps (pad->pad, caps) <= 0)
                     return GST_STATE_FAILURE;
                 l = g_list_next (l);