tsdemux: Fix segfault when trying to handle SCTE-35 with incorrect program specified
i ran into a crash when accidentally specifying an incorrect program-number in conjunction with the new tsdemux
property:
gst-launch-1.0 filesrc location=some.ts ! tsdemux send-scte35-events=true program-number=1010 ! fakesink
this caused a segfault in:
#6 0x00007f7aeda3ae58 in handle_psi (base=0x564614c74110, section=0x7f7ae801a430) at ../subprojects/gst-plugins-bad/gst/mpegtsdemux/tsdemux.c:1113