Crash when closing pipeline
a.guiavarch at gmail.com
Mon Jul 29 07:47:58 PDT 2013
I have a C++ GStreamer application which record my webcam.
Here the Pipeline :
ksvideosrc --- queue2 --- ffmpegcolospace --- videorate ---ffenc_mjpeg ---
avimux --- filesrc
dshowaudiosrc --- audioconvert --- ffenc_aac
When I want to stop recording, I manually call g_main_loop_quit
Then, I clear objects:
gst_element_set_state (smp->pipeline, GST_STATE_NULL);
It works very well when I use mjpeg encoder, or raw video.
But my application crash every times, when I use an encoder with prediction
(mpeg2, mpeg4, h264)
The crash is a Stack overflow and memory corrupted.
Plus, in spite of crashing, the video file is created and complete. It's
How can I stop the capture cleanly ?
View this message in context: http://gstreamer-devel.966125.n4.nabble.com/Crash-when-closing-pipeline-tp4661329.html
Sent from the GStreamer-devel mailing list archive at Nabble.com.
More information about the gstreamer-devel