test: rtph265pay: Use a bigger test frame

The existing frame's last slice is too small to be used for
fragmentation tests.
This commit is contained in:
Jan Alexander Steffens (heftig) 2019-01-09 16:24:54 +01:00 committed by Nicolas Dufresne
parent 791711f9be
commit 03d138985f

View file

@ -412,25 +412,29 @@ GST_END_TEST;
/* These were generated using pipeline: /* These were generated using pipeline:
* gst-launch-1.0 videotestsrc num-buffers=1 pattern=green \ * gst-launch-1.0 videotestsrc num-buffers=1 pattern=green \
* ! video/x-raw,width=128,height=128 \ * ! video/x-raw,width=256,height=256 \
* ! x265enc option-string="slices=2" \ * ! x265enc option-string="slices=2" \
* ! fakesink dump=1 * ! fakesink dump=1
*/ */
/* IDR Slice 1 */ /* IDR Slice 1 */
static guint8 h265_idr_slice_1[] = { static guint8 h265_idr_slice_1[] = {
0x00, 0x00, 0x00, 0x01, 0x28, 0x01, 0xaf, 0x0e, 0x00, 0x00, 0x00, 0x01, 0x28, 0x01, 0xaf, 0x08,
0xc0, 0x34, 0x82, 0x15, 0x84, 0xf4, 0x70, 0x4f, 0xa2, 0xe6, 0xa3, 0xc6, 0x53, 0x90, 0xea, 0xc8,
0xff, 0xed, 0x41, 0x3f, 0xff, 0xe4, 0xcd, 0xc4, 0x3f, 0xfe, 0xfa, 0xf9, 0x3f, 0xf2, 0x61, 0x98,
0x7c, 0x03, 0x0c, 0xc2, 0xbb, 0xb0, 0x34, 0xe0, 0xef, 0xf4, 0xe9, 0x97, 0xe7, 0xc2, 0x74, 0x78,
0xca, 0xbe, 0x3c, 0xd3, 0xff, 0xfd, 0x30, 0x2f, 0x98, 0x10, 0x01, 0x21, 0xa4, 0x3c, 0x4c, 0x08,
0xff, 0xf9, 0x33, 0x71, 0x1f, 0x00, 0xc3, 0x30, 0x00, 0x3e, 0x40, 0x92, 0x0c, 0x78
0xae, 0xec, 0x1d, 0x39, 0xb3, 0x80
}; };
/* IDR Slice 2 */ /* IDR Slice 2 */
static guint8 h265_idr_slice_2[] = { static guint8 h265_idr_slice_2[] = {
0x00, 0x00, 0x01, 0x28, 0x01, 0x33, 0xc3, 0xb0 0x00, 0x00, 0x01, 0x28, 0x01, 0x30, 0xf0, 0x8a,
0x2e, 0x60, 0xa3, 0xc6, 0x53, 0x90, 0xea, 0xc8,
0x3f, 0xfe, 0xfa, 0xf9, 0x3f, 0xf2, 0x61, 0x98,
0xef, 0xf4, 0xe9, 0x97, 0xe7, 0xc2, 0x74, 0x78,
0x98, 0x10, 0x01, 0x21, 0xa4, 0x3c, 0x4c, 0x08,
0x00, 0x3e, 0x40, 0x92, 0x0c, 0x78
}; };
GST_START_TEST (test_rtph265pay_two_slices_timestamp) GST_START_TEST (test_rtph265pay_two_slices_timestamp)