vlc | branch: master | Erick Tyndall <eryth...@gmail.com> | Mon Oct 1 11:59:27 2018 -0400| [1070b0601e741ce410d65af4e40c26ada9f9ae5d] | committer: Thomas Guillem
chromecast: detect additional failed load type Correctly handle additional failed load. Specifically x265 codec on chromecast version 1 and 2 cause an idle state with an unhandled error. Signed-off-by: Thomas Guillem <tho...@gllm.fr> > http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=1070b0601e741ce410d65af4e40c26ada9f9ae5d --- modules/stream_out/chromecast/chromecast_ctrl.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/modules/stream_out/chromecast/chromecast_ctrl.cpp b/modules/stream_out/chromecast/chromecast_ctrl.cpp index 4c08f8b57a..a2c68e682a 100644 --- a/modules/stream_out/chromecast/chromecast_ctrl.cpp +++ b/modules/stream_out/chromecast/chromecast_ctrl.cpp @@ -856,6 +856,8 @@ void intf_sys_t::processMediaMessage( const castchannel::CastMessage& msg ) // Do not reset the mediaSessionId to ensure we refuse all // other MEDIA_STATUS from the new session. } + else if ( idleReason == "ERROR" && m_state == Playing ) + setState( LoadFailed ); else if ( m_state == Buffering ) setState( LoadFailed ); else _______________________________________________ vlc-commits mailing list vlc-commits@videolan.org https://mailman.videolan.org/listinfo/vlc-commits