mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-04-26 06:54:49 +00:00
h264parse: Make use of the h264_nal_parser_free function
This commit is contained in:
parent
edebb4ed92
commit
404c18ab18
1 changed files with 1 additions and 2 deletions
|
@ -239,8 +239,7 @@ gst_h264_parse_stop (GstBaseParse * parse)
|
||||||
for (i = 0; i < GST_H264_MAX_PPS_COUNT; i++)
|
for (i = 0; i < GST_H264_MAX_PPS_COUNT; i++)
|
||||||
gst_buffer_replace (&h264parse->pps_nals[i], NULL);
|
gst_buffer_replace (&h264parse->pps_nals[i], NULL);
|
||||||
|
|
||||||
g_free (h264parse->nalparser);
|
gst_h264_nal_parser_free (h264parse->nalparser);
|
||||||
h264parse->nalparser = NULL;
|
|
||||||
|
|
||||||
return TRUE;
|
return TRUE;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue