ptp: Only warn if the clock id and interface of a timed out matches the current one

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/5520>
This commit is contained in:
Sebastian Dröge 2023-10-30 16:24:23 +02:00 committed by GStreamer Marge Bot
parent bd985ea608
commit 9ba8107ec6

View file

@ -2365,7 +2365,8 @@ cleanup_cb (gpointer data)
GList *tmp = n->next;
if (compare_clock_identity (&sender->master_clock_identity,
&domain->master_clock_identity) == 0)
&domain->master_clock_identity) == 0
&& sender->iface_idx == domain->iface_idx)
GST_WARNING ("currently selected master clock timed out");
g_free (sender);
domain->announce_senders =