rtph263pdepay: allow more clock-rates as input

Although the spec says that the clock-rate should always be 90000, some rtsp
servers send different clock-rates so we must accept then in order to handle
those streams too.
This commit is contained in:
Wim Taymans 2010-07-09 14:07:49 +02:00
parent d37c5e9021
commit 29b32853d5

View file

@ -40,7 +40,8 @@ static GstStaticPadTemplate gst_rtp_h263p_depay_sink_template =
GST_STATIC_CAPS ("application/x-rtp, "
"media = (string) \"video\", "
"payload = (int) " GST_RTP_PAYLOAD_DYNAMIC_STRING ", "
"clock-rate = (int) 90000, " "encoding-name = (string) \"H263-1998\"; "
"clock-rate = (int) [1, MAX], "
"encoding-name = (string) \"H263-1998\"; "
/* optional params */
/* NOTE all optional SDP params must be strings in the caps */
/*
@ -65,7 +66,8 @@ static GstStaticPadTemplate gst_rtp_h263p_depay_sink_template =
"application/x-rtp, "
"media = (string) \"video\", "
"payload = (int) " GST_RTP_PAYLOAD_DYNAMIC_STRING ", "
"clock-rate = (int) 90000, " "encoding-name = (string) \"H263-2000\" "
"clock-rate = (int) [1, MAX], "
"encoding-name = (string) \"H263-2000\" "
/* optional params */
/* NOTE all optional SDP params must be strings in the caps */
/*