mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-24 01:00:37 +00:00
mpegtsmux: Restore intervals when creating TsMux
Otherwise the settings from the properties would be overwritten with the defaults. Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/merge_requests/1593>
This commit is contained in:
parent
990d1bfbce
commit
5a1b56a0e0
1 changed files with 3 additions and 0 deletions
|
@ -1900,7 +1900,10 @@ gst_base_ts_mux_default_create_ts_mux (GstBaseTsMux * mux)
|
|||
TsMux *tsmux = tsmux_new ();
|
||||
tsmux_set_write_func (tsmux, new_packet_cb, mux);
|
||||
tsmux_set_alloc_func (tsmux, alloc_packet_cb, mux);
|
||||
tsmux_set_pat_interval (tsmux, mux->pat_interval);
|
||||
tsmux_set_si_interval (tsmux, mux->si_interval);
|
||||
tsmux_set_bitrate (tsmux, mux->bitrate);
|
||||
tsmux_set_pcr_interval (tsmux, mux->pcr_interval);
|
||||
|
||||
return tsmux;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue