[Bug 786320] vaapih264enc: disable periodic keyframe

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Sat Dec 9 17:01:08 UTC 2017


https://bugzilla.gnome.org/show_bug.cgi?id=786320

--- Comment #4 from Víctor Manuel Jáquez Leal <vjaquez at igalia.com> ---
Review of attachment 357627:
 --> (https://bugzilla.gnome.org/review?bug=786320&attachment=357627)

::: gst-libs/gst/vaapi/gstvaapiencoder.c
@@ +165,3 @@
       g_param_spec_uint ("keyframe-period",
           "Keyframe Period",
+          "Maximal distance between two keyframes (0: auto-calculate)", 1,
4294967295,

Also change this number to G_MAXINT

::: gst-libs/gst/vaapi/gstvaapiutils_h26x_priv.h
@@ +32,2 @@
 /* Define the maximum IDR period */
+#define MAX_IDR_PERIOD 4294967295

Please change to G_MAXINT if that's the value you want, as if ffmpeg

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.


More information about the gstreamer-bugs mailing list