summaryrefslogtreecommitdiff
path: root/libavformat
diff options
context:
space:
mode:
authorEloi BAIL <eloi.bail@savoirfairelinux.com>2015-09-14 14:02:17 -0400
committerMichael Niedermayer <michael@niedermayer.cc>2015-09-15 13:34:51 +0200
commitbc3ea394154bfca8cfb3a831d0c65a6b579bd710 (patch)
treef0c502760ff2e22303ee038c11cc0667daf6a1c1 /libavformat
parente76be9cd450e550b6cb66e0f447334002e1120b3 (diff)
rtpdec: inform jitter buffer size
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@savoirfairelinux.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Diffstat (limited to 'libavformat')
-rw-r--r--libavformat/rtpdec.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/libavformat/rtpdec.c b/libavformat/rtpdec.c
index fee9547ebf..d544c1baf9 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_VERBOSE,
+ "setting jitter buffer size to %d\n", s->queue_size);
+
rtp_init_statistics(&s->statistics, 0);
if (st) {
switch (st->codec->codec_id) {