devilhorns pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=6701bd162ddf7726cea8982ff274e7eb88896776

commit 6701bd162ddf7726cea8982ff274e7eb88896776
Author: Chris Michael <cp.mich...@samsung.com>
Date:   Wed Oct 11 09:21:48 2017 -0400

    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.mich...@samsung.com>
---
 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 f0bc0ef427..6f2e4af49a 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);

-- 


Reply via email to