From 2c30e033e5014903a61ad9b483627ff2e320b35a Mon Sep 17 00:00:00 2001 From: Rob Clark Date: Wed, 26 Jan 2011 11:43:39 -0600 Subject: h264dec: enable temporal direct predict mode With out this feature enabled, B-frames that are encoded using this prediction mode will generate errors. --- src/gstducatih264dec.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/gstducatih264dec.c b/src/gstducatih264dec.c index eeb1d4c..a69fb71 100644 --- a/src/gstducatih264dec.c +++ b/src/gstducatih264dec.c @@ -85,6 +85,7 @@ gst_ducati_h264dec_allocate_params (GstDucatiVidDec * self, gint params_sz, params->pConstantMemory = 0; params->presetLevelIdc = IH264VDEC_LEVEL41; params->errConcealmentMode = IH264VDEC_APPLY_CONCEALMENT; + params->temporalDirModePred = TRUE; } return ret; -- cgit v1.2.3