ristsrc: rtxbin may be null in finalize
This commit is contained in:
parent
e914abd402
commit
4bba95ead2
@ -1136,9 +1136,8 @@ gst_rist_src_finalize (GObject * object)
|
|||||||
}
|
}
|
||||||
g_ptr_array_free (src->bonds, TRUE);
|
g_ptr_array_free (src->bonds, TRUE);
|
||||||
|
|
||||||
if (src->jitterbuffer)
|
g_clear_object (&src->jitterbuffer);
|
||||||
gst_object_unref (src->jitterbuffer);
|
g_clear_object (&src->rtxbin);
|
||||||
gst_object_unref (src->rtxbin);
|
|
||||||
|
|
||||||
g_mutex_unlock (&src->bonds_lock);
|
g_mutex_unlock (&src->bonds_lock);
|
||||||
g_mutex_clear (&src->bonds_lock);
|
g_mutex_clear (&src->bonds_lock);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user