dshowsrcwrapper: fix typo in variable name
authorJérôme Laheurte <jerome@jeromelaheurte.net>
Tue, 25 Aug 2020 08:49:11 +0000 (10:49 +0200)
committerJérôme Laheurte <jerome@jeromelaheurte.net>
Tue, 25 Aug 2020 08:49:11 +0000 (10:49 +0200)
Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/merge_requests/1538>

sys/dshowsrcwrapper/gstdshow.cpp

index 2a457f7b6a61c9fd66cc4826624835cf1e94918f..1e6da8cf127746b387b54cfc0c296218381bbbe4 100644 (file)
@@ -446,7 +446,7 @@ gst_dshow_select_device (const GUID * device_category,
     } else if (!device && device_name && g_strcmp0 (device_name, entry->device_name) == 0) {
       selected = entry;
       break;
-    } else if (!device && !deviceName && device_index == entry->device_index) {
+    } else if (!device && !device_name && device_index == entry->device_index) {
       selected = entry;
       break;
     }