summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRob Clark <rob@ti.com>2011-01-26 11:43:39 -0600
committerRob Clark <rob@ti.com>2011-01-26 11:43:39 -0600
commit2c30e033e5014903a61ad9b483627ff2e320b35a (patch)
tree976c8d4345b342cab0dd9740a306fe0896aa0af9
parentabc48530fe3f4842d7cff28a76e635b0eb2303e7 (diff)
h264dec: enable temporal direct predict mode
With out this feature enabled, B-frames that are encoded using this prediction mode will generate errors.
-rw-r--r--src/gstducatih264dec.c1
1 files changed, 1 insertions, 0 deletions
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;