mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-24 02:31:03 +00:00
rawparse: Use the pad passed to us directly for default event handling
This commit is contained in:
parent
9bd4a1b2e0
commit
ae99043506
1 changed files with 2 additions and 2 deletions
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue