update DBus object with current format

Detect a format change in the payloader and post an element message.
Catch the format change element message in the client-source and use it
to update the format and possible formats in the source and source-outputs.
This commit is contained in:
Wim Taymans 2016-04-11 16:06:54 +02:00
parent 44f2c3602d
commit 45976ffeda
5 changed files with 57 additions and 0 deletions

View file

@ -95,6 +95,7 @@ void pinos_source_report_idle (PinosSource *source);
void pinos_source_report_busy (PinosSource *source);
void pinos_source_update_possible_formats (PinosSource *source, GBytes *formats);
void pinos_source_update_format (PinosSource *source, GBytes *format);
PinosSourceOutput * pinos_source_create_source_output (PinosSource *source,
const gchar *client_path,