mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-01 13:08:49 +00:00
mpegtsmux: Change unit test to not generate zero-sized buffers ever
This commit is contained in:
parent
bb135ba764
commit
fed05fcdf2
1 changed files with 1 additions and 1 deletions
|
@ -182,7 +182,7 @@ check_tsmux_pad (GstStaticPadTemplate * srctemplate,
|
|||
if (input_buf_size >= 0)
|
||||
inbuffer = gst_buffer_new_and_alloc (input_buf_size);
|
||||
else
|
||||
inbuffer = gst_buffer_new_and_alloc (g_random_int_range (0, 49141));
|
||||
inbuffer = gst_buffer_new_and_alloc (g_random_int_range (1, 49141));
|
||||
|
||||
GST_BUFFER_TIMESTAMP (inbuffer) = ts;
|
||||
ASSERT_BUFFER_REFCOUNT (inbuffer, "inbuffer", 1);
|
||||
|
|
Loading…
Reference in a new issue