[vlc-commits] chromecast: use an interrupt to notify the receiving thread of pending work

Steve Lhomme git at videolan.org
Tue May 10 23:43:37 CEST 2016


vlc | branch: master | Steve Lhomme <robUx4 at videolabs.io> | Mon May  9 22:08:46 2016 +0200| [bf2f12783e7744d356b9dfaf6769cc82a9f35c27] | committer: Jean-Baptiste Kempf

chromecast: use an interrupt to notify the receiving thread of pending work

In some cases we will need to send STOP or SEEK messages from some threads
that have been interrupted, resulting in TLS not sending the data. So now
we send messages from the receiving thread.

Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=bf2f12783e7744d356b9dfaf6769cc82a9f35c27
---

 modules/stream_out/chromecast/cast.cpp            |    9 +-
 modules/stream_out/chromecast/chromecast.h        |   10 +-
 modules/stream_out/chromecast/chromecast_ctrl.cpp |  129 ++++++++++++---------
 3 files changed, 88 insertions(+), 60 deletions(-)

Diff:   http://git.videolan.org/gitweb.cgi/vlc.git/?a=commitdiff;h=bf2f12783e7744d356b9dfaf6769cc82a9f35c27


More information about the vlc-commits mailing list