Commit 15b6083a authored by Thomas Guillem's avatar Thomas Guillem Committed by Jean-Baptiste Kempf

chromecast: fix seek state in case of send error

(cherry picked from commit 530a3d20)
Signed-off-by: Jean-Baptiste Kempf's avatarJean-Baptiste Kempf <jb@videolan.org>
parent 57f014d7
......@@ -928,10 +928,13 @@ bool intf_sys_t::requestPlayerSeek(mtime_t pos)
double( pos ) / 1000000.0 ) >= (int)sizeof(current_time) )
return false;
m_communication.msgPlayerSeek( m_appTransportId, m_mediaSessionId, current_time );
setState( Seeking );
return true;
int ret = m_communication.msgPlayerSeek( m_appTransportId, m_mediaSessionId, current_time );
if( ret == VLC_SUCCESS )
{
setState( Seeking );
return true;
}
return false;
}
void intf_sys_t::setOnSeekDoneCb(on_seek_done_itf on_seek_done, void *on_seek_done_data)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment