mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-02 04:22:27 +00:00
vc1parse: unref caps when it is empty in renegotiate()
https://bugzilla.gnome.org/show_bug.cgi?id=737724
This commit is contained in:
parent
66a4572c12
commit
677d052e84
1 changed files with 1 additions and 0 deletions
|
@ -345,6 +345,7 @@ gst_vc1_parse_renegotiate (GstVC1Parse * vc1parse)
|
||||||
}
|
}
|
||||||
} else if (gst_caps_is_empty (allowed_caps)) {
|
} else if (gst_caps_is_empty (allowed_caps)) {
|
||||||
GST_ERROR_OBJECT (vc1parse, "Empty caps");
|
GST_ERROR_OBJECT (vc1parse, "Empty caps");
|
||||||
|
gst_caps_unref (allowed_caps);
|
||||||
return FALSE;
|
return FALSE;
|
||||||
} else {
|
} else {
|
||||||
GST_DEBUG_OBJECT (vc1parse, "Using input header/stream format");
|
GST_DEBUG_OBJECT (vc1parse, "Using input header/stream format");
|
||||||
|
|
Loading…
Reference in a new issue