source: add extra properties

This commit is contained in:
Wim Taymans 2015-04-22 16:09:09 +02:00
parent 64171606cc
commit 38493fe274
2 changed files with 68 additions and 3 deletions

View file

@ -126,5 +126,5 @@ pv_v4l2_source_init (PvV4l2Source * source)
PvSource *
pv_v4l2_source_new (void)
{
return g_object_new (PV_TYPE_V4L2_SOURCE, NULL);
return g_object_new (PV_TYPE_V4L2_SOURCE, "name", "v4l2", NULL);
}