Commit 993077b7 authored by Hugo Beauzée-Luyssen's avatar Hugo Beauzée-Luyssen Committed by Jean-Baptiste Kempf

dash: Don't use the module when MPD parsing failed.

Signed-off-by: Jean-Baptiste Kempf's avatarJean-Baptiste Kempf <>
parent 34fabb83
......@@ -101,6 +101,14 @@ static int Open(vlc_object_t *p_obj)
new dash::DASHManager( p_conManager, p_node,
dash::logic::IAdaptationLogic::RateBased );
if ( p_dashManager->getMpdManager()->getMPD() == NULL )
msg_Err( p_obj, "MPD file parsing failed." );
delete p_conManager;
delete p_dashManager;
free( p_sys );
p_sys->p_dashManager = p_dashManager;
p_sys->p_node = p_node;
p_sys->p_conManager = p_conManager;
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