Added gst-plugins-base-subtitles0.10-0.10.34 for Meego Harmattan 1.2
[mafwsubrenderer] / gst-plugins-base-subtitles0.10 / 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
49 struct _GstDiscovererVideoInfo {
50   GstDiscovererStreamInfo parent;
51
52   guint width;
53   guint height;
54   guint depth;
55   guint framerate_num;
56   guint framerate_denom;
57   guint par_num;
58   guint par_denom;
59   gboolean interlaced;
60
61   guint bitrate;
62   guint max_bitrate;
63
64   gboolean is_image;
65 };
66
67 struct _GstDiscovererInfo {
68   GstMiniObject parent;
69
70   gchar *uri;
71   GstDiscovererResult result;
72
73   /* Sub-streams */
74   GstDiscovererStreamInfo *stream_info;
75   GList *stream_list;
76
77   /* Stream global information */
78   GstClockTime duration;
79   GstStructure *misc;
80   GstTagList *tags;
81   gboolean seekable;
82 };
83
84 /* missing-plugins.c */
85
86 GstCaps *copy_and_clean_caps (const GstCaps * caps);