summaryrefslogtreecommitdiff
path: root/gst/mpegtsmux
diff options
context:
space:
mode:
authorJan Schmidt <jan@centricular.com>2015-07-29 22:57:44 +1000
committerJan Schmidt <jan@centricular.com>2015-07-29 23:10:49 +1000
commit55373e21a8870d92ffe49a2d88deb68cf40cfdb4 (patch)
tree056f819a6c2e0256eee92805214fdbb7c83670a8 /gst/mpegtsmux
parent0d170d51c7565cef5ebb933e28b262f35a57162a (diff)
mpegtsmux: Don't clear the PID on reset.
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
Diffstat (limited to 'gst/mpegtsmux')
-rw-r--r--gst/mpegtsmux/mpegtsmux.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/gst/mpegtsmux/mpegtsmux.c b/gst/mpegtsmux/mpegtsmux.c
index bcd9deecc..d10e18992 100644
--- 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