Skip to content

Commit

Permalink
fixed #2873
Browse files Browse the repository at this point in the history
  • Loading branch information
jeanlf committed Jun 12, 2024
1 parent 31e499d commit 8767ed0
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/filters/dmx_m2ts.c
Original file line number Diff line number Diff line change
Expand Up @@ -1211,6 +1211,9 @@ static void m2tsdmx_on_event(GF_M2TS_Demuxer *ts, u32 evt_type, void *param)
GF_BitStream *bs;
GF_M2TS_Prop *t;

//for now all SCTE35 must be associated with a stream
if (!pck->stream) return;

// convey SCTE35 splice info to all streams of the program
u32 count = gf_list_count(pck->stream->program->streams);
for (i=0; i<count; i++) {
Expand Down

0 comments on commit 8767ed0

Please sign in to comment.