Reverse NDEBUG conditions

By default, these specific debug logs are disabled.

Make the ifdef condition less confusing.
This commit is contained in:
Romain Vimont
2024-09-11 11:29:00 +02:00
parent 33a8c39beb
commit 63ced79842
4 changed files with 11 additions and 11 deletions

View File

@@ -78,7 +78,7 @@ run_buffering(void *data) {
goto stopped;
}
#ifndef SC_BUFFERING_NDEBUG
#ifdef SC_BUFFERING_DEBUG
LOGD("Buffering: %" PRItick ";%" PRItick ";%" PRItick,
pts, dframe.push_date, sc_tick_now());
#endif
@@ -204,7 +204,7 @@ sc_delay_buffer_frame_sink_push(struct sc_frame_sink *sink,
return false;
}
#ifndef SC_BUFFERING_NDEBUG
#ifdef SC_BUFFERING_DEBUG
dframe.push_date = sc_tick_now();
#endif