mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-09-09 13:48:55 +00:00
rtpmparobustdepay: don't try to unref NULL buffers
Fixes generic/states unit test.
This commit is contained in:
parent
754f3a315b
commit
97a2111c58
1 changed files with 1 additions and 2 deletions
|
@ -758,8 +758,7 @@ gst_rtp_mpa_robust_change_state (GstElement * element,
|
|||
|
||||
gst_adapter_clear (rtpmpadepay->adapter);
|
||||
for (i = 0; i < G_N_ELEMENTS (rtpmpadepay->deinter); i++) {
|
||||
gst_buffer_unref (rtpmpadepay->deinter[i]);
|
||||
rtpmpadepay->deinter[i] = NULL;
|
||||
gst_buffer_replace (&rtpmpadepay->deinter[i], NULL);
|
||||
}
|
||||
rtpmpadepay->cur_adu_frame = NULL;
|
||||
g_queue_foreach (rtpmpadepay->adu_frames,
|
||||
|
|
Loading…
Reference in a new issue