summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWim Taymans <wim.taymans@collabora.co.uk>2011-11-15 16:52:55 +0100
committerWim Taymans <wim.taymans@collabora.co.uk>2011-11-15 16:52:55 +0100
commit1754aa707a695abbe9a332eccdf084d7e3a71cb3 (patch)
treec1001c77564a7cbb64b0db55c319f60585801f1b
parent2aac4ddabf2b1f871fbd9a7c1c3c12844cc18aa4 (diff)
update for _get_caps() -> _query_caps()
-rw-r--r--ext/x264/gstx264enc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/x264/gstx264enc.c b/ext/x264/gstx264enc.c
index b3b2092b..b0fc80b0 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);