[Bug 788918] vaapi: supports hierarchical prediction encoding
GStreamer (GNOME Bugzilla)
bugzilla at gnome.org
Fri Oct 20 13:41:00 UTC 2017
https://bugzilla.gnome.org/show_bug.cgi?id=788918
--- Comment #26 from Hyunjun Ko <zzoon at igalia.com> ---
(In reply to sreerenj from comment #18)
> Hyunjun, thanks for bringing these patches to Bugzilla!
>
>
> BTW please make sure the low-power encoding is disabled in Hierarchical-B
> (B-frames are not supported by the intel driver in VDENC/low-power).
>
Sure. It disables Hierarchical-B if it's low power encoding mode here.
@@ -2695,6 +2778,10 @@ reset_properties (GstVaapiEncoderH264 * encoder)
if (base_encoder->max_num_ref_frames_1 < 1 && encoder->num_bframes > 0) {
GST_WARNING ("Disabling b-frame since the driver doesn't support it");
encoder->num_bframes = 0;
+
+ if (encoder->prediction_type ==
+ GST_VAAPI_ENCODER_H264_PREDICTION_HIERARCHICAL_B)
+ encoder->prediction_type = GST_VAAPI_ENCODER_H264_PREDICTION_DEFAULT;
}
--
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