From: Sebastian Rasmussen Date: Thu, 30 Jan 2014 23:18:35 +0000 (+0100) Subject: rtpbasepayload: Fix payload type property boundary value X-Git-Tag: 1.19.3~511^2~4683 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=638d069c91b2d8331a740318ecbc81fdcea7d8ca;p=platform%2Fupstream%2Fgstreamer.git rtpbasepayload: Fix payload type property boundary value The payload type field in an RTP packet header is 7 bits wide, hence the boundary values ought to be 0x00 and 0x7f, not the previously stated values 0x00 and 0x80. --- diff --git a/gst-libs/gst/rtp/gstrtpbasepayload.c b/gst-libs/gst/rtp/gstrtpbasepayload.c index c0893c7..83daed5 100644 --- a/gst-libs/gst/rtp/gstrtpbasepayload.c +++ b/gst-libs/gst/rtp/gstrtpbasepayload.c @@ -183,7 +183,7 @@ gst_rtp_base_payload_class_init (GstRTPBasePayloadClass * klass) G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)); g_object_class_install_property (G_OBJECT_CLASS (klass), PROP_PT, g_param_spec_uint ("pt", "payload type", - "The payload type of the packets", 0, 0x80, DEFAULT_PT, + "The payload type of the packets", 0, 0x7f, DEFAULT_PT, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)); g_object_class_install_property (G_OBJECT_CLASS (klass), PROP_SSRC, g_param_spec_uint ("ssrc", "SSRC",