GNOME Bugzilla – Bug 483620
All Rtp buffers are discarded -- gst_rtp_buffer_get_payload_subbuffer always return null
Last modified: 2007-10-05 07:48:51 UTC
Erroneous replacement, http://webcvs.freedesktop.org/gstreamer/gst-plugins-base/gst-libs/gst/rtp/gstrtpbuffer.c?r1=1.17&r2=1.18 Test should be G_UNLIKELY(offset > plen)
Well, shouldn't it be offset >= plen, i.e. !(offset < plen)?
Probably.
2007-10-05 Sebastian Dröge <slomo@circular-chaos.org> * gst-libs/gst/rtp/gstrtpbuffer.c: (gst_rtp_buffer_get_payload_subbuffer): Fix bug introduced with last commit which inverted the logic and caused all buffers to be dropped. Fixes #483620. Thanks to Laurent Glayal <spglegle at yahoo dot fr> for noticing.