projects
/
platform
/
upstream
/
gst-plugins-bad.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bb135ba
)
mpegtsmux: Change unit test to not generate zero-sized buffers ever
author
Sebastian Dröge
<sebastian@centricular.com>
Mon, 10 Dec 2018 14:14:07 +0000
(16:14 +0200)
committer
Nicolas Dufresne
<nicolas@ndufresne.ca>
Mon, 10 Dec 2018 14:20:14 +0000
(14:20 +0000)
tests/check/elements/mpegtsmux.c
patch
|
blob
|
history
diff --git
a/tests/check/elements/mpegtsmux.c
b/tests/check/elements/mpegtsmux.c
index
8d53de7
..
a8273b6
100644
(file)
--- a/
tests/check/elements/mpegtsmux.c
+++ b/
tests/check/elements/mpegtsmux.c
@@
-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);