mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-27 01:28:34 +00:00
tests: parsers: provide more real data when testing draining of garbage
This commit is contained in:
parent
b9a54a38b0
commit
077a306054
1 changed files with 3 additions and 1 deletions
|
@ -346,7 +346,9 @@ gst_parser_test_drain_garbage (guint8 * data, guint size, guint8 * garbage,
|
|||
{
|
||||
GstParserTest ptest;
|
||||
|
||||
gst_parser_test_init (&ptest, data, size, 1);
|
||||
/* provide enough initial frames since it may take some parsers some
|
||||
* time to be convinced of proper sync */
|
||||
gst_parser_test_init (&ptest, data, size, 10);
|
||||
ptest.series[1].data = garbage;
|
||||
ptest.series[1].size = gsize;
|
||||
ptest.series[1].num = 1;
|
||||
|
|
Loading…
Reference in a new issue