GNOME Bugzilla – Bug 626869
The RTP depayloader is sometimes sending partial frames down the pipeline without the DISCONT bit set
Last modified: 2010-08-18 10:45:23 UTC
In our application we have noticed that sometimes there are partial packets (jpeg) from the depayloader being sent down the pipeline without the 'priv->discont' flag being set properly.
Created attachment 167946 [details] [review] possible patch This patch should fix it.
Created attachment 168063 [details] [review] Patch to properly set the priv->discont flag post-packet-loss situations for any rtp*depay element.
Comment on attachment 168063 [details] [review] Patch to properly set the priv->discont flag post-packet-loss situations for any rtp*depay element. We are requesting that the ‘priv->discont’ flag be set in the base depayloader (patch attached). Although we found this issue in the jpeg depayloader we would like to ensure that the DISCONT flag is reliably set on the first buffer to be sent by a rtp*depay element, following a packet loss event. Without this change, the flag is only set if the first packet after the loss event happens to be the last one in a frame. We want it to be set, regardless of how many packets arrive between the loss event and the end of the frame.
commit 1f19649695c2f5c6313b33f0d40ffe5a3df70220 Author: American Dynamics <GStreamer-Bugs at tycosp.com> Date: Wed Aug 18 12:34:07 2010 +0200 basertpdepay: don't clear the discont flag too early Set the discont flag when we receive a DISCONT buffer and only clear the discont state when we pushed out a DISCONT buffer. Fixes #626869