Quieten some unnecessary debug messages.
This commit is contained in:
@@ -767,7 +767,7 @@ static abuf_t *buffer_get_frame(void) {
|
||||
}
|
||||
|
||||
if (!curframe->ready) {
|
||||
debug(1, "Supplying a silent frame for frame %u", read);
|
||||
// debug(1, "Supplying a silent frame for frame %u", read);
|
||||
missing_packets++;
|
||||
memset(curframe->data, 0, FRAME_BYTES(frame_size));
|
||||
curframe->timestamp = 0;
|
||||
|
||||
@@ -288,12 +288,12 @@ static void track_thread(rtsp_conn_info *conn) {
|
||||
static void cleanup_threads(void) {
|
||||
void *retval;
|
||||
int i;
|
||||
debug(2, "culling threads.");
|
||||
// debug(2, "culling threads.");
|
||||
for (i = 0; i < nconns;) {
|
||||
if (conns[i]->running == 0) {
|
||||
pthread_join(conns[i]->thread, &retval);
|
||||
free(conns[i]);
|
||||
debug(2, "one joined...");
|
||||
debug(2, "one thread joined...");
|
||||
nconns--;
|
||||
if (nconns)
|
||||
conns[i] = conns[nconns];
|
||||
|
||||
Reference in New Issue
Block a user