mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 04:01:08 +00:00
avc: avcsrc is always enabled
This commit is contained in:
parent
708e96bef4
commit
38681bf1e0
1 changed files with 0 additions and 7 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue