The hardware accelerated decoder context needs to be explicitly unrefed when it's no longer in use, otherwise it and many resources associated with it will leak.
The hardware accelerated decoder context needs to be explicitly unrefed when it's no longer in use, otherwise it and many resources associated with it will leak.