mssdemux: fix caps leak in error code path
https://bugzilla.gnome.org/show_bug.cgi?id=787736
This commit is contained in:
parent
085f875a24
commit
6eff4f8d81
@ -580,6 +580,7 @@ gst_mss_demux_stream_select_bitrate (GstAdaptiveDemuxStream * stream,
|
|||||||
if (!selected_system) {
|
if (!selected_system) {
|
||||||
GST_ERROR_OBJECT (mssdemux, "stream is protected, but no "
|
GST_ERROR_OBJECT (mssdemux, "stream is protected, but no "
|
||||||
"suitable decryptor element has been found");
|
"suitable decryptor element has been found");
|
||||||
|
gst_caps_unref (caps);
|
||||||
return FALSE;
|
return FALSE;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user