chromecast: rework demux pacing
commit3a1519245d771f2804832bbddc37f6f38f2aa1f8
authorThomas Guillem <thomas@gllm.fr>
Tue, 6 Feb 2018 08:17:16 +0000 (6 09:17 +0100)
committerThomas Guillem <thomas@gllm.fr>
Tue, 6 Feb 2018 11:51:38 +0000 (6 12:51 +0100)
treed4e8ac76b036e391637d858494274e5f88acc8c1
parent894843621e0629712d84589bc75be2a8817b9247
chromecast: rework demux pacing

Pace demux only when the httpd fifo starts to be full.

Replace seek/app_start wait methods by pace() that is interruptible. This fixes
possible deadlock in case of connectivity issue.
modules/stream_out/chromecast/cast.cpp
modules/stream_out/chromecast/chromecast.h
modules/stream_out/chromecast/chromecast_common.h
modules/stream_out/chromecast/chromecast_ctrl.cpp
modules/stream_out/chromecast/chromecast_demux.cpp