mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-26 19:51:11 +00:00
x264enc: fix caps leak in set_format()
https://bugzilla.gnome.org/show_bug.cgi?id=730865
This commit is contained in:
parent
eb65696251
commit
84b2009155
1 changed files with 1 additions and 0 deletions
|
@ -1804,6 +1804,7 @@ gst_x264_enc_set_format (GstVideoEncoder * video_enc,
|
|||
|
||||
if (gst_caps_is_empty (allowed_caps)) {
|
||||
gst_caps_unref (allowed_caps);
|
||||
gst_caps_unref (template_caps);
|
||||
return FALSE;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue