fixed build under MacOS (disabled video decoding, it's not supported)

This commit is contained in:
Vladislav Vinogradov
2012-05-11 11:48:15 +00:00
parent 91e312958b
commit 2dafc9a853
14 changed files with 25 additions and 17 deletions

View File

@@ -43,7 +43,7 @@
#include "video_parser.h"
#include "cu_safe_call.h"
#ifdef HAVE_CUDA
#if defined(HAVE_CUDA) && !defined(__APPLE__)
cv::gpu::detail::VideoParser::VideoParser(VideoDecoder* videoDecoder, FrameQueue* frameQueue) :
videoDecoder_(videoDecoder), frameQueue_(frameQueue), unparsedPackets_(0), hasError_(false)