summaryrefslogtreecommitdiff
path: root/libavformat/rtpdec.c
diff options
context:
space:
mode:
authorEloi BAIL <eloi.bail@savoirfairelinux.com>2015-09-15 11:38:22 -0400
committerMartin Storsjö <martin@martin.st>2015-09-16 09:55:51 +0300
commitd555bd69e792e42d94bd909b30d9bfef01db4e25 (patch)
treed5a28920d51d84f4ae53e78f633219b25938020b /libavformat/rtpdec.c
parentff7f6ea9db2a77d74f7e68a716f53ba1f3f85017 (diff)
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@savoirfairelinux.com> Signed-off-by: Martin Storsjö <martin@martin.st>
Diffstat (limited to 'libavformat/rtpdec.c')
-rw-r--r--libavformat/rtpdec.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/libavformat/rtpdec.c b/libavformat/rtpdec.c
index 5706f16800..34c77f8819 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) {