diff options
author | Sebastian Dröge <sebastian.droege@collabora.co.uk> | 2012-06-20 13:11:58 +0100 |
---|---|---|
committer | Sebastian Dröge <sebastian.droege@collabora.co.uk> | 2012-10-22 14:20:41 +0200 |
commit | 5fdb490f1a9999d483f4a7a6c57dcf4da17d71be (patch) | |
tree | 5ea4bc659af4a33d34c9036d4d96b31c4c5dab90 /omx/gstomxvideodec.h | |
parent | 49ba281e8b0d01cd2728f11dc98db20489e1e90d (diff) | |
download | gst-omx-5fdb490f1a9999d483f4a7a6c57dcf4da17d71be.tar.gz |
omx: Port to video base classes from -base
Diffstat (limited to 'omx/gstomxvideodec.h')
-rw-r--r-- | omx/gstomxvideodec.h | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/omx/gstomxvideodec.h b/omx/gstomxvideodec.h index a22b7b2..914dce4 100644 --- a/omx/gstomxvideodec.h +++ b/omx/gstomxvideodec.h @@ -22,7 +22,7 @@ #define __GST_OMX_VIDEO_DEC_H__ #include <gst/gst.h> -#include "gstbasevideodecoder.h" +#include <gst/video/gstvideodecoder.h> #include "gstomx.h" @@ -46,7 +46,7 @@ typedef struct _GstOMXVideoDecClass GstOMXVideoDecClass; struct _GstOMXVideoDec { - GstBaseVideoDecoder parent; + GstVideoDecoder parent; /* < protected > */ GstOMXCore *core; @@ -54,6 +54,7 @@ struct _GstOMXVideoDec GstOMXPort *in_port, *out_port; /* < private > */ + GstVideoCodecState *input_state; GstBuffer *codec_data; /* TRUE if the component is configured and saw * the first buffer */ @@ -75,13 +76,13 @@ struct _GstOMXVideoDec struct _GstOMXVideoDecClass { - GstBaseVideoDecoderClass parent_class; + GstVideoDecoderClass parent_class; GstOMXClassData cdata; - gboolean (*is_format_change) (GstOMXVideoDec * self, GstOMXPort * port, GstVideoState * state); - gboolean (*set_format) (GstOMXVideoDec * self, GstOMXPort * port, GstVideoState * state); - GstFlowReturn (*prepare_frame) (GstOMXVideoDec * self, GstVideoFrameState *frame); + gboolean (*is_format_change) (GstOMXVideoDec * self, GstOMXPort * port, GstVideoCodecState * state); + gboolean (*set_format) (GstOMXVideoDec * self, GstOMXPort * port, GstVideoCodecState * state); + GstFlowReturn (*prepare_frame) (GstOMXVideoDec * self, GstVideoCodecFrame *frame); }; GType gst_omx_video_dec_get_type (void); |