_peer_get_caps() -> _peer_query_caps()

This commit is contained in:
Wim Taymans 2011-11-15 17:23:21 +01:00
parent 175a092331
commit 71540b5fc1

View file

@ -319,7 +319,7 @@ gst_ffmpegenc_get_possible_sizes (GstFFMpegEnc * ffmpegenc, GstPad * pad,
GstCaps *intersect = NULL;
guint i;
othercaps = gst_pad_peer_get_caps (ffmpegenc->srcpad, NULL);
othercaps = gst_pad_peer_query_caps (ffmpegenc->srcpad, NULL);
if (!othercaps)
return gst_caps_copy (caps);