]> Gitweb @ Texas Instruments - Open Source Git Repositories - git.TI.com/gitweb - glsdk/gst-plugin-ducati.git/commitdiff
h264dec: enable temporal direct predict mode
authorRob Clark <rob@ti.com>
Wed, 26 Jan 2011 17:43:39 +0000 (11:43 -0600)
committerRob Clark <rob@ti.com>
Wed, 26 Jan 2011 17:43:39 +0000 (11:43 -0600)
With out this feature enabled, B-frames that are encoded using this prediction
mode will generate errors.

src/gstducatih264dec.c

index eeb1d4c7010e95a219cd247bd9cb49157552aeb8..a69fb71c983bccde3d552846bc38b15a5623629f 100644 (file)
@@ -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;