Add monitor interface

Add an interface to monitor devices and helper program
Add v4l2 monitor
Add simple dictionary with key/value pairs
This commit is contained in:
Wim Taymans 2016-09-15 11:49:34 +02:00
parent 140f360cc0
commit 9f53eda6cb
29 changed files with 921 additions and 51 deletions

View file

@ -31,6 +31,11 @@ spa_v4l2_open (SpaV4l2Source *this)
if (state->opened)
return 0;
if (props->props.unset_mask & 1) {
fprintf(stderr, "Device property not set\n");
return -1;
}
fprintf (stderr, "Playback device is '%s'\n", props->device);
if (stat (props->device, &st) < 0) {