Skip to content

Commit 76b81ea

Browse files
committed
AVInput COM-RPC Support: Converted input types in interface to strings to maintain unit test compatibility
1 parent dfc4e93 commit 76b81ea

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

AVInput/AVInputImplementation.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -671,9 +671,9 @@ namespace Plugin {
671671
success = false;
672672

673673
if(strcmp(typeOfInput.c_str(), INPUT_TYPE_ALL) == 0) {
674-
result = getInputDevices(HDMI, inputDeviceList);
674+
result = getInputDevices(INPUT_TYPE_HDMI, inputDeviceList);
675675
if (result == Core::ERROR_NONE) {
676-
result = getInputDevices(COMPOSITE, inputDeviceList);
676+
result = getInputDevices(INPUT_TYPE_COMPOSITE, inputDeviceList);
677677
}
678678
} else if((strcmp(typeOfInput.c_str(), INPUT_TYPE_HDMI) == 0) || (strcmp(typeOfInput.c_str(), INPUT_TYPE_COMPOSITE) == 0)) {
679679
result = getInputDevices(typeOfInput, inputDeviceList);

0 commit comments

Comments
 (0)