H264 Hardware accelerator element to use in gstreamer for NEXUS 10

Sebastian Dröge sebastian at centricular.com
Wed Oct 30 16:21:16 CET 2013


On Mi, 2013-10-30 at 04:14 -0700, danil4u wrote:
> Hi,
>    I tried to use gst_element_factory_list_get_elements() to get the
> available decoder elements into GList, but how can I print them in logcat,
> if I use GST_DEBUG, it shows some unknown characters?

Something like this for example:

GList *elements = gst_element_factory_list_get_elements (...);
GList *l;

for (l = elements; l; l = l->next) {
  GstElementFactory *f = l->data;
  g_print ("factory: %s\n", GST_OBJECT_NAME (f));
}
gst_plugin_feature_list_free (elements);

-- 
Sebastian Dröge <sebastian at centricular.com>
Centricular Ltd - http://www.centricular.com
Expertise, Straight from the Source
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 966 bytes
Desc: This is a digitally signed message part
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20131030/c60113f3/attachment.pgp>


More information about the gstreamer-devel mailing list