tests: rtp-payloading: adjust test data to avoid NAL chopping
authorMark Nauwelaerts <mnauw@users.sourceforge.net>
Sun, 10 Aug 2014 10:30:07 +0000 (12:30 +0200)
committerMark Nauwelaerts <mnauw@users.sourceforge.net>
Sun, 10 Aug 2014 10:32:38 +0000 (12:32 +0200)
... and correspondingly unexpected buffer sizes.

tests/check/elements/rtp-payloading.c

index 2ce7a5c..a5db021 100644 (file)
@@ -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;