fs-utils

fs-utils — Miscellaneous useful functions

Synopsis

#include <gst/farsight/fs-utils.h>

GList *             fs_utils_get_default_codec_preferences
                                                        (GstElement *element);
GKeyFile *          fs_utils_get_default_element_properties
                                                        (GstElement *element);

Description

Details

fs_utils_get_default_codec_preferences ()

GList *             fs_utils_get_default_codec_preferences
                                                        (GstElement *element);

These default codec preferences should work with the elements that are available in the main GStreamer element repositories. They should be suitable for standards based protocols like SIP or XMPP.

element :

Element for which to fetch default codec preferences

Returns :

The default codec preferences for this plugin, this GList should be freed with fs_codec_list_destroy()

fs_utils_get_default_element_properties ()

GKeyFile *          fs_utils_get_default_element_properties
                                                        (GstElement *element);

This function produces a GKeyFile that can be fed to fs_element_added_notifier_set_properties_from_keyfile(). If no default properties have been found, it will return NULL.

element :

Element for which to fetch default element properties

Returns :

a GKeyFile containing the default element properties for this element or NULL if no properties were found. Caller must free the GKeyFile when he is done.