mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-22 23:28:16 +00:00
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:
parent
791711f9be
commit
03d138985f
1 changed files with 13 additions and 9 deletions
|
@ -412,25 +412,29 @@ GST_END_TEST;
|
|||
|
||||
/* These were generated using pipeline:
|
||||
* 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" \
|
||||
* ! fakesink dump=1
|
||||
*/
|
||||
|
||||
/* IDR Slice 1 */
|
||||
static guint8 h265_idr_slice_1[] = {
|
||||
0x00, 0x00, 0x00, 0x01, 0x28, 0x01, 0xaf, 0x0e,
|
||||
0xc0, 0x34, 0x82, 0x15, 0x84, 0xf4, 0x70, 0x4f,
|
||||
0xff, 0xed, 0x41, 0x3f, 0xff, 0xe4, 0xcd, 0xc4,
|
||||
0x7c, 0x03, 0x0c, 0xc2, 0xbb, 0xb0, 0x34, 0xe0,
|
||||
0xca, 0xbe, 0x3c, 0xd3, 0xff, 0xfd, 0x30, 0x2f,
|
||||
0xff, 0xf9, 0x33, 0x71, 0x1f, 0x00, 0xc3, 0x30,
|
||||
0xae, 0xec, 0x1d, 0x39, 0xb3, 0x80
|
||||
0x00, 0x00, 0x00, 0x01, 0x28, 0x01, 0xaf, 0x08,
|
||||
0xa2, 0xe6, 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
|
||||
};
|
||||
|
||||
/* 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)
|
||||
|
|
Loading…
Reference in a new issue