From 6ea83d97c579dc801f54c29c584667ff73a4bb73 Mon Sep 17 00:00:00 2001 From: Mark Nauwelaerts Date: Sun, 10 Aug 2014 12:30:07 +0200 Subject: [PATCH] tests: rtp-payloading: adjust test data to avoid NAL chopping ... and correspondingly unexpected buffer sizes. --- tests/check/elements/rtp-payloading.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/check/elements/rtp-payloading.c b/tests/check/elements/rtp-payloading.c index 2ce7a5c..a5db021 100644 --- a/tests/check/elements/rtp-payloading.c +++ b/tests/check/elements/rtp-payloading.c @@ -541,7 +541,7 @@ static const guint8 rtp_h264_list_lt_mtu_frame_data[] = /* not packetized, next NAL starts with 0001 */ { 0x00, 0x00, 0x00, 0x01, 0x00, 0x10, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x10, 0x00, 0x00, 0x00, 0x01, 0x00, 0x00, - 0xad, 0x80, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x0d, 0x00 + 0xad, 0x80, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x0d, 0x10 }; static int rtp_h264_list_lt_mtu_frame_data_size = 16; @@ -596,7 +596,7 @@ static const guint8 rtp_h264_list_gt_mtu_frame_data[] = 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, - 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 + 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x10 }; static int rtp_h264_list_gt_mtu_frame_data_size = 64; -- 2.7.4