diff options
author | Sebastian Dröge <sebastian@centricular.com> | 2014-06-22 14:12:43 +0200 |
---|---|---|
committer | Sebastian Dröge <sebastian@centricular.com> | 2014-06-22 14:21:35 +0200 |
commit | ae990435063bbb0f1fd2caf1726805e2d7086790 (patch) | |
tree | 9c88bce85e87086ff3857819cf3800420dc328d5 /gst | |
parent | 9bd4a1b2e086d09a2eaf435603348a595b40d071 (diff) |
rawparse: Use the pad passed to us directly for default event handling
Diffstat (limited to 'gst')
-rw-r--r-- | gst/rawparse/gstrawparse.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gst/rawparse/gstrawparse.c b/gst/rawparse/gstrawparse.c index afbaa2837..18b2eac77 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; } |