*
* You should have received a copy of the GNU Library General Public
* License along with this library; if not, write to the
- * Free Software Foundation, Inc., 59 Temple Place - Suite 330,
- * Boston, MA 02111-1307, USA.
+ * Free Software Foundation, Inc., 51 Franklin St, Fifth Floor,
+ * Boston, MA 02110-1301, USA.
*/
GQuark quark;
};
+GST_API
const gchar* gst_format_get_name (GstFormat format);
+
+GST_API
GQuark gst_format_to_quark (GstFormat format);
/* register a new format */
+
+GST_API
GstFormat gst_format_register (const gchar *nick,
const gchar *description);
+
+GST_API
GstFormat gst_format_get_by_nick (const gchar *nick);
/* check if a format is in an array of formats */
+
+GST_API
gboolean gst_formats_contains (const GstFormat *formats, GstFormat format);
/* query for format details */
+
+GST_API
const GstFormatDefinition*
gst_format_get_details (GstFormat format);
+
+GST_API
GstIterator* gst_format_iterate_definitions (void);
G_END_DECLS