[gst-devel] [PATCH] seg fault in gstsnapshot.c
pjack at sfaf.org
Sat Dec 18 16:33:05 CET 2004
$ gst-launch-0.8 videotestsrc num-buffers=10 ! snapshot frame=5
location=z.png ! fakesink
RUNNING pipeline ...
The problem was caused by what looks like a stray signal handler: The
snapshot_handler function was setting a flag to TRUE, so the
function was trying to write the PNG image twice. After the first attempt,
the PNG library structures are destroyed, so the second attempt seg faults.
The attached patch eliminates the snapshot_handler function. The only thing
snapshot_handler did was set the flag; I'm not sure what its original intent
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 1128 bytes
Desc: not available
More information about the gstreamer-devel