deps/media-playback: Fix playback reset fail after stop
The recent changes in 88ae9aff causes av_read_frame to check for m->stopping, and fail with AVERROR_EXIT if true, which would happen after each reset. Moving mp_media_prepare_frames to a line after m->stopping is reset to false fixes the issue.
Showing
想要评论请 注册 或 登录