]> git.sesse.net Git - vlc/commit
omxil: Add reference counting around the OMX Core loading and initialization
authorMartin Storsjö <martin@martin.st>
Sun, 2 Oct 2011 19:41:30 +0000 (22:41 +0300)
committerRémi Denis-Courmont <remi@remlab.net>
Sun, 2 Oct 2011 19:51:30 +0000 (22:51 +0300)
commiteaa0d3c587688f2e2c0962ae8197f69393f6f172
tree2e6583008197ec36bf647f98268dd9561e3677c2
parent21d370a594b8da29d7a204c3f4868151e9e9f054
omxil: Add reference counting around the OMX Core loading and initialization

This avoids deinitializing the global OMX Core if a second
instance of the module is initialized (e.g. for testing whether
it can handle decoding another stream) and deinitialized while
the first instance still is active.

Signed-off-by: Rémi Denis-Courmont <remi@remlab.net>
modules/codec/omxil/omxil.c
modules/codec/omxil/omxil.h