In particular with the "lavc/pthread_frame: always transfer stashed hwaccel state" fix for #27343
mentioned in commit d7ddba57