mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 04:01:08 +00:00
rtp/gst/gstrtph263pay.c: Properly set static caps for H263 at 34.
Original commit message from CVS: 2006-05-18 Philippe Kalaf <philippe.kalaf at collabora.co.uk> * rtp/gst/gstrtph263pay.c: Properly set static caps for H263 at 34.
This commit is contained in:
parent
cb3848d245
commit
c946b4fe6f
2 changed files with 8 additions and 2 deletions
|
@ -1,3 +1,8 @@
|
|||
2006-05-18 Philippe Kalaf <philippe.kalaf at collabora.co.uk>
|
||||
|
||||
* rtp/gst/gstrtph263pay.c:
|
||||
Properly set static caps for H263 at 34.
|
||||
|
||||
2006-05-18 Tim-Philipp Müller <tim at centricular dot net>
|
||||
|
||||
Patch by: James "Doc" Livingston <doclivingston gmail com>
|
||||
|
|
|
@ -158,7 +158,7 @@ GST_STATIC_PAD_TEMPLATE ("src",
|
|||
GST_PAD_ALWAYS,
|
||||
GST_STATIC_CAPS ("application/x-rtp, "
|
||||
"media = (string) \"video\", "
|
||||
"payload = (int) 34, "
|
||||
"payload = (int) " GST_RTP_PAYLOAD_H263_STRING ", "
|
||||
"clock-rate = (int) 90000, " "encoding-name = (string) \"H263\"")
|
||||
);
|
||||
|
||||
|
@ -253,7 +253,8 @@ gst_rtp_h263_pay_finalize (GObject * object)
|
|||
static gboolean
|
||||
gst_rtp_h263_pay_setcaps (GstBaseRTPPayload * payload, GstCaps * caps)
|
||||
{
|
||||
gst_basertppayload_set_options (payload, "video", TRUE, "H263-1998", 90000);
|
||||
payload->pt = GST_RTP_PAYLOAD_H263;
|
||||
gst_basertppayload_set_options (payload, "video", TRUE, "H263", 90000);
|
||||
gst_basertppayload_set_outcaps (payload, NULL);
|
||||
|
||||
return TRUE;
|
||||
|
|
Loading…
Reference in a new issue