Commit fd560bcb authored by Mathieu Duponchelle's avatar Mathieu Duponchelle 🐸
Browse files

rtpfunnel: Stop using G_DECLARE_FINAL_TYPE

Fixes #516
parent c9ed35f6
......@@ -29,6 +29,11 @@
GST_DEBUG_CATEGORY_STATIC (gst_rtp_funnel_debug);
#define GST_CAT_DEFAULT gst_rtp_funnel_debug
struct _GstRtpFunnelPadClass
GstPadClass class;
struct _GstRtpFunnelPad
GstPad pad;
......@@ -57,6 +62,11 @@ gst_rtp_funnel_pad_init (GstRtpFunnelPad * pad)
(void) pad;
struct _GstRtpFunnelClass
GstElementClass class;
struct _GstRtpFunnel
GstElement element;
......@@ -27,14 +27,22 @@
G_DECLARE_FINAL_TYPE (GstRtpFunnel, gst_rtp_funnel, GST, RTP_FUNNEL, GstElement)
typedef struct _GstRtpFunnelClass GstRtpFunnelClass;
typedef struct _GstRtpFunnel GstRtpFunnel;
#define GST_TYPE_RTP_FUNNEL (gst_rtp_funnel_get_type())
#define GST_RTP_FUNNEL_CAST(obj) ((GstRtpFunnel *)(obj))
G_DECLARE_FINAL_TYPE (GstRtpFunnelPad, gst_rtp_funnel_pad, GST, RTP_FUNNEL_PAD, GstPad)
GType gst_rtp_funnel_get_type (void);
typedef struct _GstRtpFunnelPadClass GstRtpFunnelPadClass;
typedef struct _GstRtpFunnelPad GstRtpFunnelPad;
#define GST_TYPE_RTP_FUNNEL_PAD (gst_rtp_funnel_pad_get_type())
#define GST_RTP_FUNNEL_PAD_CAST(obj) ((GstRtpFunnelPad *)(obj))
GType gst_rtp_funnel_pad_get_type (void);
#endif /* __GST_RTP_FUNNEL_H__ */
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