_peer_get_caps() -> _peer_query_caps()
authorWim Taymans <wim.taymans@collabora.co.uk>
Tue, 15 Nov 2011 16:23:39 +0000 (17:23 +0100)
committerWim Taymans <wim.taymans@collabora.co.uk>
Tue, 15 Nov 2011 16:23:39 +0000 (17:23 +0100)
ext/x264/gstx264enc.c

index b0fc80b..5ea9512 100644 (file)
@@ -1524,7 +1524,7 @@ gst_x264_enc_sink_set_caps (GstPad * pad, GstCaps * caps)
   encoder->peer_level = NULL;
 
   /* FIXME: Remove THIS bit in 0.11 when the profile property is removed */
-  peer_caps = gst_pad_peer_get_caps (encoder->srcpad, NULL);
+  peer_caps = gst_pad_peer_query_caps (encoder->srcpad, NULL);
   if (peer_caps) {
     gint i;
     gboolean has_profile_or_level_or_format = FALSE;