rawparse: Use the pad passed to us directly for default event handling

This commit is contained in:
Sebastian Dröge 2014-06-22 14:12:43 +02:00
parent 9bd4a1b2e0
commit ae99043506

View file

@ -724,7 +724,7 @@ gst_raw_parse_sink_event (GstPad * pad, GstObject * parent, GstEvent * event)
break; break;
} }
default: default:
ret = gst_pad_event_default (rp->sinkpad, parent, event); ret = gst_pad_event_default (pad, parent, event);
break; 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); ret = gst_raw_parse_handle_seek_pull (rp, event);
break; break;
default: default:
ret = gst_pad_event_default (rp->srcpad, parent, event); ret = gst_pad_event_default (pad, parent, event);
break; break;
} }