summaryrefslogtreecommitdiffstats
path: root/gst/overlay/gstoverlay.c
diff options
context:
space:
mode:
authorAndy Wingo <wingo@pobox.com>2003-10-08 16:08:19 +0000
committerAndy Wingo <wingo@pobox.com>2003-10-08 16:08:19 +0000
commitc07813ac2ca2a969ac4f46b7f2bcaee731f0ca79 (patch)
tree88f65b715d1fa83677b13286b3681a6096b5dcf2 /gst/overlay/gstoverlay.c
parent69edaac422d50a0e365fae15d354c07c0f5419d4 (diff)
downloadgst-plugins-bad-c07813ac2ca2a969ac4f46b7f2bcaee731f0ca79.tar.gz
gst-plugins-bad-c07813ac2ca2a969ac4f46b7f2bcaee731f0ca79.tar.bz2
gst-plugins-bad-c07813ac2ca2a969ac4f46b7f2bcaee731f0ca79.zip
/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.
Diffstat (limited to 'gst/overlay/gstoverlay.c')
-rw-r--r--gst/overlay/gstoverlay.c14
1 files changed, 7 insertions, 7 deletions
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