Skip to content
Snippets Groups Projects
Unverified Commit a8f56727 authored by Anjani Kumar's avatar Anjani Kumar
Browse files

Lint Code

parent 4201ade5
No related branches found
No related tags found
No related merge requests found
Pipeline #944 passed
......@@ -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,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment