summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlessandro Decina <alessandro.decina@collabora.co.uk>2011-08-26 14:01:31 +0200
committerAlessandro Decina <alessandro.decina@collabora.co.uk>2011-08-26 14:04:34 +0200
commitcad4102f744ea191dbce0d2a0d4e637320b387e8 (patch)
tree995cdcff3944f9612c71dafccf0828975aa8c260
parentd9a955be907938459437e1f57009260059752e5c (diff)
ducatimpeg4dec: use base VIDDEC3_* structs in allocate_params
-rw-r--r--src/gstducatimpeg4dec.c10
1 files changed, 3 insertions, 7 deletions
diff --git a/src/gstducatimpeg4dec.c b/src/gstducatimpeg4dec.c
index 124731a..99ea1e3 100644
--- a/src/gstducatimpeg4dec.c
+++ b/src/gstducatimpeg4dec.c
@@ -86,17 +86,13 @@ gst_ducati_mpeg4dec_allocate_params (GstDucatiVidDec * self, gint params_sz,
gint dynparams_sz, gint status_sz, gint inargs_sz, gint outargs_sz)
{
gboolean ret = parent_class->allocate_params (self,
- sizeof (IMPEG4VDEC_Params), sizeof (IMPEG4VDEC_DynamicParams),
- sizeof (IMPEG4VDEC_Status), sizeof (IMPEG4VDEC_InArgs),
- sizeof (IMPEG4VDEC_OutArgs));
+ sizeof (VIDDEC3_Params), sizeof (VIDDEC3_DynamicParams),
+ sizeof (VIDDEC3_Status), sizeof (VIDDEC3_InArgs),
+ sizeof (VIDDEC3_OutArgs));
if (ret) {
- IMPEG4VDEC_Params *params = (IMPEG4VDEC_Params *) self->params;
self->params->displayDelay = IVIDDEC3_DISPLAY_DELAY_1;
self->dynParams->lateAcquireArg = -1;
- params->outloopDeBlocking = TRUE;
- params->sorensonSparkStream = FALSE;
- params->ErrorConcealmentON = FALSE;
}
return ret;