From fe007cee79c88a084bef01333f86f5da5f3c143f Mon Sep 17 00:00:00 2001
From: houxiao <houxiao@454eff88-639b-444f-9e54-f578c98de674>
Date: 星期四, 22 十二月 2016 17:57:12 +0800
Subject: [PATCH] add padd pl emements

---
 RtspFace/main.cpp |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/RtspFace/main.cpp b/RtspFace/main.cpp
index f8e9875..d25eddb 100644
--- a/RtspFace/main.cpp
+++ b/RtspFace/main.cpp
@@ -1,7 +1,7 @@
 #include "PipeLine.h"
 #include "PL_RTSPClient.h"
 #include "PL_H264Decoder.h"
-#include "PL_AVFrameBGRA.h"
+#include "PL_AVFrameYUV420.h"
 
 #include <iostream>
 using namespace std;
@@ -12,7 +12,7 @@
 	
 	pipeLine.register_elem_creator("PL_RTSPClient", create_PL_RTSPClient);
 	pipeLine.register_elem_creator("PL_H264Decoder", create_PL_H264Decoder);
-	pipeLine.register_elem_creator("PL_AVFrameBGRA", create_PL_AVFrameBGRA);
+	pipeLine.register_elem_creator("PL_AVFrameYUV420", create_PL_AVFrameYUV420);
 	
 	PL_RTSPClient* rtspClient = (PL_RTSPClient*)pipeLine.push_elem("PL_RTSPClient");
 	RTSPConfig rtspConfig;
@@ -28,8 +28,8 @@
 	PL_H264Decoder* h264Decoder = (PL_H264Decoder*)pipeLine.push_elem("PL_H264Decoder");
 	h264Decoder->init(nullptr);
 	
-	PL_AVFrameBGRA* avFrameBGRA = (PL_AVFrameBGRA*)pipeLine.push_elem("PL_AVFrameBGRA");
-	avFrameBGRA->init(nullptr);
+	PL_AVFrameYUV420* avFrameYUV420 = (PL_AVFrameYUV420*)pipeLine.push_elem("PL_AVFrameYUV420");
+	avFrameYUV420->init(nullptr);
 	
 	while(true)
 	{

--
Gitblit v1.8.0