Skip to content

rtpptdemux: Don't GST_FLOW_ERROR when ignoring invalid packets

Jan Schmidt requested to merge thaytan/gstreamer:rtpptdemux-ignore-invalid into main

https://bugzilla.gnome.org/show_bug.cgi?id=741398 changed rtpptdemux in 2014 to not post a GST_ELEMENT_ERROR on the bus when dropping an invalid (non-RTP) packet, but still returned GST_FLOW_ERROR upstream - so the pipeline still stops, but now without a useful bus error.

Return GST_FLOW_OK instead, so the pipeline keeps running. Some old telephony equipment can send invalid packets before the real RTP traffic starts.

Merge request reports