Removed ugly caps fixed flag hack, will be done automatically in core soon
Original commit message from CVS: Removed ugly caps fixed flag hack, will be done automatically in core soon
This commit is contained in:
parent
9de3937357
commit
6762691561
@ -375,7 +375,6 @@ gst_jack_change_state (GstElement *element)
|
|||||||
pad = GST_JACK_PAD (l);
|
pad = GST_JACK_PAD (l);
|
||||||
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);
|
||||||
GST_CAPS_FLAG_SET (caps, GST_CAPS_FIXED);
|
|
||||||
if (gst_pad_try_set_caps (pad->pad, caps) <= 0)
|
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…
x
Reference in New Issue
Block a user