Browse Source

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>
tags/n3.0
Eloi BAIL Martin Storsjö 10 years ago
parent
commit
d555bd69e7
1 changed files with 4 additions and 0 deletions
  1. +4
    -0
      libavformat/rtpdec.c

+ 4
- 0
libavformat/rtpdec.c View File

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


Loading…
Cancel
Save