Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
globalheaders: when an elementary stream is disabled, notify via debu…
…g log
  • Loading branch information
perexg committed Apr 5, 2015
1 parent e4f034a commit 2518d4f
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/plumbing/globalheaders.c
Expand Up @@ -228,6 +228,10 @@ headers_complete(globalheaders_t *gh)
*/
if(threshold || (qd[i] <= 0 && qd_max > (MAX_SCAN_TIME * 90) / 2)) {
ssc->ssc_disabled = 1;
tvhdebug("parser", "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);
} else {
return 0;
}
Expand Down

0 comments on commit 2518d4f

Please sign in to comment.