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
This commit is contained in:
Jan Schmidt 2015-07-29 22:57:44 +10:00
parent 0d170d51c7
commit 55373e21a8

View file

@ -332,7 +332,6 @@ mpegtsmux_init (MpegTsMux * mux)
static void static void
mpegtsmux_pad_reset (MpegTsPadData * pad_data) mpegtsmux_pad_reset (MpegTsPadData * pad_data)
{ {
pad_data->pid = 0;
pad_data->dts = GST_CLOCK_STIME_NONE; pad_data->dts = GST_CLOCK_STIME_NONE;
pad_data->prog_id = -1; pad_data->prog_id = -1;
#if 0 #if 0