[vlc-commits] chromecast: fix the time displayed after seeking

Steve Lhomme git at videolan.org
Wed Jun 15 01:43:05 CEST 2016


vlc | branch: master | Steve Lhomme <robux4 at videolabs.io> | Wed Jun 15 00:44:43 2016 +0200| [e657ddcb2991863098db13084467a5a709498d61] | committer: Jean-Baptiste Kempf

chromecast: fix the time displayed after seeking

When seeking the Chromecast will flush its buffering and start playing
after it has enough data. We wait until it says it's playing after a seek
to guess the playback time it's resuming to.

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

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

 modules/stream_out/chromecast/cast.cpp             |    2 +-
 modules/stream_out/chromecast/chromecast.h         |   14 ++-
 modules/stream_out/chromecast/chromecast_common.h  |    3 +
 modules/stream_out/chromecast/chromecast_ctrl.cpp  |   83 ++++++++++++++++-
 modules/stream_out/chromecast/chromecast_demux.cpp |   97 ++++++++++++++++++++
 5 files changed, 193 insertions(+), 6 deletions(-)

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


More information about the vlc-commits mailing list