Ensure Max Buffer Size after the unlock function in ClipWorkflow
Currently, we only check the buffer size in "getOutput" function; however, it is called by the source renderer in the WorkflowRenderer. So if the source renderer hangs for some reason, it's highly likely that m_computedBuffers will overflow.
Signed-off-by:
Hugo Beauzée-Luyssen <hugo@beauzee.fr>
Showing
- src/Workflow/AudioClipWorkflow.cpp 2 additions, 0 deletionssrc/Workflow/AudioClipWorkflow.cpp
- src/Workflow/ClipWorkflow.cpp 10 additions, 0 deletionssrc/Workflow/ClipWorkflow.cpp
- src/Workflow/ClipWorkflow.h 7 additions, 0 deletionssrc/Workflow/ClipWorkflow.h
- src/Workflow/VideoClipWorkflow.cpp 2 additions, 0 deletionssrc/Workflow/VideoClipWorkflow.cpp
Loading
Please register or sign in to comment