picture: do not clobber picture reference count when destroying a pool
I am not taking a stand on whether pictures should or should not have references when the pool is destroyed. It is hard to support for some video outputs (and indeed not all of them do so correctly). Nevertheless, it can happen, so the core might as well deal with this. Feel free to undo this and add an assertion, if you fix all affected code paths.
Showing
Please register or sign in to comment