Commit de9f21a4 authored by Thomas Guillem's avatar Thomas Guillem

decoder: don't set first picture if decoder is flushing

This can happen when seeking via http.
parent 1c473801
......@@ -880,7 +880,7 @@ static void DecoderPlayVideo( decoder_t *p_dec, picture_t *p_picture,
bool b_reject = DecoderWaitUnblock( p_dec );
if( p_owner->b_waiting )
if( !b_reject && p_owner->b_waiting )
{
assert( p_owner->b_first );
msg_Dbg( p_dec, "Received first picture" );
......
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