netclientclock: Don't stop searching the clock cache when the first corrupted clock is found

The clock we're looking for might be working fine and be available afterwards.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/8334>
This commit is contained in:
Sebastian Dröge 2025-01-22 12:34:31 +02:00 committed by GStreamer Marge Bot
parent dd58ae8cc8
commit fb2337ea82

View file

@ -1378,7 +1378,7 @@ gst_net_client_clock_constructed (GObject * object)
GST_NET_CLIENT_INTERNAL_CLOCK (tmp->clock);
if (internal_clock->marked_corrupted)
break;
continue;
if (strcmp (internal_clock->address, self->priv->address) == 0 &&
internal_clock->port == self->priv->port) {