[FFmpeg-devel] drop entire frame when RTP packets are lost
michaelni at gmx.at
Fri Jun 29 19:48:01 CEST 2012
On Fri, Jun 29, 2012 at 01:41:06PM -0400, Martin Carroll wrote:
> [Please forgive me if this issue has already been discussed -- I am
> new to ffmpeg-devel. I could not, however, find any discussion on
> this topic on this list in the past year, so here goes.]
> In the current design of ffplay/ffmpeg, when an RTP packet is
> lost, the containing -- and incomplete -- encoded frame is still
> passed along to the decoder. I have implemented a patch that
> has the read thread keep track of how many packets are missed,
> and when any are missed, the entire containing frame is dropped
> (that is, never makes it out of the read thread).
> I would be happy to send this patch upstream, or discuss it
> further if anyone likes.
> (The patch touches six files and about 25 lines of code.)
the question left open is why the frame should be droped ?
Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB
If a bugfix only changes things apparently unrelated to the bug with no
further explanation, that is a good sign that the bugfix is wrong.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 198 bytes
Desc: Digital signature
More information about the ffmpeg-devel