From 38681bf1e0ce3a5b13f999b9cce40534501583e3 Mon Sep 17 00:00:00 2001 From: Quentin Smith Date: Tue, 19 Apr 2011 15:04:05 -0400 Subject: [PATCH] avc: avcsrc is always enabled --- sys/avc/gstavcsrc.cpp | 7 ------- 1 file changed, 7 deletions(-) diff --git a/sys/avc/gstavcsrc.cpp b/sys/avc/gstavcsrc.cpp index f68936967f..c63c9853ad 100644 --- a/sys/avc/gstavcsrc.cpp +++ b/sys/avc/gstavcsrc.cpp @@ -37,11 +37,8 @@ #include "config.h" #endif -//#define ENABLE -#ifdef ENABLE #include using namespace AVS; -#endif #include #include @@ -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; }