mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-19 23:06:49 +00:00
decodebin3: Fix assertion failure when unreffing NULL stream caps
GStreamer-CRITICAL **: gst_mini_object_unref: assertion 'mini_object != NULL' failed https://bugzilla.gnome.org/show_bug.cgi?id=773441
This commit is contained in:
parent
2d3af07c3d
commit
98ea3e4647
1 changed files with 2 additions and 1 deletions
|
@ -1183,7 +1183,8 @@ handle_stream_collection (GstDecodebin3 * dbin,
|
|||
GST_DEBUG (" caps : %" GST_PTR_FORMAT, caps);
|
||||
if (taglist)
|
||||
gst_tag_list_unref (taglist);
|
||||
gst_caps_unref (caps);
|
||||
if (caps)
|
||||
gst_caps_unref (caps);
|
||||
}
|
||||
#endif
|
||||
|
||||
|
|
Loading…
Reference in a new issue