Pipeline crashing when unrefing samples

Tim Müller tim at centricular.com
Sun Feb 12 15:57:26 UTC 2017


On Fri, 2017-02-10 at 14:14 -0800, mizerb wrote:

Hi,

> At the moment, the application works, but has a memory leak from when
> I'm creating samples via 
> 
> Gst* sample = gst_app_sink_try_pull_sample(mysink, timeout_cont);
> 
> However, once I'ved copied my data out from the buffer I get from the
> sample, if I try to delete the sample 
> 
> gst_sample_unref(sample);
> 
> The pipeline crashes with the errors on the bus: (snip)

This happens even if all you do is pull_sample() + sample_unref() and
nothing else?

Cheers
 -Tim
-- 
Tim Müller, Centricular Ltd - http://www.centricular.com


More information about the gstreamer-devel mailing list