summaryrefslogtreecommitdiff
path: root/gst-libs/gst/vaapi/gstvaapidecoder_mpeg2.c
diff options
context:
space:
mode:
authorGwenole Beauchesne <gwenole.beauchesne@intel.com>2013-04-30 10:28:30 +0200
committerGwenole Beauchesne <gwenole.beauchesne@intel.com>2013-05-07 17:51:27 +0200
commit6439169db54fa9895c2728a20a430de79e3e2dbf (patch)
tree8c2268bec20e9d9963e6005342ceb1eab36c1967 /gst-libs/gst/vaapi/gstvaapidecoder_mpeg2.c
parentda2493f731abf9fa16576dcc62e5bd76f4aa1b5d (diff)
downloadgst-vaapi-6439169db54fa9895c2728a20a430de79e3e2dbf.tar.gz
libs: refine GstVaapiMiniObject.
Drop support for user-defined data since this capability was not used so far and GstVaapiMiniObject represents the smallest reference counted object type. Add missing GST_VAAPI_MINI_OBJECT_CLASS() helper macro. Besides, since GstVaapiMiniObject is a libgstvaapi internal object, it is also possible to further simplify the layout of the object. i.e. merge GstVaapiMiniObjectBase into GstVaapiMiniObject.
Diffstat (limited to 'gst-libs/gst/vaapi/gstvaapidecoder_mpeg2.c')
-rw-r--r--gst-libs/gst/vaapi/gstvaapidecoder_mpeg2.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/gst-libs/gst/vaapi/gstvaapidecoder_mpeg2.c b/gst-libs/gst/vaapi/gstvaapidecoder_mpeg2.c
index b3202485..ecc9d7fc 100644
--- a/gst-libs/gst/vaapi/gstvaapidecoder_mpeg2.c
+++ b/gst-libs/gst/vaapi/gstvaapidecoder_mpeg2.c
@@ -258,6 +258,7 @@ struct _GstMpegVideoSliceHdr {
typedef struct _GstVaapiParserInfoMpeg2 GstVaapiParserInfoMpeg2;
struct _GstVaapiParserInfoMpeg2 {
+ GstVaapiMiniObject parent_instance;
GstMpegVideoPacket packet;
guint8 extension_type; /* for Extension packets */
union {