Fix FSF address
[platform/upstream/gstreamer.git] / 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., 51 Franklin St, Fifth Floor,
18  * Boston, MA 02110-1301, USA.
19  */
20
21 struct _GstDiscovererStreamInfo {
22   GObject                parent;
23
24   GstDiscovererStreamInfo *previous;  /* NULL for starting points */
25   GstDiscovererStreamInfo *next; /* NULL for containers */
26
27   GstCaps               *caps;
28   GstTagList            *tags;
29   GstToc                *toc;
30   GstStructure          *misc;
31
32   gpointer _gst_reserved[GST_PADDING];
33 };
34
35 struct _GstDiscovererContainerInfo {
36   GstDiscovererStreamInfo parent;
37
38   GList               *streams;
39
40   gpointer _gst_reserved[GST_PADDING];
41 };
42
43 struct _GstDiscovererAudioInfo {
44   GstDiscovererStreamInfo parent;
45
46   guint channels;
47   guint sample_rate;
48   guint depth;
49
50   guint bitrate;
51   guint max_bitrate;
52
53   gchar *language;
54
55   gpointer _gst_reserved[GST_PADDING];
56 };
57
58 struct _GstDiscovererVideoInfo {
59   GstDiscovererStreamInfo parent;
60
61   guint width;
62   guint height;
63   guint depth;
64   guint framerate_num;
65   guint framerate_denom;
66   guint par_num;
67   guint par_denom;
68   gboolean interlaced;
69
70   guint bitrate;
71   guint max_bitrate;
72
73   gboolean is_image;
74
75   gpointer _gst_reserved[GST_PADDING];
76 };
77
78 struct _GstDiscovererSubtitleInfo {
79   GstDiscovererStreamInfo parent;
80
81   gchar *language;
82
83   gpointer _gst_reserved[GST_PADDING];
84 };
85
86 struct _GstDiscovererInfo {
87   GObject parent;
88
89   gchar *uri;
90   GstDiscovererResult result;
91
92   /* Sub-streams */
93   GstDiscovererStreamInfo *stream_info;
94   GList *stream_list;
95
96   /* Stream global information */
97   GstClockTime duration;
98   GstStructure *misc;
99   GstTagList *tags;
100   GstToc *toc;
101   gboolean seekable;
102
103   gpointer _gst_reserved[GST_PADDING];
104 };
105
106 /* missing-plugins.c */
107
108 GstCaps *copy_and_clean_caps (const GstCaps * caps);