mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-25 15:36:42 +00:00
rtph261pay: Remove unused adapter
This commit is contained in:
parent
90d47bff9e
commit
b653fae8c9
1 changed files with 0 additions and 16 deletions
|
@ -994,23 +994,9 @@ gst_rtp_h261_pay_init (GstRtpH261Pay * pay)
|
||||||
{
|
{
|
||||||
GstRTPBasePayload *payload = GST_RTP_BASE_PAYLOAD (pay);
|
GstRTPBasePayload *payload = GST_RTP_BASE_PAYLOAD (pay);
|
||||||
payload->pt = GST_RTP_PAYLOAD_H261;
|
payload->pt = GST_RTP_PAYLOAD_H261;
|
||||||
pay->adapter = gst_adapter_new ();
|
|
||||||
pay->offset = 0;
|
pay->offset = 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
static void
|
|
||||||
gst_rtp_h261_pay_finalize (GObject * object)
|
|
||||||
{
|
|
||||||
GstRtpH261Pay *pay;
|
|
||||||
|
|
||||||
pay = GST_RTP_H261_PAY (object);
|
|
||||||
|
|
||||||
g_object_unref (pay->adapter);
|
|
||||||
pay->adapter = NULL;
|
|
||||||
|
|
||||||
G_OBJECT_CLASS (parent_class)->finalize (object);
|
|
||||||
}
|
|
||||||
|
|
||||||
static void
|
static void
|
||||||
gst_rtp_h261_pay_class_init (GstRtpH261PayClass * klass)
|
gst_rtp_h261_pay_class_init (GstRtpH261PayClass * klass)
|
||||||
{
|
{
|
||||||
|
@ -1032,8 +1018,6 @@ gst_rtp_h261_pay_class_init (GstRtpH261PayClass * klass)
|
||||||
"Payload-encodes H261 video in RTP packets (RFC 4587)",
|
"Payload-encodes H261 video in RTP packets (RFC 4587)",
|
||||||
"Stian Selnes <stian@pexip.com>");
|
"Stian Selnes <stian@pexip.com>");
|
||||||
|
|
||||||
gobject_class->finalize = gst_rtp_h261_pay_finalize;
|
|
||||||
|
|
||||||
gstrtpbasepayload_class->set_caps = gst_rtp_h261_pay_setcaps;
|
gstrtpbasepayload_class->set_caps = gst_rtp_h261_pay_setcaps;
|
||||||
gstrtpbasepayload_class->handle_buffer = gst_rtp_h261_pay_handle_buffer;
|
gstrtpbasepayload_class->handle_buffer = gst_rtp_h261_pay_handle_buffer;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue