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>
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);