X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=gst%2Fgstformat.h;h=111ca9b82751642aeb0aed0d7fe9add0ac32f0c0;hb=ce43de86902c4e9c8ed4e9682602664cb9bce2ee;hp=13dad03763e357cbe69f7cc0fc83e40e5aefd53f;hpb=5fbdd763bbece834e39218a969df5c1d77e79d54;p=platform%2Fupstream%2Fgstreamer.git diff --git a/gst/gstformat.h b/gst/gstformat.h index 13dad03..111ca9b 100644 --- a/gst/gstformat.h +++ b/gst/gstformat.h @@ -17,8 +17,8 @@ * * 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. */ @@ -92,20 +92,33 @@ struct _GstFormatDefinition 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