From: Jaroslav Kysela Date: Wed, 24 Aug 2016 08:45:26 +0000 (+0200) Subject: globalheaders: improve/fix log X-Git-Tag: v4.2.1~353 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c8b048e5976cae6af73eda48e6ef5fd3a1b85afb;p=thirdparty%2Ftvheadend.git globalheaders: improve/fix log --- diff --git a/src/plumbing/globalheaders.c b/src/plumbing/globalheaders.c index 0a6e14d1e..c5b8c6d19 100644 --- a/src/plumbing/globalheaders.c +++ b/src/plumbing/globalheaders.c @@ -237,7 +237,7 @@ headers_complete(globalheaders_t *gh) */ if(threshold || (qd[i] <= 0 && qd_max > (MAX_SCAN_TIME * 90) / 2)) { ssc->ssc_disabled = 1; - tvhdebug(LS_TSFIX, "gh disable stream %d %s%s%s (PID %i) threshold %d qd %"PRId64" qd_max %"PRId64, + tvhdebug(LS_GLOBALHEADERS, "gh disable stream %d %s%s%s (PID %i) threshold %d qd %"PRId64" qd_max %"PRId64, ssc->ssc_index, streaming_component_type2txt(ssc->ssc_type), ssc->ssc_lang[0] ? " " : "", ssc->ssc_lang, ssc->ssc_pid, threshold, qd[i], qd_max); @@ -252,7 +252,7 @@ headers_complete(globalheaders_t *gh) if (tvhtrace_enabled()) { for(i = 0; i < ss->ss_num_components; i++) { ssc = &ss->ss_components[i]; - tvhtrace(LS_TSFIX, "stream %d %s%s%s (PID %i) complete time %"PRId64"%s", + tvhtrace(LS_GLOBALHEADERS, "stream %d %s%s%s (PID %i) complete time %"PRId64"%s", ssc->ssc_index, streaming_component_type2txt(ssc->ssc_type), ssc->ssc_lang[0] ? " " : "", ssc->ssc_lang, ssc->ssc_pid, gh_queue_delay(gh, ssc->ssc_index), @@ -295,6 +295,8 @@ gh_hold(globalheaders_t *gh, streaming_message_t *sm) return; } + pkt_trace(LS_GLOBALHEADERS, pkt, pkt->pkt_componentindex, ssc->ssc_type, "hold receive"); + pkt_ref_inc(pkt); if (pkt->pkt_err == 0)