[FFmpeg-devel] [PATCH 2/2] rtpdec: inform jitter buffer size

Michael Niedermayer michaelni at gmx.at
Tue Sep 15 13:27:30 CEST 2015


On Mon, Sep 14, 2015 at 02:02:17PM -0400, Eloi BAIL wrote:
> This commit print as AV_LOG_INFO the jitter buffer
> size. It might be the default value or the value set by application.
> 
> Signed-off-by: Eloi BAIL <eloi.bail at savoirfairelinux.com>
> ---
>  libavformat/rtpdec.c | 4 ++++
>  1 file changed, 4 insertions(+)
> 
> diff --git a/libavformat/rtpdec.c b/libavformat/rtpdec.c
> index 225b77e..de01403 100644
> --- a/libavformat/rtpdec.c
> +++ b/libavformat/rtpdec.c
> @@ -520,6 +520,10 @@ RTPDemuxContext *ff_rtp_parse_open(AVFormatContext *s1, AVStream *st,
>      s->ic                  = s1;
>      s->st                  = st;
>      s->queue_size          = queue_size;
> +
> +    av_log(s->st ? s->st->codec : NULL, AV_LOG_INFO,
> +            "setting jitter buffer size to %d\n", s->queue_size);

applied with decreased log level

[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

No snowflake in an avalanche ever feels responsible. -- Voltaire
-------------- 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/f2e7b2d7/attachment.sig>


More information about the ffmpeg-devel mailing list