[Bug 727409] streamsynchronizer: Invalid memory accesses when using uncopyable memory

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Fri Apr 4 06:02:41 PDT 2014


https://bugzilla.gnome.org/show_bug.cgi?id=727409
  GStreamer | gst-plugins-base | 1.2.3

--- Comment #7 from Mohammed Sameer <msameer at foolab.org> 2014-04-04 13:02:37 UTC ---
EGLImage buffers are an example for a non-copyable memory. Another example
would be Android gralloc handles (they can be copied but it's expensive).

I am not sure why playbin does not crash when we use egl-allocated memory
though.

@Sebastian if the audio sinks complain and we have to unset the DISCONT flag
then why are we seeing the issue here? I am passing video buffers.

Emitting an error would destroy a zero-copy video rendering pipeline so I don't
really think it's a good idea (If I dare to do so about a core developer's
idea!).

I guess we can stop dropping the DISCONT flag from video buffers (Do our sinks
really care?) which will bypass the copy call completely. We also need to check
for the return value for audio just in case and send an error message,

-- 
Configure bugmail: https://bugzilla.gnome.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.


More information about the gstreamer-bugs mailing list