tests: fix capsfilter-renegotiation test
authorTim-Philipp Müller <tim.muller@collabora.co.uk>
Sat, 25 Feb 2012 01:04:07 +0000 (01:04 +0000)
committerTim-Philipp Müller <tim.muller@collabora.co.uk>
Sat, 25 Feb 2012 01:04:07 +0000 (01:04 +0000)
videotestsrc has no peer-alloc property any longer, and
renegotiation should work regardless in 0.11.

tests/check/pipelines/capsfilter-renegotiation.c

index 46edd9d..feef062 100644 (file)
@@ -139,11 +139,11 @@ run_capsfilter_renegotiation (const gchar * launch_line)
 
 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");
-  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");
-  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\" "
       " ! videoconvert ! videoscale ! capsfilter caps=\"" FIRST_CAPS
       "\" name=cf " " ! fakesink name=sink");