Skip to content

Commit 32a8ff9

Browse files
committed
Removed usage of webrtc::VideoType::kNV12
1 parent 60da4f5 commit 32a8ff9

File tree

2 files changed

+0
-5
lines changed

2 files changed

+0
-5
lines changed

webrtc-jni/src/main/cpp/src/media/video/linux/V4l2VideoDeviceManager.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -316,7 +316,6 @@ namespace jni
316316
{V4L2_PIX_FMT_BGR32, webrtc::VideoType::kBGRA},
317317
{V4L2_PIX_FMT_RGB32, webrtc::VideoType::kARGB},
318318
{V4L2_PIX_FMT_MJPEG, webrtc::VideoType::kMJPEG},
319-
{V4L2_PIX_FMT_NV12, webrtc::VideoType::kNV12},
320319
{V4L2_PIX_FMT_YVU420, webrtc::VideoType::kYV12}
321320
};
322321

webrtc-jni/src/main/cpp/src/media/video/macos/AVFVideoDeviceManager.cpp

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -195,10 +195,6 @@ namespace jni
195195
case kCMVideoCodecType_JPEG_OpenDML:
196196
return webrtc::VideoType::kMJPEG;
197197

198-
case kCVPixelFormatType_420YpCbCr8BiPlanarVideoRange:
199-
case kCVPixelFormatType_420YpCbCr8BiPlanarFullRange:
200-
return webrtc::VideoType::kNV12;
201-
202198
case kCVPixelFormatType_420YpCbCr8Planar:
203199
case kCVPixelFormatType_420YpCbCr8PlanarFullRange:
204200
return webrtc::VideoType::kI420;

0 commit comments

Comments
 (0)