From 1754aa707a695abbe9a332eccdf084d7e3a71cb3 Mon Sep 17 00:00:00 2001 From: Wim Taymans Date: Tue, 15 Nov 2011 16:52:55 +0100 Subject: [PATCH] update for _get_caps() -> _query_caps() --- ext/x264/gstx264enc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ext/x264/gstx264enc.c b/ext/x264/gstx264enc.c index b3b2092b3d..b0fc80b012 100644 --- a/ext/x264/gstx264enc.c +++ b/ext/x264/gstx264enc.c @@ -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);