mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-23 18:21:04 +00:00
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:
parent
d37c5e9021
commit
29b32853d5
1 changed files with 4 additions and 2 deletions
|
@ -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 */
|
||||
/*
|
||||
|
|
Loading…
Reference in a new issue