projects
/
platform
/
upstream
/
gst-plugins-base.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
52d269b
)
tests: avoid assert in adder test if no audio sources work
author
Jonas Holmberg
<jonashg@axis.com>
Fri, 12 Apr 2013 09:50:53 +0000
(11:50 +0200)
committer
Tim-Philipp Müller
<tim@centricular.net>
Fri, 12 Apr 2013 10:06:49 +0000
(11:06 +0100)
The array of factories should not contain a NULL element at the end
since the number of arguments is determined via G_N_ELEMENTS and the
NULL will be used as an argument to gst_element_factory_make() if
the other sources in the list weren't usable.
tests/check/elements/adder.c
patch
|
blob
|
history
diff --git
a/tests/check/elements/adder.c
b/tests/check/elements/adder.c
index
39fd751
..
0d3080b
100644
(file)
--- a/
tests/check/elements/adder.c
+++ b/
tests/check/elements/adder.c
@@
-587,8
+587,7
@@
GST_START_TEST (test_live_seeking)
/* don't use autoaudiosrc, as then we can't set anything here */
const gchar *audio_src_factories[] = {
"alsasrc",
- "pulseaudiosrc",
- NULL,
+ "pulseaudiosrc"
};
GST_INFO ("preparing test");