From 6331c55a780455e8fe5a039ef8781a0abafbd6ba Mon Sep 17 00:00:00 2001 From: houxiao <houxiao@454eff88-639b-444f-9e54-f578c98de674> Date: 星期二, 28 二月 2017 17:47:05 +0800 Subject: [PATCH] android argb --- RtspFace/main.cpp | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/RtspFace/main.cpp b/RtspFace/main.cpp index 0ab3414..6e8260a 100644 --- a/RtspFace/main.cpp +++ b/RtspFace/main.cpp @@ -90,7 +90,7 @@ { PL_AVFrameBGRA_Config config; - config.convertTo = PL_AVFrameBGRA_Config::I420_TO_ARGB8888; + config.convertTo = PL_AVFrameBGRA_Config::I420_TO_RGBA8888; PL_AVFrameBGRA* ple = (PL_AVFrameBGRA*)pipeLine.push_elem("PL_AVFrameBGRA"); bool ret = ple->init(&config); if (!ret) -- Gitblit v1.8.0