projects
/
platform
/
upstream
/
gst-plugins-bad.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0d170d5
)
mpegtsmux: Don't clear the PID on reset.
author
Jan Schmidt
<jan@centricular.com>
Wed, 29 Jul 2015 12:57:44 +0000
(22:57 +1000)
committer
Jan Schmidt
<jan@centricular.com>
Wed, 29 Jul 2015 13:10:49 +0000
(23:10 +1000)
The PID on a pad shouldn't change on a state change, only
if the pad is freed and a new one created. Clearing the PID
prevented mpegtsmux from being reused, because all packets
would end up muxed in PID 0
https://bugzilla.gnome.org/show_bug.cgi?id=752999
gst/mpegtsmux/mpegtsmux.c
patch
|
blob
|
history
diff --git
a/gst/mpegtsmux/mpegtsmux.c
b/gst/mpegtsmux/mpegtsmux.c
index
bcd9dee
..
d10e189
100644
(file)
--- a/
gst/mpegtsmux/mpegtsmux.c
+++ b/
gst/mpegtsmux/mpegtsmux.c
@@
-332,7
+332,6
@@
mpegtsmux_init (MpegTsMux * mux)
static void
mpegtsmux_pad_reset (MpegTsPadData * pad_data)
{
- pad_data->pid = 0;
pad_data->dts = GST_CLOCK_STIME_NONE;
pad_data->prog_id = -1;
#if 0