mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-28 04:31:06 +00:00
This updates all plugins to the new API for gst_pad_try_set_caps
Original commit message from CVS: This updates all plugins to the new API for gst_pad_try_set_caps
This commit is contained in:
parent
bec3f5c03d
commit
3d25650da7
1 changed files with 1 additions and 1 deletions
|
@ -373,7 +373,7 @@ gst_jack_change_state (GstElement *element)
|
||||||
caps = gst_pad_get_caps (pad->pad);
|
caps = gst_pad_get_caps (pad->pad);
|
||||||
gst_caps_set (caps, "rate", GST_PROPS_INT_TYPE, (gint) this->bin->rate, NULL);
|
gst_caps_set (caps, "rate", GST_PROPS_INT_TYPE, (gint) this->bin->rate, NULL);
|
||||||
caps->fixed = TRUE; /* we know this to be true */
|
caps->fixed = TRUE; /* we know this to be true */
|
||||||
if (!gst_pad_try_set_caps (pad->pad, caps))
|
if (gst_pad_try_set_caps (pad->pad, caps) <= 0)
|
||||||
return GST_STATE_FAILURE;
|
return GST_STATE_FAILURE;
|
||||||
l = g_list_next (l);
|
l = g_list_next (l);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue