From 55373e21a8870d92ffe49a2d88deb68cf40cfdb4 Mon Sep 17 00:00:00 2001 From: Jan Schmidt Date: Wed, 29 Jul 2015 22:57:44 +1000 Subject: [PATCH] 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 --- gst/mpegtsmux/mpegtsmux.c | 1 - 1 file changed, 1 deletion(-) diff --git a/gst/mpegtsmux/mpegtsmux.c b/gst/mpegtsmux/mpegtsmux.c index bcd9deeccb..d10e18992d 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