Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion ExtLibs/Utilities/GStreamer.cs
Original file line number Diff line number Diff line change
Expand Up @@ -1306,7 +1306,8 @@ void ThreadStart(object datao)
NativeMethods.gst_structure_get_int(caps_s, "width", out Width);
NativeMethods.gst_structure_get_int(caps_s, "height", out Height);

var capsstring = NativeMethods.gst_caps_to_string(caps_s);
// Memory leak: gst_caps_to_string allocates memory that requires g_free()
// var capsstring = NativeMethods.gst_caps_to_string(caps_s);
var buffer = NativeMethods.gst_sample_get_buffer(sample);
if (buffer != IntPtr.Zero)
{
Expand Down
Loading