[gst-devel] Getting names and description of the "Source" devices.

Agostino De Matteis ademat at gmail.com
Mon Jul 19 21:28:32 CEST 2010


Osmo Maatta wrote:

> The device name is ok, but the human readable description is 
> empty/"Unknown".
> 

First you set the device:

g_object_set (G_OBJECT (element), "device", device, NULL);

and after that you can read the device-name:

g_object_get(G_OBJECT(element), "device-name", &devicename, NULL);


Agostino




More information about the gstreamer-devel mailing list