mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-29 19:50:40 +00:00
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:
parent
0d170d51c7
commit
55373e21a8
1 changed files with 0 additions and 1 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue