shell: Push the surface to the remote side 38/25438/3
authorMarius Vlad <marius.vlad@collabora.com>
Wed, 14 Oct 2020 12:18:08 +0000 (15:18 +0300)
committerMarius Vlad <marius.vlad@collabora.com>
Thu, 5 Nov 2020 08:41:32 +0000 (10:41 +0200)
commit456fe3dd3b2813adb84d97eba51314a39a0657fe
treed363ba9ed9d470f9c908a03446f739990ee6764e
parent3f05a28017b2e04cff63c96225adf5a4fc322cc1
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