From b4a20d3a308c5a6102ee45336a5eca368b9f6314 Mon Sep 17 00:00:00 2001 From: Wim Taymans Date: Mon, 29 Dec 2008 14:21:47 +0000 Subject: gst/rtpmanager/rtpsource.*: When no payload was specified on the caps but there was a clock-rate, assume the clock-ra... Original commit message from CVS: * gst/rtpmanager/rtpsource.c: (rtp_source_init), (rtp_source_update_caps), (get_clock_rate): * gst/rtpmanager/rtpsource.h: When no payload was specified on the caps but there was a clock-rate, assume the clock-rate corresponds to the first payload type found in the RTP packets. Fixes #565509. --- gst/rtpmanager/rtpsource.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gst/rtpmanager/rtpsource.h') diff --git a/gst/rtpmanager/rtpsource.h b/gst/rtpmanager/rtpsource.h index 0353a58b..a44ac1cd 100644 --- a/gst/rtpmanager/rtpsource.h +++ b/gst/rtpmanager/rtpsource.h @@ -128,7 +128,7 @@ struct _RTPSource { gboolean have_rtcp_from; GstNetAddress rtcp_from; - guint8 payload; + gint payload; GstCaps *caps; gint clock_rate; gint32 seqnum_base; -- cgit v1.2.1