summaryrefslogtreecommitdiff
path: root/tests/check/elements/h264parse.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/check/elements/h264parse.c')
-rw-r--r--tests/check/elements/h264parse.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/check/elements/h264parse.c b/tests/check/elements/h264parse.c
index 51c76da67..8a7672480 100644
--- a/tests/check/elements/h264parse.c
+++ b/tests/check/elements/h264parse.c
@@ -292,8 +292,8 @@ GST_START_TEST (test_parse_packetized)
/* some caps messing */
caps = gst_caps_from_string (SRC_CAPS_TMPL);
cdata =
- gst_buffer_new_wrapped_full (h264_codec_data, NULL, 0,
- sizeof (h264_codec_data));
+ gst_buffer_new_wrapped_full (GST_MEMORY_FLAG_READONLY, h264_codec_data,
+ sizeof (h264_codec_data), 0, sizeof (h264_codec_data), NULL, NULL);
gst_caps_set_simple (caps, "codec_data", GST_TYPE_BUFFER, cdata, NULL);
gst_buffer_unref (cdata);
desc = gst_caps_to_string (caps);