diff options
author | David Schleef <ds@schleef.org> | 2013-03-04 15:49:06 -0800 |
---|---|---|
committer | David Schleef <ds@schleef.org> | 2013-03-22 15:19:19 -0700 |
commit | 220d341b77e714e82ba725bce059a528c7052f5f (patch) | |
tree | faac882e607d8405217a9d1764b966adbb1c0771 /ext/libpng | |
parent | c0443a17c4217c15d79072992ba8eafda5020496 (diff) |
pngenc: unmap source frame when done
Diffstat (limited to 'ext/libpng')
-rw-r--r-- | ext/libpng/gstpngenc.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/ext/libpng/gstpngenc.c b/ext/libpng/gstpngenc.c index 7da1fafe7..d3ebc49c9 100644 --- a/ext/libpng/gstpngenc.c +++ b/ext/libpng/gstpngenc.c @@ -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); |