summaryrefslogtreecommitdiff
path: root/gst/vaapi/gstvaapipostproc.h
diff options
context:
space:
mode:
authorGwenole Beauchesne <gwenole.beauchesne@intel.com>2013-12-13 10:24:26 +0100
committerGwenole Beauchesne <gwenole.beauchesne@intel.com>2013-12-18 16:38:57 +0100
commit7e58d60854960d4d0561daeb88f575f1ddb656fd (patch)
tree6985cf2818db1824e6b068ae27c22c7fee6723b6 /gst/vaapi/gstvaapipostproc.h
parent61f6cbffc657fbe0287301018e365cd85607565c (diff)
downloadgstreamer-vaapi-7e58d60854960d4d0561daeb88f575f1ddb656fd.tar.gz
plugins: add new base object, store display in there.
Introduce a new GstVaapiPluginBase object that will contain all common data structures and perform all common tasks. First step is to have a single place to hold VA displays. While we are at it, also make sure to store and subsequently release the appropriate debug category for the subclasses.
Diffstat (limited to 'gst/vaapi/gstvaapipostproc.h')
-rwxr-xr-xgst/vaapi/gstvaapipostproc.h8
1 files changed, 3 insertions, 5 deletions
diff --git a/gst/vaapi/gstvaapipostproc.h b/gst/vaapi/gstvaapipostproc.h
index e15472e8..55dabae8 100755
--- a/gst/vaapi/gstvaapipostproc.h
+++ b/gst/vaapi/gstvaapipostproc.h
@@ -23,8 +23,7 @@
#ifndef GST_VAAPIPOSTPROC_H
#define GST_VAAPIPOSTPROC_H
-#include <gst/base/gstbasetransform.h>
-#include <gst/vaapi/gstvaapidisplay.h>
+#include "gstvaapipluginbase.h"
#include <gst/vaapi/gstvaapisurface.h>
#include <gst/vaapi/gstvaapisurfacepool.h>
#include <gst/vaapi/gstvaapifilter.h>
@@ -135,9 +134,8 @@ struct _GstVaapiDeinterlaceState {
struct _GstVaapiPostproc {
/*< private >*/
- GstBaseTransform parent_instance;
+ GstVaapiPluginBase parent_instance;
- GstVaapiDisplay *display;
GstVaapiUploader *uploader;
GstVaapiFilter *filter;
GPtrArray *filter_ops;
@@ -177,7 +175,7 @@ struct _GstVaapiPostproc {
struct _GstVaapiPostprocClass {
/*< private >*/
- GstBaseTransformClass parent_class;
+ GstVaapiPluginBaseClass parent_class;
};
GType