mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-26 19:51:11 +00:00
ptp: Make sure to always initialize the variables we put into the statistics structure later
CID 1304676, 1304677, 1304678, 1304679.
This commit is contained in:
parent
c8d777feaa
commit
5ba9e9d9a8
1 changed files with 2 additions and 0 deletions
|
@ -1090,6 +1090,8 @@ update_ptp_time (PtpDomainData * domain, PtpPendingSync * sync)
|
|||
GST_TIME_ARGS (sync->follow_up_recv_time_local),
|
||||
GST_TIME_ARGS (domain->mean_path_delay));
|
||||
synced = FALSE;
|
||||
gst_clock_get_calibration (GST_CLOCK_CAST (domain->domain_clock),
|
||||
&internal_time, &external_time, &rate_num, &rate_den);
|
||||
goto out;
|
||||
}
|
||||
#endif
|
||||
|
|
Loading…
Reference in a new issue