[FFmpeg-devel] [PATCH 1/2] rtpdec: add a trace when jitter buffer is full
Michael Niedermayer
michaelni at gmx.at
Tue Sep 15 13:27:57 CEST 2015
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.bail at 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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: Digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20150915/9644a7fb/attachment.sig>
More information about the ffmpeg-devel
mailing list