mirror of
https://github.com/brunoherbelin/vimix.git
synced 2025-12-16 04:40:08 +01:00
Allow Aplpha channel for Bundle (Session Group Source)
This commit is contained in:
@@ -181,14 +181,15 @@ void InfoVisitor::visit (SessionGroupSource& s)
|
||||
uint T = s.session()->numSources();
|
||||
if (T>N)
|
||||
oss << " (" << std::to_string(T) << " total)";
|
||||
oss << std::endl;
|
||||
|
||||
if (s.session()->frame()){
|
||||
if (brief_) {
|
||||
oss << ", RGB, " << s.session()->frame()->width() << " x " << s.session()->frame()->height();
|
||||
oss << (s.session()->frame()->flags() & FrameBuffer::FrameBuffer_alpha ? "RGBA, " : "RGB, ");
|
||||
oss << s.session()->frame()->width() << " x " << s.session()->frame()->height();
|
||||
}
|
||||
else {
|
||||
oss << std::endl;
|
||||
oss << "RGB" << std::endl;
|
||||
oss << (s.session()->frame()->flags() & FrameBuffer::FrameBuffer_alpha ? "RGBA" : "RGB") << std::endl;
|
||||
oss << s.session()->frame()->width() << " x " << s.session()->frame()->height();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user