gst/gstghostpad.c: Correctly proxy the check_pull_range function.

Original commit message from CVS:
* gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
(gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_acceptcaps),
(gst_proxy_pad_do_fixatecaps):
Correctly proxy the check_pull_range function.
This commit is contained in:
Wim Taymans 2005-06-28 13:40:12 +00:00
parent e65ae0c3c8
commit d0616cd459
2 changed files with 17 additions and 2 deletions

View file

@ -1,3 +1,10 @@
2005-06-28 Wim Taymans <wim@fluendo.com>
* gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
(gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_acceptcaps),
(gst_proxy_pad_do_fixatecaps):
Correctly proxy the check_pull_range function.
2005-06-28 Andy Wingo <wingo@pobox.com>
* tests/network-clock.scm: Removed need for slib.

View file

@ -244,11 +244,19 @@ gst_proxy_pad_do_getrange (GstPad * pad, guint64 offset, guint size,
static gboolean
gst_proxy_pad_do_checkgetrange (GstPad * pad)
{
gboolean result;
GstPad *target = GST_PROXY_PAD_TARGET (pad);
GstPad *peer;
g_return_val_if_fail (target != NULL, FALSE);
return gst_pad_check_pull_range (target);
peer = gst_pad_get_peer (target);
if (peer) {
result = gst_pad_check_pull_range (peer);
gst_object_unref (peer);
} else {
result = FALSE;
}
return result;
}
static GstCaps *