mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-18 07:47:17 +00:00
pngenc: unmap source frame when done
This commit is contained in:
parent
c0443a17c4
commit
220d341b77
1 changed files with 1 additions and 0 deletions
|
@ -324,6 +324,7 @@ gst_pngenc_handle_frame (GstVideoEncoder * encoder, GstVideoCodecFrame * frame)
|
|||
png_write_end (pngenc->png_struct_ptr, NULL);
|
||||
|
||||
g_free (row_pointers);
|
||||
gst_video_frame_unmap (&vframe);
|
||||
|
||||
png_destroy_info_struct (pngenc->png_struct_ptr, &pngenc->png_info_ptr);
|
||||
png_destroy_write_struct (&pngenc->png_struct_ptr, (png_infopp) NULL);
|
||||
|
|
Loading…
Reference in a new issue