[vlc-devel] [PATCH 2/2] demux: flac: Create the es_out early

Francois Cartegnie fcvlcdev at free.fr
Wed Dec 14 19:35:22 CET 2016


Le 14/12/2016 à 19:27, Hugo Beauzée-Luyssen a écrit :
> This allows a preparse to know about the audio track

> @@ -233,11 +235,6 @@ static int Demux( demux_t *p_demux )
>  
>              p_block_out->p_next = NULL;
>  
> -            if( p_sys->p_es == NULL )
> -            {
> -                p_sys->p_es = es_out_Add( p_demux->out, &p_sys->p_packetizer->fmt_out);
> -            }
> -
>              p_sys->i_pts = p_block_out->i_dts;
>  
>              /* set PCR */
> 

Not possible, just like TS, if it relies on packetizer to set fmt
parameters.


Francois


More information about the vlc-devel mailing list