[FFmpeg-cvslog] rtpdec: inform jitter buffer size

Eloi BAIL git at videolan.org
Wed Sep 16 14:11:12 CEST 2015


ffmpeg | branch: master | Eloi BAIL <eloi.bail at savoirfairelinux.com> | Tue Sep 15 11:38:22 2015 -0400| [d555bd69e792e42d94bd909b30d9bfef01db4e25] | committer: Martin Storsjö

rtpdec: inform jitter buffer size

This commit print as AV_LOG_VERBOSE 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>
Signed-off-by: Martin Storsjö <martin at martin.st>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=d555bd69e792e42d94bd909b30d9bfef01db4e25
---

 libavformat/rtpdec.c |    4 ++++
 1 file changed, 4 insertions(+)

diff --git a/libavformat/rtpdec.c b/libavformat/rtpdec.c
index 5706f16..34c77f8 100644
--- a/libavformat/rtpdec.c
+++ b/libavformat/rtpdec.c
@@ -513,6 +513,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_VERBOSE,
+            "setting jitter buffer size to %d\n", s->queue_size);
+
     rtp_init_statistics(&s->statistics, 0);
     if (st) {
         switch (st->codec->codec_id) {



More information about the ffmpeg-cvslog mailing list