Crash when trying to stop pipeline containing encodebin

Sebastian Dröge sebastian at centricular.com
Thu May 12 06:13:13 UTC 2016


On Mi, 2016-05-11 at 21:21 -0400, Michael Guinzbourg wrote:
> I've made for you very simple application which you can use to
> reproduce the problem. It takes the video stream as a source, decodes
> it, encodes it into mpeg2, mux it into mpegts container, saves it to
> file. you can use any video file as a source. As the file reaches the
> end pipeline receives EOS event, at the event I try to set pipeline
> to GST_STATE_READY, it causes a crash. Here's complete code below. I
> will try to give you backtrace with gdb later.

Your code was missing includes. Please provide *complete* code in the
future :)

It does not crash on Linux here with GStreamer 1.8.1. Which version are
you running, and this is on Windows? 32 bit or 64 bit?

Maybe the gdb backtrace will show something useful.

-- 
Sebastian Dröge, Centricular Ltd · http://www.centricular.com

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 949 bytes
Desc: This is a digitally signed message part
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20160512/c3196899/attachment.sig>


More information about the gstreamer-devel mailing list