mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 20:21:24 +00:00
vp8enc: fix memory leak
unref frame. i hope it is correct place to do it. Signed-off-by: Oleksij Rempel <bug-track@fisher-privat.net>
This commit is contained in:
parent
305db3ef56
commit
c03cc692ef
1 changed files with 1 additions and 1 deletions
|
@ -1098,7 +1098,7 @@ gst_vp8_enc_handle_frame (GstVideoEncoder * video_encoder,
|
||||||
gst_video_codec_frame_set_user_data (frame, NULL, NULL);
|
gst_video_codec_frame_set_user_data (frame, NULL, NULL);
|
||||||
return FALSE;
|
return FALSE;
|
||||||
}
|
}
|
||||||
|
gst_video_codec_frame_unref (frame);
|
||||||
return gst_vp8_enc_process (encoder);
|
return gst_vp8_enc_process (encoder);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue