Quieten some unnecessary debug messages.

This commit is contained in:
Mike Brady
2016-02-29 19:54:51 +00:00
parent ae604ff77f
commit f4d2631d1c
2 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -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;
+2 -2
View File
@@ -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];