diff --git a/subprojects/gst-plugins-bad/sys/msdk/gstmsdkcaps.c b/subprojects/gst-plugins-bad/sys/msdk/gstmsdkcaps.c index 05c9fdba32..58a1ad7934 100644 --- a/subprojects/gst-plugins-bad/sys/msdk/gstmsdkcaps.c +++ b/subprojects/gst-plugins-bad/sys/msdk/gstmsdkcaps.c @@ -648,8 +648,14 @@ _enc_is_format_supported (mfxSession * session, if (!_fill_mfxframeinfo (format, &in->mfx.FrameInfo)) return FALSE; - if (!_enc_is_param_supported (session, in, out)) - return FALSE; + in->mfx.LowPower = MFX_CODINGOPTION_UNKNOWN; + if (!_enc_is_param_supported (session, in, out)) { + in->mfx.LowPower = (out->mfx.LowPower == MFX_CODINGOPTION_ON) ? + MFX_CODINGOPTION_OFF : MFX_CODINGOPTION_ON; + + if (!_enc_is_param_supported (session, in, out)) + return FALSE; + } return TRUE; }