summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 6b702f0)
raw | patch | inline | side by side (parent: 6b702f0)
author | Martin Storsjo <martin@martin.st> | |
Wed, 2 May 2012 16:42:29 +0000 (19:42 +0300) | ||
committer | Alessandro Decina <alessandro.decina@collabora.co.uk> | |
Mon, 16 Jul 2012 08:24:41 +0000 (08:24 +0000) |
Without this, IDRFrameInterval is left at 0, making only the
first I frame an IDR frame (and marked as keyframe).
first I frame an IDR frame (and marked as keyframe).
src/gstducatih264enc.c | patch | blob | history |
diff --git a/src/gstducatih264enc.c b/src/gstducatih264enc.c
index 3af25e8cbe165f0ad83c0f693a30dba0667cf3b6..2c11fd30d36e2a006a0ddbc055ede9dc9f66af7d 100644 (file)
--- a/src/gstducatih264enc.c
+++ b/src/gstducatih264enc.c
params = (IH264ENC_Params *) videnc->params;
/* this is the only non-base field strictly required */
params->maxIntraFrameInterval = 0x7fffffff;
+ params->IDRFrameInterval = 1;
ret = GST_DUCATIVIDENC_CLASS (parent_class)->configure (videnc);
if (ret) {