Lint Code

This commit is contained in:
Anjani Kumar 2021-03-28 22:09:57 +05:30
parent 4201ade5ae
commit a8f5672715
No known key found for this signature in database
GPG Key ID: 266B031C4A95FFCC
1 changed files with 2 additions and 2 deletions

View File

@ -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,