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
@ -1098,7 +1098,7 @@ gst_vp8_enc_handle_frame (GstVideoEncoder * video_encoder,
|
||||
gst_video_codec_frame_set_user_data (frame, NULL, NULL);
|
||||
return FALSE;
|
||||
}
|
||||
|
||||
gst_video_codec_frame_unref (frame);
|
||||
return gst_vp8_enc_process (encoder);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user