Memory allocation error when trying to map a video frame

jeremi.wojcicki jeremi.wojcicki at gmail.com
Thu Jul 20 20:17:20 UTC 2017


Hi Matt,

Thanks for your answer, it helped me a lot to understand the basics. For the
moment I have not succeeded to implement the synchronization, tough. Due to
lack of time I have stepped back to the less elegant appsink solution using
the host memory instead of GPU and performing uploading textures myself.

I have used your advice on managing references to the buffer. I hold the
references in my OpenGL thread, and dispose of them in the beginning of the
OnDraw call if new frames arrived. Works smoothly, no undefined references
and such.

I will surely attempt again to move towards a "pure" GPU memory side
solution in the future, as good performance is of my concern, but i do not
have enough time to spend on it at the moment.



--
View this message in context: http://gstreamer-devel.966125.n4.nabble.com/Memory-allocation-error-when-trying-to-map-a-video-frame-tp4683716p4683877.html
Sent from the GStreamer-devel mailing list archive at Nabble.com.


More information about the gstreamer-devel mailing list