[Jderobot-dev] Fix en el cameraserver

redouane kachach redo.robot en gmail.com
Dom Dic 16 14:20:42 CET 2012


*BUG: *Pipeline is not restarted correctly. The previous code was creating
a new GSTpipeline after each rollover. However, the destructor for the
previous running pipeline was not called. As consequence, a new task is
created each rollover without terminating the previous ones. In my machine
(Ubuntu 12.04) once the process gets to 350 threads it's killed
automatically once it tries to create more threads.

*Fix:* Instead of creating a new GST pipeline, the new code calls the
gst_element_seek() method in order to reset the current running pipeline.
This call will restart the video streaming but without consuming any new
resources.

*Modified files:*
M    cameraserver.cpp
M    gstpipeline.cpp
M    gstpipeline.h

*Revision 827*
------------ próxima parte ------------
Se ha borrado un adjunto en formato HTML...
URL: http://gsyc.escet.urjc.es/pipermail/jde-developers/attachments/20121216/b7f7089f/attachment.htm 


More information about the Jde-developers mailing list