[Bug 787736] New: ext/smoothstreaming/gstmssdemux: unref caps in error case
GStreamer (GNOME Bugzilla)
bugzilla at gnome.org
Fri Sep 15 18:25:14 UTC 2017
https://bugzilla.gnome.org/show_bug.cgi?id=787736
Bug ID: 787736
Summary: ext/smoothstreaming/gstmssdemux: unref caps in error
case
Classification: Platform
Product: GStreamer
Version: git master
OS: All
Status: NEW
Severity: normal
Priority: Normal
Component: gst-plugins-bad
Assignee: gstreamer-bugs at lists.freedesktop.org
Reporter: p.srinivas at samsung.com
QA Contact: gstreamer-bugs at lists.freedesktop.org
GNOME version: ---
Hi,
in file ext/smoothstreaming/gstmssdemux.c
func:gst_mss_demux_stream_select_bitrate() line 571 and 583
Unref a GstCaps missed when an error case.
Please check and share feedback
code:
caps = gst_mss_stream_get_caps (mssstream->manifest_stream);
GST_DEBUG_OBJECT (stream->pad,
"Starting streams reconfiguration due to bitrate changes");
if (protected) {
const gchar *sys_ids[2] = { protection_system_id, NULL };
const gchar *selected_system = gst_protection_select_system (sys_ids);
if (!selected_system) {
GST_ERROR_OBJECT (mssdemux, "stream is protected, but no "
"suitable decryptor element has been found");
return FALSE;
}
gst_mss_demux_apply_protection_system (caps, selected_system);
}
sol:
gst_caps_unref (caps);
Thanks
--
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
More information about the gstreamer-bugs
mailing list