Commit 9cf9ebaf authored by Francois Cartegnie's avatar Francois Cartegnie

packetizer: h26x: packetized output is

parent 3569c9c1
...@@ -137,9 +137,7 @@ static int Open( vlc_object_t * p_this ) ...@@ -137,9 +137,7 @@ static int Open( vlc_object_t * p_this )
return VLC_EGENERIC; return VLC_EGENERIC;
} }
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);
if( !p_sys->p_es ) if( !p_sys->p_es )
{ {
demux_PacketizerDestroy( p_sys->p_packetizer ); demux_PacketizerDestroy( p_sys->p_packetizer );
......
...@@ -238,6 +238,7 @@ static int Open( vlc_object_t *p_this ) ...@@ -238,6 +238,7 @@ static int Open( vlc_object_t *p_this )
/* Setup properties */ /* Setup properties */
es_format_Copy( &p_dec->fmt_out, &p_dec->fmt_in ); es_format_Copy( &p_dec->fmt_out, &p_dec->fmt_in );
p_dec->fmt_out.i_codec = VLC_CODEC_H264; p_dec->fmt_out.i_codec = VLC_CODEC_H264;
p_dec->fmt_out.b_packetized = true;
if( b_avc ) if( b_avc )
{ {
......
...@@ -99,6 +99,7 @@ static int Open(vlc_object_t *p_this) ...@@ -99,6 +99,7 @@ static int Open(vlc_object_t *p_this)
/* Copy properties */ /* Copy properties */
es_format_Copy(&p_dec->fmt_out, &p_dec->fmt_in); es_format_Copy(&p_dec->fmt_out, &p_dec->fmt_in);
p_dec->fmt_out.b_packetized = true;
/* Set callbacks */ /* Set callbacks */
const uint8_t *p_extra = p_dec->fmt_in.p_extra; const uint8_t *p_extra = p_dec->fmt_in.p_extra;
......
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