update for _get_caps() -> _query_caps()

This commit is contained in:
Wim Taymans 2011-11-15 16:52:55 +01:00
parent 2aac4ddabf
commit 1754aa707a

View 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);