chromecast: fix the time displayed after seeking
commite657ddcb2991863098db13084467a5a709498d61
authorSteve Lhomme <robux4@videolabs.io>
Tue, 14 Jun 2016 22:44:43 +0000 (15 00:44 +0200)
committerJean-Baptiste Kempf <jb@videolan.org>
Tue, 14 Jun 2016 22:54:44 +0000 (15 00:54 +0200)
treedd1c511eda9a2e5ac5938852108ebecafeb38537
parentc3348c4bbe00e2001272faa1e5c9ab3f0ec0c267
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@videolan.org>
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