Commit bcd367b8 authored by Mathieu Duponchelle's avatar Mathieu Duponchelle 🐸

rtspsrc: handle seek event on the element

Without this, the user has to wait for rtspsrc to have sent a PLAY
request and exposed its pads before seeking it.
parent 2c3c1072
......@@ -8962,7 +8962,9 @@ gst_rtspsrc_send_event (GstElement * element, GstEvent * event)
rtspsrc = GST_RTSPSRC (element);
res = gst_rtspsrc_perform_seek (rtspsrc, event);
} else if (GST_EVENT_IS_DOWNSTREAM (event)) {
res = gst_rtspsrc_push_event (rtspsrc, event);
} else {
res = GST_ELEMENT_CLASS (parent_class)->send_event (element, event);
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment