• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 /* GStreamer
2  *
3  * Copyright (C) 2019 Collabora Ltd.
4  *   Author: Stéphane Cerveau <scerveau@collabora.com>
5  *
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.
10  *
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.
15  *
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.
20  */
21 #ifndef __GSTMPDMULTSEGMENTBASENODE_H__
22 #define __GSTMPDMULTSEGMENTBASENODE_H__
23 
24 #include <gst/gst.h>
25 #include "gstmpdhelper.h"
26 G_BEGIN_DECLS
27 
28 #define GST_TYPE_MPD_MULT_SEGMENT_BASE_NODE gst_mpd_mult_segment_base_node_get_type ()
29 G_DECLARE_FINAL_TYPE (GstMPDMultSegmentBaseNode, gst_mpd_mult_segment_base_node, GST, MPD_MULT_SEGMENT_BASE_NODE, GstMPDNode)
30 
31 struct _GstMPDMultSegmentBaseNode
32 {
33   GstObject     base;
34   guint duration;                  /* in seconds */
35   guint startNumber;
36   /* SegmentBaseType extension */
37   GstMPDSegmentBaseNode *SegmentBase;
38   /* SegmentTimeline node */
39   GstMPDSegmentTimelineNode *SegmentTimeline;
40   /* BitstreamSwitching node */
41   GstMPDURLTypeNode *BitstreamSwitching;
42 };
43 
44 
45 void gst_mpd_mult_segment_base_node_add_child_node (GstMPDNode* node, xmlNodePtr parent_xml_node);
46 
47 G_END_DECLS
48 #endif /* __GSTMPDMULTSEGMENTBASENODE_H__ */
49