From 56c8a27fd18e3beb970ef7d92383c764c922271c Mon Sep 17 00:00:00 2001 From: Joao Carreira Date: Thu, 17 Apr 2014 02:09:07 +0100 Subject: [PATCH] Add new function to return pel buffer of PlaYUVerFrame in order to edit it --- source/lib/PlaYUVerFrame.h | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/source/lib/PlaYUVerFrame.h b/source/lib/PlaYUVerFrame.h index 2a73e8d..542b829 100755 --- a/source/lib/PlaYUVerFrame.h +++ b/source/lib/PlaYUVerFrame.h @@ -122,7 +122,12 @@ public: Pel*** getPelBufferYUV() const { - //m_bHasRGBPel = false; + return m_pppcInputPel; + } + + Pel*** getPelBufferYUV() + { + m_bHasRGBPel = false; return m_pppcInputPel; }