summaryrefslogtreecommitdiff
path: root/gst/jpegformat/gstjpegparse.h
diff options
context:
space:
mode:
authorThiago Santos <ts.santos@sisa.samsung.com>2014-04-21 23:05:48 -0300
committerThiago Santos <ts.santos@osg.sisa.samsung.com>2014-07-24 17:07:45 -0300
commit2bfd106ef603f2888b634a2be0cd62a30c6a87d3 (patch)
tree610becb639b1c490cef2bb62eba86ca1fcf28f34 /gst/jpegformat/gstjpegparse.h
parent05f908bf455b40a51277ccb1bd422aa65704f5ca (diff)
downloadgstreamer-plugins-bad-2bfd106ef603f2888b634a2be0cd62a30c6a87d3.tar.gz
jpegparse: port to baseparse
https://bugzilla.gnome.org/show_bug.cgi?id=728356
Diffstat (limited to 'gst/jpegformat/gstjpegparse.h')
-rw-r--r--gst/jpegformat/gstjpegparse.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/gst/jpegformat/gstjpegparse.h b/gst/jpegformat/gstjpegparse.h
index 8f6e9a720..d766516b1 100644
--- a/gst/jpegformat/gstjpegparse.h
+++ b/gst/jpegformat/gstjpegparse.h
@@ -25,6 +25,7 @@
#include <gst/gst.h>
#include <gst/base/gstadapter.h>
+#include <gst/base/gstbaseparse.h>
#include "gstjpegformat.h"
@@ -40,18 +41,19 @@ G_BEGIN_DECLS
(G_TYPE_CHECK_INSTANCE_TYPE((obj),GST_TYPE_JPEG_PARSE))
#define GST_IS_JPEG_PARSE_CLASS(klass) \
(G_TYPE_CHECK_CLASS_TYPE((klass),GST_TYPE_JPEG_PARSE))
+#define GST_JPEG_PARSE_CAST(obj) ((GstJpegParse *)obj)
typedef struct _GstJpegParse GstJpegParse;
typedef struct _GstJpegParsePrivate GstJpegParsePrivate;
typedef struct _GstJpegParseClass GstJpegParseClass;
struct _GstJpegParse {
- GstElement element;
+ GstBaseParse parse;
GstJpegParsePrivate *priv;
};
struct _GstJpegParseClass {
- GstElementClass parent_class;
+ GstBaseParseClass parent_class;
};
GType gst_jpeg_parse_get_type (void);