From 81b389331d3bcee338940f3b4114ec7e7a13d29c Mon Sep 17 00:00:00 2001 From: Joao Carreira Date: Tue, 17 Mar 2015 16:27:40 +0000 Subject: [PATCH] Fix PlaYUVerFrame conversion to cv::mat --- lib/PlaYUVerFrame.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/PlaYUVerFrame.cpp b/lib/PlaYUVerFrame.cpp index bacb270..386875e 100644 --- a/lib/PlaYUVerFrame.cpp +++ b/lib/PlaYUVerFrame.cpp @@ -438,7 +438,7 @@ Void PlaYUVerFrame::getCvMat( Void** ppCvFrame ) switch( m_pcPelFormat->numberChannels ) { case 3: - cvType = CV_8UC3; + cvType = CV_8UC4; break; case 1: cvType = CV_8UC1;