소스 검색

win-mf: Deprecate MF NVENC encoder

jp9000 9 년 전
부모
커밋
17132ba27f
1개의 변경된 파일2개의 추가작업 그리고 1개의 파일을 삭제
  1. 2 1
      plugins/win-mf/mf-h264.cpp

+ 2 - 1
plugins/win-mf/mf-h264.cpp

@@ -542,7 +542,8 @@ void RegisterMFH264Encoders()
 		if (!CanSpawnEncoder(e))
 			continue;
 
-		if (e->Type() == EncoderType::H264_QSV)
+		if (e->Type() == EncoderType::H264_QSV ||
+		    e->Type() == EncoderType::H264_NVENC)
 			info.caps = OBS_ENCODER_CAP_DEPRECATED;
 		else
 			info.caps = 0;