[gstreamer-bugs] [Bug 392393] [API] add libgstbaseutils library for missing plugins messages and unified descriptions

GStreamer (bugzilla.gnome.org) bugzilla-daemon at bugzilla.gnome.org
Fri Jan 5 07:19:49 PST 2007


Do not reply to this via email (we are currently unable to handle email
responses and they get discarded).  You can add comments to this bug at
http://bugzilla.gnome.org/show_bug.cgi?id=392393

  GStreamer | gst-plugins-base | Ver: HEAD CVS


Tim-Philipp Müller changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|0                           |1




------- Comment #2 from Tim-Philipp Müller  2007-01-05 15:18 UTC -------
The main bits of API this adds are:

 gboolean  gst_element_post_missing_uri_source_message (GstElement * e,        
                                      const gchar * protocol);
 gboolean  gst_element_post_missing_decoder_message (GstElement * e,           
                                 const GstCaps * decode_caps);

These functions will be used by playbin to post missing-plugin messages. There
are similar functions for uri_sink, encoder, and element for completeness.



Then some API for applications to easily parse and process these messages:

 gchar *  gst_missing_plugin_message_get_installer_detail (GstMessage * m);
 gchar *  gst_missing_plugin_message_get_description (GstMessage * m);
 gboolean gst_is_missing_plugin_message (GstMessage * m);



Then some API to get descriptions from format caps or protocols:

 gchar * gst_base_utils_get_codec_description (const GstCaps * caps);
 gchar * gst_base_utils_get_source_description (const gchar * protocol);
 gchar * gst_base_utils_get_decoder_description (const GstCaps * caps);

(and similar ones for sink/encoder/element for completeness). These are used
internally only so far to populate the description field in the missing-plugin
messages, but are useful for applications in general and would also be useful
for demuxers for the codec tag stuff in future.


-- 
Configure bugmail: http://bugzilla.gnome.org/userprefs.cgi?tab=email




More information about the Gstreamer-bugs mailing list