encoder : h264: Disable b-frame encode in low-power mode
authorSreerenj Balachandran <sreerenj.balachandran@intel.com>
Fri, 13 May 2016 08:45:20 +0000 (11:45 +0300)
committerSreerenj Balachandran <sreerenj.balachandran@intel.com>
Fri, 13 May 2016 08:45:20 +0000 (11:45 +0300)
commitc91de2398a89e9c7cfb31afb6f69c2b9d4b51752
treec6ed49d6c9e9660dd610082c8ad5c40e4736eff6
parent43af7c362c7fa3a19690406de09969ccc5769511
encoder : h264: Disable b-frame encode in low-power mode

This is a workaround since vaapi-intel-driver doesn't have
support for B-frame encode when utilizing low-power-enc
hardware block.

Fixme :We should query the VAConfigAttribEncMaxRefFrames
instead of blindly disabling b-frame support and set b/p frame count,
buffer pool size etc based on the query result.

https://bugzilla.gnome.org/show_bug.cgi?id=766050
gst-libs/gst/vaapi/gstvaapiencoder_h264.c