Commit 38d1b1a3 authored by Laurent Aimar's avatar Laurent Aimar

No need to set b_packetized in demuxer using a packetizer.

demux_PacketizerNew has been fixed in that regard.
parent b41f1263
...@@ -184,10 +184,7 @@ static int Demux( demux_t *p_demux) ...@@ -184,10 +184,7 @@ static int Demux( demux_t *p_demux)
p_block_out->p_next = NULL; p_block_out->p_next = NULL;
if( p_sys->p_es == NULL ) if( p_sys->p_es == NULL )
{
p_sys->p_packetizer->fmt_out.b_packetized = true;
p_sys->p_es = es_out_Add( p_demux->out, &p_sys->p_packetizer->fmt_out); p_sys->p_es = es_out_Add( p_demux->out, &p_sys->p_packetizer->fmt_out);
}
p_block_out->i_dts += p_sys->i_dtsoffset; p_block_out->i_dts += p_sys->i_dtsoffset;
p_sys->i_dts = p_block_out->i_dts; p_sys->i_dts = p_block_out->i_dts;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment