Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 7 additions & 3 deletions src/lib_ccx/ts_tables.c
Original file line number Diff line number Diff line change
Expand Up @@ -476,9 +476,13 @@ int parse_PMT(struct ccx_demuxer *ctx, unsigned char *buf, int len, struct progr
// 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;
Expand Down
Loading