mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-15 10:45:20 +00:00
gst/rtp/: Add static payload numbers in addition to the dynamic ones.
Original commit message from CVS: Patch by: Ville Syrjala <ville dot syrjala at movial dot fi> * gst/rtp/gstrtpgsmpay.c: * gst/rtp/gstrtph263pay.c: * gst/rtp/gstrtpmpapay.c: * gst/rtp/gstrtppcmapay.c: (gst_rtp_pcma_pay_flush), (gst_rtp_pcma_pay_handle_buffer): * gst/rtp/gstrtppcmupay.c: (gst_rtp_pcmu_pay_flush): Add static payload numbers in addition to the dynamic ones. Fixes #361639.
This commit is contained in:
parent
b14738fb20
commit
69ce71927e
6 changed files with 40 additions and 7 deletions
13
ChangeLog
13
ChangeLog
|
@ -1,3 +1,16 @@
|
||||||
|
2006-10-18 Wim Taymans <wim@fluendo.com>
|
||||||
|
|
||||||
|
Patch by: Ville Syrjala <ville dot syrjala at movial dot fi>
|
||||||
|
|
||||||
|
* gst/rtp/gstrtpgsmpay.c:
|
||||||
|
* gst/rtp/gstrtph263pay.c:
|
||||||
|
* gst/rtp/gstrtpmpapay.c:
|
||||||
|
* gst/rtp/gstrtppcmapay.c: (gst_rtp_pcma_pay_flush),
|
||||||
|
(gst_rtp_pcma_pay_handle_buffer):
|
||||||
|
* gst/rtp/gstrtppcmupay.c: (gst_rtp_pcmu_pay_flush):
|
||||||
|
Add static payload numbers in addition to the dynamic ones.
|
||||||
|
Fixes #361639.
|
||||||
|
|
||||||
2006-10-18 Wim Taymans <wim@fluendo.com>
|
2006-10-18 Wim Taymans <wim@fluendo.com>
|
||||||
|
|
||||||
* gst/rtsp/gstrtspsrc.c: (gst_rtsp_lower_trans_get_type),
|
* gst/rtsp/gstrtspsrc.c: (gst_rtsp_lower_trans_get_type),
|
||||||
|
|
|
@ -43,12 +43,16 @@ GST_STATIC_PAD_TEMPLATE ("sink",
|
||||||
);
|
);
|
||||||
|
|
||||||
static GstStaticPadTemplate gst_rtp_gsm_pay_src_template =
|
static GstStaticPadTemplate gst_rtp_gsm_pay_src_template =
|
||||||
GST_STATIC_PAD_TEMPLATE ("src",
|
GST_STATIC_PAD_TEMPLATE ("src",
|
||||||
GST_PAD_SRC,
|
GST_PAD_SRC,
|
||||||
GST_PAD_ALWAYS,
|
GST_PAD_ALWAYS,
|
||||||
GST_STATIC_CAPS ("application/x-rtp, "
|
GST_STATIC_CAPS ("application/x-rtp, "
|
||||||
"media = (string) \"audio\", "
|
"media = (string) \"audio\", "
|
||||||
"payload = (int) " GST_RTP_PAYLOAD_GSM_STRING ", "
|
"payload = (int) " GST_RTP_PAYLOAD_GSM_STRING ", "
|
||||||
|
"clock-rate = (int) 8000, " "encoding-name = (string) \"GSM\"; "
|
||||||
|
"application/x-rtp, "
|
||||||
|
"media = (string) \"audio\", "
|
||||||
|
"payload = (int) " GST_RTP_PAYLOAD_DYNAMIC_STRING ", "
|
||||||
"clock-rate = (int) 8000, " "encoding-name = (string) \"GSM\"")
|
"clock-rate = (int) 8000, " "encoding-name = (string) \"GSM\"")
|
||||||
);
|
);
|
||||||
|
|
||||||
|
|
|
@ -158,12 +158,16 @@ GST_STATIC_PAD_TEMPLATE ("sink",
|
||||||
);
|
);
|
||||||
|
|
||||||
static GstStaticPadTemplate gst_rtp_h263_pay_src_template =
|
static GstStaticPadTemplate gst_rtp_h263_pay_src_template =
|
||||||
GST_STATIC_PAD_TEMPLATE ("src",
|
GST_STATIC_PAD_TEMPLATE ("src",
|
||||||
GST_PAD_SRC,
|
GST_PAD_SRC,
|
||||||
GST_PAD_ALWAYS,
|
GST_PAD_ALWAYS,
|
||||||
GST_STATIC_CAPS ("application/x-rtp, "
|
GST_STATIC_CAPS ("application/x-rtp, "
|
||||||
"media = (string) \"video\", "
|
"media = (string) \"video\", "
|
||||||
"payload = (int) " GST_RTP_PAYLOAD_H263_STRING ", "
|
"payload = (int) " GST_RTP_PAYLOAD_H263_STRING ", "
|
||||||
|
"clock-rate = (int) 90000, " "encoding-name = (string) \"H263\"; "
|
||||||
|
"application/x-rtp, "
|
||||||
|
"media = (string) \"video\", "
|
||||||
|
"payload = (int) " GST_RTP_PAYLOAD_DYNAMIC_STRING ", "
|
||||||
"clock-rate = (int) 90000, " "encoding-name = (string) \"H263\"")
|
"clock-rate = (int) 90000, " "encoding-name = (string) \"H263\"")
|
||||||
);
|
);
|
||||||
|
|
||||||
|
|
|
@ -42,12 +42,16 @@ GST_STATIC_PAD_TEMPLATE ("sink",
|
||||||
);
|
);
|
||||||
|
|
||||||
static GstStaticPadTemplate gst_rtp_mpa_pay_src_template =
|
static GstStaticPadTemplate gst_rtp_mpa_pay_src_template =
|
||||||
GST_STATIC_PAD_TEMPLATE ("src",
|
GST_STATIC_PAD_TEMPLATE ("src",
|
||||||
GST_PAD_SRC,
|
GST_PAD_SRC,
|
||||||
GST_PAD_ALWAYS,
|
GST_PAD_ALWAYS,
|
||||||
GST_STATIC_CAPS ("application/x-rtp, "
|
GST_STATIC_CAPS ("application/x-rtp, "
|
||||||
"media = (string) \"audio\", "
|
"media = (string) \"audio\", "
|
||||||
"payload = (int) [ 96, 127 ], "
|
"payload = (int) " GST_RTP_PAYLOAD_MPA_STRING ", "
|
||||||
|
"clock-rate = (int) 90000, " "encoding-name = (string) \"MPA\"; "
|
||||||
|
"application/x-rtp, "
|
||||||
|
"media = (string) \"audio\", "
|
||||||
|
"payload = (int) " GST_RTP_PAYLOAD_DYNAMIC_STRING ", "
|
||||||
"clock-rate = (int) 90000, " "encoding-name = (string) \"MPA\"")
|
"clock-rate = (int) 90000, " "encoding-name = (string) \"MPA\"")
|
||||||
);
|
);
|
||||||
|
|
||||||
|
|
|
@ -44,13 +44,17 @@ GST_STATIC_PAD_TEMPLATE ("sink",
|
||||||
);
|
);
|
||||||
|
|
||||||
static GstStaticPadTemplate gst_rtp_pcma_pay_src_template =
|
static GstStaticPadTemplate gst_rtp_pcma_pay_src_template =
|
||||||
GST_STATIC_PAD_TEMPLATE ("src",
|
GST_STATIC_PAD_TEMPLATE ("src",
|
||||||
GST_PAD_SRC,
|
GST_PAD_SRC,
|
||||||
GST_PAD_ALWAYS,
|
GST_PAD_ALWAYS,
|
||||||
GST_STATIC_CAPS ("application/x-rtp, "
|
GST_STATIC_CAPS ("application/x-rtp, "
|
||||||
"media = (string) \"audio\", "
|
"media = (string) \"audio\", "
|
||||||
"payload = (int) " GST_RTP_PAYLOAD_PCMA_STRING ", "
|
"payload = (int) " GST_RTP_PAYLOAD_PCMA_STRING ", "
|
||||||
"clock-rate = (int) 8000, " "encoding-name = (string) \"PCMA\" ")
|
"clock-rate = (int) 8000, " "encoding-name = (string) \"PCMA\"; "
|
||||||
|
"application/x-rtp, "
|
||||||
|
"media = (string) \"audio\", "
|
||||||
|
"payload = (int) " GST_RTP_PAYLOAD_DYNAMIC_STRING ", "
|
||||||
|
"clock-rate = (int) 8000, " "encoding-name = (string) \"PCMA\"")
|
||||||
);
|
);
|
||||||
|
|
||||||
static gboolean gst_rtp_pcma_pay_setcaps (GstBaseRTPPayload * payload,
|
static gboolean gst_rtp_pcma_pay_setcaps (GstBaseRTPPayload * payload,
|
||||||
|
|
|
@ -44,12 +44,16 @@ GST_STATIC_PAD_TEMPLATE ("sink",
|
||||||
);
|
);
|
||||||
|
|
||||||
static GstStaticPadTemplate gst_rtp_pcmu_pay_src_template =
|
static GstStaticPadTemplate gst_rtp_pcmu_pay_src_template =
|
||||||
GST_STATIC_PAD_TEMPLATE ("src",
|
GST_STATIC_PAD_TEMPLATE ("src",
|
||||||
GST_PAD_SRC,
|
GST_PAD_SRC,
|
||||||
GST_PAD_ALWAYS,
|
GST_PAD_ALWAYS,
|
||||||
GST_STATIC_CAPS ("application/x-rtp, "
|
GST_STATIC_CAPS ("application/x-rtp, "
|
||||||
"media = (string) \"audio\", "
|
"media = (string) \"audio\", "
|
||||||
"payload = (int) " GST_RTP_PAYLOAD_PCMU_STRING ", "
|
"payload = (int) " GST_RTP_PAYLOAD_PCMU_STRING ", "
|
||||||
|
"clock-rate = (int) 8000, " "encoding-name = (string) \"PCMU\"; "
|
||||||
|
"application/x-rtp, "
|
||||||
|
"media = (string) \"audio\", "
|
||||||
|
"payload = (int) " GST_RTP_PAYLOAD_DYNAMIC_STRING ", "
|
||||||
"clock-rate = (int) 8000, " "encoding-name = (string) \"PCMU\"")
|
"clock-rate = (int) 8000, " "encoding-name = (string) \"PCMU\"")
|
||||||
);
|
);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue