From a618f60675dbcc6568d6b9bdee015456cef78a77 Mon Sep 17 00:00:00 2001 From: Yuqing Zhu Date: Mon, 10 Aug 2015 11:41:36 +0800 Subject: gstreamer1.0-plugins-base: Fix output buffer can't writable after frame_map() issue -Add GST_VIDEO_FRAME_MAP_FLAG_NO_REF This makes sure that the buffer is not reffed another time when storing it in the GstVideoFrame, keeping it writable if it was writable. -Use new GST_VIDEO_FRAME_MAP_FLAG_NO_REF to replace the old one because it's kind of ugly. -Don't ref buffers twice when mapping Signed-off-by: Yuqing Zhu Signed-off-by: Ross Burton --- meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base_1.4.5.bb | 3 +++ 1 file changed, 3 insertions(+) (limited to 'meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base_1.4.5.bb') diff --git a/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base_1.4.5.bb b/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base_1.4.5.bb index 88c3254fc6..9c31391587 100644 --- a/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base_1.4.5.bb +++ b/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base_1.4.5.bb @@ -11,6 +11,9 @@ SRC_URI += "file://do-not-change-eos-event-to-gap-event-if.patch \ file://fix-id3demux-utf16-to-utf8-issue.patch \ file://handle-audio-video-decoder-error.patch \ file://videobuffer_updata_alignment_update.patch \ + file://0002-video-frame-Add-GST_VIDEO_FRAME_MAP_FLAG_NO_REF.patch \ + file://0001-video-frame-Don-t-ref-buffers-twice-when-mapping.patch \ + file://0003-videofilter-Use-new-GST_VIDEO_FRAME_MAP_FLAG_NO_REF.patch \ " SRC_URI[md5sum] = "357165af625c0ca353ab47c5d843920e" -- cgit v1.2.3