TODO: resolve bug with vframe stack

This commit is contained in:
brunoherbelin
2020-07-20 14:51:26 +02:00
parent 29cbc50183
commit 990ea42d58
2 changed files with 3 additions and 3 deletions

View File

@@ -590,8 +590,8 @@ void MediaPlayer::update()
// try to access a vframe (non blocking)
guint i = vframe_read_index_;
if (vframe_lock_[i].try_lock() ) {
if (vframe_lock_[i].try_lock() )
{
// if we got a full vframe
if (vframe_is_full_[vframe_read_index_])
{