summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorAnjani Kumar <anjanik012@gmail.com>2021-03-28 22:09:57 +0530
committerAnjani Kumar <anjanik012@gmail.com>2021-03-28 22:09:57 +0530
commita8f56727154447cb16af6d3d06fecbc564d89384 (patch)
tree77ea2f98216d0bb7abb8b5d6a31bf6a11d02a635 /src
parentFix build: refactor variables to avoid same names in a scope (diff)
downloadnheko-a8f56727154447cb16af6d3d06fecbc564d89384.tar.xz
Lint Code
Diffstat (limited to 'src')
-rw-r--r--src/CallDevices.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/CallDevices.cpp b/src/CallDevices.cpp
index 1bc72941..825d2f72 100644
--- a/src/CallDevices.cpp
+++ b/src/CallDevices.cpp
@@ -111,8 +111,8 @@ addDevice(GstDevice *device)
         g_free(name);
         guint nCaps = gst_caps_get_size(gstcaps);
         for (guint i = 0; i < nCaps; ++i) {
-                GstStructure *structure = gst_caps_get_structure(gstcaps, i);
-                const gchar *struct_name       = gst_structure_get_name(structure);
+                GstStructure *structure  = gst_caps_get_structure(gstcaps, i);
+                const gchar *struct_name = gst_structure_get_name(structure);
                 if (!std::strcmp(struct_name, "video/x-raw")) {
                         gint widthpx, heightpx;
                         if (gst_structure_get(structure,