mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-09-09 05:38:58 +00:00
Changed caps->fixed to use FLAG_SET
Original commit message from CVS: Changed caps->fixed to use FLAG_SET
This commit is contained in:
parent
5781a1a912
commit
a75afe6604
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue