Commit 29b32853 authored by Wim Taymans's avatar Wim Taymans

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.
parent d37c5e90
......@@ -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 */
/*
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment