From dd6b11b87d4b613085ce815de6fd8dbb5edf3f15 Mon Sep 17 00:00:00 2001 From: Vladislav Vinogradov Date: Wed, 18 Apr 2012 11:25:56 +0000 Subject: [PATCH] fixed build without CUDA --- modules/gpu/src/frame_queue.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/modules/gpu/src/frame_queue.cpp b/modules/gpu/src/frame_queue.cpp index 4ba310658..2da459269 100644 --- a/modules/gpu/src/frame_queue.cpp +++ b/modules/gpu/src/frame_queue.cpp @@ -42,6 +42,8 @@ #include "frame_queue.h" +#ifdef HAVE_CUDA + cv::gpu::detail::FrameQueue::FrameQueue() : endOfDecode_(0), framesInQueue_(0), @@ -111,3 +113,5 @@ bool cv::gpu::detail::FrameQueue::dequeue(CUVIDPARSERDISPINFO& displayInfo) return false; } + +#endif // HAVE_CUDA