Commit 4be7d578 authored by Marton Balint's avatar Marton Balint

ffplay: signal seek event to read thread

Improves seek delay.
Signed-off-by: 's avatarMarton Balint <cus@passwd.hu>
parent 2ecf564f
......@@ -1184,6 +1184,7 @@ static void stream_seek(VideoState *is, int64_t pos, int64_t rel, int seek_by_by
if (seek_by_bytes)
is->seek_flags |= AVSEEK_FLAG_BYTE;
is->seek_req = 1;
SDL_CondSignal(is->continue_read_thread);
}
}
......
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