device-provider: Allow notifying application of device changes
authorThibault Saunier <tsaunier@igalia.com>
Wed, 30 Jan 2019 13:41:58 +0000 (10:41 -0300)
committerThibault Saunier <tsaunier@igalia.com>
Fri, 8 Feb 2019 16:44:02 +0000 (13:44 -0300)
commit97aa82387ff79e1bfd188a6633e8a35e402ee676
tree235118e68a7261674b06f5003a705ad5c66dda36
parentc164b88ac1178a5899308a0a136a3d80f0a8a9cb
device-provider: Allow notifying application of device changes

Thi introduces new APIs to post a `DEVICE_CHANGED` message on the
bus so the application is notifies when a device is modified. For
example, if the "defaultness" of a device was changed or any property
that can be changed at any time. Atomically changing the device
object notifying that way allow us to abtract away the internal threads.

New APIS:
  - gst_message_new_device_changed
  - gst_message_parse_device_changed
  - gst_device_provider_device_changed
docs/gst/gstreamer-sections.txt
gst/gstdevicemonitor.c
gst/gstdeviceprovider.c
gst/gstdeviceprovider.h
gst/gstmessage.c
gst/gstmessage.h
gst/gstquark.c
gst/gstquark.h