update for _get_caps() -> _query_caps()
[platform/upstream/gstreamer.git] / tests / icles / playback / test5.c
index 8badfd3..678a908 100644 (file)
@@ -71,7 +71,7 @@ dump_element_stats (GstElement * element)
 
     g_print ("stream %s:\n", GST_OBJECT_NAME (pad));
 
-    caps = gst_pad_get_caps (pad, NULL);
+    caps = gst_pad_query_caps (pad, NULL);
     str = gst_caps_to_string (caps);
     g_print (" caps: %s\n", str);
     g_free (str);