equal
deleted
inserted
replaced
250 Returns true if the format is valid, and false otherwise. |
250 Returns true if the format is valid, and false otherwise. |
251 */ |
251 */ |
252 |
252 |
253 bool QVideoSurfaceFormat::isValid() const |
253 bool QVideoSurfaceFormat::isValid() const |
254 { |
254 { |
255 return d->pixelFormat == QVideoFrame::Format_Invalid && d->frameSize.isValid(); |
255 return d->pixelFormat != QVideoFrame::Format_Invalid && d->frameSize.isValid(); |
256 } |
256 } |
257 |
257 |
258 /*! |
258 /*! |
259 Returns true if \a other is the same as a video format, and false if they are the different. |
259 Returns true if \a other is the same as a video format, and false if they are the different. |
260 */ |
260 */ |