mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-03-28 20:05:38 +00:00
tests: update for caps api changes
This commit is contained in:
parent
5b33983627
commit
679b9b166f
1 changed files with 1 additions and 2 deletions
|
@ -414,8 +414,7 @@ gst_fake_h264_parser_sink_setcaps (GstPad * pad, GstCaps * caps)
|
|||
const gchar *stream_format;
|
||||
|
||||
accepted_caps = gst_pad_get_allowed_caps (otherpad);
|
||||
accepted_caps = gst_caps_make_writable (accepted_caps);
|
||||
gst_caps_truncate (accepted_caps);
|
||||
accepted_caps = gst_caps_truncate (accepted_caps);
|
||||
|
||||
s = gst_caps_get_structure (accepted_caps, 0);
|
||||
stream_format = gst_structure_get_string (s, "stream-format");
|
||||
|
|
Loading…
Reference in a new issue