priv->had_sequence = TRUE;
if (klass->new_sequence)
- priv->had_sequence = klass->new_sequence (self, frame_hdr);
+ priv->had_sequence = klass->new_sequence (self, priv->parser, frame_hdr);
ret = priv->had_sequence;
}
GstVideoDecoderClass parent_class;
gboolean (*new_sequence) (GstVp9Decoder * decoder,
+ const GstVp9Parser * parser,
const GstVp9FrameHdr * frame_hdr);
/**
/* GstVp9Decoder */
static gboolean gst_d3d11_vp9_dec_new_sequence (GstVp9Decoder * decoder,
- const GstVp9FrameHdr * frame_hdr);
+ const GstVp9Parser * parser, const GstVp9FrameHdr * frame_hdr);
static gboolean gst_d3d11_vp9_dec_new_picture (GstVp9Decoder * decoder,
GstVideoCodecFrame * frame, GstVp9Picture * picture);
static GstVp9Picture *gst_d3d11_vp9_dec_duplicate_picture (GstVp9Decoder *
static gboolean
gst_d3d11_vp9_dec_new_sequence (GstVp9Decoder * decoder,
- const GstVp9FrameHdr * frame_hdr)
+ const GstVp9Parser * parser, const GstVp9FrameHdr * frame_hdr)
{
GstD3D11Vp9Dec *self = GST_D3D11_VP9_DEC (decoder);
gboolean modified = FALSE;