From 638d069c91b2d8331a740318ecbc81fdcea7d8ca Mon Sep 17 00:00:00 2001 From: Sebastian Rasmussen Date: Fri, 31 Jan 2014 00:18:35 +0100 Subject: [PATCH] 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. --- gst-libs/gst/rtp/gstrtpbasepayload.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gst-libs/gst/rtp/gstrtpbasepayload.c b/gst-libs/gst/rtp/gstrtpbasepayload.c index c0893c70f6..83daed5cf1 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",