Skip to content

Commit

Permalink
Core (LV::Video): Check palettes are equal in has_same_content().
Browse files Browse the repository at this point in the history
  • Loading branch information
kaixiong committed Jan 23, 2025
1 parent 17dcf87 commit 0b41ed7
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions libvisual/libvisual/lv_video.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -392,6 +392,10 @@ namespace LV {
}
}

// Videos must have the same palette.
if (m_impl->palette != video->m_impl->palette)
return false;

return true;
}

Expand Down

0 comments on commit 0b41ed7

Please sign in to comment.