GNOME Bugzilla – Bug 579192
gst_rtcp_packet_get_type should not assert on packet content
Last modified: 2009-04-17 09:02:10 UTC
gst_rtcp_packet_get_type currently asserts if the packet type field is set to 0 in a packet, it should just return it to the application (which is then free to ignore that packet).
Created attachment 132774 [details] [review] RTCP: Don't error out on invalid packet type It's not possible to validate the possible packet types, so let the caller decide if the type is valid or not.
Can we get this in before 0.10.23 ?
This patch seems to make sense to include. Thaytan?
Sure, please commit.
commit d927114ef85f41526cf749b6d3e08f5869c4c39b Author: Olivier Crete <tester at tester.ca> Date: Fri Apr 17 10:53:10 2009 +0200 RTCP: don't fail when retrieving invalid PT We can't meaningfully assert on valid packet types so just return the type as it is. Update the comments to reflect this. Fixes #579192.