1 /* GStreamer base utils library source/sink/codec description support
2 * Copyright (C) 2006 Tim-Philipp Müller <tim centricular net>
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.
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.
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.
20 #ifndef __GST_PB_UTILS_DESCRIPTIONS_H__
21 #define __GST_PB_UTILS_DESCRIPTIONS_H__
23 #include <gst/gsttaglist.h>
24 #include <gst/gstcaps.h>
29 * functions for use by demuxers or decoders to add CODEC tags to tag lists
33 gboolean gst_pb_utils_add_codec_description_to_tag_list (GstTagList * taglist,
34 const gchar * codec_tag,
35 const GstCaps * caps);
37 gchar * gst_pb_utils_get_codec_description (const GstCaps * caps);
40 * functions mainly used by the missing plugins message creation functions to
41 * find descriptions of what exactly is missing
44 gchar * gst_pb_utils_get_source_description (const gchar * protocol);
46 gchar * gst_pb_utils_get_sink_description (const gchar * protocol);
48 gchar * gst_pb_utils_get_decoder_description (const GstCaps * caps);
50 gchar * gst_pb_utils_get_encoder_description (const GstCaps * caps);
52 gchar * gst_pb_utils_get_element_description (const gchar * factory_name);
57 #endif /* __GST_PB_UTILS_DESCRIPTIONS_H__ */