Commit 5d8f9a37 authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf

Avformat: do not add attachment as ES

parent dacabfca
......@@ -450,7 +450,6 @@ int OpenDemux( vlc_object_t *p_this )
memcpy( fmt.p_extra, p_extra, i_extra );
}
}
}
es = es_out_Add( p_demux->out, &fmt );
if( s->disposition & AV_DISPOSITION_DEFAULT )
es_out_Control( p_demux->out, ES_OUT_SET_ES_DEFAULT, es );
......@@ -460,6 +459,7 @@ int OpenDemux( vlc_object_t *p_this )
psz_type, (char*)&fcc );
TAB_APPEND( p_sys->i_tk, p_sys->tk, es );
}
}
if( p_sys->ic->start_time != (int64_t)AV_NOPTS_VALUE )
i_start_time = p_sys->ic->start_time * 1000000 / AV_TIME_BASE;
......
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