emotion: Properly unmap video frame

Calls to gst_video_frame_unmap should take a GstVideoFrame as a
parameter (not a buffer). I believe this was the intended function
here (to unmap the video frame), so fix the call to not pass a
GstBuffer.

@fix

Signed-off-by: Chris Michael <cp.michael@samsung.com>
This commit is contained in:
Chris Michael 2017-10-11 09:21:48 -04:00
parent 7d36ef88bc
commit 6701bd162d
1 changed files with 1 additions and 1 deletions

View File

@ -450,7 +450,7 @@ emotion_video_sink_main_render(void *data)
}
else
{
gst_video_frame_unmap(buffer);
gst_video_frame_unmap(&(send->vframe));
priv->vfmapped = EINA_FALSE;
}
gst_buffer_unref(buffer);