mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-10-07 03:02:17 +00:00
tests: fix capsfilter-renegotiation test
videotestsrc has no peer-alloc property any longer, and renegotiation should work regardless in 0.11.
This commit is contained in:
parent
8f6d23d6ed
commit
290605451a
1 changed files with 3 additions and 3 deletions
|
@ -139,11 +139,11 @@ run_capsfilter_renegotiation (const gchar * launch_line)
|
||||||
|
|
||||||
GST_START_TEST (test_capsfilter_renegotiation)
|
GST_START_TEST (test_capsfilter_renegotiation)
|
||||||
{
|
{
|
||||||
run_capsfilter_renegotiation ("videotestsrc num-buffers=200 peer-alloc=true"
|
run_capsfilter_renegotiation ("videotestsrc num-buffers=200 "
|
||||||
" ! capsfilter caps=\"" FIRST_CAPS "\" name=cf ! fakesink name=sink");
|
" ! capsfilter caps=\"" FIRST_CAPS "\" name=cf ! fakesink name=sink");
|
||||||
run_capsfilter_renegotiation ("videotestsrc num-buffers=200 peer-alloc=false"
|
run_capsfilter_renegotiation ("videotestsrc num-buffers=200 "
|
||||||
" ! capsfilter caps=\"" FIRST_CAPS "\" name=cf ! fakesink name=sink");
|
" ! capsfilter caps=\"" FIRST_CAPS "\" name=cf ! fakesink name=sink");
|
||||||
run_capsfilter_renegotiation ("videotestsrc num-buffers=200 peer-alloc=false"
|
run_capsfilter_renegotiation ("videotestsrc num-buffers=200 "
|
||||||
" ! capsfilter caps=\"video/x-raw, format=(string)I420, width=(int)100, height=(int)100\" "
|
" ! capsfilter caps=\"video/x-raw, format=(string)I420, width=(int)100, height=(int)100\" "
|
||||||
" ! videoconvert ! videoscale ! capsfilter caps=\"" FIRST_CAPS
|
" ! videoconvert ! videoscale ! capsfilter caps=\"" FIRST_CAPS
|
||||||
"\" name=cf " " ! fakesink name=sink");
|
"\" name=cf " " ! fakesink name=sink");
|
||||||
|
|
Loading…
Reference in a new issue