summaryrefslogtreecommitdiff
path: root/sys/avc
diff options
context:
space:
mode:
authorQuentin Smith <quentin@mit.edu>2011-04-19 15:04:05 -0400
committerDavid Schleef <ds@schleef.org>2011-05-18 12:06:38 -0700
commit38681bf1e0ce3a5b13f999b9cce40534501583e3 (patch)
tree464a9a89f23068a0f5798897036b35f90c6f150b /sys/avc
parent708e96bef4b98099b5f06ce9c3b3dfa61295f5d5 (diff)
downloadgstreamer-plugins-bad-38681bf1e0ce3a5b13f999b9cce40534501583e3.tar.gz
avc: avcsrc is always enabled
Diffstat (limited to 'sys/avc')
-rw-r--r--sys/avc/gstavcsrc.cpp7
1 files changed, 0 insertions, 7 deletions
diff --git a/sys/avc/gstavcsrc.cpp b/sys/avc/gstavcsrc.cpp
index f68936967..c63c9853a 100644
--- a/sys/avc/gstavcsrc.cpp
+++ b/sys/avc/gstavcsrc.cpp
@@ -37,11 +37,8 @@
#include "config.h"
#endif
-//#define ENABLE
-#ifdef ENABLE
#include <AVCVideoServices/AVCVideoServices.h>
using namespace AVS;
-#endif
#include <gst/gst.h>
#include <gst/base/gstbasesrc.h>
@@ -209,7 +206,6 @@ gst_avc_src_get_caps (GstBaseSrc * src)
#define kNumCyclesInMPEGReceiverSegment 200
#define kNumSegmentsInMPEGReceiverProgram 10
-#ifdef ENABLE
void
MPEGReceiverMessageReceivedProc (UInt32 msg, UInt32 param1, UInt32 param2,
void *pRefCon)
@@ -256,7 +252,6 @@ MyStructuredDataPushProc (UInt32 CycleDataCount,
return 0;
}
-#endif
static gboolean
gst_avc_src_start (GstBaseSrc * src)
@@ -267,7 +262,6 @@ gst_avc_src_start (GstBaseSrc * src)
avcsrc->unlock = FALSE;
-#ifdef ENABLE
// Create a AVCDeviceController
if (!avcsrc->pAVCDeviceController)
CreateAVCDeviceController (&avcsrc->pAVCDeviceController);
@@ -308,7 +302,6 @@ gst_avc_src_start (GstBaseSrc * src)
kNumCyclesInMPEGReceiverSegment, (void *) avcsrc);
avcsrc->pAVCDevice->StartAVCDeviceStream (avcsrc->pAVCDeviceStream);
-#endif
return TRUE;
}