ges: Fix sending EOS on testclip when using timeoverlay
authorThibault Saunier <tsaunier@igalia.com>
Thu, 9 Apr 2020 14:00:43 +0000 (10:00 -0400)
committerThibault Saunier <tsaunier@igalia.com>
Thu, 9 Apr 2020 14:10:09 +0000 (10:10 -0400)
commit5fd0943c77a2cba859afac68392e3d608cd63552
tree3d1a199a953a075c4071f27767ec79510803cedb
parent4a9e2c898415cfda0af5b90507444ade4d600c84
ges: Fix sending EOS on testclip when using timeoverlay

Basically when using timeoverlay we where waiting for input-selector
to receive EOS on its active on the output-selector streaming thread
but... EOS was being sent from that same thread waiting for input-selector
to unblock to send EOS on its other pad.

In our specific use case we want EOS to be sent only on the active pad.

Fixes: https://gitlab.freedesktop.org/gstreamer/gst-editing-services/-/issues/103
ges/ges-video-test-source.c