MCU: fix mcpStripableSorter

This commit is contained in:
Franke Burgarino 2025-08-20 15:18:35 -05:00
parent 56d36d3a41
commit d6697cd702

View file

@ -255,10 +255,7 @@ struct mcpStripableSorter
{
bool operator () (const std::shared_ptr<Stripable> & a, const std::shared_ptr<Stripable> & b) const
{
const PresentationInfo::Flag a_flag = a->presentation_info().flags ();
const PresentationInfo::Flag b_flag = b->presentation_info().flags ();
if (a_flag == b_flag) {
if (!(a->is_monitor() || b->is_monitor() || a->is_master() || b->is_master())) {
return a->presentation_info().order() < b->presentation_info().order();
}