fix(capture/windows): fix capture when using the basic render driver (#3531)
* fix(capture/windows): fix capture when using the basic render driver * chore(tests): remove now unnecessary TESTS_SOFTWARE_ENCODER_UNAVAILABLE option
This commit is contained in:
parent
1b94e9339a
commit
c369e8e5b6
6 changed files with 5 additions and 16 deletions
|
|
@ -12,8 +12,8 @@ struct EncoderTest: PlatformTestSuite, testing::WithParamInterface<video::encode
|
|||
auto &encoder = *GetParam();
|
||||
if (!video::validate_encoder(encoder, false)) {
|
||||
// Encoder failed validation,
|
||||
// if it's software - fail (unless overriden with compile definition), otherwise skip
|
||||
if (encoder.name == "software" && std::string(TESTS_SOFTWARE_ENCODER_UNAVAILABLE) == "fail") {
|
||||
// if it's software - fail, otherwise skip
|
||||
if (encoder.name == "software") {
|
||||
FAIL() << "Software encoder not available";
|
||||
}
|
||||
else {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue