From 81313dfd354b7ffab385e462d3957d656697fb91 Mon Sep 17 00:00:00 2001 From: jp9000 Date: Mon, 18 Apr 2016 00:57:53 -0700 Subject: [PATCH] win-mf: Deprecate MF QSV encoder --- plugins/win-mf/mf-h264.cpp | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/plugins/win-mf/mf-h264.cpp b/plugins/win-mf/mf-h264.cpp index 9a17b0469..57ee9d64c 100644 --- a/plugins/win-mf/mf-h264.cpp +++ b/plugins/win-mf/mf-h264.cpp @@ -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(type_data); }; + obs_register_encoder(&info); } }