clang
This commit is contained in:
@@ -2305,7 +2305,7 @@ void *player_thread_func(void *arg) {
|
||||
debug(1, "Large positive sync error of: %" PRId64 " frames (%f seconds).",
|
||||
sync_error, (sync_error * 1.0) / config.output_rate);
|
||||
int64_t local_frames_to_drop = sync_error / conn->output_sample_ratio;
|
||||
uint32_t frames_to_drop_sized = local_frames_to_drop;
|
||||
uint32_t frames_to_drop_sized = local_frames_to_drop;
|
||||
do_flush(inframe->given_timestamp + frames_to_drop_sized, conn);
|
||||
} else if ((sync_error < 0) && ((-sync_error) > filler_length)) {
|
||||
debug(1,
|
||||
|
||||
@@ -1274,7 +1274,8 @@ int get_ptp_anchor_local_time_info(rtsp_conn_info *conn, uint32_t *anchorRTP,
|
||||
if ((clock_status_t)response != conn->clock_status) {
|
||||
switch (response) {
|
||||
case clock_ok:
|
||||
debug(1, "Connection %d: NQPTP new master clock % " PRIx64 ".", conn->connection_number, actual_clock_id);
|
||||
debug(1, "Connection %d: NQPTP new master clock % " PRIx64 ".", conn->connection_number,
|
||||
actual_clock_id);
|
||||
break;
|
||||
case clock_service_unavailable:
|
||||
debug(1, "Connection %d: NQPTP clock is not available.", conn->connection_number);
|
||||
@@ -1311,7 +1312,7 @@ int get_ptp_anchor_local_time_info(rtsp_conn_info *conn, uint32_t *anchorRTP,
|
||||
}
|
||||
conn->clock_status = response;
|
||||
}
|
||||
|
||||
|
||||
if ((response != clock_ok) && (conn->last_anchor_info_is_valid != 0)) {
|
||||
if (anchorRTP != NULL)
|
||||
*anchorRTP = conn->anchor_rtptime;
|
||||
|
||||
Reference in New Issue
Block a user