gst-device-monitor: Don't loop unnecessarily when printing properties

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/9466>
This commit is contained in:
Nirbheek Chauhan 2025-07-31 12:49:32 +05:30 committed by GStreamer Marge Bot
parent 4650a7a58f
commit 5c14cb882e

View File

@ -95,8 +95,10 @@ get_launch_line (GstDevice * device)
continue;
for (j = 0; ignored_propnames[j]; j++)
if (!g_strcmp0 (ignored_propnames[j], property->name))
if (!g_strcmp0 (ignored_propnames[j], property->name)) {
ignore = TRUE;
break;
}
if (ignore)
continue;