On Mon, Sep 14, 2015 at 02:02:16PM -0400, Eloi BAIL wrote: > This commit adds an error trace when jitter buffer > is full. It helps to understand leading decoding issues. > > Signed-off-by: Eloi BAIL <eloi.b...@savoirfairelinux.com> > --- > libavformat/rtpdec.c | 3 +++ > 1 file changed, 3 insertions(+) > > diff --git a/libavformat/rtpdec.c b/libavformat/rtpdec.c > index fee9547..225b77e 100644 > --- a/libavformat/rtpdec.c > +++ b/libavformat/rtpdec.c > @@ -710,6 +710,9 @@ static void enqueue_packet(RTPDemuxContext *s, uint8_t > *buf, int len) > packet->next = *cur; > *cur = packet; > s->queue_len++; > + if (s->queue_len >= s->queue_size) > + av_log(s->st ? s->st->codec : NULL, AV_LOG_ERROR, > + "jitter buffer full\n");
combined with the existing queue_len check and applied [...] -- Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB it is not once nor twice but times without number that the same ideas make their appearance in the world. -- Aristotle
signature.asc
Description: Digital signature
_______________________________________________ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-devel