From c07813ac2ca2a969ac4f46b7f2bcaee731f0ca79 Mon Sep 17 00:00:00 2001 From: Andy Wingo Date: Wed, 8 Oct 2003 16:08:19 +0000 Subject: /GstBuffer/GstData/ in the API where you can pass events. Fix the plugins to deal with that. Fixes #113488. Original commit message from CVS: /GstBuffer/GstData/ in the API where you can pass events. Fix the plugins to deal with that. Fixes #113488. --- gst/overlay/gstoverlay.c | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'gst/overlay/gstoverlay.c') diff --git a/gst/overlay/gstoverlay.c b/gst/overlay/gstoverlay.c index 79c061fa..5b141657 100644 --- a/gst/overlay/gstoverlay.c +++ b/gst/overlay/gstoverlay.c @@ -274,21 +274,21 @@ gst_overlay_loop (GstElement *element) overlay = GST_OVERLAY (element); - in1 = gst_pad_pull (overlay->sinkpad1); + in1 = GST_BUFFER (gst_pad_pull (overlay->sinkpad1)); if (GST_IS_EVENT (in1)) { - gst_pad_push (overlay->srcpad, in1); + gst_pad_push (overlay->srcpad, GST_DATA (in1)); /* FIXME */ return; } - in2 = gst_pad_pull (overlay->sinkpad2); + in2 = GST_BUFFER (gst_pad_pull (overlay->sinkpad2)); if (GST_IS_EVENT (in2)) { - gst_pad_push (overlay->srcpad, in2); + gst_pad_push (overlay->srcpad, GST_DATA (in2)); /* FIXME */ return; } - in3 = gst_pad_pull (overlay->sinkpad3); + in3 = GST_BUFFER (gst_pad_pull (overlay->sinkpad3)); if (GST_IS_EVENT (in3)) { - gst_pad_push (overlay->srcpad, in3); + gst_pad_push (overlay->srcpad, GST_DATA (in3)); /* FIXME */ return; } @@ -333,7 +333,7 @@ gst_overlay_loop (GstElement *element) gst_buffer_unref (in2); gst_buffer_unref (in3); - gst_pad_push (overlay->srcpad, out); + gst_pad_push (overlay->srcpad, GST_DATA (out)); } static void -- cgit v1.2.1