[vlc-devel] [PATCH 0/4] Chromecast: do all the network calls in the same thread
Steve Lhomme
robux4 at videolabs.io
Mon May 9 22:08:45 CEST 2016
Using an interrupt to stop the network thread we can simplify the code and
unblock the receiving poll() when we need to send commands immediatly.
Steve Lhomme (4):
chromecast: use an interrupt to notify the receiving thread of pending
work
chromecast: do the disconnect in the recv/send thread
chromecast: send a STOP message when we have no ES to send
chromecast: send a dummy SEEK message when flushing is needed
modules/stream_out/chromecast/cast.cpp | 14 +-
modules/stream_out/chromecast/chromecast.h | 16 +-
modules/stream_out/chromecast/chromecast_ctrl.cpp | 175 ++++++++++++++--------
3 files changed, 139 insertions(+), 66 deletions(-)
--
2.7.0
More information about the vlc-devel
mailing list