From: Mike Brady Date: Thu, 28 May 2020 16:41:49 +0000 (+0100) Subject: debug mods X-Git-Tag: 3.3.7d12~65 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=16ecb5f37830d64d1473e00875cad610876278f0;p=thirdparty%2Fshairport-sync.git debug mods --- diff --git a/rtsp.c b/rtsp.c index 0a9c0859..70d5dcc8 100644 --- a/rtsp.c +++ b/rtsp.c @@ -1452,16 +1452,20 @@ void *metadata_thread_function(__attribute__((unused)) void *ignore) { // debug(1,"pc_queue get item."); pthread_cleanup_push(metadata_pack_cleanup_function, (void *)&pack); if (config.metadata_enabled) { + debug(1, "metadata_process type %x, code %x and length %u.", pack.type, pack.code, pack.length); metadata_process(pack.type, pack.code, pack.data, pack.length); #ifdef CONFIG_METADATA_HUB + debug(1, "metadata_hub_process."); metadata_hub_process_metadata(pack.type, pack.code, pack.data, pack.length); #endif #ifdef CONFIG_MQTT if (config.mqtt_enabled) { + debug(1, "mqtt_process_metadata."); mqtt_process_metadata(pack.type, pack.code, pack.data, pack.length); } #endif + debug(1, "done."); } pthread_cleanup_pop(1); }