shell: Push the surface to the remote side 38/25438/2
authorMarius Vlad <marius.vlad@collabora.com>
Wed, 14 Oct 2020 12:18:08 +0000 (15:18 +0300)
committerMarius Vlad <marius.vlad@collabora.com>
Sun, 18 Oct 2020 14:32:41 +0000 (17:32 +0300)
commit0a22dff42d49d1a38137fc47c747620fdb3f3814
tree6eaa07081b7485b75faffb39c78a55585910ff2f
parent6b002bfe937d97c36137108fd7d84451b01c0daf
shell: Push the surface to the remote side

The receiver expects that the sender/transmitter will inform it when it
can create a surface and it can start the gstreamer pipeline.

The transmitter plug-in exposes a way to call that using 'push_surface'
callback. So, whenever we detect that the remote surface is to be
assigned to a waltham-type of output, we would need to call into this
'push_surface' callback. This acts as notification mechanism for the
remote side.

Bug-AGL: 3611

Signed-off-by: Marius Vlad <marius.vlad@collabora.com>
Change-Id: Ia5db0d8f2356708eaee3fbaabed2b3ba3ac97eb6
src/shell.c