mirror of https://github.com/Genymobile/scrcpy
Unref decoder AVFrame immediately
The frame can be unref immediately after it is pushed to the frame sinks. It was not really a memory leak because the frame was unref every time by avcodec_receive_frame() (and freed on close), but a reference was unnecessarily kept for too long.device_simple
parent
84f17fdeab
commit
ae6ec7a194
Loading…
Reference in New Issue