mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-02 20:42:30 +00:00
mpegtsmux: Reset a few more fields in mpegtsmux_reset() to their original values
This commit is contained in:
parent
e3740b58d7
commit
19acd7b215
1 changed files with 3 additions and 0 deletions
|
@ -380,12 +380,15 @@ mpegtsmux_reset (MpegTsMux * mux, gboolean alloc)
|
||||||
mux->first = TRUE;
|
mux->first = TRUE;
|
||||||
mux->last_flow_ret = GST_FLOW_OK;
|
mux->last_flow_ret = GST_FLOW_OK;
|
||||||
mux->previous_pcr = -1;
|
mux->previous_pcr = -1;
|
||||||
|
mux->previous_offset = 0;
|
||||||
mux->pcr_rate_num = mux->pcr_rate_den = 1;
|
mux->pcr_rate_num = mux->pcr_rate_den = 1;
|
||||||
mux->last_ts = 0;
|
mux->last_ts = 0;
|
||||||
mux->is_delta = TRUE;
|
mux->is_delta = TRUE;
|
||||||
|
mux->is_header = FALSE;
|
||||||
|
|
||||||
mux->streamheader_sent = FALSE;
|
mux->streamheader_sent = FALSE;
|
||||||
mux->pending_key_unit_ts = GST_CLOCK_TIME_NONE;
|
mux->pending_key_unit_ts = GST_CLOCK_TIME_NONE;
|
||||||
|
gst_event_replace (&mux->force_key_unit_event, NULL);
|
||||||
#if 0
|
#if 0
|
||||||
mux->spn_count = 0;
|
mux->spn_count = 0;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue