GNOME Bugzilla – Bug 703764
v4l2: bufferpool: don't forget to release buffer on error
Last modified: 2013-07-08 14:27:55 UTC
Created attachment 248574 [details] [review] patch If the pool is stopped while gst_v4l2_buffer_pool_dqbuf() waits for a buffer then the return value is GST_FLOW_FLUSHING. In this case the buffer to queue must also be released. Otherwise is will never be deleted or returned to its pool.
commit 07e4dd3424459c05a6711df93a3a169b7822ce48 Author: Michael Olbrich <m.olbrich@pengutronix.de> Date: Fri Jul 5 11:51:04 2013 +0200 v4l2: bufferpool: don't forget to release buffer on error If the pool is stopped while gst_v4l2_buffer_pool_dqbuf() waits for a buffer then the return value is GST_FLOW_FLUSHING. In this case the buffer to queue must also be released. Otherwise is will never be deleted or returned to its pool. https://bugzilla.gnome.org/show_bug.cgi?id=703764