mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-02 21:48:55 +00:00
omxvideodec: Don't leak the codec_data after sending it
This commit is contained in:
parent
d9e2391448
commit
3ac2bfc976
1 changed files with 1 additions and 1 deletions
|
@ -679,7 +679,7 @@ gst_omx_video_dec_handle_frame (GstBaseVideoDecoder * decoder,
|
|||
GST_BUFFER_DATA (codec_data), GST_BUFFER_SIZE (codec_data));
|
||||
|
||||
gst_omx_port_release_buffer (self->in_port, buf);
|
||||
self->codec_data = NULL;
|
||||
gst_buffer_replace (&self->codec_data, NULL);
|
||||
}
|
||||
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue