summaryrefslogtreecommitdiffstats
path: root/ext/jack/gstjack.c
diff options
context:
space:
mode:
Diffstat (limited to 'ext/jack/gstjack.c')
-rw-r--r--ext/jack/gstjack.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/jack/gstjack.c b/ext/jack/gstjack.c
index 11e80c08..66548fe0 100644
--- a/ext/jack/gstjack.c
+++ b/ext/jack/gstjack.c
@@ -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);