rtpssrcdemux: Forward serialized events to all pads
While forwarding serialized event, we use gst_pad_forward() function. In the forward callback (GstPadForwardFunction) we always return TRUE. Returning true there will stop the dispatching procedure. As a side effect, only one events is receiving the events. This breaks when sending EOS from the applicaiton, it also breaks the latency tracer.
This commit is contained in:
parent
69ad6af83c
commit
21378d83c2
@ -579,7 +579,7 @@ forward_event (GstPad * pad, gpointer user_data)
|
|||||||
if (newevent)
|
if (newevent)
|
||||||
fdata->res &= gst_pad_push_event (pad, newevent);
|
fdata->res &= gst_pad_push_event (pad, newevent);
|
||||||
|
|
||||||
return TRUE;
|
return FALSE;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user