[FFmpeg-trac] #5871(undetermined:new): Memory leakage in acceletared encoding (h264_vaapi and hevc_vaapi)
FFmpeg
trac at avcodec.org
Wed Sep 28 21:32:03 EEST 2016
#5871: Memory leakage in acceletared encoding (h264_vaapi and hevc_vaapi)
-------------------------------------+-------------------------------------
Reporter: hsyrja | Owner:
Type: defect | Status: new
Priority: normal | Component:
Version: git-master | undetermined
Keywords: leak | Resolution:
Blocking: | Blocked By:
Analyzed by developer: 0 | Reproduced by developer: 0
-------------------------------------+-------------------------------------
Comment (by jkqxz):
The leak of VA buffers is due to a difference between the i965 driver and
the VAAPI specification. See the descriptions around
<https://cgit.freedesktop.org/libva/tree/va/va.h#n2262> and
<https://cgit.freedesktop.org/libva/tree/va/va.h#n2390>, but the i965
driver does not free buffers after they are passed to vaRenderPicture().
This is worked around in
<https://git.libav.org/?p=libav.git;a=commit;h=4926fa9a4aa03f3b751f52e900b9efb87fea0591>
along with
<https://git.libav.org/?p=libav.git;a=commit;h=221ffca6314ed3ba9d38464ea50cd85251c04e74>
for the encoder (both changes pending merge) by detecting the i965 driver
and having different behaviour in that case.
--
Ticket URL: <https://trac.ffmpeg.org/ticket/5871#comment:3>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list