Improve negotiation

Try to link ports based on compatible formats
Add methods to filter formats.
This commit is contained in:
Wim Taymans 2017-02-10 10:17:07 +01:00
parent 1370fafd5b
commit df86fcec10
12 changed files with 229 additions and 95 deletions

View file

@ -62,6 +62,9 @@ SpaResult spa_format_video_init (SpaMediaType type,
SpaResult spa_format_video_parse (const SpaFormat *format,
SpaFormatVideo *dest);
SpaResult spa_format_video_filter (SpaFormatVideo *format,
const SpaFormat *filter);
struct _SpaFormatVideo {
SpaFormat format;
union {