demux: adaptive: rework profile specific types for global timeline
[vlc.git] / modules / demux / smooth / playlist / SmoothSegment.hpp
blob44261b147bff0026a842805808a3c57324337bf4
1 /*****************************************************************************
2 * SmoothSegment.hpp:
3 *****************************************************************************
4 * Copyright (C) 2015 - VideoLAN Authors
6 * This program is free software; you can redistribute it and/or modify it
7 * under the terms of the GNU Lesser General Public License as published by
8 * the Free Software Foundation; either version 2.1 of the License, or
9 * (at your option) any later version.
11 * This program is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 * GNU Lesser General Public License for more details.
16 * You should have received a copy of the GNU Lesser General Public License
17 * along with this program; if not, write to the Free Software Foundation,
18 * Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA.
19 *****************************************************************************/
20 #ifndef SMOOTHSEGMENT_HPP
21 #define SMOOTHSEGMENT_HPP
23 #include "../../adaptive/playlist/SegmentTemplate.h"
24 #include "../../adaptive/playlist/SegmentChunk.hpp"
26 namespace smooth
28 namespace playlist
30 using namespace adaptive::playlist;
32 class SmoothSegmentChunk : public SegmentChunk
34 public:
35 SmoothSegmentChunk(AbstractChunkSource *, BaseRepresentation *);
36 ~SmoothSegmentChunk();
37 virtual void onDownload(block_t **); /* reimpl */
40 class SmoothSegmentTemplate : public SegmentTemplate
42 public:
43 SmoothSegmentTemplate(SegmentInformation * = NULL);
44 ~SmoothSegmentTemplate();
45 virtual SegmentChunk* createChunk(AbstractChunkSource *, BaseRepresentation *); /* reimpl */
49 #endif // SMOOTHSEGMENT_HPP