Commit dd6b11b8 authored by Vladislav Vinogradov's avatar Vladislav Vinogradov

fixed build without CUDA

parent f4b46659
...@@ -42,6 +42,8 @@ ...@@ -42,6 +42,8 @@
#include "frame_queue.h" #include "frame_queue.h"
#ifdef HAVE_CUDA
cv::gpu::detail::FrameQueue::FrameQueue() : cv::gpu::detail::FrameQueue::FrameQueue() :
endOfDecode_(0), endOfDecode_(0),
framesInQueue_(0), framesInQueue_(0),
...@@ -111,3 +113,5 @@ bool cv::gpu::detail::FrameQueue::dequeue(CUVIDPARSERDISPINFO& displayInfo) ...@@ -111,3 +113,5 @@ bool cv::gpu::detail::FrameQueue::dequeue(CUVIDPARSERDISPINFO& displayInfo)
return false; return false;
} }
#endif // HAVE_CUDA
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment