mirror of https://github.com/PCSX2/pcsx2.git
GS:Capture: VAAPI support
This commit is contained in:
parent
a4f1431bcc
commit
328275cd45
|
@ -460,6 +460,8 @@ bool GSCapture::BeginCapture(float fps, GSVector2i recommendedResolution, float
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
if (sw_pix_fmt == AV_PIX_FMT_VAAPI)
|
||||||
|
sw_pix_fmt = AV_PIX_FMT_NV12;
|
||||||
s_video_codec_context->pix_fmt = sw_pix_fmt;
|
s_video_codec_context->pix_fmt = sw_pix_fmt;
|
||||||
|
|
||||||
// Can we use hardware encoding?
|
// Can we use hardware encoding?
|
||||||
|
|
Loading…
Reference in New Issue