提交 81313dfd 编写于 作者: J jp9000

win-mf: Deprecate MF QSV encoder

上级 3e4bcf06
......@@ -542,11 +542,17 @@ void RegisterMFH264Encoders()
if (!CanSpawnEncoder(e))
continue;
if (e->Type() == EncoderType::H264_QSV)
info.caps = OBS_ENCODER_CAP_DEPRECATED;
else
info.caps = 0;
info.id = e->Id();
info.type_data = new TypeData(e);
info.free_type_data = [] (void *type_data) {
delete reinterpret_cast<TypeData*>(type_data);
};
obs_register_encoder(&info);
}
}
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册