mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-10 17:35:59 +00:00
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:
parent
e65ae0c3c8
commit
d0616cd459
2 changed files with 17 additions and 2 deletions
|
@ -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.
|
||||
|
|
|
@ -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 *
|
||||
|
|
Loading…
Reference in a new issue