Skip to content
Snippets Groups Projects
Commit f9467ff1 authored by Julien Isorce's avatar Julien Isorce Committed by Tim-Philipp Müller
Browse files

omxvideodec: fix buffer leak when eglimage setup fails

Can happen if gst_buffer_pool_acquire_buffer succeeds but
gst_buffer_n_memory (buffer) is not exactly 1.

In theory this should not happen because the decoder requests
EGLImage(RGBA) but better to fix any leak on corner cases.

https://bugzilla.gnome.org/show_bug.cgi?id=784365
parent 46d66ccb
No related branches found
Tags mesa-17.1.0-rc3
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment