Skip to content
Snippets Groups Projects
Select Git revision
  • master default protected
  • release/202005
  • release/202001
  • release/201912
  • release/201911
  • release/releaseWindowsTestOne
  • release/windowsReleaseTest
  • release/releaseTest
  • release/releaseWindowsTest
  • release/201910
  • release/qt/201910
  • release/windows-test/201910
  • release/201908
  • release/201906
  • release/201905
  • release/201904
  • release/201903
  • release/201902
  • release/201901
  • release/201812
  • 4.0.0
  • 2.2.0
  • 2.1.0
  • 2.0.1
  • 2.0.0
  • 1.4.1
  • 1.4.0
  • 1.3.0
  • 1.2.0
  • 1.1.0
30 results

0002-rtpdec-inform-jitter-buffer-size.patch

Blame
    • Eloi Bail's avatar
      a4e58ada
      contrib/ffmpeg: add rtpdec traces · a4e58ada
      Eloi Bail authored
      This patchset adds information about jitter buffer used in rtpdec.
      The first patch prints as warning when jitter buffer is full.
      The second patch prints as verbose jitter buffer size set by default in
      libav headers or by application.
      The third patch prints as waring when max delay on jitter buffer is
      reached
      
      Those traces are helpful to know the origin of decoding issues.
      Indeed a jitter buffer full or a max delay reached will lead to packet
      reordering failure and then to video decoding failure.
      
      Issue: #80483
      Change-Id: I7f123f04fe67c279391f153db5ea6f472759f8b2
      a4e58ada
      History
      contrib/ffmpeg: add rtpdec traces
      Eloi Bail authored
      This patchset adds information about jitter buffer used in rtpdec.
      The first patch prints as warning when jitter buffer is full.
      The second patch prints as verbose jitter buffer size set by default in
      libav headers or by application.
      The third patch prints as waring when max delay on jitter buffer is
      reached
      
      Those traces are helpful to know the origin of decoding issues.
      Indeed a jitter buffer full or a max delay reached will lead to packet
      reordering failure and then to video decoding failure.
      
      Issue: #80483
      Change-Id: I7f123f04fe67c279391f153db5ea6f472759f8b2
    Code owners
    Assign users and groups as approvers for specific file changes. Learn more.
    0002-rtpdec-inform-jitter-buffer-size.patch 1.15 KiB
    From d555bd69e792e42d94bd909b30d9bfef01db4e25 Mon Sep 17 00:00:00 2001
    From: Eloi BAIL <eloi.bail@savoirfairelinux.com>
    Date: Tue, 15 Sep 2015 11:38:22 -0400
    Subject: [PATCH] rtpdec: inform jitter buffer size
    MIME-Version: 1.0
    Content-Type: text/plain; charset=UTF-8
    Content-Transfer-Encoding: 8bit
    
    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>
    ---
     libavformat/rtpdec.c | 4 ++++
     1 file changed, 4 insertions(+)
    
    diff --git a/libavformat/rtpdec.c b/libavformat/rtpdec.c
    index 5706f16..34c77f8 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) {
    2.1.4