summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: cc583c8)
raw | patch | inline | side by side (parent: cc583c8)
author | Alessandro Decina <alessandro.decina@collabora.co.uk> | |
Wed, 1 Aug 2012 09:48:27 +0000 (09:48 +0000) | ||
committer | Alessandro Decina <alessandro.decina@collabora.co.uk> | |
Wed, 1 Aug 2012 09:48:27 +0000 (09:48 +0000) |
Base params Are Good (tm) and as a side effect, they seem to fix those
"L3 standard error: TARGET:DMM1 at address 0x0" errors we were getting.
"L3 standard error: TARGET:DMM1 at address 0x0" errors we were getting.
src/gstducatimpeg4enc.c | patch | blob | history |
index 7dc7ced725f4a13edd9a7e100d0e56f533fb0dd6..cd43018ceabe8c8e198f1edb5e46f4f1c2d53c5f 100644 (file)
--- a/src/gstducatimpeg4enc.c
+++ b/src/gstducatimpeg4enc.c
gst_ducati_mpeg4enc_configure (GstDucatiVidEnc * videnc)
{
GstDucatiMPEG4Enc *self = GST_DUCATIMPEG4ENC (videnc);
- IMPEG4ENC_Params *params;
- IMPEG4ENC_DynamicParams *dynParams;
if (!GST_DUCATIVIDENC_CLASS (parent_class)->configure (videnc))
return FALSE;
- params = (IMPEG4ENC_Params *) videnc->params;
- dynParams = (IMPEG4ENC_DynamicParams *) videnc->dynParams;
-
videnc->params->profile = self->profile;
videnc->params->level = self->level;
videnc->params->maxInterFrameInterval = 0;
-
- params->vopTimeIncrementResolution = 60;
- params->nonMultiple16RefPadMethod = 1;
-
videnc->dynParams->mvAccuracy = IVIDENC2_MOTIONVECTOR_HALFPEL;
videnc->dynParams->interFrameInterval = 0;
- /* 1 = square */
- dynParams->aspectRatioIdc = 1;
-
return TRUE;
}
gint outargs_sz)
{
return GST_DUCATIVIDENC_CLASS (parent_class)->allocate_params (videnc,
- sizeof (IMPEG4ENC_Params), sizeof (IMPEG4ENC_DynamicParams),
+ sizeof (IVIDENC2_Params), sizeof (IVIDENC2_DynamicParams),
sizeof (IVIDENC2_Status), sizeof (IVIDENC2_InArgs),
sizeof (IVIDENC2_OutArgs));
}