Skip to content
  • Andrew's avatar
    rtpjitterbuffer: Don't always reset PTS to 0 after a gap · 76792a5c
    Andrew authored
    In function rtp_jitter_buffer_calculate_pts: If gap in incoming RTP
    timestamps is more than (3 * jbuf->clock_rate) we call
    rtp_jitter_buffer_reset_skew which resets pts to 0. So components down
    the pipeline (playes, mixers) just skip frames/samples until pts becomes
    equal to pts before gap.
    
    In version 1.10.2 and before this checking was bypassed for packets with
    "estimated dts", and gaps were handled correctly.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=778341
    76792a5c