Commit 92ab073f authored by Hugo Beauzée-Luyssen's avatar Hugo Beauzée-Luyssen

adaptive: Don't use qualified name lookup on unscoped enumerations

parent e0613585
......@@ -422,7 +422,7 @@ bool SegmentInformation::getPlaybackTimeDurationBySegmentNumber(uint64_t number,
else
{
const Timescale timescale = inheritTimescale();
const ISegment *segment = getSegment(SegmentInfoType::INFOTYPE_MEDIA, number);
const ISegment *segment = getSegment(INFOTYPE_MEDIA, number);
if( segment )
{
*time = timescale.ToTime(segment->startTime.Get());
......
......@@ -160,7 +160,7 @@ uint64_t Representation::translateSegmentNumber(uint64_t num, const SegmentInfor
{
if(consistentSegmentNumber())
return num;
ISegment *fromSeg = from->getSegment(SegmentInfoType::INFOTYPE_MEDIA, num);
ISegment *fromSeg = from->getSegment(INFOTYPE_MEDIA, num);
HLSSegment *fromHlsSeg = dynamic_cast<HLSSegment *>(fromSeg);
if(!fromHlsSeg)
return 1;
......@@ -168,7 +168,7 @@ uint64_t Representation::translateSegmentNumber(uint64_t num, const SegmentInfor
std::vector<ISegment *> list;
std::vector<ISegment *>::const_iterator it;
getSegments(SegmentInfoType::INFOTYPE_MEDIA, list);
getSegments(INFOTYPE_MEDIA, list);
for(it=list.begin(); it != list.end(); ++it)
{
const HLSSegment *hlsSeg = dynamic_cast<HLSSegment *>(*it);
......
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