Added gst-plugins-base-subtitles0.10-0.10.34 for Meego Harmattan 1.2
[mafwsubrenderer] / gst-plugins-base-subtitles0.10 / gst-libs / gst / pbutils / descriptions.h
1 /* GStreamer base utils library source/sink/codec description support
2  * Copyright (C) 2006 Tim-Philipp Müller <tim centricular net>
3  *
4  * This library is free software; you can redistribute it and/or
5  * modify it under the terms of the GNU Library General Public
6  * License as published by the Free Software Foundation; either
7  * version 2 of the License, or (at your option) any later version.
8  *
9  * This library is distributed in the hope that it will be useful,
10  * but WITHOUT ANY WARRANTY; without even the implied warranty of
11  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
12  * Library General Public License for more details.
13  *
14  * You should have received a copy of the GNU Library General Public
15  * License along with this library; if not, write to the
16  * Free Software Foundation, Inc., 59 Temple Place - Suite 330,
17  * Boston, MA 02111-1307, USA.
18  */
19
20 #ifndef __GST_PB_UTILS_DESCRIPTIONS_H__
21 #define __GST_PB_UTILS_DESCRIPTIONS_H__
22
23 #include <gst/gsttaglist.h>
24 #include <gst/gstcaps.h>
25
26 G_BEGIN_DECLS
27
28 /*
29  * functions for use by demuxers or decoders to add CODEC tags to tag lists
30  * from caps
31  */
32
33 gboolean   gst_pb_utils_add_codec_description_to_tag_list (GstTagList    * taglist,
34                                                              const gchar   * codec_tag,
35                                                              const GstCaps * caps);
36
37 gchar    * gst_pb_utils_get_codec_description (const GstCaps * caps);
38
39 /*
40  * functions mainly used by the missing plugins message creation functions to
41  * find descriptions of what exactly is missing
42  */
43
44 gchar    * gst_pb_utils_get_source_description (const gchar * protocol);
45
46 gchar    * gst_pb_utils_get_sink_description (const gchar * protocol);
47
48 gchar    * gst_pb_utils_get_decoder_description (const GstCaps * caps);
49
50 gchar    * gst_pb_utils_get_encoder_description (const GstCaps * caps);
51
52 gchar    * gst_pb_utils_get_element_description (const gchar * factory_name);
53
54
55 G_END_DECLS
56
57 #endif /* __GST_PB_UTILS_DESCRIPTIONS_H__ */
58