diff options
author | Sven Göthel <[email protected]> | 2024-01-25 09:50:12 +0100 |
---|---|---|
committer | Sven Göthel <[email protected]> | 2024-01-25 09:50:12 +0100 |
commit | 78812de21182e32f86a823321b017f7f6cf52ae3 (patch) | |
tree | 92f99ffe7143b88ae287f4f7ffd24a3149c0639f /src/jogl/classes/jogamp/opengl/macosx/cgl/MacOSXCGLDrawable.java | |
parent | 18afa5200983bb158e631c81f2df1ca1a45cd882 (diff) |
Bug 1491: FFMPEGMediaPlayer: Lock moviePtr lifecycle phase in-between [initStreamImpl - destruction]
initStreamImpl() calls ffmpeg natives.setStream0(..), which in turn callsback to the GLMediaPlayerImpl
and FFMPEGPlayer and hence requires a valid moviePtr. In total, it covers a longer time period.
This patch uses a moviePtrLock object avoiding destruction while within initStreamImpl.
Diffstat (limited to 'src/jogl/classes/jogamp/opengl/macosx/cgl/MacOSXCGLDrawable.java')
0 files changed, 0 insertions, 0 deletions