diff options
author | Eloi BAIL <eloi.bail@savoirfairelinux.com> | 2015-09-15 11:38:22 -0400 |
---|---|---|
committer | Martin Storsjö <martin@martin.st> | 2015-09-16 09:55:51 +0300 |
commit | d555bd69e792e42d94bd909b30d9bfef01db4e25 (patch) | |
tree | d5a28920d51d84f4ae53e78f633219b25938020b /libavformat | |
parent | ff7f6ea9db2a77d74f7e68a716f53ba1f3f85017 (diff) | |
download | ffmpeg-d555bd69e792e42d94bd909b30d9bfef01db4e25.tar.gz |
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')
-rw-r--r-- | libavformat/rtpdec.c | 4 |
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) { |