Skip to content
Snippets Groups Projects
Commit c0a08bf7 authored by Aaron Viets's avatar Aaron Viets
Browse files

lal_transferfunction and lal_adaptivefirfilt: Forgot to call...

lal_transferfunction and lal_adaptivefirfilt:  Forgot to call gst_buffer_unmap() after gst_buffer_map().  Fixed that.
parent 7a464418
No related branches found
No related tags found
No related merge requests found
......@@ -635,6 +635,8 @@ static GstFlowReturn render(GstBaseSink *sink, GstBuffer *buffer) {
average_input_data_double(element, (complex double *) mapinfo.data, mapinfo.size / element->unit_size, GST_BUFFER_PTS(buffer));
else
g_assert_not_reached();
gst_buffer_unmap(buffer, &mapinfo);
}
return result;
......
......@@ -1842,6 +1842,7 @@ static GstFlowReturn render(GstBaseSink *sink, GstBuffer *buffer) {
}
}
}
gst_buffer_unmap(buffer, &mapinfo);
return result;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment