summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 011623a)
raw | patch | inline | side by side (parent: 011623a)
author | Rob Clark <rob@ti.com> | |
Sun, 18 Dec 2011 22:59:29 +0000 (16:59 -0600) | ||
committer | Rob Clark <rob@ti.com> | |
Sun, 18 Dec 2011 23:00:21 +0000 (17:00 -0600) |
src/gstducatimpeg2dec.c | patch | blob | history |
index 5010456b87bd0d47f2cde52201d3f0c847bf88e4..21f68598e838c218adca59ad3936028e36bf06c3 100644 (file)
--- a/src/gstducatimpeg2dec.c
+++ b/src/gstducatimpeg2dec.c
gint h = self->height;
/* calculate output buffer parameters: */
- self->padded_width = ALIGN2 (w, 7);
+ self->padded_width = w;
self->padded_height = h;
self->min_buffers = 8;
}
sizeof (IVIDDEC3_OutArgs));
if (ret)
- self->params->displayDelay = IVIDDEC3_DISPLAY_DELAY_AUTO;
+ self->params->displayDelay = IVIDDEC3_DISPLAY_DELAY_1;
return ret;
}
gst_ducati_mpeg2dec_init (GstDucatiMpeg2Dec * self,
GstDucatiMpeg2DecClass * gclass)
{
+ GstDucatiVidDec *vdec = GST_DUCATIVIDDEC (self);
+ vdec->pageMemType = XDM_MEMTYPE_RAW;
}