update for removed fixate function

This commit is contained in:
Wim Taymans 2011-11-10 11:04:06 +01:00
parent 6a7345c98d
commit f49f9bd1a8

View file

@ -1565,7 +1565,7 @@ gst_x264_enc_sink_set_caps (GstPad * pad, GstCaps * caps)
}
allowed_caps = gst_caps_make_writable (allowed_caps);
gst_pad_fixate_caps (encoder->srcpad, allowed_caps);
gst_caps_fixate (allowed_caps);
s = gst_caps_get_structure (allowed_caps, 0);
profile = gst_structure_get_string (s, "profile");