projects
/
platform
/
upstream
/
gstreamer.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e3740b5
)
mpegtsmux: Reset a few more fields in mpegtsmux_reset() to their original values
author
Sebastian Dröge
<sebastian@centricular.com>
Wed, 21 Mar 2018 09:05:23 +0000
(11:05 +0200)
committer
Sebastian Dröge
<sebastian@centricular.com>
Wed, 21 Mar 2018 09:05:23 +0000
(11:05 +0200)
gst/mpegtsmux/mpegtsmux.c
patch
|
blob
|
history
diff --git
a/gst/mpegtsmux/mpegtsmux.c
b/gst/mpegtsmux/mpegtsmux.c
index 98e97c3cfd59de4ad5060c9c03b539b22afc9047..f7fbf2373998095c94717e7793ec2c77c75b71d5 100644
(file)
--- a/
gst/mpegtsmux/mpegtsmux.c
+++ b/
gst/mpegtsmux/mpegtsmux.c
@@
-380,12
+380,15
@@
mpegtsmux_reset (MpegTsMux * mux, gboolean alloc)
mux->first = TRUE;
mux->last_flow_ret = GST_FLOW_OK;
mux->previous_pcr = -1;
+ mux->previous_offset = 0;
mux->pcr_rate_num = mux->pcr_rate_den = 1;
mux->last_ts = 0;
mux->is_delta = TRUE;
+ mux->is_header = FALSE;
mux->streamheader_sent = FALSE;
mux->pending_key_unit_ts = GST_CLOCK_TIME_NONE;
+ gst_event_replace (&mux->force_key_unit_event, NULL);
#if 0
mux->spn_count = 0;