mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-04-26 05:28:32 +00:00
update for removed fixate function
This commit is contained in:
parent
6a7345c98d
commit
f49f9bd1a8
1 changed files with 1 additions and 1 deletions
|
@ -1565,7 +1565,7 @@ gst_x264_enc_sink_set_caps (GstPad * pad, GstCaps * caps)
|
||||||
}
|
}
|
||||||
|
|
||||||
allowed_caps = gst_caps_make_writable (allowed_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);
|
s = gst_caps_get_structure (allowed_caps, 0);
|
||||||
|
|
||||||
profile = gst_structure_get_string (s, "profile");
|
profile = gst_structure_get_string (s, "profile");
|
||||||
|
|
Loading…
Reference in a new issue