From 31e0d0c171b4d6a7dc9b9697e69e165651d3fe93 Mon Sep 17 00:00:00 2001
From: houxiao <houxiao@454eff88-639b-444f-9e54-f578c98de674>
Date: 星期三, 28 十二月 2016 18:32:20 +0800
Subject: [PATCH] face detect ok

---
 RtspFace/PL_AVFrameYUV420.cpp |   12 ++++++------
 1 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/RtspFace/PL_AVFrameYUV420.cpp b/RtspFace/PL_AVFrameYUV420.cpp
index 5462ba9..495a852 100644
--- a/RtspFace/PL_AVFrameYUV420.cpp
+++ b/RtspFace/PL_AVFrameYUV420.cpp
@@ -113,12 +113,12 @@
 	in->lastFrame.pts = frame->pts;
 
 	//#test
-	static size_t f=0;
-	char fname[50];
-	sprintf(fname, "%u.yuv420", ++f);
-	FILE * pFile = fopen (fname,"wb");
-	fwrite (in->buffer , sizeof(char), in->buffSize, pFile);
-	fclose(pFile);
+	//static size_t f=0;
+	//char fname[50];
+	//sprintf(fname, "%u.yuv420", ++f);
+	//FILE * pFile = fopen (fname,"wb");
+	//fwrite (in->buffer , sizeof(char), in->buffSize, pFile);
+	//fclose(pFile);
 
 	return true;
 }

--
Gitblit v1.8.0