]> git.ipfire.org Git - thirdparty/shairport-sync.git/commitdiff
debug mods
authorMike Brady <mikebradydublin@icloud.com>
Thu, 28 May 2020 16:41:49 +0000 (17:41 +0100)
committerMike Brady <mikebradydublin@icloud.com>
Thu, 28 May 2020 16:41:49 +0000 (17:41 +0100)
rtsp.c

diff --git a/rtsp.c b/rtsp.c
index 0a9c0859f1267321a95307bf375fe6878cb883fe..70d5dcc8b3b848776e378d89c8fdbe2ccb97e064 100644 (file)
--- 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);
   }