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>
This commit is contained in:
Eloi BAIL 2015-09-14 14:02:17 -04:00 committed by Michael Niedermayer
parent e76be9cd45
commit bc3ea39415
1 changed files with 4 additions and 0 deletions

View File

@ -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) {