From 6701bd162ddf7726cea8982ff274e7eb88896776 Mon Sep 17 00:00:00 2001 From: Chris Michael Date: Wed, 11 Oct 2017 09:21:48 -0400 Subject: [PATCH] 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 --- src/modules/emotion/gstreamer1/emotion_sink.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/modules/emotion/gstreamer1/emotion_sink.c b/src/modules/emotion/gstreamer1/emotion_sink.c index f0bc0ef..6f2e4af 100644 --- a/src/modules/emotion/gstreamer1/emotion_sink.c +++ b/src/modules/emotion/gstreamer1/emotion_sink.c @@ -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); -- 2.7.4