3 * Copyright (C) 2019 Collabora Ltd.
4 * Author: Stéphane Cerveau <scerveau@collabora.com>
6 * This library is free software; you can redistribute it and/or
7 * modify it under the terms of the GNU Library General Public
8 * License as published by the Free Software Foundation; either
9 * version 2.1 of the License, or (at your option) any later version.
11 * This library 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 GNU
14 * Library General Public License for more details.
16 * You should have received a copy of the GNU Library General Public
17 * License along with this library (COPYING); if not, write to the
18 * Free Software Foundation, Inc., 59 Temple Place - Suite 330,
19 * Boston, MA 02111-1307, USA.
21 #ifndef __GSTMPDSEGMENTBASENODE_H__
22 #define __GSTMPDSEGMENTBASENODE_H__
25 #include "gstmpdnode.h"
26 #include "gstmpdurltypenode.h"
30 #define GST_TYPE_MPD_SEGMENT_BASE_NODE gst_mpd_segment_base_node_get_type ()
31 G_DECLARE_FINAL_TYPE (GstMPDSegmentBaseNode, gst_mpd_segment_base_node, GST, MPD_SEGMENT_BASE_NODE, GstMPDNode)
33 struct _GstMPDSegmentBaseNode
35 GstObject parent_instance;
37 guint64 presentationTimeOffset;
38 GstXMLRange *indexRange;
39 gboolean indexRangeExact;
40 /* Initialization node */
41 GstMPDURLTypeNode *Initialization;
42 /* RepresentationIndex node */
43 GstMPDURLTypeNode *RepresentationIndex;
46 GstMPDSegmentBaseNode * gst_mpd_segment_base_node_new (void);
47 void gst_mpd_segment_base_node_free (GstMPDSegmentBaseNode* self);
51 #endif /* __GSTMPDSEGMENTBASENODE_H__ */