diff options
Diffstat (limited to 'ext/vpx/gstvp9enc.c')
-rw-r--r-- | ext/vpx/gstvp9enc.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/ext/vpx/gstvp9enc.c b/ext/vpx/gstvp9enc.c index 08ec6f2b3..ec2ea2163 100644 --- a/ext/vpx/gstvp9enc.c +++ b/ext/vpx/gstvp9enc.c @@ -1434,6 +1434,10 @@ gst_vp9_enc_stop (GstVideoEncoder * video_encoder) gst_tag_setter_reset_tags (GST_TAG_SETTER (encoder)); + g_free (encoder->multipass_cache_file); + encoder->multipass_cache_file = NULL; + encoder->multipass_cache_idx = 0; + return TRUE; } |