mpegtsmux: Schedule PMT update on stream removal

Following the behavior of tsmux_program_add_stream(), this ensures that a PMT
update will also be caused by removal of a stream from a program.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/7719>
This commit is contained in:
Jordan Yelloz 2024-10-22 09:13:06 -06:00 committed by GStreamer Marge Bot
parent 493f8e440a
commit bcaf72ba62

View file

@ -821,6 +821,8 @@ tsmux_program_remove_stream (TsMuxProgram * program, TsMuxStream * stream)
return FALSE;
}
program->pmt_changed = TRUE;
return streams->len == 0;
}