From 7538dffaa0ea792adafcc6dda73a6326202fe5c0 Mon Sep 17 00:00:00 2001 From: Wim Taymans Date: Mon, 13 Jun 2011 16:28:58 +0200 Subject: [PATCH] basertppayload: cleanup header --- gst-libs/gst/rtp/gstbasertppayload.h | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/gst-libs/gst/rtp/gstbasertppayload.h b/gst-libs/gst/rtp/gstbasertppayload.h index 1acc73a2f8..72b383929c 100644 --- a/gst-libs/gst/rtp/gstbasertppayload.h +++ b/gst-libs/gst/rtp/gstbasertppayload.h @@ -134,17 +134,19 @@ struct _GstBaseRTPPayloadClass { GstElementClass parent_class; + /* query accepted caps */ + GstCaps * (*get_caps) (GstBaseRTPPayload *payload, GstPad * pad, GstCaps * filter); /* receive caps on the sink pad, configure the payloader. */ gboolean (*set_caps) (GstBaseRTPPayload *payload, GstCaps *caps); + /* handle a buffer, perform 0 or more gst_basertppayload_push() on * the RTP buffers. This function takes ownership of the buffer. */ GstFlowReturn (*handle_buffer) (GstBaseRTPPayload *payload, GstBuffer *buffer); gboolean (*handle_event) (GstBaseRTPPayload *payload, GstEvent * event); - GstCaps * (*get_caps) (GstBaseRTPPayload *payload, GstPad * pad, GstCaps * filter); /*< private >*/ - gpointer _gst_reserved[GST_PADDING-2]; + gpointer _gst_reserved[GST_PADDING]; }; GType gst_basertppayload_get_type (void);