Skip to content
Snippets Groups Projects
Commit 65a9096d authored by Steve Lhomme's avatar Steve Lhomme Committed by Rémi Denis-Courmont
Browse files

demux: initialize the ES from the known category


Signed-off-by: default avatarRémi Denis-Courmont <remi@remlab.net>
parent 30e085e9
No related branches found
No related tags found
No related merge requests found
......@@ -514,7 +514,7 @@ decoder_t *demux_PacketizerNew( demux_t *p_demux, es_format_t *p_fmt, const char
p_packetizer->pf_packetize = NULL;
p_packetizer->fmt_in = *p_fmt;
es_format_Init( &p_packetizer->fmt_out, UNKNOWN_ES, 0 );
es_format_Init( &p_packetizer->fmt_out, p_fmt->i_cat, 0 );
p_packetizer->p_module = module_need( p_packetizer, "packetizer", NULL, false );
if( !p_packetizer->p_module )
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment