fixup! [Tizen][WebRTC] Pixmap implementation for video decode accelerator
authors.kamath <s.kamath@samsung.com>
Thu, 19 Feb 2015 11:47:24 +0000 (17:17 +0530)
committerYoungsoo Choi <kenshin.choi@samsung.com>
Tue, 10 Jul 2018 06:57:09 +0000 (06:57 +0000)
Fixing build error with Gstreamer1.2 update on 2.4 branch.
Reviewed by: Antonio Gomes, Venugopal S M

Change-Id: Ie1aac7f30dd98366717544afc43acb88b152cbee
Signed-off-by: s.kamath <s.kamath@samsung.com>
tizen_src/impl/content/common/gpu/media/tizen/tizen_video_encode_accelerator.cc

index 37c285007dcf80beec35b4637473bc4b6789d851..acec12e893013899bfb377fb5be924e86f02e8d0 100644 (file)
@@ -214,7 +214,7 @@ void TizenVideoEncodeAccelerator::Impl::DeliverVideoFrame() {
 
   if (gstBufferSize > shm->mapped_size()) {
     LOG(ERROR) << "Encoded buff too large: "
-               << buffer->size << ">" << shm->mapped_size();
+               << gstBufferSize << ">" << shm->mapped_size();
     io_client_weak_factory_.GetWeakPtr()->NotifyError(
         media::VideoEncodeAccelerator::kPlatformFailureError);
     gst_buffer_unref(buffer);