}
GST_DEBUG_OBJECT (pad, "Forwarding event %" GST_PTR_FORMAT, event);
- ret = gst_proxy_pad_event_default (pad, parent, gst_event_ref (event));
+ ret = gst_pad_event_default (pad, parent, gst_event_ref (event));
if (GST_EVENT_TYPE (event) == GST_EVENT_SEGMENT) {
const GstSegment *segment;
goto out;
}
- ret = gst_proxy_pad_event_default (pad, parent, gst_event_ref (event));
+ ret = gst_pad_event_default (pad, parent, gst_event_ref (event));
out:
gst_event_unref (event);
break;
}
- ret = gst_proxy_pad_event_default (pad, parent, gst_event_ref (event));
+ ret = gst_pad_event_default (pad, parent, gst_event_ref (event));
if (GST_EVENT_TYPE (event) == GST_EVENT_SEGMENT) {
GstSegment seg;
break;
}
default:
- res = gst_proxy_pad_query_default (pad, parent, query);
+ res = gst_pad_query_default (pad, parent, query);
break;
}
return res;
event = NULL;
ret = TRUE;
} else {
- ret = gst_proxy_pad_event_default (proxypad, parent, event);
+ ret = gst_pad_event_default (proxypad, parent, event);
event = NULL;
}
break;
}
- ret = gst_proxy_pad_event_default (pad, parent, gst_event_ref (event));
+ ret = gst_pad_event_default (pad, parent, gst_event_ref (event));
if (GST_EVENT_TYPE (event) == GST_EVENT_SEGMENT) {
GST_DEBUG_OBJECT (pad, "segment event: %" GST_PTR_FORMAT, event);
gst_subtitle_overlay_subtitle_sink_link (GstPad * pad, GstPad * peer)
{
GstSubtitleOverlay *self = GST_SUBTITLE_OVERLAY (gst_pad_get_parent (pad));
- GstPadLinkReturn ret;
GstCaps *caps;
GST_DEBUG_OBJECT (pad, "Linking pad to peer %" GST_PTR_FORMAT, peer);
gst_caps_unref (caps);
}
- ret = gst_ghost_pad_link_default (pad, peer);
-
gst_object_unref (self);
- return ret;
+
+ return GST_PAD_LINK_OK;
}
static void
GST_DEBUG_OBJECT (pad, "Pad unlinking");
gst_caps_replace (&self->subcaps, NULL);
- gst_ghost_pad_unlink_default (pad);
-
GST_SUBTITLE_OVERLAY_LOCK (self);
self->subtitle_error = FALSE;
break;
}
- ret = gst_proxy_pad_event_default (pad, parent, gst_event_ref (event));
+ ret = gst_pad_event_default (pad, parent, gst_event_ref (event));
if (GST_EVENT_TYPE (event) == GST_EVENT_SEGMENT) {
const GstSegment *eventsegment;