summaryrefslogtreecommitdiffstats
path: root/src/multimedia/platform/windows/player/mfvideorenderercontrol.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/multimedia/platform/windows/player/mfvideorenderercontrol.cpp')
-rw-r--r--src/multimedia/platform/windows/player/mfvideorenderercontrol.cpp7
1 files changed, 0 insertions, 7 deletions
diff --git a/src/multimedia/platform/windows/player/mfvideorenderercontrol.cpp b/src/multimedia/platform/windows/player/mfvideorenderercontrol.cpp
index 51b655f1b..68317b4c0 100644
--- a/src/multimedia/platform/windows/player/mfvideorenderercontrol.cpp
+++ b/src/multimedia/platform/windows/player/mfvideorenderercontrol.cpp
@@ -811,9 +811,6 @@ namespace
case QVideoSurfaceFormat::Format_RGB32:
mediaType->SetGUID(MF_MT_SUBTYPE, MFVideoFormat_RGB32);
break;
- case QVideoSurfaceFormat::Format_BGR24: // MFVideoFormat_RGB24 has a BGR layout
- mediaType->SetGUID(MF_MT_SUBTYPE, MFVideoFormat_RGB24);
- break;
case QVideoSurfaceFormat::Format_RGB565:
mediaType->SetGUID(MF_MT_SUBTYPE, MFVideoFormat_RGB565);
break;
@@ -1048,10 +1045,6 @@ namespace
case QVideoSurfaceFormat::Format_RGB32:
case QVideoSurfaceFormat::Format_AYUV444:
return format.frameWidth() * 4;
- // 24 bpp packed formats.
- case QVideoSurfaceFormat::Format_RGB24:
- case QVideoSurfaceFormat::Format_BGR24:
- return PAD_TO_DWORD(format.frameWidth() * 3);
// 16 bpp packed formats.
case QVideoSurfaceFormat::Format_RGB565:
case QVideoSurfaceFormat::Format_RGB555: