Browse Source

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>
tags/n3.0
Eloi BAIL Michael Niedermayer 9 years ago
parent
commit
bc3ea39415
1 changed files with 4 additions and 0 deletions
  1. +4
    -0
      libavformat/rtpdec.c

+ 4
- 0
libavformat/rtpdec.c 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) {


Loading…
Cancel
Save