|
@@ -1,6 +1,6 @@
|
|
|
-#include"libvideocapture.h"
|
|
|
-#include "../libvideoframework/videoutil.h"
|
|
|
-#include "../libvideoframework/aligned_malloc.h"
|
|
|
+#include"videocapture_linux.h"
|
|
|
+#include "../../libvideoframework/videoutil.h"
|
|
|
+#include "../../libvideoframework/aligned_malloc.h"
|
|
|
|
|
|
#include <stdlib.h>
|
|
|
#include <string.h>
|
|
@@ -31,6 +31,7 @@ extern "C" {
|
|
|
|
|
|
static const int kBufferAlignment = 64;
|
|
|
|
|
|
+
|
|
|
// Get FourCC code as a string.
|
|
|
int GetFourccName(char* strbuf, uint32_t ulen, uint32_t fourcc)
|
|
|
{
|
|
@@ -136,8 +137,8 @@ int VideoCaptureImpl::VideoCaptureSetParam(videocap_param_t* param)
|
|
|
}
|
|
|
}
|
|
|
else {
|
|
|
- if (m_callback){
|
|
|
- m_callback->Debug("param->option & VIDEOCAP_OPT_EANBLE_RESIZE success.");
|
|
|
+ if (m_callback) {
|
|
|
+ m_callback->Debug("%s", "param->option & VIDEOCAP_OPT_EANBLE_RESIZE success.");
|
|
|
}
|
|
|
}
|
|
|
|