Initialize Tizen 2.3
[framework/multimedia/gst-plugins-base0.10.git] / wearable / gst-libs / gst / pbutils / pbutils-private.h
1 /* GStreamer
2  * Copyright (C) 2010 Edward Hervey <edward.hervey@collabora.co.uk>
3  *               2010 Nokia Corporation
4  *
5  * This library is free software; you can redistribute it and/or
6  * modify it under the terms of the GNU Library General Public
7  * License as published by the Free Software Foundation; either
8  * version 2 of the License, or (at your option) any later version.
9  *
10  * This library is distributed in the hope that it will be useful,
11  * but WITHOUT ANY WARRANTY; without even the implied warranty of
12  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
13  * Library General Public License for more details.
14  *
15  * You should have received a copy of the GNU Library General Public
16  * License along with this library; if not, write to the
17  * Free Software Foundation, Inc., 59 Temple Place - Suite 330,
18  * Boston, MA 02111-1307, USA.
19  */
20
21 struct _GstDiscovererStreamInfo {
22   GstMiniObject          parent;
23
24   GstDiscovererStreamInfo *previous;  /* NULL for starting points */
25   GstDiscovererStreamInfo *next; /* NULL for containers */
26
27   GstCaps               *caps;
28   GstTagList            *tags;
29   GstStructure          *misc;
30 };
31
32 struct _GstDiscovererContainerInfo {
33   GstDiscovererStreamInfo parent;
34
35   GList               *streams;
36 };
37
38 struct _GstDiscovererAudioInfo {
39   GstDiscovererStreamInfo parent;
40
41   guint channels;
42   guint sample_rate;
43   guint depth;
44
45   guint bitrate;
46   guint max_bitrate;
47
48   gchar *language;
49 };
50
51 struct _GstDiscovererVideoInfo {
52   GstDiscovererStreamInfo parent;
53
54   guint width;
55   guint height;
56   guint depth;
57   guint framerate_num;
58   guint framerate_denom;
59   guint par_num;
60   guint par_denom;
61   gboolean interlaced;
62
63   guint bitrate;
64   guint max_bitrate;
65
66   gboolean is_image;
67 };
68
69 struct _GstDiscovererSubtitleInfo {
70   GstDiscovererStreamInfo parent;
71
72   gchar *language;
73 };
74
75 struct _GstDiscovererInfo {
76   GstMiniObject parent;
77
78   gchar *uri;
79   GstDiscovererResult result;
80
81   /* Sub-streams */
82   GstDiscovererStreamInfo *stream_info;
83   GList *stream_list;
84
85   /* Stream global information */
86   GstClockTime duration;
87   GstStructure *misc;
88   GstTagList *tags;
89   gboolean seekable;
90 };
91
92 /* missing-plugins.c */
93
94 GstCaps *copy_and_clean_caps (const GstCaps * caps);