update for _get_caps() -> _query_caps()
[platform/upstream/gstreamer.git] / gst / playback / gstdecodebin2.c
index fad166c..02b5628 100644 (file)
@@ -2048,7 +2048,7 @@ get_pad_caps (GstPad * pad)
    * be fixed in some cases, in which case analyze_new_pad will set up a
    * notify::caps signal to continue autoplugging. */
   if (caps == NULL)
-    caps = gst_pad_get_caps (pad, NULL);
+    caps = gst_pad_query_caps (pad, NULL);
 
   return caps;
 }