[gst-devel] patch against 0.6.1.2 to test osssink error infinite loop

Julien MOUTTE jmoutte at electronic-group.com
Thu Jun 5 15:42:13 CEST 2003


Apply this patch to gst-plugins/sys/oss/gstosssink.c

that will fake a failure on NULL_TO_READY state change and generate a fake error..

with libgstplay and gst-player for example you should get 99% cpu consumption because thousands of error signals are thrown to libgstplay which means there's an infinite loop trying to set the pipeline to READY then PAUSED then READY and so on...

Enjoy.

-- 
Julien MOUTTE - jmoutte at electronic-group.com
C.T.O.
_________________________________________________________

ELECTRONIC GROUP INTERACTIVE - www.electronic-group.com
World Trade Center, Moll de BARCELONA
Edificio Norte 4 Planta
08039 BARCELONA SPAIN
Tel : +34 93600 23 23 Fax : +34 93600 23 10
_________________________________________________________

-------------- next part --------------
A non-text attachment was scrubbed...
Name: oss.patch
Type: application/octet-stream
Size: 430 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20030605/c804a71d/attachment.obj>


More information about the gstreamer-devel mailing list