Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-gpu
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-gpu
Commits
c1a6296e
Commit
c1a6296e
authored
Nov 24, 2011
by
Hugo Beauzée-Luyssen
Committed by
Rémi Denis-Courmont
Nov 24, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dash: No need to instantiate a factory.
Signed-off-by:
Rémi Denis-Courmont
<
remi@remlab.net
>
parent
b67634af
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
2 additions
and
17 deletions
+2
-17
modules/stream_filter/dash/DASHManager.cpp
modules/stream_filter/dash/DASHManager.cpp
+1
-3
modules/stream_filter/dash/DASHManager.h
modules/stream_filter/dash/DASHManager.h
+0
-1
modules/stream_filter/dash/adaptationlogic/AdaptationLogicFactory.cpp
...am_filter/dash/adaptationlogic/AdaptationLogicFactory.cpp
+0
-9
modules/stream_filter/dash/adaptationlogic/AdaptationLogicFactory.h
...ream_filter/dash/adaptationlogic/AdaptationLogicFactory.h
+1
-4
No files found.
modules/stream_filter/dash/DASHManager.cpp
View file @
c1a6296e
...
...
@@ -42,15 +42,13 @@ DASHManager::DASHManager (HTTPConnectionManager *conManager, Node *node, IAda
this
->
profile
=
profile
;
this
->
mpdManagerFactory
=
new
MPDManagerFactory
();
this
->
mpdManager
=
this
->
mpdManagerFactory
->
create
(
this
->
profile
,
this
->
node
);
this
->
logicFactory
=
new
AdaptationLogicFactory
();
this
->
adaptationLogic
=
this
->
logicFactory
->
create
(
this
->
logicType
,
this
->
mpdManager
);
this
->
adaptationLogic
=
AdaptationLogicFactory
::
create
(
this
->
logicType
,
this
->
mpdManager
);
this
->
currentChunk
=
NULL
;
this
->
conManager
->
attach
(
this
->
adaptationLogic
);
}
DASHManager
::~
DASHManager
()
{
delete
(
this
->
logicFactory
);
delete
(
this
->
adaptationLogic
);
delete
(
this
->
mpdManager
);
}
...
...
modules/stream_filter/dash/DASHManager.h
View file @
c1a6296e
...
...
@@ -47,7 +47,6 @@ namespace dash
private:
http
::
HTTPConnectionManager
*
conManager
;
http
::
Chunk
*
currentChunk
;
logic
::
AdaptationLogicFactory
*
logicFactory
;
logic
::
IAdaptationLogic
*
adaptationLogic
;
logic
::
IAdaptationLogic
::
LogicType
logicType
;
mpd
::
Profile
profile
;
...
...
modules/stream_filter/dash/adaptationlogic/AdaptationLogicFactory.cpp
View file @
c1a6296e
...
...
@@ -31,15 +31,6 @@ using namespace dash::logic;
using
namespace
dash
::
xml
;
using
namespace
dash
::
mpd
;
AdaptationLogicFactory
::
AdaptationLogicFactory
()
{
}
AdaptationLogicFactory
::~
AdaptationLogicFactory
()
{
}
IAdaptationLogic
*
AdaptationLogicFactory
::
create
(
IAdaptationLogic
::
LogicType
logic
,
IMPDManager
*
mpdManager
)
{
switch
(
logic
)
...
...
modules/stream_filter/dash/adaptationlogic/AdaptationLogicFactory.h
View file @
c1a6296e
...
...
@@ -39,10 +39,7 @@ namespace dash
class
AdaptationLogicFactory
{
public:
AdaptationLogicFactory
();
virtual
~
AdaptationLogicFactory
();
IAdaptationLogic
*
create
(
IAdaptationLogic
::
LogicType
logic
,
dash
::
mpd
::
IMPDManager
*
mpdManager
);
static
IAdaptationLogic
*
create
(
IAdaptationLogic
::
LogicType
logic
,
dash
::
mpd
::
IMPDManager
*
mpdManager
);
};
}
}
...
...
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