Commit 60aa97cc authored by Francois Cartegnie's avatar Francois Cartegnie

demux: dash: name stream as mimetype for debug

parent 8a42f952
...@@ -41,6 +41,7 @@ ...@@ -41,6 +41,7 @@
#include "DASHSegment.h" #include "DASHSegment.h"
#include "../xml/DOMHelper.h" #include "../xml/DOMHelper.h"
#include "../adaptative/tools/Helper.h" #include "../adaptative/tools/Helper.h"
#include "../adaptative/tools/Debug.hpp"
#include <vlc_strings.h> #include <vlc_strings.h>
#include <vlc_stream.h> #include <vlc_stream.h>
#include <cstdio> #include <cstdio>
...@@ -256,6 +257,10 @@ void IsoffMainParser::setAdaptationSets (Node *periodNode, Period *period) ...@@ -256,6 +257,10 @@ void IsoffMainParser::setAdaptationSets (Node *periodNode, Period *period)
if(uri == "urn:mpeg:dash:role:2011") if(uri == "urn:mpeg:dash:role:2011")
adaptationSet->description.Set(role->getAttributeValue("value")); adaptationSet->description.Set(role->getAttributeValue("value"));
} }
#ifdef ADAPTATIVE_ADVANCED_DEBUG
if(adaptationSet->description.Get().empty())
adaptationSet->description.Set(adaptationSet->getMimeType());
#endif
parseSegmentInformation(*it, adaptationSet, &nextid); parseSegmentInformation(*it, adaptationSet, &nextid);
......
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