From ae990435063bbb0f1fd2caf1726805e2d7086790 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebastian=20Dr=C3=B6ge?= Date: Sun, 22 Jun 2014 14:12:43 +0200 Subject: [PATCH] rawparse: Use the pad passed to us directly for default event handling --- gst/rawparse/gstrawparse.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gst/rawparse/gstrawparse.c b/gst/rawparse/gstrawparse.c index afbaa2837f..18b2eac774 100644 --- a/gst/rawparse/gstrawparse.c +++ b/gst/rawparse/gstrawparse.c @@ -724,7 +724,7 @@ gst_raw_parse_sink_event (GstPad * pad, GstObject * parent, GstEvent * event) break; } default: - ret = gst_pad_event_default (rp->sinkpad, parent, event); + ret = gst_pad_event_default (pad, parent, event); break; } @@ -926,7 +926,7 @@ gst_raw_parse_src_event (GstPad * pad, GstObject * parent, GstEvent * event) ret = gst_raw_parse_handle_seek_pull (rp, event); break; default: - ret = gst_pad_event_default (rp->srcpad, parent, event); + ret = gst_pad_event_default (pad, parent, event); break; }