There is a small chance that we might end up in the done step without having any output available. Furthermore, when going through not_ready, we need to ensure gst_buffer_unmap has a properly initialized GstMapInfo. CID #1139923 CID #1139924 CID #1139919 CID #1139920