vaapi: 10-bit hevc/av1 encoding
This commit is contained in:
@@ -93,6 +93,9 @@ video_encoder_x264::video_encoder_x264(
|
||||
uint8_t stream_idx) :
|
||||
video_encoder(stream_idx, settings.channels, settings.bitrate_multiplier, false)
|
||||
{
|
||||
if (settings.use_10bit)
|
||||
throw std::runtime_error("x264 encoder does not support 10-bit encoding");
|
||||
|
||||
if (settings.codec != h264)
|
||||
{
|
||||
U_LOG_W("requested x264 encoder with codec != h264");
|
||||
|
||||
Reference in New Issue
Block a user