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:
parent
7d36ef88bc
commit
6701bd162d
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue