rtp: a marker bit should translate to RESYNC
authorWim Taymans <wim.taymans@collabora.co.uk>
Wed, 24 Apr 2013 13:38:50 +0000 (15:38 +0200)
committerWim Taymans <wim.taymans@collabora.co.uk>
Wed, 24 Apr 2013 13:42:45 +0000 (15:42 +0200)
commiteac9efb92e22fcfa41e915e3db0b6d95e397a222
treeb0777141eb26b88a9ecfef0653070e08393ede12
parent7000e3303bbd3d7f09a5b1dede1ece9c9852508f
rtp: a marker bit should translate to RESYNC

A marker bit on an audio packet does not mean a DISCONT (in the GStreamer sense
of missing data) but it means that the packet is the end of a talkspurt and thus
a good opportunity to resync to the clock. Use the RESYNC buffer flag to note
this.
Real discontinuities are marked with DISCONT still when the seqnum has a GAP or
when the input buffer has the DISCONT flag set.

Fixes https://bugzilla.gnome.org/show_bug.cgi?id=627204
12 files changed:
gst/rtp/gstrtpL16depay.c
gst/rtp/gstrtpamrdepay.c
gst/rtp/gstrtpbvdepay.c
gst/rtp/gstrtpg722depay.c
gst/rtp/gstrtpg723depay.c
gst/rtp/gstrtpg726depay.c
gst/rtp/gstrtpg729depay.c
gst/rtp/gstrtpgsmdepay.c
gst/rtp/gstrtpilbcdepay.c
gst/rtp/gstrtpmpadepay.c
gst/rtp/gstrtppcmadepay.c
gst/rtp/gstrtppcmudepay.c