summaryrefslogtreecommitdiff
path: root/third_party/BaseClasses/ctlutil.cpp
diff options
context:
space:
mode:
authorNanang Izzuddin <nanang@teluu.com>2012-04-24 07:07:39 +0000
committerNanang Izzuddin <nanang@teluu.com>2012-04-24 07:07:39 +0000
commit3fe1744693a3462d00ce37aaa7b35030591109ce (patch)
tree6cb0ffd8ef68b82645b76177cc6c08b4715f38c8 /third_party/BaseClasses/ctlutil.cpp
parent603594518c4cbe3c564df98e3cd86f34b89e5971 (diff)
Re #1276:
- Updated baseclasses VS2005 project setting (use VS property sheet, etc). - Added PJMEDIA_VIDEO_DEV_HAS_DSHOW filter. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4072 74dad513-b988-da41-8d7b-12977e46ad98
Diffstat (limited to 'third_party/BaseClasses/ctlutil.cpp')
-rw-r--r--third_party/BaseClasses/ctlutil.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/third_party/BaseClasses/ctlutil.cpp b/third_party/BaseClasses/ctlutil.cpp
index 8ccb9dc3..2902df26 100644
--- a/third_party/BaseClasses/ctlutil.cpp
+++ b/third_party/BaseClasses/ctlutil.cpp
@@ -12,6 +12,9 @@
// property methods. We also implement CPosPassThru that can be used by
// renderers and transforms to pass by IMediaPosition and IMediaSeeking
+#include <pjmedia-videodev/config.h>
+
+#if defined(PJMEDIA_VIDEO_DEV_HAS_DSHOW) && PJMEDIA_VIDEO_DEV_HAS_DSHOW != 0
#include <streams.h>
#include <limits.h>
@@ -2539,3 +2542,4 @@ CCmdQueue::GetCommandDueFor(REFERENCE_TIME rtStream, __out CDeferredCommand**ppC
return VFW_E_NOT_FOUND;
}
+#endif /* PJMEDIA_VIDEO_DEV_HAS_DSHOW */