rtpgstdepay: Properly handle backward compat for event deserialization
authorJosep Torra <n770galaxy@gmail.com>
Mon, 16 Nov 2015 01:16:29 +0000 (17:16 -0800)
committerJosep Torra <n770galaxy@gmail.com>
Wed, 18 Nov 2015 01:24:28 +0000 (17:24 -0800)
commit84b6743cf813651a6a6107ab3a875d2108cb6da7
tree1819a1bd217aa76b5764bbeb0cc8bfc082376130
parentf8b9360dadf48d24a27011c56f06d784736155d7
rtpgstdepay: Properly handle backward compat for event deserialization

Actual code is checking for a NULL terminator and a ';' terminator,
for backward compat, in a chained way that cause all events being rejected.
The proper condition is to reject the events when terminator isn't
in ['\0', ';'] set.

https://bugzilla.gnome.org/show_bug.cgi?id=758151
gst/rtp/gstrtpgstdepay.c