Commit 530a3d20 authored by Thomas Guillem's avatar Thomas Guillem

chromecast: fix seek state in case of send error

parent f9c3a40d
......@@ -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