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
fa2603dc
Commit
fa2603dc
authored
Dec 31, 2014
by
Francois Cartegnie
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
demux: dash: remove unused SegmentInfoDefault
parent
6b5ea562
Changes
7
Show whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
0 additions
and
129 deletions
+0
-129
modules/demux/Makefile.am
modules/demux/Makefile.am
+0
-2
modules/demux/dash/mpd/AdaptationSet.cpp
modules/demux/dash/mpd/AdaptationSet.cpp
+0
-14
modules/demux/dash/mpd/AdaptationSet.h
modules/demux/dash/mpd/AdaptationSet.h
+0
-4
modules/demux/dash/mpd/IsoffMainParser.cpp
modules/demux/dash/mpd/IsoffMainParser.cpp
+0
-1
modules/demux/dash/mpd/SegmentInfoDefault.cpp
modules/demux/dash/mpd/SegmentInfoDefault.cpp
+0
-55
modules/demux/dash/mpd/SegmentInfoDefault.h
modules/demux/dash/mpd/SegmentInfoDefault.h
+0
-52
modules/demux/dash/mpd/SegmentTemplate.cpp
modules/demux/dash/mpd/SegmentTemplate.cpp
+0
-1
No files found.
modules/demux/Makefile.am
View file @
fa2603dc
...
...
@@ -293,8 +293,6 @@ libdash_plugin_la_SOURCES = \
demux/dash/mpd/SegmentInfo.h
\
demux/dash/mpd/SegmentInfoCommon.cpp
\
demux/dash/mpd/SegmentInfoCommon.h
\
demux/dash/mpd/SegmentInfoDefault.cpp
\
demux/dash/mpd/SegmentInfoDefault.h
\
demux/dash/mpd/SegmentInformation.cpp
\
demux/dash/mpd/SegmentInformation.hpp
\
demux/dash/mpd/SegmentList.cpp
\
...
...
modules/demux/dash/mpd/AdaptationSet.cpp
View file @
fa2603dc
...
...
@@ -32,7 +32,6 @@
#include <vlc_arrays.h>
#include "SegmentTemplate.h"
#include "SegmentInfoDefault.h"
#include "Period.h"
using
namespace
dash
::
mpd
;
...
...
@@ -40,14 +39,12 @@ using namespace dash::mpd;
AdaptationSet
::
AdaptationSet
(
Period
*
period
)
:
SegmentInformation
(
period
),
subsegmentAlignmentFlag
(
false
),
segmentInfoDefault
(
NULL
),
isBitstreamSwitching
(
false
)
{
}
AdaptationSet
::~
AdaptationSet
()
{
delete
this
->
segmentInfoDefault
;
vlc_delete_all
(
this
->
representations
);
}
...
...
@@ -88,17 +85,6 @@ const Representation *AdaptationSet::getRepresentationById(const std::string &id
return
NULL
;
}
const
SegmentInfoDefault
*
AdaptationSet
::
getSegmentInfoDefault
()
const
{
return
this
->
segmentInfoDefault
;
}
void
AdaptationSet
::
setSegmentInfoDefault
(
const
SegmentInfoDefault
*
seg
)
{
if
(
seg
!=
NULL
)
this
->
segmentInfoDefault
=
seg
;
}
void
AdaptationSet
::
addRepresentation
(
Representation
*
rep
)
{
this
->
representations
.
push_back
(
rep
);
...
...
modules/demux/dash/mpd/AdaptationSet.h
View file @
fa2603dc
...
...
@@ -37,7 +37,6 @@ namespace dash
{
namespace
mpd
{
class
SegmentInfoDefault
;
class
Period
;
class
SegmentTemplate
;
...
...
@@ -53,8 +52,6 @@ namespace dash
void
setSubsegmentAlignmentFlag
(
bool
alignment
);
std
::
vector
<
Representation
*>&
getRepresentations
();
const
Representation
*
getRepresentationById
(
const
std
::
string
&
id
)
const
;
const
SegmentInfoDefault
*
getSegmentInfoDefault
()
const
;
void
setSegmentInfoDefault
(
const
SegmentInfoDefault
*
seg
);
void
setBitstreamSwitching
(
bool
value
);
bool
getBitstreamSwitching
()
const
;
void
addRepresentation
(
Representation
*
rep
);
...
...
@@ -64,7 +61,6 @@ namespace dash
private:
bool
subsegmentAlignmentFlag
;
std
::
vector
<
Representation
*>
representations
;
const
SegmentInfoDefault
*
segmentInfoDefault
;
bool
isBitstreamSwitching
;
};
}
...
...
modules/demux/dash/mpd/IsoffMainParser.cpp
View file @
fa2603dc
...
...
@@ -28,7 +28,6 @@
#include "IsoffMainParser.h"
#include "SegmentTemplate.h"
#include "SegmentInfoDefault.h"
#include "ProgramInformation.h"
#include "xml/DOMHelper.h"
#include <vlc_strings.h>
...
...
modules/demux/dash/mpd/SegmentInfoDefault.cpp
deleted
100644 → 0
View file @
6b5ea562
/*****************************************************************************
* SegmentInfoDefault.cpp: Implement the SegmentInfoDefault element.
*****************************************************************************
* Copyright (C) 1998-2007 VLC authors and VideoLAN
* $Id$
*
* Authors: Hugo Beauzée-Luyssen <beauze.h@gmail.com>
*
* 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 "SegmentInfoDefault.h"
using
namespace
dash
::
mpd
;
SegmentInfoDefault
::
SegmentInfoDefault
()
{
}
const
std
::
string
&
SegmentInfoDefault
::
getSourceURLTemplatePeriod
()
const
{
return
this
->
sourceURLTemplatePeriod
;
}
void
SegmentInfoDefault
::
setSourceURLTemplatePediod
(
const
std
::
string
&
url
)
{
if
(
url
.
empty
()
==
false
)
this
->
sourceURLTemplatePeriod
=
url
;
}
int
SegmentInfoDefault
::
getIndexTemplate
()
const
{
return
this
->
indexTemplate
;
}
void
SegmentInfoDefault
::
setIndexTemplate
(
int
indexTpl
)
{
if
(
indexTpl
>=
0
)
this
->
indexTemplate
=
indexTpl
;
}
modules/demux/dash/mpd/SegmentInfoDefault.h
deleted
100644 → 0
View file @
6b5ea562
/*****************************************************************************
* SegmentInfoDefault.cpp: Implement the SegmentInfoDefault element.
*****************************************************************************
* Copyright (C) 1998-2007 VLC authors and VideoLAN
* $Id$
*
* Authors: Hugo Beauzée-Luyssen <beauze.h@gmail.com>
*
* 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 SEGMENTINFODEFAULT_H
#define SEGMENTINFODEFAULT_H
#include "mpd/SegmentInfoCommon.h"
#include <string>
namespace
dash
{
namespace
mpd
{
class
SegmentInfoDefault
:
public
SegmentInfoCommon
{
public:
SegmentInfoDefault
();
const
std
::
string
&
getSourceURLTemplatePeriod
()
const
;
void
setSourceURLTemplatePediod
(
const
std
::
string
&
url
);
int
getIndexTemplate
()
const
;
void
setIndexTemplate
(
int
indexTpl
);
private:
std
::
string
sourceURLTemplatePeriod
;
int
indexTemplate
;
};
}
}
#endif // SEGMENTINFODEFAULT_H
modules/demux/dash/mpd/SegmentTemplate.cpp
View file @
fa2603dc
...
...
@@ -28,7 +28,6 @@
#include "SegmentTimeline.h"
#include "Representation.h"
#include "AdaptationSet.h"
#include "SegmentInfoDefault.h"
using
namespace
dash
::
mpd
;
...
...
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