summaryrefslogtreecommitdiff
path: root/ext/jpeg/gstjpegenc.c
diff options
context:
space:
mode:
authorWim Taymans <wim.taymans@collabora.co.uk>2011-11-15 17:29:45 +0100
committerWim Taymans <wim.taymans@collabora.co.uk>2011-11-15 18:04:44 +0100
commit797523efbd4e0f4056b717dcd371309155ef576a (patch)
treeb1dc1bdb7e7f39ced172837bef2ef9431146c839 /ext/jpeg/gstjpegenc.c
parentb2d508ac405fdb4a1f61bc91fb2ffc750737ad90 (diff)
_peer_get_caps() -> _peer_query_caps()
Diffstat (limited to 'ext/jpeg/gstjpegenc.c')
-rw-r--r--ext/jpeg/gstjpegenc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/jpeg/gstjpegenc.c b/ext/jpeg/gstjpegenc.c
index c25e3927a..f622e4cbd 100644
--- a/ext/jpeg/gstjpegenc.c
+++ b/ext/jpeg/gstjpegenc.c
@@ -305,7 +305,7 @@ gst_jpegenc_getcaps (GstPad * pad, GstCaps * filter)
/* we want to proxy properties like width, height and framerate from the
other end of the element */
- othercaps = gst_pad_peer_get_caps (jpegenc->srcpad, filter);
+ othercaps = gst_pad_peer_query_caps (jpegenc->srcpad, filter);
if (othercaps == NULL ||
gst_caps_is_empty (othercaps) || gst_caps_is_any (othercaps)) {
caps = gst_caps_copy (gst_pad_get_pad_template_caps (pad));