Is the current format of the FrameHandler valid? The default implementation will check if the frameSize is valid but more specialized implementations may also check other things: For example the videoHandlerYUV also checks if a valid YUV format is set.
| 84 | // frameSize is valid but more specialized implementations may also check other things: For |
| 85 | // example the videoHandlerYUV also checks if a valid YUV format is set. |
| 86 | virtual bool isFormatValid() const { return frameSize.width > 0 && frameSize.height > 0; } |
| 87 | |
| 88 | virtual QString getFormatAsString() const |
| 89 | { |
no outgoing calls
no test coverage detected