Changed caps->fixed to use FLAG_SET

Original commit message from CVS:
Changed caps->fixed to use FLAG_SET
This commit is contained in:
Jan Schmidt 2003-02-05 20:38:41 +00:00 committed by Tim-Philipp Müller
parent 5781a1a912
commit a75afe6604

View 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);