alsasink leaves sockets openned?

Jorge Fernandez Monteagudo jorgefm at cirsa.com
Wed Jun 12 00:12:25 PDT 2013


Hi,

I'm developing a little C player and I play several videos in a sequentally way. I've found
that with videos with sound, when I release the pipeline, some socket file descriptors
remain in the /proc/<pid>/fd . If I left the process running for long time I run out of file
descriptors and the program aborts.

I trace the problem to the alsasink. If I place the fakesink instead the alsasink no socket
remains from play to play.

The pipeline for videos with sound is

gst-launch-0.10 -v filesrc location=$1 ! qtdemux name=demux
   demux.audio_00 ! queue max-size-buffers=8000 max-size-time=0 max-size-bytes=0 ! ffdec_aac ! alsasink
   demux.video_00 ! queue max-size-buffers=2 max-size-time=0 max-size-bytes=0 ! TIViddec2 engineName=codecServer framerate=24/1 ! omapdmaifbsink

Is it a known bug/feature? is there any solutions  without changing maximum fd for the process?

Regards,
Jorge

Este mensaje se dirige exclusivamente a su destinatario y puede contener información privilegiada o CONFIDENCIAL. Si no es vd. el destinatario indicado, queda notificado de que la utilización, divulgación y/o copia sin autorización está prohibida en virtud de la legislación vigente. Si ha recibido este mensaje por error, le rogamos que nos lo comunique inmediatamente por esta misma vía y proceda a su destrucción.

This message is intended exclusively for its addressee and may contain information that is CONFIDENTIAL and protected by professional privilege.
If you are not the intended recipient you are hereby notified that any dissemination, copy or disclosure of this communication is strictly prohibited by law. If this message has been received in error, please immediately notify us via e-mail and delete it.


More information about the gstreamer-devel mailing list