Fix memory leak when using subtitles with VDPAU
When rendering closed captions with VDPAU, nothing frees the subpicture, causing a leak that bleeds all the memory out of the system within minutes. Signed-off-by: Rémi Denis-Courmont <remi@remlab.net> (cherry picked from commit 89089ebc9f7625b7317262803394d96139325e54) Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
Showing
Please register or sign in to comment