From 6dcb605420ed4037295ab59b9f752dfbdc1627bf Mon Sep 17 00:00:00 2001 From: Pulk17 <140953169+pulkitchauhan420@users.noreply.github.com> Date: Sat, 10 Jan 2026 20:02:05 +0530 Subject: [PATCH 1/3] fix(ts): allow manual streamtype override for private streams --- src/lib_ccx/ts_tables.c | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/src/lib_ccx/ts_tables.c b/src/lib_ccx/ts_tables.c index 89611907c..24980ee93 100644 --- a/src/lib_ccx/ts_tables.c +++ b/src/lib_ccx/ts_tables.c @@ -475,11 +475,15 @@ int parse_PMT(struct ccx_demuxer *ctx, unsigned char *buf, int len, struct progr // We found the user selected CAPPID in PMT. We make a note of its type and don't // touch anything else if (stream_type >= 0x80 && stream_type <= 0xFF) - { - mprint("I can't tell the stream type of the manually selected PID.\n"); - mprint("Please pass -streamtype to select manually.\n"); - fatal(EXIT_FAILURE, "-streamtype has to be manually selected."); - } + { + if (ccx_options.demux_cfg.ts_forced_streamtype == CCX_STREAM_TYPE_UNKNOWNSTREAM) + { + mprint("I can't tell the stream type of the manually selected PID.\n"); + mprint("Please pass -streamtype to select manually.\n"); + fatal(EXIT_FAILURE, "-streamtype has to be manually selected."); + } + dbg_print(CCX_DMT_VERBOSE, "User manually set stream type %d, accepting private stream.\n", ccx_options.demux_cfg.ts_forced_streamtype); + } update_capinfo(ctx, elementary_PID, stream_type, CCX_CODEC_NONE, program_number, NULL); continue; } From cfbf89f829c9ffea54e6cbbbae2a3a53da1bc64f Mon Sep 17 00:00:00 2001 From: Pulk17 <140953169+pulkitchauhan420@users.noreply.github.com> Date: Sat, 10 Jan 2026 20:11:41 +0530 Subject: [PATCH 2/3] style: fix indentation (clang-format) --- src/lib_ccx/ts_tables.c | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/src/lib_ccx/ts_tables.c b/src/lib_ccx/ts_tables.c index 24980ee93..91d55b322 100644 --- a/src/lib_ccx/ts_tables.c +++ b/src/lib_ccx/ts_tables.c @@ -475,15 +475,15 @@ int parse_PMT(struct ccx_demuxer *ctx, unsigned char *buf, int len, struct progr // We found the user selected CAPPID in PMT. We make a note of its type and don't // touch anything else if (stream_type >= 0x80 && stream_type <= 0xFF) - { - if (ccx_options.demux_cfg.ts_forced_streamtype == CCX_STREAM_TYPE_UNKNOWNSTREAM) - { - mprint("I can't tell the stream type of the manually selected PID.\n"); - mprint("Please pass -streamtype to select manually.\n"); - fatal(EXIT_FAILURE, "-streamtype has to be manually selected."); - } - dbg_print(CCX_DMT_VERBOSE, "User manually set stream type %d, accepting private stream.\n", ccx_options.demux_cfg.ts_forced_streamtype); - } + { + if (ccx_options.demux_cfg.ts_forced_streamtype == CCX_STREAM_TYPE_UNKNOWNSTREAM) + { + mprint("I can't tell the stream type of the manually selected PID.\n"); + mprint("Please pass -streamtype to select manually.\n"); + fatal(EXIT_FAILURE, "-streamtype has to be manually selected."); + } + dbg_print(CCX_DMT_VERBOSE, "User manually set stream type %d, accepting private stream.\n", ccx_options.demux_cfg.ts_forced_streamtype); + } update_capinfo(ctx, elementary_PID, stream_type, CCX_CODEC_NONE, program_number, NULL); continue; } From cf8f91c8395197aa563712ddfe305ae7fcc67f8c Mon Sep 17 00:00:00 2001 From: Pulk17 <140953169+pulkitchauhan420@users.noreply.github.com> Date: Thu, 22 Jan 2026 23:02:09 +0530 Subject: [PATCH 3/3] Empty commit to rerun ci/cd tests