[FFmpeg-devel] [PATCH] Close vfwcap devices on exit()

Måns Rullgård mans
Mon Apr 14 19:40:09 CEST 2008


Reimar D?ffinger <Reimar.Doeffinger at stud.uni-karlsruhe.de> writes:

> On Mon, Apr 14, 2008 at 05:18:31PM +0100, Ramiro Polla wrote:
>> With some devices and some versions of Windows, if you exit() an 
>> application before you disconnect a VFW driver, that device will
>> remain unusable until you reboot.
>
> I guess you can call me user-unfriendly but to be honest this is so
> obviously a driver bug I'd say tell your hardware vendor to hire
> competent developers instead of adding hacks to FFmpeg :-)

Seconded.

> (I won't really object to this patch though, just giving my opinion).

I will.  Installing atexit() handlers is unfriendly, and there are
countless other ways a process can exit.  OS bugs should, in general,
not be worked around in FFmpeg.

-- 
M?ns Rullg?rd
mans at mansr.com




More information about the ffmpeg-devel mailing list