Blame gst-libs/gst/pbutils/descriptions.h

Packit 971217
/* GStreamer base utils library source/sink/codec description support
Packit 971217
 * Copyright (C) 2006 Tim-Philipp Müller <tim centricular net>
Packit 971217
 *
Packit 971217
 * This library is free software; you can redistribute it and/or
Packit 971217
 * modify it under the terms of the GNU Library General Public
Packit 971217
 * License as published by the Free Software Foundation; either
Packit 971217
 * version 2 of the License, or (at your option) any later version.
Packit 971217
 *
Packit 971217
 * This library is distributed in the hope that it will be useful,
Packit 971217
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
Packit 971217
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
Packit 971217
 * Library General Public License for more details.
Packit 971217
 *
Packit 971217
 * You should have received a copy of the GNU Library General Public
Packit 971217
 * License along with this library; if not, write to the
Packit 971217
 * Free Software Foundation, Inc., 51 Franklin St, Fifth Floor,
Packit 971217
 * Boston, MA 02110-1301, USA.
Packit 971217
 */
Packit 971217
Packit 971217
#ifndef __GST_PB_UTILS_DESCRIPTIONS_H__
Packit 971217
#define __GST_PB_UTILS_DESCRIPTIONS_H__
Packit 971217
Packit 971217
#include <gst/gsttaglist.h>
Packit 971217
#include <gst/gstcaps.h>
Packit 971217
#include <gst/pbutils/pbutils-prelude.h>
Packit 971217
Packit 971217
G_BEGIN_DECLS
Packit 971217
Packit 971217
/*
Packit 971217
 * functions for use by demuxers or decoders to add CODEC tags to tag lists
Packit 971217
 * from caps
Packit 971217
 */
Packit 971217
Packit 971217
GST_PBUTILS_API
Packit 971217
gboolean   gst_pb_utils_add_codec_description_to_tag_list (GstTagList    * taglist,
Packit 971217
                                                             const gchar   * codec_tag,
Packit 971217
                                                             const GstCaps * caps);
Packit 971217
Packit 971217
GST_PBUTILS_API
Packit 971217
gchar    * gst_pb_utils_get_codec_description (const GstCaps * caps);
Packit 971217
Packit 971217
/*
Packit 971217
 * functions mainly used by the missing plugins message creation functions to
Packit 971217
 * find descriptions of what exactly is missing
Packit 971217
 */
Packit 971217
Packit 971217
GST_PBUTILS_API
Packit 971217
gchar    * gst_pb_utils_get_source_description (const gchar * protocol);
Packit 971217
Packit 971217
GST_PBUTILS_API
Packit 971217
gchar    * gst_pb_utils_get_sink_description (const gchar * protocol);
Packit 971217
Packit 971217
GST_PBUTILS_API
Packit 971217
gchar    * gst_pb_utils_get_decoder_description (const GstCaps * caps);
Packit 971217
Packit 971217
GST_PBUTILS_API
Packit 971217
gchar    * gst_pb_utils_get_encoder_description (const GstCaps * caps);
Packit 971217
Packit 971217
GST_PBUTILS_API
Packit 971217
gchar    * gst_pb_utils_get_element_description (const gchar * factory_name);
Packit 971217
Packit 971217
Packit 971217
G_END_DECLS
Packit 971217
Packit 971217
#endif /* __GST_PB_UTILS_DESCRIPTIONS_H__ */
Packit 971217