Commit fed05fcd authored by Sebastian Dröge's avatar Sebastian Dröge 🍵 Committed by Nicolas Dufresne
Browse files

mpegtsmux: Change unit test to not generate zero-sized buffers ever

parent bb135ba7
......@@ -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);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment