summaryrefslogtreecommitdiffstats
path: root/gst/rtp/gstrtpmp4vdepay.h
diff options
context:
space:
mode:
authorPhilippe Kalaf <philippe.kalaf@collabora.co.uk>2005-12-22 15:00:41 +0000
committerPhilippe Kalaf <philippe.kalaf@collabora.co.uk>2005-12-22 15:00:41 +0000
commit0c2414650ac588b947dd9761394fdd28b65c3be2 (patch)
tree9fdf7393324eff0397e56ccde1a1374a95d41d97 /gst/rtp/gstrtpmp4vdepay.h
parentdccf2f0ef9bf8d31ef9a6c329f06956cc984bfc1 (diff)
gst-plugins-good/gst/rtp/: Making these depayloaders (H263+ and mpeg4 video) inherit from
Original commit message from CVS: 2005-12-22 Philippe Khalaf <burger@speedy.org> * gst-plugins-good/gst/rtp/gstrtph263pdepay.h: * gst-plugins-good/gst/rtp/gstrtph263pdepay.c: * gst-plugins-good/gst/rtp/gstrtpmp4vdepay.h: * gst-plugins-good/gst/rtp/gstrtpmp4vdepay.c: Making these depayloaders (H263+ and mpeg4 video) inherit from RtpBaseDepayloaderClass. Fixes bugs #323922 and #323908.
Diffstat (limited to 'gst/rtp/gstrtpmp4vdepay.h')
-rw-r--r--gst/rtp/gstrtpmp4vdepay.h12
1 files changed, 4 insertions, 8 deletions
diff --git a/gst/rtp/gstrtpmp4vdepay.h b/gst/rtp/gstrtpmp4vdepay.h
index 4ba21c52..99568fb4 100644
--- a/gst/rtp/gstrtpmp4vdepay.h
+++ b/gst/rtp/gstrtpmp4vdepay.h
@@ -22,6 +22,7 @@
#include <gst/gst.h>
#include <gst/base/gstadapter.h>
+#include <gst/rtp/gstbasertpdepayload.h>
G_BEGIN_DECLS
@@ -41,19 +42,14 @@ typedef struct _GstRtpMP4VDepayClass GstRtpMP4VDepayClass;
struct _GstRtpMP4VDepay
{
- GstElement element;
-
- GstPad *sinkpad;
- GstPad *srcpad;
-
+ GstBaseRTPDepayload depayload;
+
GstAdapter *adapter;
-
- gint rate;
};
struct _GstRtpMP4VDepayClass
{
- GstElementClass parent_class;
+ GstBaseRTPDepayloadClass parent_class;
};
gboolean gst_rtp_mp4v_depay_plugin_init (GstPlugin * plugin);