Commit fa25780e authored by François Cartegnie's avatar François Cartegnie 🤞

decoder: return 0 display time on pause

fixes next frame -> late frame regressions
with decoders no longer in waiting state
parent c11fb88d
......@@ -619,7 +619,7 @@ static mtime_t DecoderGetDisplayDate( decoder_t *p_dec, mtime_t i_ts )
decoder_owner_sys_t *p_owner = p_dec->p_owner;
vlc_mutex_lock( &p_owner->lock );
if( p_owner->b_waiting )
if( p_owner->b_waiting || p_owner->paused )
i_ts = VLC_TS_INVALID;
vlc_mutex_unlock( &p_owner->lock );
......
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