[fix] fix thumbnail order by using std::vector instead of std::unordered_map

This commit is contained in:
dijunkun
2025-07-23 16:38:29 +08:00
parent 1327b995f2
commit 147b9b2ddc
5 changed files with 34 additions and 31 deletions

View File

@@ -1140,6 +1140,8 @@ void Render::CleanupFactories() {
}
void Render::CleanupPeer(std::shared_ptr<SubStreamWindowProperties> props) {
SDL_FlushEvent(STREAM_FRASH);
if (props->dst_buffer_) {
thumbnail_->SaveToThumbnail(
(char*)props->dst_buffer_, props->video_width_, props->video_height_,