diff options
author | Sebastien Cote <sebas642@yahoo.ca> | 2006-07-14 13:33:54 +0000 |
---|---|---|
committer | Wim Taymans <wim.taymans@gmail.com> | 2006-07-14 13:33:54 +0000 |
commit | 0d462be70a937553e116e13d9d6c5779d1142d65 (patch) | |
tree | c33809464b16b40146161671261f477020b01fda /gst/rtp/gstrtpamrdepay.h | |
parent | 197d6a6cb0e8f48cdf7e3ce9bdda91f917e92686 (diff) |
gst/rtp/gstrtpamrdepay.*: rtpamrdec isn't a subclass of GstBaseRtpDepayload.
Original commit message from CVS:
Patch by: Sebastien Cote <sebas642 at yahoo dot ca>
* gst/rtp/gstrtpamrdepay.c: (gst_rtp_amr_depay_base_init),
(gst_rtp_amr_depay_class_init), (gst_rtp_amr_depay_init),
(gst_rtp_amr_depay_setcaps), (gst_rtp_amr_depay_process):
* gst/rtp/gstrtpamrdepay.h:
rtpamrdec isn't a subclass of GstBaseRtpDepayload.
Fixes #321191
Diffstat (limited to 'gst/rtp/gstrtpamrdepay.h')
-rw-r--r-- | gst/rtp/gstrtpamrdepay.h | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/gst/rtp/gstrtpamrdepay.h b/gst/rtp/gstrtpamrdepay.h index 624f1669..9b9424f5 100644 --- a/gst/rtp/gstrtpamrdepay.h +++ b/gst/rtp/gstrtpamrdepay.h @@ -21,6 +21,7 @@ #define __GST_RTP_AMR_DEPAY_H__ #include <gst/gst.h> +#include <gst/rtp/gstbasertpdepayload.h> G_BEGIN_DECLS @@ -40,10 +41,7 @@ typedef struct _GstRtpAMRDepayClass GstRtpAMRDepayClass; struct _GstRtpAMRDepay { - GstElement element; - - GstPad *sinkpad; - GstPad *srcpad; + GstBaseRTPDepayload depayload; gboolean negotiated; @@ -57,12 +55,11 @@ struct _GstRtpAMRDepay gboolean interleaving; gint ptime; gint channels; - gint rate; }; struct _GstRtpAMRDepayClass { - GstElementClass parent_class; + GstBaseRTPDepayloadClass parent_class; }; gboolean gst_rtp_amr_depay_plugin_init (GstPlugin * plugin); |