Skip to content

rtpfunnel: forward correct segment when switching pad

Forwarding a single segment event from the pad that first gets chained is incorrect: when that first event was sent by an element such as x264enc, with its offset start, we end pushing out of segment buffers for the other pad(s).

Instead, everytime the active pad changes, forward the appropriate segment event.

Fixes gst-plugins-bad#1028 (closed)

Merge request reports

Loading