Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
videolan
vlc
Commits
077312c6
Commit
077312c6
authored
Nov 18, 2014
by
Francois Cartegnie
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
stream_filter: dash: merge managers
parent
cd12fedb
Changes
20
Hide whitespace changes
Inline
Side-by-side
Showing
20 changed files
with
41 additions
and
225 deletions
+41
-225
modules/stream_filter/Makefile.am
modules/stream_filter/Makefile.am
+2
-6
modules/stream_filter/dash/DASHManager.cpp
modules/stream_filter/dash/DASHManager.cpp
+1
-1
modules/stream_filter/dash/DASHManager.h
modules/stream_filter/dash/DASHManager.h
+3
-3
modules/stream_filter/dash/adaptationlogic/AbstractAdaptationLogic.cpp
...m_filter/dash/adaptationlogic/AbstractAdaptationLogic.cpp
+1
-1
modules/stream_filter/dash/adaptationlogic/AbstractAdaptationLogic.h
...eam_filter/dash/adaptationlogic/AbstractAdaptationLogic.h
+3
-3
modules/stream_filter/dash/adaptationlogic/AdaptationLogicFactory.cpp
...am_filter/dash/adaptationlogic/AdaptationLogicFactory.cpp
+1
-1
modules/stream_filter/dash/adaptationlogic/AdaptationLogicFactory.h
...ream_filter/dash/adaptationlogic/AdaptationLogicFactory.h
+2
-2
modules/stream_filter/dash/adaptationlogic/AlwaysBestAdaptationLogic.cpp
...filter/dash/adaptationlogic/AlwaysBestAdaptationLogic.cpp
+1
-1
modules/stream_filter/dash/adaptationlogic/AlwaysBestAdaptationLogic.h
...m_filter/dash/adaptationlogic/AlwaysBestAdaptationLogic.h
+3
-4
modules/stream_filter/dash/adaptationlogic/RateBasedAdaptationLogic.cpp
..._filter/dash/adaptationlogic/RateBasedAdaptationLogic.cpp
+1
-1
modules/stream_filter/dash/adaptationlogic/RateBasedAdaptationLogic.h
...am_filter/dash/adaptationlogic/RateBasedAdaptationLogic.h
+3
-4
modules/stream_filter/dash/mpd/BasicCMManager.cpp
modules/stream_filter/dash/mpd/BasicCMManager.cpp
+0
-36
modules/stream_filter/dash/mpd/BasicCMManager.h
modules/stream_filter/dash/mpd/BasicCMManager.h
+0
-49
modules/stream_filter/dash/mpd/IsoffMainManager.cpp
modules/stream_filter/dash/mpd/IsoffMainManager.cpp
+0
-40
modules/stream_filter/dash/mpd/IsoffMainManager.h
modules/stream_filter/dash/mpd/IsoffMainManager.h
+0
-50
modules/stream_filter/dash/mpd/MPDManager.cpp
modules/stream_filter/dash/mpd/MPDManager.cpp
+8
-8
modules/stream_filter/dash/mpd/MPDManager.hpp
modules/stream_filter/dash/mpd/MPDManager.hpp
+7
-7
modules/stream_filter/dash/mpd/MPDManagerFactory.cpp
modules/stream_filter/dash/mpd/MPDManagerFactory.cpp
+2
-3
modules/stream_filter/dash/mpd/MPDManagerFactory.h
modules/stream_filter/dash/mpd/MPDManagerFactory.h
+2
-4
modules/stream_filter/dash/xml/DOMParser.h
modules/stream_filter/dash/xml/DOMParser.h
+1
-1
No files found.
modules/stream_filter/Makefile.am
View file @
077312c6
...
...
@@ -36,22 +36,18 @@ libdash_plugin_la_SOURCES = \
stream_filter/dash/mpd/AdaptationSet.cpp
\
stream_filter/dash/mpd/AdaptationSet.h
\
stream_filter/dash/mpd/BaseUrl.h
\
stream_filter/dash/mpd/BasicCMManager.cpp
\
stream_filter/dash/mpd/BasicCMManager.h
\
stream_filter/dash/mpd/BasicCMParser.cpp
\
stream_filter/dash/mpd/BasicCMParser.h
\
stream_filter/dash/mpd/CommonAttributesElements.cpp
\
stream_filter/dash/mpd/CommonAttributesElements.h
\
stream_filter/dash/mpd/ContentDescription.cpp
\
stream_filter/dash/mpd/ContentDescription.h
\
stream_filter/dash/mpd/
IMPDManager.h
\
stream_filter/dash/mpd/
I
MPDManager.cpp
\
stream_filter/dash/mpd/
MPDManager.hpp
\
stream_filter/dash/mpd/MPDManager.cpp
\
stream_filter/dash/mpd/IMPDParser.cpp
\
stream_filter/dash/mpd/IMPDParser.h
\
stream_filter/dash/mpd/IsoffMainParser.cpp
\
stream_filter/dash/mpd/IsoffMainParser.h
\
stream_filter/dash/mpd/IsoffMainManager.cpp
\
stream_filter/dash/mpd/IsoffMainManager.h
\
stream_filter/dash/mpd/MPD.cpp
\
stream_filter/dash/mpd/MPD.h
\
stream_filter/dash/mpd/MPDFactory.cpp
\
...
...
modules/stream_filter/dash/DASHManager.cpp
View file @
077312c6
...
...
@@ -92,7 +92,7 @@ int DASHManager::peek( const uint8_t **pp_peek, size_t i_peek )
return
this
->
buffer
->
peek
(
pp_peek
,
i_peek
);
}
const
mpd
::
I
MPDManager
*
DASHManager
::
getMpdManager
()
const
const
mpd
::
MPDManager
*
DASHManager
::
getMpdManager
()
const
{
return
this
->
mpdManager
;
}
...
...
modules/stream_filter/dash/DASHManager.h
View file @
077312c6
...
...
@@ -29,7 +29,7 @@
#include "xml/Node.h"
#include "adaptationlogic/IAdaptationLogic.h"
#include "adaptationlogic/AdaptationLogicFactory.h"
#include "mpd/
IMPDManager.h
"
#include "mpd/
MPDManager.hpp
"
#include "mpd/MPDManagerFactory.h"
#include "buffer/BlockBuffer.h"
#include "DASHDownloader.h"
...
...
@@ -49,7 +49,7 @@ namespace dash
int
peek
(
const
uint8_t
**
pp_peek
,
size_t
i_peek
);
int
seekBackwards
(
unsigned
len
);
const
mpd
::
I
MPDManager
*
getMpdManager
()
const
;
const
mpd
::
MPDManager
*
getMpdManager
()
const
;
const
logic
::
IAdaptationLogic
*
getAdaptionLogic
()
const
;
const
http
::
Chunk
*
getCurrentChunk
()
const
;
...
...
@@ -58,7 +58,7 @@ namespace dash
http
::
Chunk
*
currentChunk
;
logic
::
IAdaptationLogic
*
adaptationLogic
;
logic
::
IAdaptationLogic
::
LogicType
logicType
;
mpd
::
I
MPDManager
*
mpdManager
;
mpd
::
MPDManager
*
mpdManager
;
mpd
::
MPD
*
mpd
;
stream_t
*
stream
;
DASHDownloader
*
downloader
;
...
...
modules/stream_filter/dash/adaptationlogic/AbstractAdaptationLogic.cpp
View file @
077312c6
...
...
@@ -31,7 +31,7 @@ using namespace dash::logic;
using
namespace
dash
::
xml
;
using
namespace
dash
::
mpd
;
AbstractAdaptationLogic
::
AbstractAdaptationLogic
(
I
MPDManager
*
mpdManager
,
stream_t
*
stream
)
:
AbstractAdaptationLogic
::
AbstractAdaptationLogic
(
MPDManager
*
mpdManager
,
stream_t
*
stream
)
:
bpsAvg
(
0
),
bpsLastChunk
(
0
),
mpdManager
(
mpdManager
),
...
...
modules/stream_filter/dash/adaptationlogic/AbstractAdaptationLogic.h
View file @
077312c6
...
...
@@ -29,7 +29,7 @@
#include "xml/Node.h"
#include "http/Chunk.h"
#include "mpd/MPD.h"
#include "mpd/
IMPDManager.h
"
#include "mpd/
MPDManager.hpp
"
#include "mpd/Period.h"
#include "mpd/Representation.h"
#include "mpd/Segment.h"
...
...
@@ -43,7 +43,7 @@ namespace dash
class
AbstractAdaptationLogic
:
public
IAdaptationLogic
{
public:
AbstractAdaptationLogic
(
dash
::
mpd
::
I
MPDManager
*
mpdManager
,
stream_t
*
stream
);
AbstractAdaptationLogic
(
dash
::
mpd
::
MPDManager
*
mpdManager
,
stream_t
*
stream
);
virtual
~
AbstractAdaptationLogic
();
virtual
void
downloadRateChanged
(
uint64_t
bpsAvg
,
uint64_t
bpsLastChunk
);
...
...
@@ -56,7 +56,7 @@ namespace dash
private:
int
bpsAvg
;
long
bpsLastChunk
;
dash
::
mpd
::
I
MPDManager
*
mpdManager
;
dash
::
mpd
::
MPDManager
*
mpdManager
;
stream_t
*
stream
;
mtime_t
bufferedMicroSec
;
int
bufferedPercent
;
...
...
modules/stream_filter/dash/adaptationlogic/AdaptationLogicFactory.cpp
View file @
077312c6
...
...
@@ -32,7 +32,7 @@ using namespace dash::xml;
using
namespace
dash
::
mpd
;
IAdaptationLogic
*
AdaptationLogicFactory
::
create
(
IAdaptationLogic
::
LogicType
logic
,
I
MPDManager
*
mpdManager
,
stream_t
*
stream
)
MPDManager
*
mpdManager
,
stream_t
*
stream
)
{
switch
(
logic
)
{
...
...
modules/stream_filter/dash/adaptationlogic/AdaptationLogicFactory.h
View file @
077312c6
...
...
@@ -27,7 +27,7 @@
#include "adaptationlogic/IAdaptationLogic.h"
#include "xml/Node.h"
#include "mpd/
IMPDManager.h
"
#include "mpd/
MPDManager.hpp
"
#include "adaptationlogic/AlwaysBestAdaptationLogic.h"
#include "adaptationlogic/RateBasedAdaptationLogic.h"
...
...
@@ -40,7 +40,7 @@ namespace dash
class
AdaptationLogicFactory
{
public:
static
IAdaptationLogic
*
create
(
IAdaptationLogic
::
LogicType
logic
,
dash
::
mpd
::
I
MPDManager
*
mpdManager
,
stream_t
*
stream
);
static
IAdaptationLogic
*
create
(
IAdaptationLogic
::
LogicType
logic
,
dash
::
mpd
::
MPDManager
*
mpdManager
,
stream_t
*
stream
);
};
}
}
...
...
modules/stream_filter/dash/adaptationlogic/AlwaysBestAdaptationLogic.cpp
View file @
077312c6
...
...
@@ -32,7 +32,7 @@ using namespace dash::xml;
using
namespace
dash
::
http
;
using
namespace
dash
::
mpd
;
AlwaysBestAdaptationLogic
::
AlwaysBestAdaptationLogic
(
I
MPDManager
*
mpdManager
,
stream_t
*
stream
)
:
AlwaysBestAdaptationLogic
::
AlwaysBestAdaptationLogic
(
MPDManager
*
mpdManager
,
stream_t
*
stream
)
:
AbstractAdaptationLogic
(
mpdManager
,
stream
)
{
this
->
mpdManager
=
mpdManager
;
...
...
modules/stream_filter/dash/adaptationlogic/AlwaysBestAdaptationLogic.h
View file @
077312c6
...
...
@@ -29,10 +29,9 @@
#include "Representationselectors.hpp"
#include "http/Chunk.h"
#include "xml/Node.h"
#include "mpd/
IMPDManager.h
"
#include "mpd/
MPDManager.hpp
"
#include "mpd/Period.h"
#include "mpd/Segment.h"
#include "mpd/BasicCMManager.h"
#include <vector>
namespace
dash
...
...
@@ -42,7 +41,7 @@ namespace dash
class
AlwaysBestAdaptationLogic
:
public
AbstractAdaptationLogic
{
public:
AlwaysBestAdaptationLogic
(
dash
::
mpd
::
I
MPDManager
*
mpdManager
,
stream_t
*
stream
);
AlwaysBestAdaptationLogic
(
dash
::
mpd
::
MPDManager
*
mpdManager
,
stream_t
*
stream
);
virtual
~
AlwaysBestAdaptationLogic
();
dash
::
http
::
Chunk
*
getNextChunk
();
...
...
@@ -50,7 +49,7 @@ namespace dash
private:
std
::
vector
<
mpd
::
Segment
*>
schedule
;
dash
::
mpd
::
I
MPDManager
*
mpdManager
;
dash
::
mpd
::
MPDManager
*
mpdManager
;
size_t
count
;
dash
::
mpd
::
Representation
*
bestRepresentation
;
...
...
modules/stream_filter/dash/adaptationlogic/RateBasedAdaptationLogic.cpp
View file @
077312c6
...
...
@@ -33,7 +33,7 @@ using namespace dash::xml;
using
namespace
dash
::
http
;
using
namespace
dash
::
mpd
;
RateBasedAdaptationLogic
::
RateBasedAdaptationLogic
(
I
MPDManager
*
mpdManager
,
stream_t
*
stream
)
:
RateBasedAdaptationLogic
::
RateBasedAdaptationLogic
(
MPDManager
*
mpdManager
,
stream_t
*
stream
)
:
AbstractAdaptationLogic
(
mpdManager
,
stream
),
mpdManager
(
mpdManager
),
count
(
0
),
...
...
modules/stream_filter/dash/adaptationlogic/RateBasedAdaptationLogic.h
View file @
077312c6
...
...
@@ -27,9 +27,8 @@
#include "adaptationlogic/AbstractAdaptationLogic.h"
#include "xml/Node.h"
#include "mpd/
IMPDManager.h
"
#include "mpd/
MPDManager.hpp
"
#include "http/Chunk.h"
#include "mpd/BasicCMManager.h"
#include <vlc_common.h>
#include <vlc_stream.h>
...
...
@@ -43,13 +42,13 @@ namespace dash
class
RateBasedAdaptationLogic
:
public
AbstractAdaptationLogic
{
public:
RateBasedAdaptationLogic
(
dash
::
mpd
::
I
MPDManager
*
mpdManager
,
stream_t
*
stream
);
RateBasedAdaptationLogic
(
dash
::
mpd
::
MPDManager
*
mpdManager
,
stream_t
*
stream
);
dash
::
http
::
Chunk
*
getNextChunk
();
const
dash
::
mpd
::
Representation
*
getCurrentRepresentation
()
const
;
private:
dash
::
mpd
::
I
MPDManager
*
mpdManager
;
dash
::
mpd
::
MPDManager
*
mpdManager
;
size_t
count
;
dash
::
mpd
::
Period
*
currentPeriod
;
int
width
;
...
...
modules/stream_filter/dash/mpd/BasicCMManager.cpp
deleted
100644 → 0
View file @
cd12fedb
/*
* BasicCMManager.cpp
*****************************************************************************
* Copyright (C) 2010 - 2011 Klagenfurt University
*
* Created on: Aug 10, 2010
* Authors: Christopher Mueller <christopher.mueller@itec.uni-klu.ac.at>
* Christian Timmerer <christian.timmerer@itec.uni-klu.ac.at>
*
* This program is free software; you can redistribute it and/or modify it
* under the terms of the GNU Lesser General Public License as published
* by the Free Software Foundation; either version 2.1 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public License
* along with this program; if not, write to the Free Software Foundation,
* Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA.
*****************************************************************************/
#ifdef HAVE_CONFIG_H
# include "config.h"
#endif
#include "BasicCMManager.h"
using
namespace
dash
::
mpd
;
BasicCMManager
::
BasicCMManager
(
MPD
*
mpd
)
:
IMPDManager
(
mpd
)
{
}
modules/stream_filter/dash/mpd/BasicCMManager.h
deleted
100644 → 0
View file @
cd12fedb
/*
* BasicCMManager.h
*****************************************************************************
* Copyright (C) 2010 - 2011 Klagenfurt University
*
* Created on: Aug 10, 2010
* Authors: Christopher Mueller <christopher.mueller@itec.uni-klu.ac.at>
* Christian Timmerer <christian.timmerer@itec.uni-klu.ac.at>
*
* This program is free software; you can redistribute it and/or modify it
* under the terms of the GNU Lesser General Public License as published
* by the Free Software Foundation; either version 2.1 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public License
* along with this program; if not, write to the Free Software Foundation,
* Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA.
*****************************************************************************/
#ifndef BASICCMMANAGER_H_
#define BASICCMMANAGER_H_
#include <iostream>
#include <stdio.h>
#include <stdlib.h>
#include "mpd/IMPDManager.h"
#include "mpd/SegmentInfo.h"
#include "mpd/Segment.h"
namespace
dash
{
namespace
mpd
{
class
BasicCMManager
:
public
IMPDManager
{
public:
BasicCMManager
(
MPD
*
mpd
);
};
}
}
#endif
/* BASICCMMANAGER_H_ */
modules/stream_filter/dash/mpd/IsoffMainManager.cpp
deleted
100644 → 0
View file @
cd12fedb
/*
* IsoffMainManager.cpp
*****************************************************************************
* Copyright (C) 2010 - 2012 Klagenfurt University
*
* Created on: Jan 27, 2010
* Authors: Christopher Mueller <christopher.mueller@itec.uni-klu.ac.at>
* Christian Timmerer <christian.timmerer@itec.uni-klu.ac.at>
*
* This program is free software; you can redistribute it and/or modify it
* under the terms of the GNU Lesser General Public License as published
* by the Free Software Foundation; either version 2.1 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public License
* along with this program; if not, write to the Free Software Foundation,
* Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA.
*****************************************************************************/
#ifdef HAVE_CONFIG_H
# include "config.h"
#endif
#include "IsoffMainManager.h"
#include "../adaptationlogic/Representationselectors.hpp"
using
namespace
dash
::
mpd
;
using
namespace
dash
::
logic
;
IsoffMainManager
::
IsoffMainManager
(
MPD
*
mpd
)
:
IMPDManager
(
mpd
)
{
}
modules/stream_filter/dash/mpd/IsoffMainManager.h
deleted
100644 → 0
View file @
cd12fedb
/*
* IsoffMainManager.h
*****************************************************************************
* Copyright (C) 2010 - 2012 Klagenfurt University
*
* Created on: Jan 27, 2010
* Authors: Christopher Mueller <christopher.mueller@itec.uni-klu.ac.at>
* Christian Timmerer <christian.timmerer@itec.uni-klu.ac.at>
*
* This program is free software; you can redistribute it and/or modify it
* under the terms of the GNU Lesser General Public License as published
* by the Free Software Foundation; either version 2.1 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public License
* along with this program; if not, write to the Free Software Foundation,
* Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA.
*****************************************************************************/
#ifndef ISOFFMAINMANAGER_H_
#define ISOFFMAINMANAGER_H_
#include <iostream>
#include <stdio.h>
#include <stdlib.h>
#include "mpd/IMPDManager.h"
#include "mpd/AdaptationSet.h"
#include "mpd/SegmentInfo.h"
#include "mpd/Segment.h"
namespace
dash
{
namespace
mpd
{
class
IsoffMainManager
:
public
IMPDManager
{
public:
IsoffMainManager
(
MPD
*
mpd
);
};
}
}
#endif
/* ISOFFMAINMANAGER_H_ */
modules/stream_filter/dash/mpd/
I
MPDManager.cpp
→
modules/stream_filter/dash/mpd/MPDManager.cpp
View file @
077312c6
/*
*
I
MPDManager.cpp
* MPDManager.cpp
*****************************************************************************
* Copyright (C) 2014 - VideoLAN Authors
*
...
...
@@ -21,28 +21,28 @@
# include "config.h"
#endif
#include "
IMPDManager.h
"
#include "
MPDManager.hpp
"
#include <limits>
using
namespace
dash
::
mpd
;
IMPDManager
::
I
MPDManager
(
MPD
*
mpd_
)
:
MPDManager
::
MPDManager
(
MPD
*
mpd_
)
:
mpd
(
mpd_
)
{
}
IMPDManager
::~
I
MPDManager
()
MPDManager
::~
MPDManager
()
{
delete
mpd
;
}
const
std
::
vector
<
Period
*>&
I
MPDManager
::
getPeriods
()
const
const
std
::
vector
<
Period
*>&
MPDManager
::
getPeriods
()
const
{
return
mpd
->
getPeriods
();
}
Period
*
I
MPDManager
::
getFirstPeriod
()
const
Period
*
MPDManager
::
getFirstPeriod
()
const
{
std
::
vector
<
Period
*>
periods
=
getPeriods
();
...
...
@@ -52,7 +52,7 @@ Period* IMPDManager::getFirstPeriod() const
return
NULL
;
}
Period
*
I
MPDManager
::
getNextPeriod
(
Period
*
period
)
Period
*
MPDManager
::
getNextPeriod
(
Period
*
period
)
{
std
::
vector
<
Period
*>
periods
=
getPeriods
();
...
...
@@ -65,7 +65,7 @@ Period* IMPDManager::getNextPeriod(Period *period)
return
NULL
;
}
const
MPD
*
I
MPDManager
::
getMPD
()
const
const
MPD
*
MPDManager
::
getMPD
()
const
{
return
mpd
;
}
modules/stream_filter/dash/mpd/
IMPDManager.h
→
modules/stream_filter/dash/mpd/
MPDManager.hpp
View file @
077312c6
/*
*
IMPDManager.h
*
MPDManager.hpp
*****************************************************************************
* Copyright (C) 2010 - 2011 Klagenfurt University
*
...
...
@@ -22,8 +22,8 @@
* Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA.
*****************************************************************************/
#ifndef
I
MPDMANAGER_H_
#define
I
MPDMANAGER_H_
#ifndef MPDMANAGER_H_
#define MPDMANAGER_H_
#include "mpd/MPD.h"
#include "mpd/Period.h"
...
...
@@ -33,11 +33,11 @@ namespace dash
{
namespace
mpd
{
class
I
MPDManager
class
MPDManager
{
public:
I
MPDManager
(
MPD
*
mpd
);
virtual
~
I
MPDManager
();
MPDManager
(
MPD
*
mpd
);
virtual
~
MPDManager
();
virtual
const
std
::
vector
<
Period
*>&
getPeriods
()
const
;
virtual
Period
*
getFirstPeriod
()
const
;
...
...
@@ -49,4 +49,4 @@ namespace dash
};
}
}
#endif
/*
I
MPDMANAGER_H_ */
#endif
/* MPDMANAGER_H_ */
modules/stream_filter/dash/mpd/MPDManagerFactory.cpp
View file @
077312c6
...
...
@@ -29,15 +29,14 @@
using
namespace
dash
::
mpd
;
I
MPDManager
*
MPDManagerFactory
::
create
(
MPD
*
mpd
)
MPDManager
*
MPDManagerFactory
::
create
(
MPD
*
mpd
)
{
switch
(
mpd
->
getProfile
()
)
{
case
mpd
:
:
Profile
::
ISOOnDemand
:
case
mpd
:
:
Profile
::
Full
:
return
new
BasicCMManager
(
mpd
);
case
mpd
:
:
Profile
::
ISOMain
:
return
new
IsoffMainManager
(
mpd
);
return
new
MPDManager
(
mpd
);
default:
return
NULL
;
}
...
...
modules/stream_filter/dash/mpd/MPDManagerFactory.h
View file @
077312c6
...
...
@@ -25,9 +25,7 @@
#ifndef MPDMANAGERFACTORY_H_
#define MPDMANAGERFACTORY_H_
#include "mpd/IMPDManager.h"
#include "mpd/BasicCMManager.h"
#include "mpd/IsoffMainManager.h"
#include "mpd/MPDManager.hpp"
namespace
dash
{
...
...
@@ -36,7 +34,7 @@ namespace dash
class
MPDManagerFactory
{
public:
static
I
MPDManager
*
create
(
MPD
*
mpd
);
static
MPDManager
*
create
(
MPD
*
mpd
);
};
}
}
...
...
modules/stream_filter/dash/xml/DOMParser.h
View file @
077312c6
...
...
@@ -33,7 +33,7 @@
#include <vlc_stream.h>
#include <vlc_xml.h>
#include "mpd/
IMPDManager.h
"
#include "mpd/
MPDManager.hpp
"
#include "xml/Node.h"
namespace
dash
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment