|
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 #ifdef __SYMBIAN32__ |
|
33 IMPORT_C |
|
34 #endif |
|
35 |
|
36 |
|
37 gboolean gst_pb_utils_add_codec_description_to_tag_list (GstTagList * taglist, |
|
38 const gchar * codec_tag, |
|
39 const GstCaps * caps); |
|
40 #ifdef __SYMBIAN32__ |
|
41 IMPORT_C |
|
42 #endif |
|
43 |
|
44 |
|
45 gchar * gst_pb_utils_get_codec_description (const GstCaps * caps); |
|
46 |
|
47 /* |
|
48 * functions mainly used by the missing plugins message creation functions to |
|
49 * find descriptions of what exactly is missing |
|
50 */ |
|
51 #ifdef __SYMBIAN32__ |
|
52 IMPORT_C |
|
53 #endif |
|
54 |
|
55 |
|
56 gchar * gst_pb_utils_get_source_description (const gchar * protocol); |
|
57 #ifdef __SYMBIAN32__ |
|
58 IMPORT_C |
|
59 #endif |
|
60 |
|
61 |
|
62 gchar * gst_pb_utils_get_sink_description (const gchar * protocol); |
|
63 #ifdef __SYMBIAN32__ |
|
64 IMPORT_C |
|
65 #endif |
|
66 |
|
67 |
|
68 gchar * gst_pb_utils_get_decoder_description (const GstCaps * caps); |
|
69 #ifdef __SYMBIAN32__ |
|
70 IMPORT_C |
|
71 #endif |
|
72 |
|
73 |
|
74 gchar * gst_pb_utils_get_encoder_description (const GstCaps * caps); |
|
75 #ifdef __SYMBIAN32__ |
|
76 IMPORT_C |
|
77 #endif |
|
78 |
|
79 |
|
80 gchar * gst_pb_utils_get_element_description (const gchar * factory_name); |
|
81 |
|
82 |
|
83 G_END_DECLS |
|
84 |
|
85 #endif /* __GST_PB_UTILS_DESCRIPTIONS_H__ */ |
|
86 |