gst-libs/gst/rtp/gstrtpbuffer.c: Fix up GstRTPHeader helper struct so that compilers...
authorHaakon Sporsheim <haakon.sporsheim@tandberg.com>
Fri, 7 Sep 2007 16:46:05 +0000 (16:46 +0000)
committerTim-Philipp Müller <tim@centricular.net>
Fri, 7 Sep 2007 16:46:05 +0000 (16:46 +0000)
commitb2948f2453dea369a4e7d9d2eeb35507146ebae2
treebc41e72b6219d3f87fa2b8cbafb7380f80d398d0
parent65eedc707774024007197ee8f27e37724b027175
gst-libs/gst/rtp/gstrtpbuffer.c: Fix up GstRTPHeader helper struct so that compilers will not under any circumstances...

Original commit message from CVS:
Based on patch by: Haakon Sporsheim  <haakon.sporsheim at tandberg com>
* gst-libs/gst/rtp/gstrtpbuffer.c:
Fix up GstRTPHeader helper struct so that compilers will not under
any circumstances add padding in between our fields, as currently
happens with MSVC on win32, because that would lead to us sending
out RTP payloads with broken RTP headers (#471194).
Fix assertion guards for gst_rtp_buffer_get_csrc() and _set_csrc().
* tests/check/Makefile.am:
* tests/check/libs/.cvsignore:
* tests/check/libs/rtp.c:
Add some simple unit tests for GstRTPBuffer. Some are disabled
because the code tested still needs fixing (set_csrc() does not work).
ChangeLog
gst-libs/gst/rtp/gstrtpbuffer.c
tests/check/Makefile.am
tests/check/libs/.gitignore
tests/check/libs/rtp.c [new file with mode: 0644]