Fix some compiler warnings.
As it turns out, we had an overloaded virtual from an earlier era, with the extra parameter never used. So cleaning that up was a bonus to remove the compiler warning. Change-Id: I780287f8a5d2b0a1ec84ec62c88ba50e051f372b Reviewed-by: Jonas Rabbe <jonas.rabbe@nokia.com>
This commit is contained in:
committed by
Qt by Nokia
parent
bd9484ddca
commit
4f38f950b0
@@ -97,8 +97,7 @@ QList<QVideoFrame::PixelFormat> QVideoSurfaceCoreGraphicsPainter::supportedPixel
|
||||
: QList<QVideoFrame::PixelFormat>();
|
||||
}
|
||||
|
||||
bool QVideoSurfaceCoreGraphicsPainter::isFormatSupported(
|
||||
const QVideoSurfaceFormat &format, QVideoSurfaceFormat *) const
|
||||
bool QVideoSurfaceCoreGraphicsPainter::isFormatSupported(const QVideoSurfaceFormat &format) const
|
||||
{
|
||||
return m_supportedHandles.contains(format.handleType())
|
||||
&& m_imagePixelFormats.contains(format.pixelFormat())
|
||||
|
||||
Reference in New Issue
Block a user