[Live-devel] too many open files error

Pramod Bhagwat prbhagwat at gmail.com
Wed Jul 23 04:32:17 PDT 2008


Hi Ross,
it looks there is a bug in QuickTimeFileSink. The
QuickTimeFileSink::completeOutputFile() is not closing the file handle.
(This error will come if user uses different files for  saving the stream
other than stdout, stderr)
Because of the above bug, creating new file using "OpenOutputFile" function
calls fails.
The Linux is giving "too many open files" error.

To over come the problem we need to add
 CloseOutputFile( fOutFid ) ;
 function call in the QuickTimeFileSink::completeOutputFile() function just
before setting  fHaveCompletedOutputFile = True.

Similarly this needs to be corrected in
AVIFileSink::completeOutputFile().

Please let me know if the suggestions are correct.
Warm Regards,
prb
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.live555.com/pipermail/live-devel/attachments/20080723/97649abd/attachment.html>


More information about the live-devel mailing list