Commit d37fcea2 authored by Jan Schmidt's avatar Jan Schmidt

ptp clock: improve debug

Log message arrival times. Fix a typo in one debug string
parent 6a653437
......@@ -1595,7 +1595,7 @@ handle_follow_up_message (PtpMessage * msg, GstClockTime receive_time)
if (domain->have_master_clock
&& compare_clock_identity (&domain->master_clock_identity,
&msg->source_port_identity) != 0) {
GST_TRACE ("FOLLOW_UP msg not from out master. Ignoring");
GST_TRACE ("FOLLOW_UP msg not from current clock master. Ignoring");
return;
}
......@@ -1758,6 +1758,8 @@ handle_ptp_message (PtpMessage * msg, GstClockTime receive_time)
return;
}
GST_TRACE ("Message type %d receive_time %" GST_TIME_FORMAT,
msg->message_type, GST_TIME_ARGS (receive_time));
switch (msg->message_type) {
case PTP_MESSAGE_TYPE_ANNOUNCE:
handle_announce_message (msg, receive_time);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment