[vlc-commits] chromecast: rework demux pacing

Thomas Guillem git at videolan.org
Tue Feb 6 19:33:15 CET 2018


vlc/vlc-3.0 | branch: master | Thomas Guillem <thomas at gllm.fr> | Tue Feb  6 09:17:16 2018 +0100| [79a1c5add1b106a69c3cf24c4c66ecd030f81b8a] | committer: Jean-Baptiste Kempf

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.

(cherry picked from commit 3a1519245d771f2804832bbddc37f6f38f2aa1f8)
Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>

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

 modules/stream_out/chromecast/cast.cpp             | 31 ++++++--
 modules/stream_out/chromecast/chromecast.h         | 10 ++-
 modules/stream_out/chromecast/chromecast_common.h  |  3 +-
 modules/stream_out/chromecast/chromecast_ctrl.cpp  | 91 +++++++++++-----------
 modules/stream_out/chromecast/chromecast_demux.cpp | 23 +-----
 5 files changed, 82 insertions(+), 76 deletions(-)

Diff:   http://git.videolan.org/gitweb.cgi/vlc/vlc-3.0.git/?a=commitdiff;h=79a1c5add1b106a69c3cf24c4c66ecd030f81b8a


More information about the vlc-commits mailing list