tests: update for _negotiated_caps() change
authorWim Taymans <wim.taymans@collabora.co.uk>
Mon, 15 Aug 2011 10:19:14 +0000 (12:19 +0200)
committerWim Taymans <wim.taymans@collabora.co.uk>
Mon, 15 Aug 2011 10:19:14 +0000 (12:19 +0200)
tests/check/elements/parser.c

index d0bd455..806b63f 100644 (file)
@@ -286,7 +286,7 @@ gst_parser_test_run (GstParserTest * test, GstCaps ** out_caps)
     fail_unless_equals_int (datasum, size);
   }
 
-  src_caps = gst_pad_get_negotiated_caps (sinkpad);
+  src_caps = gst_pad_get_current_caps (sinkpad);
   GST_LOG ("output caps: %" GST_PTR_FORMAT, src_caps);
 
   if (test->sink_caps) {