Skip to content

Commit 25877ec

Browse files
committed
upipe_ts_demux: decrease totd verbosity
Set TOT decoder output to a null pipe to prevent debug logs for each totd output.
1 parent c774805 commit 25877ec

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

lib/upipe-ts/upipe_ts_demux.c

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2796,6 +2796,14 @@ static void upipe_ts_demux_update_tdttot(struct upipe *upipe)
27962796
UPROBE_LOG_VERBOSE, "totd"));
27972797
if (unlikely(upipe_ts_demux->totd == NULL))
27982798
upipe_throw_fatal(upipe, UBASE_ERR_ALLOC);
2799+
2800+
int ret = upipe_void_spawn_output(
2801+
upipe_ts_demux->totd, ts_demux_mgr->null_mgr,
2802+
uprobe_pfx_alloc(
2803+
uprobe_use(&upipe_ts_demux->proxy_probe), UPROBE_LOG_VERBOSE,
2804+
"totd null"));
2805+
if (unlikely(!ubase_check(ret)))
2806+
upipe_throw_fatal(upipe, UBASE_ERR_ALLOC);
27992807
}
28002808

28012809
/** @internal @This builds the output flow def.

0 commit comments

Comments
 (0)