update for _get_caps() -> _query_caps()
authorWim Taymans <wim.taymans@collabora.co.uk>
Tue, 15 Nov 2011 15:52:55 +0000 (16:52 +0100)
committerWim Taymans <wim.taymans@collabora.co.uk>
Tue, 15 Nov 2011 15:52:55 +0000 (16:52 +0100)
ext/x264/gstx264enc.c

index b3b2092..b0fc80b 100644 (file)
@@ -1678,7 +1678,7 @@ gst_x264_enc_sink_get_caps (GstPad * pad, GstCaps * filter)
     GstCaps *peercaps;
     guint i, n;
 
-    peercaps = gst_pad_get_caps (peer, NULL);
+    peercaps = gst_pad_query_caps (peer, NULL);
 
     /* Translate peercaps to YUV */
     peercaps = gst_caps_make_writable (peercaps);