remove hardcoded negotiation

Remove the hardcoded negotiation and replace by filtering accepted and
possible formats. Not quite correct yet because v4l2 doesn't actually do
filtering yet.
This commit is contained in:
Wim Taymans 2016-08-09 15:53:12 +02:00
parent f743b00f2c
commit ad71c82159
4 changed files with 65 additions and 72 deletions

View file

@ -106,7 +106,7 @@ typedef struct {
uint32_t change_mask;
SpaDirection direction;
unsigned int n_possible_formats;
const SpaFormat **possible_formats;
SpaFormat **possible_formats;
const SpaProps *props;
const SpaPortInfo *info;
} SpaControlCmdPortUpdate;