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

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Wed Jul 30 10:57:22 PDT 2014


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

--- Comment #9 from Mohammed Sameer <msameer at foolab.org> 2014-07-30 17:57:20 UTC ---
Created an attachment (id=282098)
 View: https://bugzilla.gnome.org/attachment.cgi?id=282098
 Review: https://bugzilla.gnome.org/review?bug=727409&attachment=282098

proposed fix

I checked GstGlMemory and it implements memory copying (that's a mem copy which
is IMHO not good).

dmabuf uses the default copy implementation (I am not sure where that is).

I take back my words that this bug destroys zero copy playback because the
first buffer (or only DISCONT buffers) will be copied.

We can also get away without fixing this bug but we should update the
documentation to state that the allocator should implement copying if it is to
be used for playback related elements.

Anyway I am attaching a patch that drops the buffer copy operation.

-- 
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